Object data processing method, device, electronic device and storage medium
By performing event prediction, activation and inverse activation processing on the intervention subject group and the control subject group, the average treatment effect difference is calculated to determine the target object, which solves the problem of large average treatment effect deviation in the existing technology and improves the accuracy of the target object. and the effectiveness of intervention treatments.
Patent Information
- Application Number
- CN202210555254.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-19
AI Technical Summary
In the existing technology, the deviation of the average treatment effect is high, which affects the accuracy of target objects in causal inference. Especially in observational studies and experimental research designs with random assignment methods, it is difficult to effectively estimate the average treatment effect.
By performing event prediction processing, activation processing and reverse activation processing on the intervention object group and the control object group respectively, the average treatment effect difference between the two is calculated, and similar objects are determined as target objects based on the difference, thereby improving the effectiveness of the intervention treatment. accuracy.
The value range of the average treatment effect is compressed through activation processing, which reduces the deviation of the double robust estimation, improves the accuracy of determining the target object and the effectiveness of applying intervention processing.
Smart Images

Figure CN115115093B
Abstract
Description
Technical Field
[0001] The present application relates to artificial intelligence technology, and in particular to a method, device, electronic device and storage medium for processing object data. Background Art
[0002] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0003] The average treatment effect (ATE) is often used to calculate causal parameters in causal inference studies. The average treatment effect can be defined without reference to the study design or estimation procedure. In both observational studies and experimental study designs using random assignment methods, the average treatment effect can be estimated in a variety of ways. There is currently no low-bias solution in the relevant technology, which affects the accuracy of determining the average treatment effect, and thus affects the accuracy of determining the target object based on the average treatment effect. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for processing object data, which can reduce the deviation of the average treatment effect and improve the accuracy of determining the target object to be subjected to intervention treatment.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application provides a method for processing object data, including:
[0007] Performing event prediction processing on the subject data of the intervention subject group and the subject data of the control subject group respectively to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group, wherein the event prediction processing is used to predict a response result to an event;
[0008] performing activation processing based on the first prediction result and the object data of the intervention object group to obtain a first activation processing result of the intervention object group, and performing activation processing based on the second prediction result and the object data of the control object group to obtain a second activation processing result of the control object group;
[0009] Performing reverse activation processing on the first activation processing result and the second activation processing result to obtain a first reverse activation processing result of the intervention subject group and a second reverse activation processing result of the control subject group;
[0010] taking the difference between the first reverse activation treatment result of the intervention subject group and the second reverse activation treatment result of the control subject group as the average treatment effect between the intervention subject group and the control subject group;
[0011] When the average treatment effect is greater than an average treatment effect threshold, similar objects of the intervention object group are determined based on the average treatment effect, and the similar objects are used as target objects for which intervention treatment is implemented.
[0012] The present application provides an object data processing device, including:
[0013] a result prediction module configured to perform event prediction processing on the subject data of the intervention subject group and the subject data of the control subject group, respectively, to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group, wherein the event prediction processing is used to predict a response result to an event;
[0014] an activation processing module, configured to perform activation processing based on the first prediction result and the object data of the intervention object group to obtain a first activation processing result of the intervention object group, and to perform activation processing based on the second prediction result and the object data of the control object group to obtain a second activation processing result of the control object group;
[0015] a reverse activation processing module configured to perform reverse activation processing on the first activation processing result and the second activation processing result to obtain a first reverse activation processing result of the intervention subject group and a second reverse activation processing result of the control subject group;
[0016] a comparison module configured to use the difference between the first reverse activation treatment result of the intervention subject group and the second reverse activation treatment result of the control subject group as the average treatment effect between the intervention subject group and the control subject group;
[0017] The matching module is configured to determine similar objects of the intervention object group based on the average treatment effect when the average treatment effect is greater than the average treatment effect threshold, and use the similar objects as target objects for which intervention treatment is implemented.
[0018] An embodiment of the present application provides an electronic device, the electronic device comprising:
[0019] A memory for storing executable instructions;
[0020] The processor is used to implement the object data processing method described in the embodiment of the present application when executing the executable instructions stored in the memory.
[0021] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implements the object data processing method described in the embodiment of the present application.
[0022] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the object data processing method described in the embodiment of the present application.
[0023] The embodiments of the present application have the following beneficial effects:
[0024] By activating and deactivating the predicted results corresponding to the intervention object group and the control object group respectively, the predicted results are converted from binary results to continuous results. The value range of the average treatment effect is compressed through the activation process, which reduces the bias of the double robust estimation, improves the accuracy of determining the target object, and thus improves the effectiveness of the intervention treatment. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of an application mode of the object data processing method provided in an embodiment of the present application;
[0026] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0027] Figure 3A It is a flowchart of a method for processing object data provided in an embodiment of the present application;
[0028] Figure 3B It is a flowchart of a method for processing object data provided in an embodiment of the present application;
[0029] Figure 3C It is a flowchart of a method for processing object data provided in an embodiment of the present application;
[0030] Figure 4 It is a distributed computing schematic diagram of the object data processing method provided in the embodiment of the present application;
[0031] Figure 5 This is an optional flowchart of the object data processing method provided in the embodiment of the present application;
[0032] Figure 6 It is a schematic diagram of the deviation ratio of the object data processing method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0034] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0035] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0036] It should be pointed out that in the embodiments of the present application, related data such as user information and user feedback data are involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0038] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0039] 1) Average result: the average of the response results of each subject in the control group to the event.
[0040] 2) Average Treatment Effect (ATE): It is used to characterize the difference between the response results of the intervention group and the average response results of the control group in randomized experiments, external intervention measures or medical trials. Measuring ATE means measuring the difference in the average results of the event between the intervention group and the control group. In a randomized trial, the average treatment effect can be estimated from the sample by comparing the average results of the intervention group and the control group.
[0041] 3) Matching: Given a target user, find similar non-target users for each target user. For example, users who purchase goods are target users, and users who do not purchase goods are non-target users. Match similar users of the target user among users who do not purchase goods. Send recommendation information for recommending goods to these similar users, and these similar users may purchase goods. In turn, by matching similar users, the recommendation effect of the recommendation information is improved.
[0042] 4) Propensity Score: Propensity Score is used in the embodiment of the present application to characterize the probability of an object being intervened. For example, if the object is a user, the probability of a user being pushed recommendation information can be determined based on the object characteristics.
[0043] 5) Confounding factors. Confounding factors are the common causes of changes in independent variables and dependent variables. For example, when the independent variable is whether a coupon is obtained, and the dependent variable is whether a purchase is made. The user's disposable resource amount has an impact on whether a coupon is obtained, and at the same time, the user's disposable resource amount has an impact on whether a purchase is made. Therefore, the user's disposable resource amount has an impact on both the independent variable (obtaining a coupon) and the dependent variable (purchasing). The user's disposable resource amount is a confounding factor between obtaining a coupon and purchasing.
[0044] 6) Distributed computing, which divides engineering data that requires a lot of calculations into small pieces and executes them separately by multiple computers. After each computing unit in the distributed computing system outputs the corresponding calculation results, each result is unified and combined to draw a data conclusion. The computing units can be processors on different nodes, or different processors on the same node, or different cores in the same processor.
[0045] 7) Activation processing, mapping the variables through the Sigmoid function. The Sigmoid function is often used as an activation function of a neural network to map variables between 0 and 1. The value range of the Sigmoid function is (0, 1), which can be used for binary classification.
[0046] 8) Inverse activation processing, converting the binary classification results into continuous values.
[0047] The embodiments of the present application provide a method for processing object data, a device for processing object data, an electronic device, a computer-readable storage medium, and a computer program product. The prediction results are converted from binary results to continuous results by performing activation processing and inverse activation processing on the prediction results. The value range of the average treatment effect is compressed through the activation processing, which reduces the deviation of the double robust estimation, improves the accuracy of determining the target object, and thus improves the effectiveness of the intervention treatment for the object.
[0048] The following describes an exemplary application of an electronic device provided by an embodiment of the present application. The electronic device provided by an embodiment of the present application can be implemented as a laptop, a tablet computer, a desktop computer, a set-top box, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), a vehicle-mounted terminal, and other types of user terminals, and can also be implemented as a server. The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. The embodiments of the present application can be implemented by a server, or by a terminal device and a server in collaboration. Below, an exemplary application when the electronic device is implemented as a server will be described.
[0049] refer to Figure 1 , Figure 1 Schematic diagram of an application mode of processing object data provided in an embodiment of the present application; for example, the servers involved include: an identification server 201 and a recommendation server 202, a network 300 and a terminal device 401. The identification server 201 and the recommendation server 202 communicate with each other through the network 300, or communicate with each other through other means, and the terminal device 401 is connected to the identification server 201 through the network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two.
[0050] For example, the control object group is referred to as the control group, and the intervention object group is referred to as the intervention group. The identification server 201 obtains the object data of the control group and the object data of the intervention group. The identification server 201 performs event prediction processing based on the object data of the intervention object group and the object data of the control object group, respectively, to obtain the first prediction result of the intervention group and the second prediction result of the control group. The prediction results of each object group are activated and deactivated, respectively, and the difference between the processing result of the intervention group and the processing result of the control group is taken as the average processing effect of the two. The average processing effect of the intervention group and the control group is sent to the recommendation server 202 through the network 300. The recommendation server 202 can determine the similar objects corresponding to the objects in the intervention group based on the average processing effect, and send the recommendation results (implement intervention behavior) to the similar objects as the target objects.
[0051] In some embodiments, the intervention behavior is to send a product advertisement to a terminal device held by the subject. The control group is composed of users who have not received the advertisement, and the intervention group is composed of users who have received the advertisement. The event result is whether the user purchases the product corresponding to the advertisement. The server 201 identifies the object data of the control group and the object data of the intervention group, and obtains the average treatment effect between the intervention group and the subject group based on the object data analysis. The average treatment effect is used to characterize the difference in effect between sending advertisements and not sending advertisements on the event of purchasing goods. When the average treatment effect is greater than the average treatment effect threshold, the recommendation server 202 determines that there is a correlation between sending advertisements and purchasing goods, determines similar users to the users of the intervention group, and sends advertisements to similar users, thereby improving the advertising recommendation effect.
[0052] In some embodiments, the recognition server 201 and the recommendation server 202 may also be implemented as a unified server.
[0053] The embodiment of the present application can be implemented through blockchain technology. The abnormal account obtained by the processing method of the object data of the embodiment of the present application can be used as the detection result, and the detection result can be uploaded to the blockchain for storage, and the reliability of the detection result can be guaranteed by the consensus algorithm. Blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, which is a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.
[0054] The embodiments of the present application can be implemented through database technology. In short, a database can be regarded as an electronic file cabinet where electronic files are stored. Users can add, query, update, delete, etc. data in the files. The so-called "database" is a collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application program.
[0055] A database management system (DBMS) is a computer software system designed for managing databases. It generally has basic functions such as storage, retrieval, security, and backup. Database management systems can be classified according to the database model they support, such as relational, XML (Extensible Markup Language); or according to the type of computer they support, such as server clusters, mobile phones; or according to the query language used, such as Structured Query Language (SQL), XQuery; or according to performance focus, such as maximum scale, maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMS can cross categories, for example, supporting multiple query languages at the same time.
[0056] In some embodiments, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal device and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0057] The embodiments of the present application can also be implemented through cloud technology. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application. It can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, as well as the promotion of search services, social networks, mobile commerce and open collaboration, each item may have its own hash code identification mark in the future, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately, and all kinds of industry data require strong system backing support, which can only be achieved through cloud computing.
[0058] See also Figure 2 , Figure 24 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, including: at least one processor 410, a memory 450, and at least one network interface 420. The various components in the electronic device 400 are coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in Figure 2 Various buses are labeled as bus system 440 .
[0059] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0060] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0061] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0062] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0063] The operating system 451 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic businesses and process hardware-based tasks.
[0064] The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include: Bluetooth, Wireless Authentication (WiFi), and Universal Serial Bus (USB).
[0065] In some embodiments, the object data processing device provided in the embodiments of the present application can be implemented in software. Figure 2 The processing device 455 of the object data stored in the memory 450 is shown, which can be software in the form of a program and a plug-in, etc., and includes the following software modules: a result prediction module 4551, an activation processing module 4552, an inverse activation processing module 4553, a comparison module 4554, and a matching module 4555. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0066] The object data processing method provided in the embodiment of the present application will be described in conjunction with the exemplary application and implementation of the terminal provided in the embodiment of the present application.
[0067] See also Figure 3A , Figure 3A is a flowchart of a method for processing object data provided in an embodiment of the present application, which will be combined with Figure 3A The steps shown are explained.
[0068] In step 301, event prediction processing is performed on intervention subject data of the intervention subject group and control subject data of the control subject group to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group.
[0069] Here, the event prediction process is used to predict the response result to the event.
[0070] For example, an event can be an environment in which the intervention object and the control object are located together and an event occurs in the environment. The intervention object is the object to which the intervention treatment is implemented, and the control object is the object to which the intervention treatment is not implemented. For example: the event is that the intervention object and the control object are both users using the same shopping platform, and the result of the event is that the user purchased the product or the user did not purchase the product. The intervention treatment can be an advertisement recommending product A to the object. The intervention object is the object to which the advertisement of product A is pushed, and the control object is the object to which the advertisement of product A is not pushed. The response result is that some intervention objects in the intervention object group and some control objects in the control object group purchased product A, and another part of the intervention objects and another part of the control objects did not purchase product A.
[0071] In some embodiments, step 301 can be implemented by: performing feature extraction on the intervention object data of the intervention object group to obtain the intervention object features of the intervention object group, and performing feature extraction on the control object data of the control object group to obtain the control object features of the control object group; calling the result prediction model based on the intervention object features to obtain a first prediction result for the intervention object group, and calling the result prediction model based on the control object features to obtain a second prediction result for the control object group.
[0072] For example, the intervention object data includes: the actual response result of the intervention object, the intervention object attribute parameters, and the intervention data; the control object data includes: the actual response result of the control object and the control object attribute parameters. The result prediction model includes: a first result prediction model for extracting the features of the intervention object and a second result prediction model for extracting the control object features of the control object.
[0073] For example, feature extraction of the intervention object data of the intervention object group to obtain the intervention object features of the intervention object group can be achieved in the following ways: transforming the intervention object data of the intervention object group to obtain the object feature vector of the intervention object group; and performing dimensionality reduction processing on the object feature vector of the intervention object group to obtain the intervention object features of the intervention object group.
[0074] For example, feature extraction is performed on the control object data of the control object group to obtain the control object features of the control object group by the following methods: conversion processing is performed on the control object data of the control object group to obtain the object feature vector of the control object group; and dimensionality reduction processing is performed on the object feature vector of the control object group to obtain the control object features of the control object group.
[0075] As an example, both the intervention object data and the control object data are data that cannot be directly read by a machine. The intervention object data and the control object data can be converted into a feature vector (object feature vector) in digital form that can be read by a computer through conversion processing. The dimension of the object feature vector is relatively high, and the object feature vector can be converted into an object feature in the form of a one-hot vector by performing dimensionality reduction processing on the object feature vector, which is convenient for subsequent calculation and processing.
[0076] For example, a preset logical classification model is trained based on the actual response results of the intervention object, the attribute parameters of the intervention object and the intervention data to obtain a first result prediction model, and a preset logical classification model is trained based on the actual response results of the control object and the attribute parameters of the control object to obtain a second result prediction model.
[0077] For example, continuing to explain based on the above examples, the intervention object attribute parameters or control object attribute parameters may include at least part of the following: the shopping frequency of the object on the shopping platform within a preset number of days (e.g., 30 days), the browsing time of the object on the shopping platform within a preset number of days, the goods repurchased by the object on the shopping platform, etc. The intervention data may be the number of interventions imposed on the intervention object, the specific behavior of the intervention, the duration of the intervention behavior, etc. The actual response result of the object is whether the object actually purchased the goods. The predicted result is the result obtained by analyzing information such as the attribute parameters of the object, and the predicted result may have a certain deviation from the actual result.
[0078] In step 302, activation processing is performed based on the first prediction result and the intervention object data of the intervention object group to obtain a first activation processing result of the intervention object group, and activation processing is performed based on the second prediction result and the control object data of the control object group to obtain a second activation processing result of the control object group.
[0079] In some embodiments, reference Figure 3B , step 302 can also be implemented through steps 3021 to 3025, which are described in detail below.
[0080] In step 3021, the intervention probabilities corresponding to the intervention subject group and the control subject group are obtained.
[0081] In some embodiments, step 3021 can be implemented in the following ways: based on the intervention object attribute parameters of the intervention object group, calling the machine learning classification model to perform intervention probability prediction processing to obtain the intervention probability of each intervention object in the intervention object group, and based on the control object attribute parameters of the control object group, calling the machine learning classification model to perform intervention probability prediction processing to obtain the intervention probability of each control object in the control object group.
[0082] For example, the intervention probability is the probability of whether an object will be intervened. For example, the intervention is to push advertisements to users. The probability that users see the advertisements corresponding to the intervention when using the shopping platform is the intervention probability. The value range of the intervention probability is between 0 and 1.
[0083] In step 3022, the total activation processing result of the intervention object group is determined based on the first prediction result, the intervention probability of each intervention object in the intervention object group, the actual response result of the intervention object, and the intervention data.
[0084] In some embodiments, step 3022 can be implemented in the following manner: perform the following processing on each intervention object in the intervention object group: determine a first intermediate parameter based on the inverse of the first prediction result, and determine a second intermediate parameter based on the inverse of the actual response result of the intervention object; use the ratio of the intervention data to the intervention probability of the intervention object as the third intermediate parameter; obtain the fourth difference between the second intermediate parameter and the first intermediate parameter, multiply the fourth difference by the third intermediate parameter, add the product obtained by the multiplication to the first intermediate parameter, and use the sum obtained by the addition as the object activation processing result of the intervention object; add the object activation processing results of each intervention object to obtain the total activation processing result of the intervention object group.
[0085] For example, the activation processing result calculation formula (1) of the intervention object group is as follows:
[0086]
[0087] in, is the result of the first activation process, T i is the intervention data, Y i is the actual response result, is the probability of intervention for intervention subject i. N is the number of subjects in the intervention subject, is the prediction result corresponding to the i-th intervention object in the intervention object group.
[0088] is the first intermediate parameter, log(1-1 / Y i ) is the second intermediate parameter, then the fourth difference is is the third intermediate parameter.
[0089] In step 3023, the total activation processing result of the intervention object group is divided by the number of intervention objects in the intervention object group to obtain the first activation processing result of the intervention object group.
[0090] In step 3024, the total activation processing result of the control subject group is determined based on the second prediction result, the intervention probability of each control subject in the control subject group, and the actual response result of the control subject.
[0091] In some embodiments, step 3024 can be implemented in the following manner: perform the following processing on each control object in the control object group: determine the fourth intermediate parameter based on the inverse of the second prediction result, and determine the fifth intermediate parameter based on the inverse of the actual response result; obtain the first difference between the intervention data of the intervention object corresponding to the control object with probability 1, use the first difference as the control object intervention data of the control object, obtain the second difference between the intervention probabilities of the control object with probability 1, and use the ratio between the first difference and the second difference as the sixth intermediate parameter; obtain the third difference between the fifth intermediate parameter and the fourth intermediate parameter, multiply the third difference and the sixth intermediate parameter, add the product obtained by the multiplication to the fourth intermediate parameter, and use the sum obtained by the addition as the object activation processing result of the control object; add the object activation processing results of each control object to obtain the total activation processing result of the control object group.
[0092] For example, the activation processing result calculation formula (2) of the control object group is as follows:
[0093]
[0094] in, is the result of the second activation process, (1-T i ) is the first difference, indicating no intervention, Y i is the result, is the second difference between the intervention probabilities of the control subjects with probability 1. N is the number of control subjects, is the second prediction result for the i-th control subject in the control subject group.
[0095] is the fourth intermediate parameter, log(1-1 / Y i ) is the fifth intermediate parameter, then the third difference is The sixth intermediate parameter is
[0096] In step 3025, the total activation processing result of the control object group is divided by the number of control objects in the control object group to obtain a second activation processing result of the control object group.
[0097] For example, the activation processing results corresponding to the two object groups are obtained by processing the above formulas (1) and (2).
[0098] In step 303, reverse activation processing is performed on the first activation processing result and the second activation processing result to obtain the first reverse activation processing result of the intervention subject group and the second reverse activation processing result of the control subject group.
[0099] In some embodiments, the first activation processing result and the second activation processing result are binary results; a binary result is a result represented by 1 or 0. Step 303 can be implemented by: using the negative number of the first activation processing result as an independent variable of the activation function to perform activation processing, and obtaining a first reverse activation processing result with a continuous value range, and using the negative number of the second activation processing result as an independent variable of the activation function to perform activation processing, and obtaining a second reverse activation processing result with a continuous value range.
[0100] For example, the activation function is also the sigmoid function. Then, the first reverse activation result of the intervention group of the reverse activation treatment is characterized as The results of the second reverse activation treatment of the reverse activation control group were characterized as follows
[0101] In step 304, the difference between the first reverse activation treatment result of the intervention subject group and the second reverse activation treatment result of the control subject group is taken as the average treatment effect between the intervention subject group and the control subject group.
[0102] For example, the first reverse activation processing result is subtracted from the second reverse activation processing result to obtain the average processing effect Δ DR,B The calculation formula (3) is as follows:
[0103]
[0104] In step 305, when the average treatment effect is greater than the average treatment effect threshold, similar objects in the intervention object group are determined based on the average treatment effect, and the similar objects are used as target objects for which intervention treatment is implemented.
[0105] In some embodiments, reference Figure 3C , step 305 can also be implemented through steps 3051 to 3054, which are described in detail below.
[0106] In step 3051, the intervention probability of each intervention object in the intervention object group and the intervention probability corresponding to each sample object in the sample object group are obtained.
[0107] Here, each sample subject in the sample subject group is a subject to which no intervention treatment is performed.
[0108] For example, the control objects in the control object group may also be objects that have not been subjected to intervention treatment. The source of the sample objects in the sample object group may be new objects crawled from the network, or may be control objects in the control object group.
[0109] In step 3052, a trend score for each intervention object is determined based on the intervention probability of each intervention object, and a trend score for each sample object is determined based on the intervention probability of each sample object.
[0110] In some embodiments, step 3052 can be implemented in the following ways: multiplying the intervention probability of each intervention object by the intervention parameter to obtain the trend value of each intervention object, rounding the trend value of each intervention object to obtain the trend score of each intervention object, and multiplying the intervention probability of each sample object by the intervention parameter to obtain the trend value of each sample object, rounding the trend value of each sample object to obtain the trend score of each sample object.
[0111] For example, the intervention parameter can be 100. The following example is used for illustration, assuming that the intervention probability of the intervention object is 0.31415, the trend value obtained by multiplying the intervention parameter and the intervention probability is 31.415, and the trend value is rounded to an integer to obtain a trend score of 31. The trend score of the sample object can be obtained in the same way and will not be repeated here.
[0112] In step 3053, the following processing is performed for each intervention object: matching processing is performed in the sample object group based on the trend score of the intervention object to obtain sample objects with the same trend score as the intervention object, and sample objects with the same trend score are used as similar objects of the intervention object.
[0113] For example, similar trend scores indicate that the object data corresponding to the objects are similar, and thus the intervention probabilities predicted based on the object data are similar, and the trend scores are similar. In the embodiment of the present application, the similarity between objects is represented by trend scores, which saves computing resources.
[0114] In step 3054, each similar object in the sample object group is used as a target object for intervention treatment.
[0115] For example, the following example is used to illustrate that, assuming that the intervention is to push recommendation information to the user, the recommendation information can be an advertisement, and the object data processing method of the embodiment of the present application can determine that there is a correlation between recommending an advertisement to the object and the result of the object purchasing the product. The intervention object is the object to which the advertisement of product A is pushed, and the trend score of the intervention object is 59. Then the sample object with a trend score of 59 is a similar object of the intervention object, and the similar object is used as the target object. The advertisement of product A is pushed to the target object. The target object is more likely to buy product A or remember product A after watching the advertisement. Then, the advertisement recommendation is performed in the above manner, which improves the purchase rate of the product recommended by the advertisement and improves the recommendation effect of the advertisement.
[0116] The embodiment of the present application performs activation processing and inverse activation processing on the prediction results corresponding to the intervention object group and the control object group respectively, so that the prediction results are converted from binary results to continuous results. The value range of the average treatment effect is compressed through the activation processing, which reduces the deviation of the double robust estimation, improves the accuracy of determining the target object, and further improves the effectiveness of the intervention treatment.
[0117] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0118] The object data processing method provided in the embodiment of the present application can be applied in the following application scenarios:
[0119] 1. Causal inference analysis of return flow activities: Users who use the application will gradually churn. Lost users may return (i.e., use the application again) after being pushed text messages. The intervention group is the users who are pushed text messages, and the control group is the users who are not pushed text messages. The result is whether the user returns. The average treatment effect between the control group and the intervention group is calculated by the object data processing method provided in the embodiment of the present application, and the impact of text messages on return flow is obtained based on the average treatment effect. By evaluating the return flow activities recommended by different text messages, the optimal return flow activity can be found, and limited push resources can be allocated to efficient return flow activities, which can improve the return rate, for example: 3%-5%.
[0120] 2. The impact of face recognition verification on users' game play: During the game play, if the user's online time is longer than the preset usage time for minors, face recognition verification may be required to determine whether the user participating in the game is an adult or a minor. In this scenario, the intervention is face recognition verification, the intervention group is users who have undergone face recognition, and the control group is users who have not undergone face recognition. The result is whether the user will play the game after being recognized by face. The object data processing method provided in the embodiment of the present application can obtain the impact of face recognition and the start rate of the game, for example: face recognition will reduce the start rate by 1%-2%.
[0121] 3. User reporting rate and retention analysis: After a user's account is reported on a certain platform / game, the intervention group includes the reported users, and the control group includes the non-reported users. The event result is whether the user retains the platform or game. The impact of the reporting behavior on the user's retention in the platform / game can be calculated through the object data processing method provided in the embodiment of the present application.
[0122] 4. Recommendation effect analysis: There is a group of users who purchase game props. The intervention group is the users who purchased the game props, and the control group is the users who did not purchase the game props. The result is whether to purchase the game props subsequently launched in the game. The object data processing method provided in the embodiment of the present application is used to calculate the impact ATE of purchasing game props on subsequent purchases, so as to know whether the two game props launched successively are complementary or conflicting, and thus the game props can be recommended more efficiently.
[0123] 5. Gameplay analysis: Intervention is the user's participation in a certain gameplay in the game. The intervention group is composed of users who have participated in the gameplay, and the control group is composed of users who have not participated in the gameplay. The result is whether the user retains the game. The relationship between the gameplay and the retention rate can be obtained through the object data processing method provided in the embodiment of the present application. For example, a certain gameplay will increase the retention rate by 10%.
[0124] 6. Game content analysis: After a group of users are exposed to game ads, the amount of game installations by these users increases. The intervention group is the users to whom ads are pushed, and the control group is the users to whom ads are not pushed. The result is whether the game application is installed. The impact of various game ad contents on the game installation rate is calculated through the object data processing method provided in the embodiment of the present application, so as to allocate the limited ad exposure to the most efficient ad content, thereby increasing the installation rate, for example: the installation rate increases by 1%-2%.
[0125] refer to Figure 5 , Figure 5 It is an optional flowchart of the object data processing method provided in the embodiment of the present application.
[0126] In step 501, the intervention probability of the subject is predicted.
[0127] For example, the intervention probability refers to the possibility of an object being intervened. The purpose of predicting the intervention probability is to convert the differences in different dimensions of the object into one-dimensional differences, so as to facilitate comparison and find similar objects. The specific method is: based on the object feature X and the intervention t, the machine learning classification model GBDT (Gradient Boosting Decision Tree) is trained to obtain a model for predicting the probability of an object being intervened, and the relationship between X and t is learned. Then, based on the trained machine learning classification model, the intervention probability of different objects (different types of interventions) can be predicted. The intervention probability is a decimal between 0 and 1.
[0128] For example, the Propensity Score (PS) can be calculated based on the intervention probability. The calculation formula is: PS ≈ intervention probability * 100, that is, multiply the intervention probability by 100, and round the obtained value to convert the intervention probability into an integer between 0 and 100. Each object will have a PS (trend score) between 0 and 100. The closer the PS of the object is to 100, the more likely the object is to be intervened. The trend score can be used as a feature of the object, and objects with similar or identical trend scores are regarded as similar objects.
[0129] In some embodiments, step 501 may be performed before step 504 and after steps 502 and 503 .
[0130] In step 502, result prediction is performed based on the subject data of the intervention group to obtain the prediction result of the intervention group.
[0131] For example, step 502 may be implemented by: training the outcome prediction model corresponding to the intervention group based on the intervention group data The trained model is called to perform event prediction processing on the object data of the intervention group to obtain the prediction result of the intervention group (the first prediction result).
[0132] For example, feature engineering is established using the object features Xi and results Yi of the intervention group. Feature engineering is the process of converting raw data into features that represent the underlying model of the data. Feature engineering is achieved by taking the object features of each object in the intervention group and the intervention results of each object as feature data for feature extraction to obtain object features that can be learned by the machine (represented by digital vector features), performing dimensionality reduction processing on the object features of each object to obtain the unique hot vector features of each object in the intervention group. Based on the unique hot vector features of each intervention object, the result prediction model corresponding to the intervention group is trained, and the data of the intervention object to be predicted is predicted based on the trained result prediction model to obtain the prediction results of each object. The result prediction model can be trained using pyspark (application programming interface for large-scale data processing).ml.classification.LogisticRegression (classification logistic regression module).
[0133] In step 503, the result prediction is performed based on the object data of the control group to obtain the prediction result of the control group.
[0134] For example, step 503 can be implemented by: based on the control group data, training the result prediction model corresponding to the control group The trained model is called to perform event prediction processing on the object data of the control group to obtain the prediction result of the control group (the second prediction result).
[0135] For example, feature engineering is established using the object features Xi and results Yi of the control group. Establishing feature engineering is the process of converting raw data into features that represent the underlying model of the data. Establishing feature engineering is achieved in the following way: taking the object features of each object in the control group and the results of each object being controlled as feature data for feature extraction, obtaining object features that can be learned by the machine (represented by digital vector features), performing dimensionality reduction processing on the object features of each object, and obtaining the unique hot vector features of each object in the control group. Based on the unique hot vector features of each control object, the result prediction model corresponding to the control group is trained, and the data of the control object to be predicted is predicted based on the trained result prediction model to obtain the predicted results of each object. The result prediction model can be trained using pyspark (application programming interface for large-scale data processing).ml.classification.LogisticRegression (classification logistic regression module).
[0136] refer to Figure 4 , Figure 4 It is a distributed computing schematic diagram of the object data processing method provided in the embodiment of the present application; Figure 4Each box corresponding to the calculation formula represents a calculation unit (calculation unit 401, calculation unit 402, calculation unit 403, calculation unit 404, calculation unit 405, calculation unit 406, and calculation unit 407). The calculation process of each calculation unit does not interfere with each other. The embodiment of the present application adopts a distributed computing framework to solve the big data problem. By scheduling computing resources, the full amount of data can be calculated to obtain high-speed and high-precision results. Among them, Characterize the predicted results of the control group, Characterize the predicted outcomes of the intervention group, Characterizes the difference between the predicted results and the actual results of the control group, Characterizes the difference between the predicted and actual results of the intervention group, Represents the relationship between the control object and the difference between the predicted results, Characterizes the relationship between the difference between the intervention object and the predicted result. Distributed computing inputs object data, (X, t, y), where X represents the characteristics of the intervention object or control object (for example: for games, the number of logins in the last 30 days, the number of logins in the last 7 days, the types of games installed in the last 30 days, the number of games installed in the last 30 days, etc.); t represents whether the object is intervened (for example, whether ads are recommended to the object, the number of recommended ads), and y represents the result (for example: whether the user returns); Distributed computing output: result estimation table, including the results of the control objects of the matched control group and the intervention objects of the intervention group, and the result estimation table has the following fields (whether intervention, result). By using "whether intervention" as the primary key, you can directly query the "result".
[0137] In step 504, the activation treatment results for the intervention group are determined.
[0138] The activation treatment result calculation formula (1) of the intervention group is as follows:
[0139]
[0140] in, is the activation processing result, T i It is intervention, Y i is the result, is the probability of intervention. N is the sample size, is the predicted outcome for the intervention group. Figure 4 , formula (1) corresponds to Figure 4 Based on Get the branch of the prediction result.
[0141] In step 505, the activation processing result of the control group is determined.
[0142] The activation treatment result calculation formula (2) of the control group is as follows:
[0143]
[0144] in, is the activation processing result, (1-T i ) indicates no intervention, Y i is the result, is the intervention probability obtained in step 501. N is the number of samples, is the predicted result of the control group. Figure 4 , formula (2) corresponds to Figure 4 Based on Get the branch of the prediction result.
[0145] In step 506, the activation processing results of the intervention group and the activation processing results of the control group are respectively subjected to inverse activation processing.
[0146] For example, the activation treatment results of the intervention group of the reverse activation treatment are characterized as The activation results of the control group of the reverse activation treatment are characterized by
[0147] In step 507, the average treatment effect between the intervention group and the control group is determined.
[0148] For example, the average treatment effect Δ DR,B The calculation formula (3) is as follows:
[0149]
[0150] In some embodiments, after step 508, the impact of the intervention on the results can also be determined based on the average treatment effect. If the degree of impact is greater than the preset degree of impact, the trend score obtained in step 1 can be used to determine objects similar to the objects in the intervention group, and then these objects can be selected for intervention to obtain corresponding results.
[0151] Assuming that the object is a user, the intervention is an advertising recommendation, and the result is the purchase of a product, based on the average treatment effect obtained from steps 501 to 507 in the embodiment of the present application, it can be determined that the advertising recommendation has a positive impact on the purchase of the product (that is, it promotes the user to purchase the product), and based on the trend score, similar users to the users in the intervention group are determined, and users similar to the users in the intervention group are selected for advertising recommendations, and then similar users are obtained for advertising recommendations, thereby improving the recommendation effect of the advertisement.
[0152] The following experimental data reflects the effect of the object data processing method provided by the embodiment of the present application compared with the prior art. The object data processing method provided by the present application is referred to as Binary double robust estimation. In the environment of binary results with hidden confounders, the average deviation of Binary double robust estimation is lower. Compared with UBER's best performing algorithm UBER-X-Learner, the average deviation is reduced by 42.16%. Compared with traditional double robust estimation, the average deviation is reduced by 38.54%. Refer to Table (1) and Figure 6 , Figure 6 It is a schematic diagram of the deviation ratio of the object data processing method provided in the embodiment of the present application. Figure 6 The average deviation of the Binary doubly robust estimator is marked with a dark bar, which has a lower deviation than the existing technology solutions.
[0153]
[0154] Table (1)
[0155] In the embodiment of the present application, activation processing and inverse activation processing are performed on the prediction results corresponding to the intervention object group and the control object group respectively, so that the prediction results are converted from binary results to continuous results. The value range of the average treatment effect is compressed through the activation processing, thereby reducing the deviation of the existing double robust estimation.
[0156] The following is a description of an exemplary structure of the object data processing device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2As shown, the software modules in the object data processing device 455 stored in the memory 450 may include: a result prediction module 4551, configured to perform event prediction processing on the intervention object data of the intervention object group and the control object data of the control object group, respectively, to obtain a first prediction result of the intervention object group and a second prediction result of the control object group, wherein the event prediction processing is used to predict the response result to the event; an activation processing module 4552, configured to perform activation processing based on the first prediction result and the intervention object data of the intervention object group, to obtain a first activation processing result of the intervention object group, and to perform activation processing based on the second prediction result and the control object data of the control object group, to obtain a second activation processing result of the control object group. a second activation processing result; an inverse activation processing module 4553, configured to perform inverse activation processing on the first activation processing result and the second activation processing result, to obtain a first inverse activation processing result of the intervention object group, and a second inverse activation processing result of the control object group; a comparison module 4554, configured to use the difference between the first inverse activation processing result of the intervention object group and the second inverse activation processing result of the control object group as the average treatment effect between the intervention object group and the control object group; a matching module 4555, configured to determine similar objects of the intervention object group based on the average treatment effect when the average treatment effect is greater than an average treatment effect threshold, and use the similar objects as target objects for which intervention treatment is implemented.
[0157] In some embodiments, the result prediction module 4551 is configured to perform feature extraction on the intervention object data of the intervention object group to obtain the intervention object features of the intervention object group, and to perform feature extraction on the control object data of the control object group to obtain the control object features of the control object group; to call the result prediction model based on the intervention object features to obtain a first prediction result for the intervention object group, and to call the result prediction model based on the control object features to obtain a second prediction result for the control object group.
[0158] In some embodiments, the result prediction module 4551 is configured to perform conversion processing on the intervention object data of the intervention object group to obtain the object feature vector of the intervention object group, perform dimensionality reduction processing on the object feature vector of the intervention object group to obtain the intervention object features of the intervention object group; perform conversion processing on the control object data of the control object group to obtain the object feature vector of the control object group, perform dimensionality reduction processing on the object feature vector of the control object group to obtain the control object features of the control object group.
[0159] In some embodiments, the intervention object data includes: the actual response results of the intervention object, the intervention object attribute parameters, and the intervention data; the control object data includes: the actual response results of the control object, and the control object attribute parameters; the result prediction model includes: a first result prediction model and a second result prediction model; the result prediction module 4551 is configured to train a preset logical classification model based on the actual response results of the intervention object, the intervention object attribute parameters, and the intervention data to obtain a first result prediction model, and to train a preset logical classification model based on the actual response results of the control object and the control object attribute parameters to obtain a second result prediction model.
[0160] In some embodiments, the intervention object data includes: the actual response result of the intervention object, the intervention object attribute parameters, and the intervention data; the control object data includes: the actual response result of the control object, and the control object attribute parameters; the activation processing module 4552 is configured to determine the total activation processing result of the intervention object group based on the first prediction result, the intervention probability of each intervention object in the intervention object group, the actual response result of the intervention object, and the intervention data; divide the total activation processing result of the intervention object group by the number of intervention objects in the intervention object group to obtain the first activation processing result of the intervention object group; determine the total activation processing result of the control object group based on the second prediction result, the intervention probability of each control object in the control object group, and the actual response result of the control object; divide the total activation processing result of the control object group by the number of control objects in the control object group to obtain the second activation processing result of the control object group.
[0161] In some embodiments, the activation processing module 4552 is configured to call the machine learning classification model to perform intervention probability prediction processing based on the intervention object attribute parameters of the intervention object group to obtain the intervention probability of each intervention object in the intervention object group, and to call the machine learning classification model to perform intervention probability prediction processing based on the control object attribute parameters of the control object group to obtain the intervention probability of each control object in the control object group.
[0162] In some embodiments, the activation processing module 4552 is configured to perform the following processing for each intervention object in the intervention object group: determine a first intermediate parameter based on the inverse of the first prediction result, and determine a second intermediate parameter based on the inverse of the actual response result of the intervention object; use the ratio of the intervention data to the intervention probability of the intervention object as the third intermediate parameter; obtain a fourth difference between the second intermediate parameter and the first intermediate parameter, multiply the fourth difference by the third intermediate parameter, add the product obtained by the multiplication to the first intermediate parameter, and use the sum obtained by the addition as the object activation processing result of the intervention object; add the object activation processing results of each intervention object to obtain the total activation processing result of the intervention object group.
[0163] In some embodiments, the activation processing module 4552 is configured to perform the following processing for each control object in the control object group: determine the fourth intermediate parameter based on the inverse of the second prediction result, and determine the fifth intermediate parameter based on the inverse of the actual response result; obtain the first difference between the intervention data of the intervention object corresponding to the control object of probability 1, use the first difference as the control object intervention data of the control object, obtain the second difference between the intervention probabilities of the control object of probability 1, and use the ratio between the first difference and the second difference as the sixth intermediate parameter; obtain the third difference between the fifth intermediate parameter and the fourth intermediate parameter, multiply the third difference and the sixth intermediate parameter, add the product obtained by the multiplication to the fourth intermediate parameter, and use the sum obtained by the addition as the object activation processing result of the control object; add the object activation processing results of each control object to obtain the total activation processing result of the control object group.
[0164] In some embodiments, the first activation processing result and the second activation processing result are binary results; the inverse activation processing module 4553 is configured to use the negative number of the first activation processing result as the independent variable of the activation function for activation processing to obtain a first inverse activation processing result with a continuous value range, and to use the negative number of the second activation processing result as the independent variable of the activation function for activation processing to obtain a second inverse activation processing result with a continuous value range.
[0165] In some embodiments, the matching module 4555 is configured to obtain the intervention probability of each intervention object in the intervention object group and the intervention probability corresponding to each sample object in the sample object group, wherein each sample object in the sample object group is an object that has not been subjected to intervention treatment; determine the trend score of each intervention object based on the intervention probability of each intervention object, and determine the trend score of each sample object based on the intervention probability of each sample object; perform the following processing on each intervention object: perform matching processing in the sample object group based on the trend score of the intervention object to obtain sample objects with the same trend score as the intervention object, and use the sample objects with the same trend score as the similar objects of the intervention object; and use each similar object in the sample object group as a target object to be subjected to intervention treatment.
[0166] In some embodiments, the matching module 4555 is configured to multiply the intervention probability of each intervention object by the intervention parameter to obtain a trend value for each intervention object, round the trend value of each intervention object to obtain a trend score for each intervention object, and multiply the intervention probability of each sample object by the intervention parameter to obtain a trend value for each sample object, round the trend value of each sample object to obtain a trend score for each sample object.
[0167] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the object data processing method described in the embodiment of the present application.
[0168] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the object data processing method provided by the present application embodiment, for example, Figure 3A The object data processing method is shown.
[0169] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EP ROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0170] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0171] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or code portions).
[0172] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0173] In summary, through the embodiments of the present application, activation processing and inverse activation processing are performed on the prediction results corresponding to the intervention object group and the control object group respectively, so that the prediction results are converted from binary results to continuous results. The value range of the average treatment effect is compressed through the activation processing, which reduces the deviation of the double robust estimation, improves the accuracy of determining the target object, and thus improves the effectiveness of the intervention treatment.
[0174] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for processing object data, characterized in that: The method comprises: performing event prediction processing on the intervention subject data of the intervention subject group and the control subject data of the control subject group, respectively, to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group, wherein the event prediction processing is used to predict a response result to an event, and the first prediction result and the second prediction result are both binary results; performing activation processing based on the first prediction result and the intervention object data of the intervention object group to obtain a first activation processing result of the intervention object group, and performing activation processing based on the second prediction result and the control object data of the control object group to obtain a second activation processing result of the control object group, wherein the first activation processing result and the second activation processing result are both binary results; Performing reverse activation processing on the first activation processing result and the second activation processing result to obtain a first reverse activation processing result of the intervention subject group and a second reverse activation processing result of the control subject group, wherein the first activation processing result and the second activation processing result are converted into continuous numerical values through the reverse activation processing; taking the difference between the first reverse activation treatment result of the intervention subject group and the second reverse activation treatment result of the control subject group as the average treatment effect between the intervention subject group and the control subject group; When the average treatment effect is greater than the average treatment effect threshold, similar objects of the intervention object group are determined based on the average treatment effect, and the similar objects are used as target objects for which intervention treatment is implemented, and recommendation information is pushed to the target objects.
2. The method according to claim 1, characterized in that The performing event prediction processing on the intervention subject data of the intervention subject group and the control subject data of the control subject group respectively to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group includes: Performing feature extraction on the intervention subject data of the intervention subject group to obtain intervention subject features of the intervention subject group, and performing feature extraction on the control subject data of the control subject group to obtain control subject features of the control subject group; The result prediction model is called based on the intervention object characteristics to obtain a first prediction result for the intervention object group, and the result prediction model is called based on the control object characteristics to obtain a second prediction result for the control object group.
3. The method according to claim 2, characterized in that The extracting features of the intervention object data of the intervention object group to obtain the intervention object features of the intervention object group, and extracting features of the control object data of the control object group to obtain the control object features of the control object group include: Performing conversion processing on the intervention object data of the intervention object group to obtain the object feature vector of the intervention object group, and performing dimensionality reduction processing on the object feature vector of the intervention object group to obtain the intervention object feature of the intervention object group; The control object data of the control object group is converted to obtain an object feature vector of the control object group, and the object feature vector of the control object group is reduced in dimension to obtain a control object feature of the control object group.
4. The method according to claim 2, characterized in that The intervention object data includes: the actual response result of the intervention object, the attribute parameters of the intervention object, and the intervention data; the control object data includes: the actual response result of the control object, and the attribute parameters of the control object; The result prediction model includes: a first result prediction model and a second result prediction model; Before calling the result prediction model based on the intervention subject features to obtain the first prediction result of the intervention subject group, and calling the result prediction model based on the control subject features to obtain the second prediction result of the control subject group, the method further includes: Based on the actual response result of the intervention object, the attribute parameters of the intervention object and the intervention data, a preset logical classification model is trained to obtain the first result prediction model, and The preset logical classification model is trained based on the actual response results of the control objects and the attribute parameters of the control objects to obtain the second result prediction model.
5. The method according to claim 1, characterized in that The intervention object data includes: the actual response result of the intervention object, the attribute parameters of the intervention object, and the intervention data; the control object data includes: the actual response result of the control object, and the attribute parameters of the control object; The performing activation processing based on the first prediction result and the intervention object data of the intervention object group to obtain a first activation processing result of the intervention object group, and performing activation processing based on the second prediction result and the control object data of the control object group to obtain a second activation processing result of the control object group, include: Obtaining intervention probabilities corresponding to the intervention subject group and the control subject group respectively; Determine a total activation processing result of the intervention object group based on the first prediction result, the intervention probability of each intervention object in the intervention object group, the actual response result of the intervention object, and the intervention data; Dividing the total activation processing result of the intervention object group by the number of intervention objects in the intervention object group to obtain a first activation processing result of the intervention object group; determining a total activation processing result of the control subject group based on the second prediction result, the intervention probability of each control subject in the control subject group, and the actual response result of the control subject; The total activation processing result of the control object group is divided by the number of control objects in the control object group to obtain a second activation processing result of the control object group.
6. The method according to claim 5, characterized in that The obtaining the intervention probabilities corresponding to the intervention subject group and the control subject group respectively includes: Based on the intervention object attribute parameters of the intervention object group, calling the machine learning classification model to perform intervention probability prediction processing to obtain the intervention probability of each intervention object in the intervention object group, and Based on the control object attribute parameters of the control object group, the machine learning classification model is called to perform intervention probability prediction processing to obtain the intervention probability of each control object in the control object group.
7. The method according to claim 5, characterized in that The determining of a total activation processing result of the intervention object group based on the first prediction result, the intervention probability of each intervention object in the intervention object group, the actual response result of the intervention object, and the intervention data includes: The following processing is performed on each intervention subject in the intervention subject group: Determine a first intermediate parameter based on the inverse of the first prediction result, and determine a second intermediate parameter based on the inverse of the actual response result of the intervention object; taking the ratio of the intervention data to the intervention probability of the intervention object as a third intermediate parameter; obtaining a fourth difference between the second intermediate parameter and the first intermediate parameter, multiplying the fourth difference by the third intermediate parameter, adding a product obtained by the multiplication to the first intermediate parameter, and using the sum obtained by the addition as an object activation processing result of the intervention object; The object activation processing result of each intervention object is added together to obtain the total activation processing result of the intervention object group.
8. The method according to claim 5, characterized in that The determining of the total activation processing result of the control subject group based on the second prediction result, the intervention probability of each control subject in the control subject group, and the actual response result of the control subject includes: The following treatment is performed on each of the control subjects in the control subject group: determining a fourth intermediate parameter based on the inverse of the second prediction result, and determining a fifth intermediate parameter based on the inverse of the actual response result; obtaining a first difference between probability 1 and the intervention data of the intervention object corresponding to the control object, using the first difference as the control object intervention data of the control object, obtaining a second difference between probability 1 and the intervention probability of the control object, and using a ratio between the first difference and the second difference as a sixth intermediate parameter; obtaining a third difference between the fifth intermediate parameter and the fourth intermediate parameter, multiplying the third difference by the sixth intermediate parameter, adding the product obtained by the multiplication to the fourth intermediate parameter, and using the sum obtained by the addition as the object activation processing result of the control object; The object activation processing result of each of the control objects is added together to obtain the total activation processing result of the control object group.
9. The method according to claim 1, characterized in that The performing reverse activation processing on the first activation processing result and the second activation processing result to obtain the first reverse activation processing result of the intervention subject group and the second reverse activation processing result of the control subject group includes: Using the negative of the first activation processing result as an independent variable of the activation function to perform activation processing, to obtain a first reverse activation processing result with a continuous value range, and The negative number of the second activation processing result is used as the independent variable of the activation function to perform activation processing, so as to obtain a second reverse activation processing result with a continuous value range.
10. The method according to claim 1, characterized in that The determining of similar objects of the intervention object group based on the average treatment effect, and using the similar objects as target objects for intervention treatment, comprises: Obtaining the intervention probability of each intervention object in the intervention object group and the intervention probability corresponding to each sample object in the sample object group, wherein each sample object in the sample object group is an object that has not been subjected to intervention treatment; determining a trend score for each of the intervention objects based on the intervention probability of each of the intervention objects, and determining a trend score for each of the sample objects based on the intervention probability of each of the sample objects; The following treatments were performed for each intervention object: Perform matching processing in the sample object group based on the trend score of the intervention object to obtain sample objects with the same trend score as the intervention object, and use the sample objects with the same trend score as the similar objects of the intervention object; Each of the similar objects in the sample object group is used as a target object for intervention treatment.
11. The method according to claim 10, characterized in that The determining of the trend score of each intervention object based on the intervention probability of each intervention object, and the determining of the trend score of each sample object based on the intervention probability of each sample object, comprises: The intervention probability of each intervention object is multiplied by the intervention parameter to obtain the trend value of each intervention object, and the trend value of each intervention object is rounded to obtain the trend score of each intervention object, and The intervention probability of each sample object is multiplied by the intervention parameter to obtain a trend value of each sample object, and the trend value of each sample object is rounded to obtain a trend score of each sample object.
12. A device for processing object data, characterized in that: The device comprises: a result prediction module, configured to perform event prediction processing on the intervention subject data of the intervention subject group and the control subject data of the control subject group, respectively, to obtain a first prediction result of the intervention subject group and a second prediction result of the control subject group, wherein the event prediction processing is used to predict a response result to an event, and the first prediction result and the second prediction result are both binary results; an activation processing module, configured to perform activation processing based on the first prediction result and the intervention subject data of the intervention subject group to obtain a first activation processing result of the intervention subject group, and to perform activation processing based on the second prediction result and the control subject data of the control subject group to obtain a second activation processing result of the control subject group, wherein the first activation processing result and the second activation processing result are both binary results; a reverse activation processing module configured to perform reverse activation processing on the first activation processing result and the second activation processing result to obtain a first reverse activation processing result of the intervention subject group and a second reverse activation processing result of the control subject group, wherein the first activation processing result and the second activation processing result are converted into continuous numerical values through the reverse activation processing; a comparison module configured to use the difference between the first reverse activation treatment result of the intervention subject group and the second reverse activation treatment result of the control subject group as the average treatment effect between the intervention subject group and the control subject group; The matching module is configured to determine similar objects of the intervention object group based on the average treatment effect when the average treatment effect is greater than the average treatment effect threshold, and use the similar objects as target objects for intervention treatment, and push recommendation information to the target objects.
13. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 11 when executing the executable instructions stored in the memory.
14. A computer-readable storage medium storing executable instructions, characterized in that: When the executable instructions are executed by a processor, the method according to any one of claims 1 to 11 is implemented.
15. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Object recommendation model training method, recommendation method and device based on artificial intelligence
CN111027714A
Method and device for detecting service prediction model security
CN112085281A
Model training method and device, computer equipment and readable storage medium
CN112257470A
Cell capacity expansion determination method and device and storage medium
CN112825576A
Recommendation method and device
CN112883264A
