Training method of regulation and control model, recommendation information regulation and control method and equipment
By extracting and integrating recommended information features in N feature dimensions, predicting the regulation method and training the regulation model, the problem of low accuracy of the advertising regulation model is solved, the training efficiency and accuracy of the model are improved, and precise regulation of advertising information is achieved. .
Patent Information
- Application Number
- CN202410620164.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, the accuracy of the advertising control model is low because the training is only based on the advertising data itself and ignores other related factors.
By extracting recommended information features in N feature dimensions, performing feature fusion, predicting the regulation method, and training the regulation model based on loss, it improves feature comprehensiveness and model accuracy.
It improves the comprehensiveness of advertising features and the training efficiency and accuracy of the control model, achieves precise control of recommended information, reduces misjudgments in control methods, and improves the stability of recommended information delivery.
Smart Images

Figure CN118656777A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a training method for a control model, a recommendation information control method and a device. Background Art
[0002] In the related technologies, most of the recommended information is used as training data to train the control model. The trained control model can be used to determine which control method to adopt to control the recommended information, so as to realize the value of the recommended information more efficiently. Summary of the invention
[0003] The embodiments of the present application provide a training method for a control model, a recommendation information control method and a device, which can improve the accuracy of the control model.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides a method for training a control model, the method comprising:
[0006] Performing feature extraction on the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1;
[0007] Fusing the recommendation information features of the N feature dimensions to obtain fused features;
[0008] Based on the fusion feature, predicting the regulation mode of the recommendation information sample;
[0009] Based on the predicted control method and the control method label of the recommendation information sample, the loss of the control model is determined, and the control model is trained based on the loss.
[0010] The present application provides a method for regulating recommendation information, the method comprising:
[0011] Acquire information records and a control model of recommendation information; wherein the control model is obtained by training using the control model training method according to any one of claims 1 to 11;
[0012] Inputting the information record of the recommended information into the regulation model to predict the regulation mode of the recommended information;
[0013] Based on the regulation mode of the recommendation information, the recommendation information is regulated and processed.
[0014] The present application provides a training device for a control model, the device comprising:
[0015] A feature extraction module, configured to extract features from the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1;
[0016] A feature fusion module, used to fuse the recommendation information features of the N feature dimensions to obtain a fused feature;
[0017] A prediction module, used for predicting the regulation mode of the recommendation information sample based on the fusion feature;
[0018] A training module is used to determine the loss of the control model based on the predicted control method and the control method label of the recommendation information sample, and train the control model based on the loss.
[0019] The present application provides a device for regulating recommendation information, the device comprising:
[0020] An acquisition module, used to acquire information records of recommendation information and a control model; wherein the control model is obtained by training using the above-mentioned control model training method;
[0021] An input module, used for inputting the information record of the recommendation information into the regulation model to predict the regulation mode of the recommendation information;
[0022] The control module is used to control the recommendation information based on the target control mode of the recommendation information.
[0023] An embodiment of the present application provides an electronic device, including:
[0024] A memory for storing executable instructions;
[0025] The processor is used to implement the training method of the control model provided in the embodiment of the present application, or implement the recommendation information control method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0026] An embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor will execute the training method of the control model provided in the embodiment of the present application, or the processor will execute the recommendation information control method provided in the embodiment of the present application.
[0027] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the training method of the control model provided in the embodiment of the present application, or the electronic device executes the recommendation information control method provided in the embodiment of the present application.
[0028] The embodiments of the present application have the following beneficial effects:
[0029] First, in N feature dimensions, feature extraction is performed on the first information record of the recommendation information sample to obtain the recommendation information features of the recommendation information sample in N feature dimensions, and then the regulation mode of the recommendation information sample is predicted based on the fusion features obtained by fusing the recommendation information features of the N feature dimensions, thereby determining the loss of the regulation model based on the predicted regulation mode and the regulation mode label of the recommendation information sample, and training the regulation model based on the loss. In this way, the present application performs model training through the recommendation information features of N feature dimensions, thereby improving the comprehensiveness of the extracted recommendation information features, thereby improving the training efficiency and accuracy of the regulation model. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 1 is a schematic diagram of the architecture of a training system 100 for a control model provided in an embodiment of the present application;
[0031] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0032] Figure 3 It is a flowchart of the training method of the control model provided in the embodiment of the present application;
[0033] Figure 4 It is a schematic diagram of a process for determining the loss of a control model provided in an embodiment of the present application;
[0034] Figure 5 It is a schematic diagram of the structure of the control model provided in the embodiment of the present application;
[0035] Figure 6 It is a flowchart of the recommendation information regulation method provided in the embodiment of the present application;
[0036] Figure 7 It is a structural diagram of the recommendation information regulation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 1) 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. Artificial intelligence technology is an interdisciplinary subject that covers a wide range of fields, including both hardware-level and software-level technologies. Basic AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies.
[0043] 2) Client, also known as the user end, refers to the program corresponding to the server that provides local services to users. Except for some applications that can only run locally, it is generally installed on an ordinary client and needs to cooperate with the server to run, that is, it requires corresponding servers and service programs in the network to provide corresponding services. In this way, specific communication connections need to be established on the client and server sides to ensure the normal operation of the application.
[0044] 3) Loss: It is used to measure the gap between the actual results and target results of the model for model training and optimization.
[0045] 4) Conversion effect refers to the degree to which the recommended information actually achieves its intended goal. This goal is usually to guide users to take specific actions, such as downloading an app, performing specific operations in the app, etc., if the recommended information is an advertisement.
[0046] 5) Control methods, including pause, modify and enable. Through control, you can pause, enable, modify the budget of information flow ads, so as to continue to deliver ads with good conversion effects and increase the advertising budget, and stop delivering ads with poor conversion effects, so as to meet users' demand for advertising delivery.
[0047] 6) Recommendation information, which is used to recommend target objects. Recommendation information can be advertisements, and target objects can be commodities, items, consultations, etc. The following is an explanation of the nouns and terms in the advertisement recommendation scenario.
[0048] 7) An ad group, or simply an ad, is a container for a group of ad campaigns with a common advertising strategy or goal, which allows advertisers to organize, manage and monitor their advertising campaigns more effectively.
[0049] 8) Advertising budget: The total budget set by the advertiser for the advertising group in the information flow advertising is used to control the advertising costs of this group of advertisements and ensure that it does not exceed the predetermined funding range during the advertising campaign, thereby meeting the user's usage needs.
[0050] 9) Advertising refers to the act of placing advertisements on an advertising platform.
[0051] 10) Advertiser refers to the entity or organization that pays the advertising fees in the advertising campaign and is responsible for the creativity, content and dissemination of the advertisement, that is, the organization that places advertisements on the advertising platform.
[0052] 11) Advertising platforms refer to digital platforms or services for online advertising publishing and management, which are designed to help advertisers create, publish and manage their advertising campaigns. These platforms provide advertisers with the infrastructure for advertising so that they can display their ads to their target audiences.
[0053] 12) Feature values are used to describe the attributes or characteristics of samples in machine learning and deep learning tasks. They are usually expressed in numerical form and are used to train machine learning models so that the models can learn from the data and make predictions.
[0054] 13) Labels are the output or target values associated with the training data, which are the values that the model learns to predict.
[0055] 14) Long Short-Term Memory (LSTM) is a deep learning model and a variant of recurrent neural network, which is specifically used to process and predict time series data and other time-dependent data.
[0056] In the process of advertising promotion, the advertisement data itself is mostly used as training data to train the advertising regulation model; however, the advertising regulation process is not only related to the advertisement data itself, but also related to other factors. Training the advertising regulation model only based on the advertisement data itself will lead to lower accuracy of the advertising regulation model.
[0057] Based on this, the embodiment of the present application provides a method for training a control model. First, feature extraction is performed on the information records of the advertising samples in N feature dimensions. After obtaining the advertising features of the advertising samples in N feature dimensions, the control method of the advertising samples is predicted based on the fusion features obtained by fusing the advertising features of the N feature dimensions, and then the loss of the control model is determined based on the predicted control method and the control method label of the advertising sample, and the control model is trained based on the loss. In this way, the present application trains the model through the advertising features of N feature dimensions, improves the comprehensiveness of the extracted advertising features, and thus improves the training efficiency and accuracy of the control model.
[0058] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the training system 100 of the control model provided in an embodiment of the present application. To realize the application scenario of the training of the control model, the terminal (terminal 400 is shown as an example) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two. The terminal 400 is used for the user to use the client 401, which is displayed on the display interface (display interface 401-1 is shown as an example). The terminal 400 and the server 200 are connected to each other through a wired or wireless network.
[0059] The terminal 400 is used to obtain information records of the recommended information samples and send the obtained information records of the recommended information samples to the server 200;
[0060] The server 200 is used to extract features from the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1; fuse the recommendation information features of the N feature dimensions to obtain fused features; predict the control method of the recommendation information sample based on the fused features; determine the loss of the control model based on the predicted control method and the control method label of the recommendation information sample, and train the control model based on the loss.
[0061] In some embodiments, the server 200 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, content distribution networks (CDN, Content Deliver Network), and big data and artificial intelligence platforms. The terminal 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, and a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device, an intelligent speaker, and 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.
[0062] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. In practical applications, the electronic device can be Figure 1 The server 200 or terminal 400 shown, see Figure 2 , Figure 2 The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve 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, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0063] 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.
[0064] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0065] 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.
[0066] 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.
[0067] 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.
[0068] Operating system 451, including 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., for implementing various basic services and processing hardware-based tasks;
[0069] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0070] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0071] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0072] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2A training device 455 of a control model stored in a memory 450 is shown, which may be software in the form of a program or a plug-in, including the following software modules: a feature extraction module 4551, a feature fusion module 4552, a prediction module 4553, and a driving module 4554. These modules are logical, and thus may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0073] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the training device of the control model provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the training method of the control model provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0074] In some embodiments, the terminal or server can implement the training method of the control model provided in the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a local (Native) application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP, a web browser APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0075] Based on the above description of the training system and electronic device of the control model provided by the embodiment of the present application, the following describes the training method of the control model provided by the embodiment of the present application. In actual implementation, the training method of the control model provided by the embodiment of the present application can be implemented by the terminal or the server alone, or by the terminal and the server in collaboration, so that Figure 1 The server 200 in the embodiment of the present application independently executes the training method of the control model provided in the embodiment of the present application as an example for explanation. Figure 3 , Figure 3 is a flow chart of the training method of the control model provided in the embodiment of the present application. Figure 3 The steps shown are explained.
[0076] Step 101: The server extracts features from the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1.
[0077] In actual implementation, the recommendation information sample, i.e., the recommendation information, may be an advertisement. The recommendation information is used to recommend a target object, i.e., a specific commodity. The target object is any one of the objects to be recommended, and the object may be an item or consultation. The recommendation information sample may include multiple ones, and the target objects recommended by different recommendation information samples may be the same or different. The first information record is the data recorded during the recommendation process of the recommendation information sample. The first information record corresponds to the recommendation information sample. The first information record may be the click data, purchase data, download data, collection data, etc. of the user corresponding to the advertisement.
[0078] For example, see Table 1, which shows the correspondence between the recommended information samples and the first information records. The recommended information samples include n, that is, the recommended information samples include recommended information sample 1, recommended information sample 2, ..., recommended information sample n. Accordingly, the first information record includes n copies, that is, the first information record includes first information record 1, first information record 2, ..., first information record n.
[0079] Table 1 Correspondence between recommended information samples and information records
[0080]
[0081] In some embodiments, the recommendation information sample, i.e., the recommendation information, can be used to recommend items, which can include real items such as food and clothes, and virtual items such as games and game props. The recommendation information can also be used to recommend information, which can be videos, news, music, etc.
[0082] In some embodiments, before the server performs feature extraction on the first information record of the recommendation information sample, it first obtains the information record of the recommendation information sample. The information record here can be an information record of the content of the target time period, such as one day, one week or one month. The information record of the recommendation information sample can be pre-stored locally, or obtained from the outside world (such as the Internet), or can also be collected in real time, for example, according to a preset receiving frequency, the recommendation information and information records sent by the advertising platform are received, and the received recommendation information is used as the recommendation information sample. For example, the preset receiving frequency can be once every 5 minutes, and the receiving frequency can be set according to the actual usage needs of the user. In this regard, the embodiments of the present application do not make specific limitations.
[0083] It should be noted that, for each recommended information sample, the information record of the recommended information sample can be divided into a first information record and a second information record according to a preset time point. The preset time point here is used to divide the target period into a first period and a second period. The second period is used to be located after the first period. The first information record is an information record of the recommended information within the first period, and the information record of the second period is used in the process of constructing the regulation method label of the recommended information sample below. Here, the embodiments of the present application are not elaborated.
[0084] It is understandable that in the embodiments of the present application, when the embodiments of the present application are applied to specific products or technologies, the user's permission or consent is required, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0085] In actual implementation, the N feature dimensions include at least two of the traffic environment dimension, the recommendation information dimension, the account dimension, and the change trend dimension. Thus, the process of performing feature extraction on the information record of the recommendation information sample to obtain the recommendation information features of the recommendation information sample in N feature dimensions may be to perform feature extraction on the first information record of the recommendation information sample according to at least two feature dimensions of the traffic environment dimension, the recommendation information dimension, the account dimension, and the change trend dimension to obtain the recommendation information features of the recommendation information sample in at least two feature dimensions.
[0086] It should be noted that the recommended information features of the recommended information sample in at least two feature dimensions include at least two of the traffic environment features, the recommended information features, the account features and the change trend features. If N feature dimensions include the traffic environment dimension, the traffic environment features are extracted from the information records of the recommended information sample to obtain the traffic environment features of the recommended information sample; if N feature dimensions include the recommended information dimension, the recommended information features are extracted from the information records of the recommended information sample to obtain the recommended information features of the recommended information sample; if N feature dimensions include the account dimension, the account features are extracted from the information records of the recommended information sample to obtain the account features of the recommended information sample; if N feature dimensions include the change trend dimension, the features are extracted from the information records of the recommended information sample to obtain the change trend features of the recommended information sample.
[0087] Among them, the traffic environment characteristics are related to the content of the recommended information, such as the advertising material of the advertisement. The traffic environment characteristics are also the associated characteristics of the content of the recommended information, which can indicate the impact of the content of the recommended information on the recommendation effect of the recommended information. For example, when the recommended information is an advertisement, each advertisement will be bound to the corresponding advertising material (a video or a picture to show the product information to the audience). The performance of the advertising material on the advertising platform greatly affects the future recommendation effect of the advertisement. Assuming that advertisement a is bound to advertising material A, and advertising material A is also bound to advertisement b, advertisement c, and advertisement d, the cumulative data of advertisement a, advertisement b, advertisement c, and advertisement d are obtained to determine the associated characteristics of advertising material A, that is, the traffic environment characteristics of advertisement a. Among them, the cumulative data can indicate the amount of money spent, the number of exposures, the number of clicks, the number of registrations, etc. of advertisement a, advertisement b, advertisement c, and advertisement d during the target period.
[0088] The recommendation information features are used to indicate the features of the recommendation information itself, such as the amount spent, number of exposures, number of clicks, number of registrations, etc. of advertisement a during the target period.
[0089] The account characteristics can be determined by the account that delivers the recommendation information, such as the recommendation information records delivered by the advertiser in the past, such as the advertising records. For example, the account characteristics can be determined by the performance data of the first 10 advertisements delivered by the advertiser's account during the target time period in chronological order, wherein the performance data indicates the amount spent, number of exposures, number of clicks, number of registrations, etc. of the corresponding advertisement during the target time period.
[0090] The changing trend feature is used to indicate the difference in the recommendation effect of the recommendation information at different times. For example, for a piece of recommendation information, every hour of the day is selected as the observation point, and the recommendation effect of the recommendation information at each observation point is counted. Based on the difference in the recommendation effect of the recommendation information at different observation points, the change in the recommendation effect of the recommendation information is determined, that is, the changing trend feature of the recommendation information.
[0091] Step 102: Fusing the recommendation information features of N feature dimensions to obtain fused features.
[0092] In actual implementation, the process of fusing the recommendation information features of N feature dimensions to obtain the fused features may be: obtaining the weight of the recommendation information features of each feature dimension; splicing the recommendation information features of the N feature dimensions based on the N weights to obtain the spliced features of the recommendation information sample; and using the spliced features as the fused features of the recommendation information sample.
[0093] It should be noted that the splicing process here can be addition or multiplication, which is not limited in the embodiments of the present application. In this way, different weights can be set for the recommended information features in different feature dimensions based on the characteristics of each recommended information, thereby not only improving the flexibility of the control model in practical application, but also making the fusion features obtained based on the weights more in line with the recommended information itself, thereby improving the accuracy of the control results of the control model.
[0094] Step 103: predicting the regulation mode of the recommended information sample based on the fusion features.
[0095] In actual implementation, the process of predicting the regulation method of the recommended information sample based on the fusion features can be: based on the fusion features, predict the category to which the recommended information sample belongs, and obtain the category probability that the recommended information sample belongs to K categories, each category corresponds to a regulation method; from the K category probabilities, select the target category probability, and use the regulation method corresponding to the category to which the target category probability belongs as the regulation method of the recommended information sample.
[0096] It should be noted that there is a one-to-one correspondence between the number of categories and the control methods. The number of categories here can be pre-set based on the number of control methods. For example, when there are three control methods, the number of categories can also be 3. Specifically, the control methods are suspending delivery, increasing delivery, and keeping the current delivery unchanged, and the categories can be 1, 2, and 3. The control method corresponding to category 1 is suspending delivery, the control method corresponding to category 2 is keeping the current delivery unchanged, and the control method corresponding to category 3 is increasing delivery. At the same time, the target category probability can be the maximum category probability, the minimum category probability, or the category probability that reaches a pre-set probability threshold, which is not limited in the embodiments of the present application.
[0097] Exemplarily, there are three categories, namely categories 1, 2, and 3. The control method corresponding to category 1 is suspending delivery, the control method corresponding to category 2 is to maintain the current delivery status, and the control method corresponding to category 3 is to increase delivery. The probabilities of the recommended information samples belonging to the three categories are 0.7, 0.1, and 0.2, respectively, and the target category probability is the maximum category probability. Therefore, the category to which the target category probability, i.e., 0.7, belongs, i.e., the control method corresponding to category 1, i.e., suspending delivery, is used as the control method for the recommended information sample.
[0098] Step 104 , based on the predicted control mode and the control mode label of the recommended information sample, determine the loss of the control model, and train the control model based on the loss.
[0099] In actual implementation, see Figure 4 , Figure 4 is a schematic diagram of a flow chart for determining the loss of a control model provided in an embodiment of the present application, based on Figure 4 , based on the predicted regulation mode and the regulation mode label of the recommended information sample, the process of determining the loss of the regulation model is achieved through the following steps.
[0100] Step 201: The server obtains the scores of the recommendation information sample in M recommendation effect targets, where M is an integer greater than 1.
[0101] It should be noted that the recommendation effect target is associated with the recommendation information and the user's interactive operations on the recommended information, such as download operations, registration operations, etc. For example, the recommendation information sample is a financial advertisement, M can be 4, and the four recommendation effect targets are recommendation effect target 1, financial credit cost, that is, the average advertising cost of a loan credit user; recommendation effect target 2, loan withdrawal cost, which is also the average advertising cost for a loan withdrawal; recommendation effect target 3, average cps per household, that is, the total cost of an advertisement divided by the total withdrawal amount of the advertisement; recommendation effect target 4, average credit amount per household, that is, the total credit amount of an advertisement divided by the number of credit users of the advertisement.
[0102] In actual implementation, the process of obtaining the scores of the recommended information sample in M recommendation effect targets may be: obtaining a second information record of the recommended information sample in a second time period, wherein the second time period is after the first time period, and the first time period is the time period corresponding to the first information record; scoring the recommended information sample based on the second information record and the M recommendation effect targets to obtain M scores; and determining the scores of the recommended information sample in the M recommendation effect targets based on the M scores.
[0103] It should be noted that, as mentioned above, the target time period is divided into a first time period and a second time period. Therefore, the second information record here is the information record corresponding to the second time period, that is, the number of clicks, registrations, etc. of the corresponding recommended information in the second time period. Exemplarily, the target time period is one day, and 12 noon is used as the dividing time point. The day is divided into a first time period, that is, the first 12 hours, and a second time period, that is, the last 12 hours. The recorded data of the advertisement in the first time period, that is, the first information record, is used to predict how the advertisement should be regulated at 12 noon. Therefore, it is necessary to obtain the actual information record of the corresponding advertisement after 12 noon, that is, the second information record, so as to determine the actual regulation method of the advertisement based on the actual information record, so as to update the model in the subsequent process in combination with the predicted regulation method and the actual regulation method.
[0104] It should be noted that the actual control method here is obtained by scoring the recommended information based on the second information record; at the same time, the process of scoring the recommended information samples based on the second information record and M recommendation effect targets to obtain M scores, that is, combining the second information record, scoring the recommended information samples in the dimension of each recommendation effect target. For example, when the recommendation effect target is the financial credit cost, the second information record of the advertisement is used to determine the average advertising expenditure for a loan credit user, and then based on the advertising expenditure, the corresponding advertisement is scored to obtain the score of the corresponding advertisement in the dimension of the target being the financial credit cost.
[0105] In actual implementation, the process of scoring the recommended information samples based on the second information record and M recommendation effect targets to obtain M scores can be: scoring the recommended information samples based on the second information record and M recommendation effect targets to obtain M initial scores; normalizing the M initial scores to obtain M normalized scores; and determining the M normalized scores as M scores.
[0106] It should be noted that the process of scoring the recommended information sample based on the second information record and M recommendation effect targets to obtain M initial scores can be, for each recommendation effect target of the recommended information, summing the recommendation effect data of the recommended information corresponding to the recommendation effect target with other record data in the second information record to obtain the sum result, and then determining the sum result as the initial score of the recommendation effect target; or, obtaining a pre-trained scoring model, and then inputting the second information record and the recommendation effect data of the recommended information corresponding to the recommendation effect target into the scoring model to obtain the initial score of the recommendation effect target. Among them, the other record data in the second information record includes record data other than the recommendation effect data of the recommended information corresponding to each recommendation effect target, such as the amount of money spent, the number of exposures, the number of clicks, the number of registrations, etc.
[0107] Exemplarily, the second information record includes the amount spent on the recommended information, the number of exposures, the number of clicks, the number of registrations, the data of the recommended effect target 1, the data of the recommended effect target 2, the data of the recommended effect target 3, and the data of the recommended effect target 4. Taking the data of the recommended effect target 1 as an example, continuing with the above example, when the recommended information is a financial advertisement and the recommended effect target 1 is the financial credit cost, then based on the second information record of the advertisement, the average advertising expenditure generated for a loan credit user is determined, and the data of the recommended effect target 1 is the average advertising expenditure generated for a loan credit user for the recommended information.
[0108] In this way, when determining the initial score of recommendation effect target 1, the amount of money spent, the number of exposures, the number of clicks, the number of registrations, and the data of recommendation effect target 1 of the recommended information are accumulated, and the accumulated result is used as the initial score of recommendation effect target 1, or the amount of money spent, the number of exposures, the number of clicks, the number of registrations, and the data of recommendation effect target 1 of the recommended information are directly input into the scoring model to obtain the initial score of recommendation effect target 1. When determining the initial score of recommendation effect target 2, the amount of money spent, the number of exposures, the number of clicks, the number of registrations, and the data of recommendation effect target 2 of the recommended information are accumulated, and the accumulated result is used as the initial score of recommendation effect target 2, or the amount of money spent, the number of exposures, the number of clicks, the number of registrations, and the data of recommendation effect target 2 of the recommended information are directly input into the scoring model to obtain the initial score of recommendation effect target 2. By analogy, the process of determining the initial scores of other recommendation effect targets is similar, and this embodiment of the present application will not be described in detail.
[0109] In this way, after obtaining the initial scores, the initial scores are normalized, which not only prevents certain scores from having too much influence on the scoring process, but also avoids the problem of numerical instability due to different data ranges.
[0110] In actual implementation, after determining the M scores, the process of determining the scores of the recommended information sample in the M recommendation effect targets based on the M scores can be to obtain the weight of each score, and then based on the M weights, perform weighted summation of the M scores to obtain the scores of the recommended information sample in the M recommendation effect targets.
[0111] For example, if there are 4 recommendation effect targets, the scores are also 4, that is, the score of the recommendation information sample in recommendation effect target 1 is 0.2, the score in recommendation effect target 2 is 0.6, the score in recommendation effect target 3 is 0.2, and the score in recommendation effect target 4 is 1. Then the score of the recommendation information sample in M recommendation effect targets is 0.2*weight 1+0.6*weight 2+0.2*weight 3+1*weight 4.
[0112] In this way, different weights can be set for different recommendation effect targets based on the importance of each recommendation effect target to the advertiser, which not only improves the flexibility in the scoring process of recommendation information, but also makes the scoring of recommendation information more in line with the needs of advertisers, thereby increasing the accuracy of the scoring of recommendation information.
[0113] Step 202: construct a control method label for the recommendation information sample based on the scores of the M recommendation effect targets.
[0114] In actual implementation, the process of constructing the regulation method label of the recommended information sample based on the scores of M recommendation effect targets can be: based on the scores of M recommendation effect targets, the recommended information sample is classified to obtain the target category to which the recommended information sample belongs; based on the target category to which the recommended information sample belongs, the regulation method label of the recommended information sample is determined.
[0115] It should be noted that, as mentioned above, there are multiple categories here, and each category corresponds to a score range. Therefore, based on the scores of M recommendation effect targets, the recommended information samples are classified to obtain the target category to which the recommended information samples belong. The process can be, based on the score, from multiple score ranges, selecting the target score range to which the score belongs; and determining the category corresponding to the target score range as the target category to which the recommended information sample belongs.
[0116] At the same time, since different categories correspond to different regulation methods, when determining the target category to which the recommended information sample belongs, the regulation method corresponding to the target category is used as the regulation method of the recommended information sample, that is, the regulation method label.
[0117] For example, when the number of categories is 3, the control method corresponding to category 1 is to suspend delivery, the control method corresponding to category 2 is to keep the delivery status unchanged, and the control method corresponding to category 3 is to increase delivery. The score interval corresponding to category 1 is [0, 0.3], the score interval corresponding to category 2 is (0.3, 0.6], and the score interval corresponding to category 3 is (0.6, 1], then when the score of the recommended information sample is 0.1, the target score interval is [0, 0.3], then the target category to which the recommended information sample belongs is category 1, and the corresponding control method label is to suspend control; when the score of the recommended information sample is 0.5, the target score interval is (0.3, 0.6], then the target category to which the recommended information sample belongs is category 2, and the corresponding control method label is to keep the delivery status unchanged; when the score of the recommended information sample is 0.8, the target score interval is (0.6, 1], then the target category to which the recommended information sample belongs is category 3, and the corresponding control method label is to increase delivery.
[0118] It should be noted that when the predicted control method is to suspend delivery, it will be suspended immediately, and the score of the corresponding recommendation information is the lowest, for example, lower than the minimum score threshold; when the predicted control method is to keep the delivery status unchanged, the budget can be spent, but it will not be delivered after the budget is spent; when the predicted control method is to increase delivery, the total budget is increased and delivery continues, and the score of the corresponding recommendation information is the highest, for example, higher than the maximum score threshold. In the production environment: when the predicted advertising sample is label = 1, the corresponding operation is to directly suspend the delivery of the advertisement. When the predicted advertising sample is label = 2, continue to deliver, keep the delivery status unchanged, and the original advertising budget remains unchanged. When the predicted advertising sample is label = 3, the corresponding operation is to increase the delivery budget of the advertisement, for example, the original budget is 5000, and it can be increased to a total budget of 10000.
[0119] Based on this, in some embodiments, when the number of trained regulation models is multiple, a target regulation model can be selected from the multiple regulation models based on the model score. Specifically, the number of trained regulation models is K, where K is an integer greater than 1; thus, after the regulation model is trained based on the loss, information records of P different recommendation information can be input into the K regulation models obtained by training to obtain K*P predicted regulation methods, where P is a positive integer; from the K*P predicted regulation methods, reference recommendation information whose regulation method is the target regulation method is screened out; the reference recommendation information, that is, the reference score of each reference recommendation information in the M conversion targets is determined, where M is an integer greater than 1; based on the reference score, a target regulation model is selected from the K trained regulation models.
[0120] It should be noted that the target control method is pre-set, and may be suspension of control, increased delivery, etc., which is not limited in the embodiments of the present application; illustratively, when K is 3 and P is 3, the information records of 3 different recommendation information are respectively input into the 3 control models obtained by training, and 9 predicted control methods are obtained. From the 9 predicted control methods, the reference recommendation information whose control method is suspension of delivery is screened out, and then the reference scores of the reference recommendation information are determined respectively, so as to select the target control model from the 3 control models based on the reference scores.
[0121] In actual implementation, there are multiple reference scores. Based on the reference scores, the process of selecting a target regulation model from K trained regulation models can be: selecting a target reference score that reaches a reference score threshold from multiple reference scores; determining the target recommendation information corresponding to the target reference score; and selecting a regulation model that predicts the regulation method of the target recommendation information as the target regulation method from the K trained regulation models as the target regulation model.
[0122] It should be noted that the number of target regulation models can be one or more, and the embodiments of the present application do not limit this. When the number of target regulation models is multiple, the model to be used is randomly selected from the multiple target regulation models; at the same time, after obtaining multiple reference scores, the multiple reference scores are compared, such as pairwise comparison, so that based on the comparison result, a target reference score that reaches a reference score threshold is selected from the multiple reference scores; in addition, the reference score threshold can be pre-set, for example, when the target regulation method is to suspend delivery, the reference score threshold is the minimum reference score among the multiple reference scores, and when the target regulation method is to increase delivery, the reference score threshold is the maximum reference score among the multiple reference scores.
[0123] Continuing with the above example, from the 9 predicted control methods, two reference recommendation information whose control method is to suspend delivery are screened out, namely reference recommendation information 1 and reference recommendation information 2, and then the reference scores of the reference recommendation information are determined respectively, namely reference score 1 and reference score 2, and the reference score 1 and the reference score 2 are compared. Based on the comparison result, the minimum reference score, such as reference score 1, is selected, and the control model that predicts that the control method of reference recommendation information 1 is to suspend delivery is used as the target control model.
[0124] Alternatively, from the 9 predicted control methods, two reference recommendation information whose control method is to increase the delivery are selected, namely reference recommendation information 2 and reference recommendation information 3, and then the reference scores of the reference recommendation information are determined respectively, namely reference score 2 and reference score 3, and the reference score 2 and the reference score 3 are compared. Based on the comparison result, the maximum reference score, such as reference score 2, is selected, and the control model that predicts that the control method of reference recommendation information 2 is to increase the delivery is used as the target control model.
[0125] In this way, the lower the score of the recommended information, the more it should be suspended, and the higher the score, the more it should be increased. Therefore, if the model can predict the recommended information with the lowest reference score as suspending its delivery, or predict the recommended information with the highest reference score as increasing its delivery, it means that the corresponding model has a better prediction effect than other models. In this way, a better control model can be selected from multiple control models.
[0126] In some embodiments, see Figure 5 , Figure 5 is a schematic diagram of the structure of the control model provided in the embodiment of the present application. The control model includes a feature extraction layer, a feature fusion layer and a prediction layer. Figure 5, the process of extracting features from the first information record of the recommended information sample to obtain the recommended information features of the recommended information sample in N feature dimensions may be, inputting the first information record of the recommended information sample into the feature extraction layer of the regulation model to obtain the recommended information features of the recommended information sample in N feature dimensions; the process of fusing the recommended information features of N feature dimensions to obtain fused features may be, inputting the recommended information features of N feature dimensions into the feature fusion layer of the regulation model to obtain the fused features of the recommended information sample; and the process of predicting the regulation method of the recommended information sample based on the fused features may be, inputting the fused features into the prediction layer of the regulation model to obtain the regulation method of the recommended information sample; finally, based on the predicted regulation method and the regulation method label of the recommended information sample, determining the loss of the regulation model, and training the regulation model based on the loss.
[0127] Applying the above-mentioned embodiment of the present application, firstly, in N feature dimensions, feature extraction is performed on the first information record of the recommended information sample to obtain the recommended information features of the recommended information sample in N feature dimensions, and then, based on the fusion features obtained by fusing the recommended information features of the N feature dimensions, the regulation mode of the recommended information sample is predicted, thereby determining the loss of the regulation model based on the predicted regulation mode and the regulation mode label of the recommended information sample, and training the regulation model based on the loss. In this way, compared with the solution of the related art that only trains the model based on the advertisement's own data, the present application trains the model through the recommended information features of N feature dimensions, thereby improving the comprehensiveness of the extracted features, and thus improving the training efficiency and accuracy of the regulation model.
[0128] In some embodiments, after the regulation model is trained, the recommendation information can be regulated directly based on the regulation model. Figure 6 , Figure 6 is a flow chart of the recommendation information control method provided in the embodiment of the present application, based on Figure 6 The recommendation information regulation method provided in the embodiment of the present application can be implemented through the following steps.
[0129] Step 301: The server obtains information records and a control model of recommended information.
[0130] The control model is obtained by training the control model training method. The recommendation information can be an advertisement, which is used to recommend a target object, that is, a specific commodity. The target object is any one of the objects to be recommended, and the object can be an item or a consultation. The recommendation information can include multiple items, and the target objects recommended by different recommendation information can be the same or different. The information record is the data recorded in the recommendation process of the recommendation information. The information record corresponds to the recommendation information. The information record can be the click data, purchase data, download data, collection data, etc. of the user corresponding to the advertisement.
[0131] In actual implementation, the information records of recommended information can be pre-stored locally, or obtained from the outside world (such as the Internet), or can be collected in real time, for example, according to a pre-set receiving frequency, the recommended information and information records sent by the advertising platform are received; for example, the pre-set receiving frequency can be once every 5 minutes, and the receiving frequency can be set according to the actual usage needs of the user, and the embodiments of the present application do not make specific limitations on this.
[0132] Step 302: Input the information record of the recommended information into the control model to predict the control method of the recommended information.
[0133] It should be noted that the process of inputting the information record of the recommended information into the regulation model and predicting the regulation mode of the recommended information can be, through the regulation model, extracting features of the information record of the recommended information to obtain the recommended information features in N feature dimensions, where N is an integer greater than 1; fusing the recommended information features in the N feature dimensions to obtain fused features; and predicting the regulation mode of the recommended information based on the fused features. The above process is as described above, and this embodiment of the present application will not be elaborated on.
[0134] Step 303: Based on the regulation mode of the recommendation information, the recommendation information is regulated.
[0135] It should be noted that the control methods include suspending delivery, maintaining the current delivery status, and increasing delivery; among which, suspending delivery means suspending the display of recommended information, maintaining the current delivery status means continuing to display recommended information according to the original plan or budget, and increasing delivery means increasing the original budget to display recommended information. Among them, the budget can be the cost required to deliver the recommended information.
[0136] It should be noted that, when the current status of the recommended information is suspended, if the control method is the control method of suspending delivery, the recommended information will remain suspended. If the control method is to maintain the current delivery status or increase delivery, the recommended information can be changed to the corresponding status, such as enabling delivery. Maintaining the current delivery status or increasing delivery is essentially continuing to recommend the corresponding recommended information. The difference between the two is that the number of resources corresponding to the recommended information is different. The number of resources for extended recommendation is greater than the number of resources for enabling recommendation.
[0137] When the current status of the recommended information is on, if the control method is on, the recommended information is kept on; if the control method is to increase the delivery, the number of resources corresponding to the recommended information is increased. If the control method is to pause delivery, the recommended information can be changed to pause state.
[0138] It should be noted that when the current status of the recommended information is suspended, since the information record needs to be applied when predicting the control method in the embodiment of the present application, the information record is the data when the recommended information has not yet been suspended. Therefore, when it is predicted to keep the current status of delivery unchanged or increase the delivery, the current status of delivery is kept unchanged and the delivery status corresponding to the applied information record is kept unchanged, or the budget for the delivery status corresponding to the applied information record is increased.
[0139] That is to say, since information records need to be applied when predicting the control method in the embodiment of the present application, the predicted control methods are all for how to control when the recommended information is released. Even if the current status of the recommended information is suspended, it is also predicted that the control method when the recommended information is released, thereby changing the current status of the recommended information.
[0140] By applying the above-mentioned embodiments of the present application, a more accurate control method is determined through the control model, so that precise control of recommended information can be achieved, which can effectively reduce the misjudgment of the control method and improve the stability of recommended information delivery.
[0141] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0142] In the process of advertising promotion, the advertisement data itself is mostly used as training data to train the advertising regulation model; however, the advertising regulation process is not only related to the advertisement data itself, but also related to other factors. Training the advertising regulation model only based on the advertisement data itself will lead to lower accuracy of the advertising regulation model.
[0143] Based on this, an embodiment of the present application provides an intelligent regulation system for information flow advertising based on conversion effect prediction. When predicting the conversion effect of an advertisement, first, the historical feature information of the account to which the advertisement belongs is represented and learned, so as to learn the weight information of the advertising platform on the account and improve the prediction effect; second, the historical time series feature information of the advertisement itself is extracted, so as to learn the changing trend of the advertisement in its life cycle and improve the prediction effect; third, the global performance data of the advertising material used by the advertisement is extracted, so as to learn the characteristic information of the traffic environment in which the advertisement is located at the current advertising time point and improve the prediction effect; fourth, through the labeling method of multi-conversion target value fusion, the deviation of the prediction of a single conversion target value on the advertising quality evaluation is avoided; fifth, according to the model prediction results, the historical returns are simulated and backtested, and the M models with the largest simulated returns are selected from the N trained models for online reasoning; sixth, 24-hour uninterrupted fully automatic intelligent advertising regulation can be achieved.
[0144] In actual implementation, the technical solution of the present application is implemented through the modules and processes shown in the following steps, specifically:
[0145] Step 1: Advertisement conversion data receiving module. Specifically, the advertisement data (first information record) sent back from the media advertisement platform is received, including advertisement expenditure amount, number of exposures, number of clicks, number of registrations, conversion target (recommended effect target) 1, conversion target 2, conversion target 3, conversion target 4, etc. The data is generally sent back once every 5 minutes.
[0146] It should be noted that multiple conversion goals can be set according to actual usage needs. Specifically, the conversion goals can be activation cost, product transaction volume, customer acquisition cost, average transaction amount per customer, and transaction amount per unit cost.
[0147] Among them, average transaction amount per customer = transaction amount / number of customers, and the transaction amount per unit of expenditure is the total advertising cost of one period. In actual production, the conversion targets include: 1. Financial credit cost, that is, the average advertising cost of generating a loan credit user; 2. Loan withdrawal cost, that is, the average advertising cost of generating a loan withdrawal; 3. Average CPS per household, that is, the total cost of an advertisement divided by the total withdrawal amount of the advertisement; 4. Average credit amount per household, that is, the total credit amount of an advertisement divided by the number of credit users of the advertisement.
[0148] Step 2: Determine the sampling range of the characteristic value and the target value. Specifically, for each advertisement sample, select an hour before 20:00 every day as the observation point, the historical data before the observation point (first information record) is the characteristic value sampling range, and the data after the observation point to 24:00 on the same day (second information record) is the sampling range of the target value. The reason for selecting before 20:00 is that if the time point after 20:00 is selected as the observation point, the target value will be delivered for less than 4 hours, the traffic will be too small, and the data will be unreliable.
[0149] Step 3: Advertisement feature extraction module. Specifically, features are extracted from four dimensions, including traffic environment dimension, advertisement dimension, advertisement account dimension, and advertisement change trend dimension.
[0150] For the traffic environment dimension, each ad is bound to a corresponding material (for example, the material can be a video or a picture to show the audience product information). The performance of the material on the advertising platform largely affects the future conversion effect of the recommended information.
[0151] Assume that the advertisements include advertisement a, advertisement b, advertisement c and advertisement d, and advertisement a is bound to material A, and material A is also bound to advertisement b, advertisement c and advertisement d. Then, the traffic environment characteristics, that is, the characteristics extracted from the traffic environment dimension, can be determined based on the information records corresponding to advertisement a, advertisement b, advertisement c and advertisement d respectively.
[0152] The advertising costs, exposures, clicks, registrations, conversion target 1, conversion target 2, conversion target 3, and conversion target 4 (equivalent to 8 basic features) data corresponding to Ad A, Ad B, Ad C, and Ad D within a certain time range of 1 day, 2 days, ... 7 days (equivalent to 7 time range information) can be summed, maximized, minimized, and variance (equivalent to 4 statistical methods) to obtain a set of eigenvalues. The eigenvalues can form an n*1 1-dimensional vector.
[0153] n is equal to the number of time range information multiplied by the number of basic features multiplied by the number of statistical methods, that is, n is equal to 7 times 8 times 4. The vector is [sum of advertising costs for one day, maximum value of advertising costs for one day, minimum value of advertising costs for one day, variance value of advertising costs for one day. Sum of exposures for two days, maximum value of exposures for two days, minimum value of exposures for two days, variance value of exposures for two days…]. The traffic environment feature, that is, the feature extracted from the traffic environment dimension, is the determined vector, which can be represented as [x1, x2…xn].
[0154] For the advertising dimension, the advertising cost, number of exposures, number of clicks, number of registrations, conversion target 1, conversion target 2, conversion target 3, and conversion target 4 of advertisement a within a certain time range of 1 day, 2 days, ... 7 days are taken as a set of eigenvalues. The eigenvalues can form an m*1 1-dimensional vector.
[0155] m is equal to the number of time range information multiplied by the number of basic features, that is, m is equal to 7 multiplied by 8, and the vector is [advertising cost 1 day, exposure number 1 day..., advertising cost 2 days, exposure number 2 days..., advertising cost 7 days, exposure number 7 days..., conversion target 7 days]. The features extracted from the advertising dimension are the determined vectors, which can be represented as [y1, y2...ym].
[0156] For the account dimension to which the advertisement belongs, the account corresponding to advertisement a is account a. The information records of the first 100 advertisements of account a between 20 o'clock can be used as account data. The advertising cost, exposure number, click number, registration number, conversion target 1, conversion target 2, conversion target 3, and conversion target 4 of the first 100 advertisements of account a are counted according to the cumulative summary dimension to generate a two-dimensional data table corresponding to account a. The rows represent the feature data of each recommended information, which is arranged from front to back in chronological order. The two-dimensional table is the feature representation matrix of account a. It is a two-dimensional form with a size of (100 times the number of basic features), and each column represents the value of each basic feature.
[0157] The first long short-term memory network is used to extract the information record of each advertisement corresponding to account a, and the state vector of the first long short-term memory network is used as the feature of account a. The feature of account a can be represented as [z1, z2…zN] in the form of a one-dimensional vector.
[0158] For the advertising trend dimension, for the information records corresponding to advertisement a, the advertising cost, exposure, clicks, registrations, conversion target 1, conversion target 2, conversion target 3, and conversion target 4 of advertisement a within 7 days are counted by hour. See Table 3. A two-dimensional data table is generated for each recommendation information. The rows represent the recommendation record data corresponding to the basic features of each time period (time step), and are arranged from front to back in chronological order.
[0159] For each advertisement, 20 points are selected as observation points. The recommendation record data corresponding to the 167 time periods before the observation points are trend data, which is in a two-dimensional form and has a size of (167*the number of basic features).
[0160] The second long short-term memory network is used to extract information records at each moment, and the state vector of the second long short-term memory network is used as the change trend feature, that is, the feature extracted from the advertisement change area dimension. The change trend feature can be represented as [r1, r2…rM].
[0161] In the above process, the values of n, m, N, and M may be the same or different, depending on the actual situation.
[0162] After obtaining the environmental traffic characteristics, advertising characteristics, account characteristics and change trend characteristics, the environmental traffic characteristics, advertising characteristics, account characteristics and change trend characteristics can be fused, that is, the environmental traffic characteristics, advertising characteristics, account characteristics and change trend characteristics are spliced to obtain the first fused feature, which can be represented as [x1, x2...xn, y1, y2...ym, z1, z2...zN, r1, r2...rM].
[0163] Step 4: Multi-target labeling module. Specifically, the cumulative values of the amount spent, exposures, clicks, registrations, conversion target 1, conversion target 2, conversion target 3, and conversion target 4 of each advertisement from the moment after the observation point to 24:00 on the same day are calculated. For example, the amount spent, the exposures, the clicks, and the registrations are accumulated, and then the corresponding conversion targets are accumulated, such as the conversion target 1, or the conversion target 2, or the conversion target 3, or the conversion target 4.
[0164] Exemplarily, when calculating the scores corresponding to the conversion target 1 of all advertisements, for different advertisements, the amount of money spent, the cumulative number of exposures, the cumulative number of clicks, the cumulative number of registrations, and the cumulative conversion target 1 are accumulated to obtain the accumulated results, and the accumulated results are sorted by size and bucketed according to the 20, 40, 60, 80, and 100 percentiles, and converted into a score according to the percentile, for example [20, 40, 60, 80, 100 percentiles] - [0.2, 0.4. 0.6. 0.8, 1]. If the accumulated conversion target 1 corresponding to the advertisement is between 0 and 20, the conversion index corresponding to the advertisement is 0.2. Similarly, the conversion index corresponding to the conversion target 1 corresponding to each advertisement is obtained, that is, the conversion accumulation and the corresponding conversion index are determined.
[0165] For advertisement a, after obtaining the conversion indicators corresponding to conversion target 1, conversion target 2, conversion target 3 and conversion target 4 respectively, assume that the conversion indicator corresponding to conversion target 1 is 0.2, the conversion indicator corresponding to conversion target 2 is 0.6, the conversion indicator corresponding to conversion target 3 is 0.2, and the conversion indicator corresponding to conversion target 4 is 1.
[0166] The actual conversion effect score of the ad is 0.2 times weight 1 plus 0.6 times weight 2 plus 0.3 times weight 3 plus 1 times 0.4. Weight 1 is the weight corresponding to conversion goal 1, weight 2 is the weight corresponding to conversion goal 2, weight 3 is the weight corresponding to conversion goal 3, and weight 4 is the weight corresponding to conversion goal 4.
[0167] In some embodiments, when the real conversion effect score is between 0 and 0.3 (inclusive), the real label can be marked as 1, when the real conversion effect score is between 0.3 and 0.6 (inclusive), the real label can be marked as 2, and when the real conversion effect score is between 0.6 and 0.1 (inclusive), the real label can be marked as 3. Among them, 0.3 is the first preset threshold, 0.6 is the second preset threshold, and 1 is the third preset threshold.
[0168] When the true label is 1, the corresponding control method is to suspend the recommendation. When the true label is 2, the corresponding control method is to enable the recommendation. When the true label is 3, the corresponding control method is to extend the recommendation.
[0169] Step 5: The offline model training module uses the processed historical data to train the model. Specifically, the ratio of samples with good conversion effects to samples with poor conversion effects in the recommended information is about 1:20, that is, the ratio of positive samples to negative samples in the recommended information is about 1:20. During the training process, samples need to be sampled to achieve a balance in the number of positive and negative samples.
[0170] All positive samples (samples with good conversion effects) in the recommended information and 10% of the negative samples are randomly selected to form a training set. Negative samples are randomly selected multiple times and combined with all positive samples to form a training set. The initial information recommendation model is trained separately, and multiple candidate information recommendation models can be obtained.
[0171] The vector [x1, x2…xn, y1, y2…ym, z1, z2…zN, r1, r2…rM] generated in step three, that is, the first fusion feature, is input into the multilayer perceptron included in the initial information recommendation model, and then the cross entropy loss is calculated between the predicted labels output by the multilayer perceptron and the true labels. Finally, the back propagation algorithm is used to update the network parameters of the multilayer perceptron to minimize the cross entropy loss, and multiple candidate information recommendation models are obtained.
[0172] Step six, model selection module based on simulated backtesting returns. Specifically, for a certain time point of the advertising data that has occurred in history, the multiple models obtained in step five are used to calculate the future comprehensive conversion effect score at that time point according to the methods of steps one to five, and the advertising operation is simulated according to the rules of pause (label=1), start (label=2), and increase budget (label=3). When the simulated operation on the advertisement is pause, if the advertisement is paused at this moment, the advertising expenditure and real conversion data after the moment that has occurred in history are recorded as the expenditure and conversion of the paused part. The expenditure and real conversion data of all the suspended parts of the advertisement are summarized and counted, and the comprehensive conversion effect score of this part is calculated. If the score is lower, it means that the accuracy of the model corresponding to the lowest score is higher and the effect is better. Therefore, based on the score, at least one model is selected from multiple models as the target model.
[0173] Step seven: In the production environment, use the same solution as step three to extract features from the advertising data in the production environment, and use the multiple target models obtained in steps five and six to predict the multi-target conversion effects after the observation point of the advertisement on the same day.
[0174] Step 8: The advertisement control system pauses (label=1), starts (label=2), and increases the budget (label=3) of the advertisement according to the prediction results.
[0175] It should be noted that the model provided in the embodiment of the present application is a 3-classification model. Label 1 is the worst, and the corresponding one is to pause immediately; label 2 is in the middle, and the corresponding one is that the budget can continue to be spent, but it will not be delivered after the budget is spent; label 3 is the best, and the total budget is increased and delivered. In the production environment: when the predicted advertising sample is label = 1, the corresponding operation is to directly suspend the delivery of the advertisement. When the predicted advertising sample is label = 2, continue to deliver, keep the current delivery status unchanged, and the original advertising budget unchanged. When the predicted advertising sample is label = 3, the corresponding operation is to increase the delivery budget of the advertisement. For example, the original budget is 5,000, and the total budget can be increased to 10,000.
[0176] In this way, first, compared with using only advertising-level features, after adding advertising account features, traffic environment features, and advertising change trend features, the prediction accuracy of the model increased from 82% to 93%, and online revenue increased by 8%. The main reason for the effect is that the added features can more richly represent the actual business scenarios of advertising. Second, after the single target is changed to multi-target labeling, the evaluation of advertising effects is more reasonable, which can effectively reduce misjudgments and improve the stability of advertising delivery. Third, model selection based on simulated revenue backtesting can efficiently select more effective models and improve revenue during the model iteration process.
[0177] Applying the above-mentioned embodiment of the present application, firstly, in N feature dimensions, feature extraction is performed on the first information record of the recommended information sample to obtain the recommended information features of the recommended information sample in N feature dimensions, and then, based on the fusion features obtained by fusing the recommended information features of the N feature dimensions, the regulation mode of the recommended information sample is predicted, thereby determining the loss of the regulation model based on the predicted regulation mode and the regulation mode label of the recommended information sample, and training the regulation model based on the loss. In this way, compared with the solution of the related art that only trains the model based on the advertisement's own data, the present application trains the model through the recommended information features of N feature dimensions, thereby improving the comprehensiveness of the extracted features, and thus improving the training efficiency and accuracy of the regulation model.
[0178] The following continues to describe the exemplary structure of the training device 455 of the control model provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the training device 455 of the control model in the memory 450 may include:
[0179] A feature extraction module 4551 is used to extract features from the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1;
[0180] A feature fusion module 4552 is used to fuse the recommendation information features of the N feature dimensions to obtain a fused feature;
[0181] A prediction module 4553, configured to predict the regulation mode of the recommendation information sample based on the fusion feature;
[0182] The training module 4554 is used to determine the loss of the control model based on the predicted control method and the control method label of the recommendation information sample, and train the control model based on the loss.
[0183] In some embodiments, the feature extraction module 4551 is also used to perform feature extraction on the first information record of the recommendation information sample according to at least two feature dimensions of traffic environment dimension, recommendation information dimension, account dimension and change trend dimension, to obtain the recommendation information features of the recommendation information sample in the at least two feature dimensions.
[0184] In some embodiments, the feature fusion module 4552 is further used to obtain the weight of the recommendation information feature of each feature dimension; based on the N weights, the recommendation information features of the N feature dimensions are spliced to obtain the spliced features of the recommendation information sample; and the spliced features are used as the fusion features of the recommendation information sample.
[0185] In some embodiments, the prediction module 4553 is also used to predict the category to which the recommended information sample belongs based on the fusion features, and obtain the category probability that the recommended information sample belongs to K categories, each of which corresponds to a control method; from the K category probabilities, a target category probability is selected, and the control method corresponding to the category to which the target category probability belongs is used as the control method of the recommended information sample.
[0186] In some embodiments, the device also includes a label construction module, which is used to obtain the scores of the recommendation information sample in M recommendation effect targets, where M is an integer greater than 1; based on the scores of the M recommendation effect targets, a regulation method label of the recommendation information sample is constructed.
[0187] In some embodiments, the label construction module is also used to obtain a second information record of the recommended information sample in a second time period, wherein the second time period is located after the first time period, and the first time period is the time period corresponding to the first information record; based on the second information record and M recommendation effect targets, the recommended information sample is scored to obtain M scores; based on the M scores, the score of the recommended information sample in the M recommendation effect targets is determined.
[0188] In some embodiments, the label construction module is also used to score the recommendation information sample based on the second information record and M recommendation effect targets to obtain M initial scores; normalize the M initial scores to obtain M normalized scores; and determine the M normalized scores as the M scores.
[0189] In some embodiments, the label construction module is also used to classify the recommendation information samples based on the scores of the M recommendation effect targets to obtain the target category to which the recommendation information samples belong; and determine the regulation method label of the recommendation information sample based on the target category to which the recommendation information samples belong.
[0190] In some embodiments, each of the categories corresponds to a score range. In some embodiments, the label construction module is also used to select, based on the score, a target score range to which the score belongs from multiple score ranges; and determine the category corresponding to the target score range as the target category to which the recommended information sample belongs.
[0191] In some embodiments, the number of the regulatory models obtained through training is K, where K is an integer greater than 1; the device also includes a model selection module, which is used to input information records of P different recommendation information into the K regulatory models obtained through training to obtain K*P predicted regulatory methods, where P is a positive integer; from the K*P predicted regulatory methods, filter out reference recommendation information whose regulatory method is the target regulatory method; determine a reference score of the reference recommendation information in M conversion targets, where M is an integer greater than 1; based on the reference score, select a target regulatory model from the K regulatory models obtained through training.
[0192] In some embodiments, there are multiple reference scores, and the model selection module is further used to select a target reference score that reaches a reference score threshold from the multiple reference scores; determine the target recommendation information corresponding to the target reference score; and select a regulation model that predicts that the regulation method of the target recommendation information is a target regulation method from the K regulation models obtained through training as the target regulation model.
[0193] The following is a description of an exemplary structure of the recommendation information control device 700 provided in the embodiment of the present application implemented as a software module, see Figure 7 , Figure 7 is a schematic diagram of the structure of the recommendation information control device provided in the embodiment of the present application, such as Figure 7 As shown, the recommendation information control device 700 provided in the embodiment of the present application includes:
[0194] The acquisition module 710 is used to acquire information records of recommendation information and a control model; wherein the control model is obtained by training using the above-mentioned control model training method;
[0195] An input module 720, configured to input the information record of the recommendation information into the regulation model, and predict the regulation mode of the recommendation information;
[0196] The regulation module 730 is used to regulate the recommendation information based on the target regulation mode of the recommendation information.
[0197] The present application embodiment provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the training method of the control model or the job matching method described in the present application embodiment, for example, Figure 3 The training method of the regulation model shown, or Figure 6 The recommended information regulation method shown.
[0198] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the training method of the control model provided in the present application embodiment, or the job matching method, for example, Figure 3 The training method of the regulation model shown, or Figure 6 The recommended information regulation method shown.
[0199] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, 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.
[0200] 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.
[0201] 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 that stores other programs or data, such as 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 (e.g., files storing one or more modules, subroutines, or code portions).
[0202] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0203] It should be noted that in the embodiments of the present application, when it comes to obtaining information records, first information records, second information records and other related data, 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.
[0204] 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 training method for a control model, characterized in that: The method comprises: Performing feature extraction on the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1; Fusing the recommendation information features of the N feature dimensions to obtain fused features; Based on the fusion feature, predicting the regulation mode of the recommendation information sample; Based on the predicted control method and the control method label of the recommendation information sample, the loss of the control model is determined, and the control model is trained based on the loss.
2. The method according to claim 1, characterized in that The extracting features of the first information record of the recommendation information sample to obtain the recommendation information features of the recommendation information sample in N feature dimensions includes: According to at least two feature dimensions of traffic environment dimension, recommendation information dimension, account dimension and change trend dimension, feature extraction is performed on the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in the at least two feature dimensions.
3. The method according to claim 1, characterized in that The step of fusing the recommendation information features of the N feature dimensions to obtain a fused feature includes: Obtaining the weight of the recommended information feature of each of the feature dimensions; Based on the N weights, the recommendation information features of the N feature dimensions are concatenated to obtain concatenated features of the recommendation information sample; The concatenated features are used as fusion features of the recommendation information sample.
4. The method according to claim 1, characterized in that The predicting the regulation mode of the recommendation information sample based on the fusion feature includes: Based on the fusion features, predict the category to which the recommended information sample belongs, and obtain the category probability that the recommended information sample belongs to K categories, each of which corresponds to a control method; A target category probability is selected from the K category probabilities, and a control method corresponding to the category to which the target category probability belongs is used as the control method of the recommendation information sample.
5. The method according to claim 1, characterized in that Before determining the loss of the control model based on the predicted control method and the control method label of the recommended information sample, the method further includes: Obtaining the score of the recommendation information sample in M recommendation effect targets, where M is an integer greater than 1; Based on the scores of the M recommendation effect targets, a regulation mode label of the recommendation information sample is constructed.
6. The method according to claim 5, characterized in that The obtaining of the scores of the recommendation information sample in the M recommendation effect targets includes: Acquire a second information record of the recommended information sample in a second time period, wherein the second time period is after the first time period, and the first time period is a time period corresponding to the first information record; Based on the second information record and the M recommendation effect targets, scoring the recommendation information sample to obtain M scores; Based on the M scores, the scores of the recommendation information sample in the M recommendation effect targets are determined.
7. The method according to claim 6, characterized in that The step of scoring the recommended information sample based on the second information record and the M recommendation effect targets to obtain M scores includes: Based on the second information record and the M recommendation effect targets, scoring the recommendation information sample to obtain M initial scores; Normalizing the M initial scores to obtain M normalized scores; The M normalized scores are determined as the M scores.
8. The method according to claim 5, characterized in that The step of constructing the control mode label of the recommendation information sample based on the scores of the M recommendation effect targets includes: Based on the scores of the M recommendation effect targets, classify the recommendation information samples to obtain the target category to which the recommendation information samples belong; Based on the target category to which the recommendation information sample belongs, a regulation mode label of the recommendation information sample is determined.
9. The method according to claim 8, characterized in that Each of the categories corresponds to a score range, and the recommendation information samples are classified based on the scores of the M recommendation effect targets to obtain the target category to which the recommendation information samples belong, including: Based on the score, selecting a target score interval to which the score belongs from a plurality of score intervals; The category corresponding to the target score interval is determined as the target category to which the recommended information sample belongs.
10. The method according to claim 1, characterized in that The number of the regulation models obtained through training is K, where K is an integer greater than 1; after training the regulation model based on the loss, the method further includes: Inputting information records of P different recommendation information into the trained K regulation models to obtain K*P prediction regulation modes, where P is a positive integer; Filtering out reference recommendation information whose control method is the target control method from the K*P predicted control methods; Determine a reference score of the reference recommendation information at M conversion targets, where M is an integer greater than 1; Based on the reference score, a target regulation model is selected from the K regulation models obtained through training.
11. The method according to claim 10, characterized in that The number of the reference scores is multiple, and the selecting a target regulation model from the K regulation models obtained through training based on the reference scores includes: Selecting a target reference score that reaches a reference score threshold from the multiple reference scores; Determine target recommendation information corresponding to the target reference score; From the K regulation models obtained through training, a regulation model that predicts that the regulation mode of the target recommendation information is a target regulation mode is selected as the target regulation model.
12. A method for regulating recommendation information, characterized in that: The method comprises: Acquire information records and a control model of recommendation information; wherein the control model is obtained by training using the control model training method according to any one of claims 1 to 11; Inputting the information record of the recommended information into the regulation model to predict the regulation mode of the recommended information; Based on the regulation mode of the recommendation information, the recommendation information is regulated and processed.
13. A training device for a control model, Its feature is that the device comprises: A feature extraction module, configured to extract features from the first information record of the recommendation information sample to obtain recommendation information features of the recommendation information sample in N feature dimensions, where N is an integer greater than 1; A feature fusion module, used to fuse the recommendation information features of the N feature dimensions to obtain a fused feature; A prediction module, used for predicting the regulation mode of the recommendation information sample based on the fusion feature; A training module is used to determine the loss of the control model based on the predicted control method and the control method label of the recommendation information sample, and train the control model based on the loss.
14. A device for regulating recommended information, characterized in that: The device comprises: An acquisition module, used to acquire information records of recommendation information and a control model; wherein the control model is obtained by training using the training method for the control model according to any one of claims 1 to 11; An input module, used for inputting the information record of the recommendation information into the regulation model to predict the regulation mode of the recommendation information; The control module is used to control the recommendation information based on the target control mode of the recommendation information.
15. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the training method of the control model described in any one of claims 1 to 11, or implement the recommendation information control method described in claim 12 when executing the executable instructions stored in the memory.
16. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to cause the processor to execute and implement the training method of the control model described in any one of claims 1 to 11, or the recommendation information control method described in claim 12.
17. A computer program product comprising computer executable instructions, characterized in that: When the computer executable instructions are executed by a processor, the training method of the control model described in any one of claims 1 to 11 is implemented, or the recommendation information control method described in claim 12 is implemented.
Citation Information
Patent Citations
Multi-target recommendation model training and information recommendation method and device
CN112232510A
Method and device for optimizing advertisement putting strategy
CN112801712A
Information recommendation method and device, equipment, storage medium and computer program product
CN113626719A
Advertisement putting control method and device, equipment, storage medium and program product
CN114626881A
Information recommendation model training method, information recommendation method, device and server
CN114861049A
