Prediction model training method, information prediction method, server and storage medium

Adjusting the model weights in the multi-objective recommendation system through the adaptive weight network solves the problems of data selection bias and target independent hard calculation, improves the prediction accuracy and efficiency, and enhances the personalized recommendation capability of the recommendation system.

CN114912018BActive Publication Date: 2024-09-10BEIJING SHAREIT INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210406739.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-18
Publication Date
2024-09-10
Estimated Expiration
2042-04-18

AI Technical Summary

Technical Problem

Existing recommendation systems have problems with data selection bias and target independent hard calculation during multi-objective training, resulting in limited accuracy and efficiency of prediction results.

Method used

The adaptive weight network is used to extract click operation and conversion-related features in user feature information, and the model weight is adjusted through the adaptive weight network to reduce the deviation caused by differences in data distribution. The second network is optimized with the conversion loss function to improve prediction accuracy.

Benefits of technology

It effectively reduces the data selection deviation between training samples and actual prediction data, improves the accuracy and efficiency of multi-objective training, and enhances the personalized recommendation capabilities of the recommendation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114912018B
    Figure CN114912018B
Patent Text Reader

Abstract

The technical solution of the present application provides a prediction model training method, an information prediction method, a prediction model training device, an information prediction device, a server and a storage medium. The prediction model training method includes: extracting the first feature information in the user feature information based on the first network, training the first network, and outputting the user click rate vector; extracting the second feature information in the user feature information based on the second network, training the second network, and outputting the user conversion rate vector; extracting the first feature information and the second feature information in the user feature information in the shared embedding layer network based on the adaptive weight network, training the adaptive weight network, and outputting the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information; based on the user conversion rate vector weighted by the second vector weight, the conversion loss function is constructed and obtained, and the second network is trained as the target optimization function to improve the training quality of the second network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of information processing technology, and in particular, to a prediction model training method, an information prediction method, a prediction model training device, an information prediction device, a server, and a storage medium. Background Art

[0002] With the rapid development of information technology, news, videos and other information media are flooding people's lives. The information that people can obtain and the producers of various information are always facing the problem of information overload and effective information distribution and acquisition. Therefore, the recommendation system came into being. The recommendation system is based on the interaction between users and information, through information recall, rough sorting, fine sorting and other steps, to filter out the content that users currently like from the rich information pool. In order to make the recommendation effect more personalized, the structure of the recommendation system is becoming more and more complex, and the conflicts between data and data, between data and models, and between multiple objectives of the model are becoming more and more obvious. Especially in the traditional training of multiple objectives, each objective will be independently modeled with its own data, and in some areas during the training process, there is actually a close dependency between multiple objectives, and even influence each other. Therefore, how to train the prediction model in the multi-objective prediction model is very important to the accuracy of the prediction results. Summary of the invention

[0003] Embodiments of the present application provide a prediction model training method, an information prediction method, a prediction model training device, an information prediction device, a server, and a storage medium.

[0004] The prediction model training method provided in the first aspect of the embodiment of the present application includes:

[0005] Inputting user feature information of sample users into the shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a click operation performed by the user;

[0006] Extracting first feature information from the user feature information in the shared embedding layer network based on the first network, and training the first network based on the first feature information to output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0007] Extracting second feature information from the user feature information in the shared embedding layer network based on the second network, and training the second network based on the second feature information to output a user conversion rate vector, wherein the second feature information is feature information related to click conversion by the user in the user feature information;

[0008] Based on an adaptive weight network, extracting the first feature information and the second feature information in the user feature information in the shared embedding layer network, training the adaptive weight network, and outputting a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information;

[0009] Based on the user conversion rate vector, weighting by the second vector weight is performed to obtain a weighted user conversion rate vector;

[0010] The second network is trained based on the conversion loss function constructed from the weighted user conversion rate vector as the target optimization function.

[0011] In one embodiment, the training method further comprises:

[0012] Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector;

[0013] Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate;

[0014] Based on the click-through conversion rate, construct a click-through conversion loss function;

[0015] Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function;

[0016] The training of the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function includes: training the second network based on the first loss function as the target optimization function.

[0017] In one embodiment, the training method further comprises:

[0018] Constructing a click loss function based on the weighted user click rate vector;

[0019] Based on the click loss function and the click conversion loss function, construct a second loss function;

[0020] The first network is trained based on the second loss function as the target optimization function.

[0021] In one embodiment, the training method further comprises:

[0022] Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function;

[0023] Based on the third loss function, as the objective optimization function, the adaptive weight network is trained.

[0024] In one embodiment, the training method further comprises:

[0025] Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user;

[0026] The constructing a click loss function based on the weighted user click rate vector includes: constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user;

[0027] The constructing a click-to-conversion loss function based on the click-to-conversion rate includes: constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion label corresponding to the click-to-conversion of the sample user;

[0028] The method further includes: constructing the conversion loss function based on the weighted user conversion rate vector and the conversion label corresponding to the conversion of the sample user.

[0029] In one embodiment, the method further comprises:

[0030] Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label;

[0031] Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label;

[0032] Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function;

[0033] The constructing a second loss function based on the click loss function and the click conversion loss function includes:

[0034] Performing a first adaptive weighting on the click loss function;

[0035] Performing a third adaptive weighting on the click-to-conversion loss function;

[0036] Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight;

[0037] The constructing a first loss function based on the conversion loss function and the click-to-conversion loss function includes:

[0038] Performing a second adaptive weighting on the conversion loss function;

[0039] Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight;

[0040] The constructing a third loss function based on the click loss function, the conversion loss function and the click conversion loss function comprises:

[0041] The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

[0042] A second aspect of an embodiment of the present application provides an information prediction method, comprising:

[0043] Acquire user characteristic information of the user to be predicted, wherein the user characteristic information at least includes operation information of a click operation performed by the user;

[0044] Inputting the user characteristic information into the prediction model described in the first aspect embodiment above;

[0045] Predicting the click rate of the user based on the first network in the prediction model;

[0046] Based on the second network in the prediction model, the conversion rate of the user click operation is predicted, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

[0047] The third aspect of the embodiments of the present application provides an information prediction model, including:

[0048] A shared embedding layer network is used to input user characteristic information of sample users, wherein the user characteristic information at least includes operation information of a click operation performed by the user;

[0049] A first network is connected to the shared embedding layer network, and is used to extract first feature information from the user feature information in the shared embedding layer network, and train and output a user click rate vector based on the first feature information, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0050] A second network is connected to the shared embedding layer network, and is used to extract second feature information from the user feature information in the shared embedding layer network, and train and output a user conversion rate vector based on the second feature information, wherein the second feature information is feature information related to click conversion by the user in the user feature information;

[0051] an adaptive weight network, connected to the shared embedding layer network, and used to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network, and train and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; wherein the second vector weight is used to weight the user conversion rate vector output by the second network, and construct a conversion loss function for optimizing the second network; and the first vector weight is used to weight the user click rate vector output by the first network, and construct a click loss function for optimizing the first network; and

[0052] The user click rate vector output by the first network is weighted by the first vector weight and the user conversion rate vector output by the second network is weighted by the second vector weight, so as to construct a click-to-conversion loss function for optimizing the adaptive weight network.

[0053] A fourth aspect of an embodiment of the present application provides a prediction model training device, comprising:

[0054] A first processing unit, configured to input user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a click operation performed by the user;

[0055] a second processing unit, configured to extract first feature information from the user feature information in the shared embedding layer network based on the first network, train the first network based on the first feature information, and output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0056] a third processing unit, configured to extract second feature information from the user feature information in the shared embedding layer network based on the second network, train the second network based on the second feature information, and output a user conversion rate vector, wherein the second feature information is feature information in the user feature information related to click conversion by the user;

[0057] A fourth processing unit is configured to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network based on an adaptive weight network, train the adaptive weight network, and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information;

[0058] a fifth processing unit, configured to obtain a weighted user conversion rate vector based on the user conversion rate vector and weighted by the second vector weight;

[0059] The sixth processing unit is used to train the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function.

[0060] In one embodiment, the fifth processing unit is used to

[0061] Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector;

[0062] Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate;

[0063] Based on the click-through conversion rate, construct a click-through conversion loss function;

[0064] Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function;

[0065] The sixth processing unit is used to

[0066] The second network is trained based on the first loss function as the target optimization function.

[0067] In one embodiment, the fifth processing unit is used to

[0068] Constructing a click loss function based on the weighted user click rate vector;

[0069] Based on the click loss function and the click conversion loss function, construct a second loss function;

[0070] The sixth processing unit is used to

[0071] The first network is trained based on the second loss function as the target optimization function.

[0072] In one embodiment, the fifth processing unit is used to

[0073] Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function;

[0074] The sixth processing unit is used to

[0075] Based on the third loss function, as the objective optimization function, the adaptive weight network is trained.

[0076] In one embodiment, the fifth processing unit is used to

[0077] Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user;

[0078] Constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user;

[0079] Constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion labels of the sample users' corresponding click-to-conversions;

[0080] The conversion loss function is constructed based on the weighted user conversion rate vector and the conversion labels corresponding to the conversions of the sample users.

[0081] In one embodiment, the fifth processing unit is used to

[0082] Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label;

[0083] Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label;

[0084] Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function;

[0085] Performing a first adaptive weighting on the click loss function;

[0086] Performing a third adaptive weighting on the click-to-conversion loss function;

[0087] Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight;

[0088] Performing a second adaptive weighting on the conversion loss function;

[0089] Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight;

[0090] The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

[0091] A fifth aspect of an embodiment of the present application provides an information prediction device, including:

[0092] A first processing unit is used to obtain user characteristic information of the user to be predicted, where the user characteristic information at least includes operation information of a click operation performed by the user;

[0093] A second processing unit, used for inputting the user characteristic information into the prediction model described in the first aspect embodiment;

[0094] A third processing unit, configured to predict the click rate of the user based on the first network in the prediction model;

[0095] The fourth processing unit is used to predict the conversion rate of the user's click operation based on the second network in the prediction model, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

[0096] A server provided in the sixth aspect of an embodiment of the present application includes: a processor and a memory for storing a computer program that can be run on the processor, wherein when the processor is used to run the computer program, the steps of the method described in the first and second aspects of the embodiments are executed.

[0097] A seventh aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method described in the first and second aspects of the embodiments are implemented.

[0098] The training method of the prediction model of the embodiment of the present application includes: inputting user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a user performing a click operation; extracting first feature information from the user feature information in the shared embedding layer network based on a first network, and training the first network based on the first feature information, and outputting a user click rate vector, wherein the first feature information is feature information related to the user performing a click operation in the user feature information; extracting second feature information from the user feature information in the shared embedding layer network based on a second network, and training the second network based on the second feature information, and outputting a user conversion rate vector, wherein the second feature information is feature information related to the user performing a click conversion in the user feature information; extracting the first feature information and the second feature information from the user feature information in the shared embedding layer network based on an adaptive weight network, training the adaptive weight network, and outputting a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; weighting the user conversion rate vector by the second vector weight to obtain a weighted user conversion rate vector; and training the second network based on a conversion loss function constructed from the weighted user conversion rate vector as a target optimization function. In the present application, when multi-objective training is performed, an adaptive weight network is used in the prediction model to adaptively extract the first feature information related to the user's click operation and the second feature information related to the user's click conversion in the user feature information, and the second vector weight corresponding to the second feature information is trained and output. The second vector weight obtained by adaptive training of the adaptive weight network can be used to adjust the influence of the sample data corresponding to the user's click operation and the non-click operation in the sample data on the prediction of the conversion rate after the user's click operation, so as to reduce the data selection bias existing in the prediction of the conversion rate due to the different data distribution between the training sample data and the actual prediction data. Then, the user conversion rate vector is weighted by the second vector weight to obtain the weighted user conversion rate vector; based on the conversion loss function constructed by the weighted user conversion rate vector, the second network is trained as the target optimization function. In this way, by combining the conversion loss function obtained by reducing the data selection bias existing in the prediction of the conversion rate due to the different data distribution between the training sample data and the actual prediction data as the target optimization function, the second network is trained, which is conducive to improving the training quality of the second network and improving the accuracy of the actual prediction data when the trained second network predicts the actual prediction data. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] Figure 1is a schematic diagram of a sample set during recommendation conversion according to an exemplary embodiment;

[0100] Figure 2 is a flow chart of a method for training a prediction model according to an exemplary embodiment;

[0101] Figure 3 is a schematic diagram of a structure of a prediction model according to an exemplary embodiment;

[0102] Figure 4 is a structural schematic diagram of a training device for a prediction model according to an exemplary embodiment;

[0103] Figure 5 is a schematic diagram of the structure of an information prediction device according to an exemplary embodiment;

[0104] Figure 6 is a schematic diagram of a terminal structure according to an exemplary embodiment. DETAILED DESCRIPTION

[0105] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0106] With the rapid development of information technology, news, videos and other information media are flooding people's lives. The information that people can obtain and the producers of various information are always facing the problem of information overload and effective information distribution and acquisition. Therefore, the recommendation system came into being. The recommendation system is based on the interaction between users and information, through information recall, rough sorting, fine sorting and other steps, to filter out the content that users currently like from the rich information pool. In order to make the recommendation effect more personalized, the structure of the recommendation system is becoming more and more complex, and the conflicts between data and data, between data and models, and between multiple objectives of the model are becoming more and more obvious.

[0107] In traditional multi-target training, each target is independently modeled using its own data, and during the training process, target prediction and loss calculation all have fixed weights. In some areas, there is actually a close dependency between multiple targets, such as the CTR click-through rate and CVR conversion rate targets in the advertising field.

[0108] The traditional multi-objective approach to processing CTR CVR will lead to two problems: 1) Data selection bias. Figure 1 is a schematic diagram of a sample set for recommendation conversion according to an exemplary embodiment. Figure 1As shown, the inference space contains display samples. The display samples contain click samples and conversion samples. The training space trains click samples and conversion samples. When training multiple targets, CTR training samples and prediction samples are all impression display sets, so the sample deviation has little impact. However, CVR training will have deviations, because conversion is "likely" to occur after clicking. When independent modeling is performed, the CVR model only uses click data as the training set, where clicks are not converted into negative samples and are converted into positive samples after clicking. However, when the trained CVR model is actually used, the samples in the entire space are estimated, that is, the estimation is performed in the impression space. The training data and the actual data to be predicted come from different distributions, which to some extent violates the assumption of independent and identical distribution in machine learning. 2) Different targets are independently hard-calculated, including the calculation of target output and loss. For example, the calculation of the loss function is the deviation between the predicted value and the actual value, and then the result is directly summed. This deviation will be prominent in the process of multi-target training.

[0109] To address the problem of data selection bias, a method often used is to add sample sampling to the traditional multi-target training process. For example, for CVR tasks, in addition to using clicked samples, exposed-unclicked samples are also selected as negative samples. Although this sampling method supplements the sample space, it still has bias and cannot be adaptively adjusted.

[0110] The present application provides a method for training a prediction model. Figure 2 FIG. 1 is a flow chart of a method for training a prediction model according to an exemplary embodiment. Figure 2 As shown, the training method of the prediction model includes:

[0111] Step 10: inputting user feature information of sample users into the shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of click operations performed by the user;

[0112] Step 11: extracting first feature information from the user feature information in the shared embedding layer network based on the first network, and training the first network based on the first feature information to output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0113] Step 12: extracting second feature information from the user feature information in the shared embedding layer network based on the second network, and training the second network based on the second feature information to output a user conversion rate vector, wherein the second feature information is feature information in the user feature information related to click conversion by the user;

[0114] Step 13: extracting the first feature information and the second feature information in the user feature information in the shared embedding layer network based on an adaptive weight network, training the adaptive weight network, and outputting a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information;

[0115] Step 14: Based on the user conversion rate vector, weighting is performed by the second vector weight to obtain a weighted user conversion rate vector;

[0116] Step 15: training the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function.

[0117] In an exemplary embodiment, Figure 3 FIG. 1 is a schematic diagram of a prediction model according to an exemplary embodiment. Figure 3 As shown, the user feature information of the sample user input into the prediction model at least includes user features, project features corresponding to the user's click operation, and other features related to the project, including generation factor features. User features include user age, gender, and work. Project features corresponding to the user's click operation include features such as text and video used to carry advertising information. Generation factor features related to the project include the location, method, and time of publishing advertisements.

[0118] In an exemplary embodiment, for independent hard computing problems of multi-target training, such as MMOE (Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts, multi-task learning model) and other frameworks, the adaptive weight network in this application will generate the model weight representation of CTR and CVR according to the sample, the first feature information and the second feature information, that is, the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. The output result of the model is adjusted, wherein the features for generating CTR and CVR weights are not selected based on artificial experience, but are automatically selected based on the feature selection gate in the adaptive weight network. Each target has its own personalized feature screening, and the weight of the features is adaptively changed with training. After the weight network screens the features, it will be trained through a low-order + fully connected network. Compared with the fully connected network, the low-order representation of the features will be considered. The final weight and target are combined to generate the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. At this time, the CVR model, that is, the second network training, can also learn the sample distribution of the display space because the adaptive weight network can also learn the sample distribution of the display space. When predicting, the CVR prediction uses the CVR second network model adjusted by the second vector weight. Because it takes into account the partial influence of CTR, it is more in line with the actual deviation of CVR, thus solving the problem of data deviation.

[0119] The training method of the prediction model of the embodiment of the present application includes: inputting user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a user performing a click operation; extracting first feature information from the user feature information in the shared embedding layer network based on a first network, and training the first network based on the first feature information, and outputting a user click rate vector, wherein the first feature information is feature information related to the user performing a click operation in the user feature information; extracting second feature information from the user feature information in the shared embedding layer network based on a second network, and training the second network based on the second feature information, and outputting a user conversion rate vector, wherein the second feature information is feature information related to the user performing a click conversion in the user feature information; extracting the first feature information and the second feature information from the user feature information in the shared embedding layer network based on an adaptive weight network, The adaptive weight network is trained to output the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information; based on the user conversion rate vector, the second vector weight is weighted to obtain the weighted user conversion rate vector Weight_pcvr; based on the conversion loss function constructed by the weighted user conversion rate vector, the second network is trained as the target optimization function. In the present application, when performing multi-objective training, the adaptive weight network is used in the prediction model to adaptively extract the first feature information related to the user's click operation and the second feature information related to the user's click conversion in the user feature information, and the second vector weight corresponding to the second feature information is trained and output. The second vector weight obtained by the adaptive training of the adaptive weight network can be used to adjust the influence of the sample data corresponding to the user's click operation and the non-click operation in the sample data on the conversion rate prediction after the user's click operation, so as to reduce the data selection bias in the conversion rate prediction caused by the different data distribution between the training sample data and the actual prediction data. Then, the user conversion rate vector is weighted by the second vector weight to obtain the weighted user conversion rate vector; based on the conversion loss function constructed by the weighted user conversion rate vector, the second network is trained as the target optimization function. In this way, by combining the conversion loss function obtained by reducing the data selection bias in conversion rate prediction caused by different data distributions between training sample data and actual prediction data as the target optimization function, training the second network is beneficial to improving the training quality of the second network and improving the accuracy of predicting the actual prediction data through the trained second network.

[0120] In an exemplary embodiment, if Figure 3As shown in the figure, for the above three network structures, during training, the underlying features are transformed to generate unified shared features. When the first network of the CTR model is trained, the first feature information of CTR is selected for model training to generate the PCTR user click rate result.

[0121] The second CVR network selects the second feature information of CVR from the shared embedding layer network for network training to generate the PCVR user conversion rate results.

[0122] The adaptive weight network selects the features required for different targets from the shared embedding layer network through the Ctr or Cvr FeatureSelected Gate. It is more adaptive than manual selection. It generates two k-dimensional vectors through a low-level + fully connected network training, which are calculated with the k-dimensional vectors of the ctr first network and the cvr second network respectively to generate a weighted user click-through rate vector and a weighted user conversion rate vector. The adaptive weight network not only utilizes the fully connected high-level representation, but also integrates the low-order representation of the features.

[0123] In one embodiment, the training method further comprises:

[0124] Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector;

[0125] Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate;

[0126] Based on the click-through conversion rate, construct a click-through conversion loss function;

[0127] Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function;

[0128] The training of the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function includes: training the second network based on the first loss function as the target optimization function.

[0129] In an exemplary embodiment, when training the second network, the target optimization function of the second network may be a conversion loss function, or may be a first loss function constructed based on the conversion loss function and the click-to-conversion loss function.

[0130] When determining the first loss function, the first loss function may be obtained by adding the click-to-conversion loss function to the conversion loss function. The click-to-conversion loss function may be obtained by the click-to-conversion rate and the corresponding click-to-conversion label.

[0131] The click-through conversion rate can be output through network fitting in the fusion network by using the user click-through rate vector Weight_pctr weighted by the first vector weight and the user conversion rate vector Weight_pcvr weighted by the second vector weight. For example, in the fusion network, the user click-through rate vector Weight_pctr weighted by the first vector weight and the user conversion rate vector Weight_pcvr weighted by the second vector weight are subjected to nonlinear transformation to output the click-through conversion rate.

[0132] In one embodiment, the training method further comprises:

[0133] Constructing a click loss function based on the weighted user click rate vector;

[0134] Based on the click loss function and the click conversion loss function, construct a second loss function;

[0135] The first network is trained based on the second loss function as the target optimization function.

[0136] In an exemplary embodiment, when constructing a click loss function, the click loss function can be constructed by weighting the user click rate vector with the first vector weight and the click label corresponding to the user click rate. The click loss function is accumulated with the click conversion loss function to obtain a second loss function. The second loss function is used as the target optimization function to train the first network. Since the first vector weight is obtained by training the adaptive weight network, the click loss function constructed by the weighted user click rate vector can better optimize the first network.

[0137] In one embodiment, the training method further comprises:

[0138] Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function;

[0139] Based on the third loss function, as the objective optimization function, the adaptive weight network is trained.

[0140] In an exemplary embodiment, when training the adaptive weight network, the third loss function may be used as a target optimization function to optimize the adaptive weight network. The third loss function may be obtained by accumulating the click loss function, the conversion loss function, and the click-conversion loss function.

[0141] In an exemplary embodiment, the training method further comprises:

[0142] Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user;

[0143] The constructing a click loss function based on the weighted user click rate vector includes: constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user;

[0144] The constructing a click-to-conversion loss function based on the click-to-conversion rate includes: constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion label corresponding to the click-to-conversion of the sample user;

[0145] The method further includes: constructing the conversion loss function based on the weighted user conversion rate vector and the conversion label corresponding to the conversion of the sample user.

[0146] In one embodiment, the method further comprises:

[0147] Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label;

[0148] Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label;

[0149] Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function;

[0150] The constructing a second loss function based on the click loss function and the click conversion loss function includes:

[0151] Performing a first adaptive weighting on the click loss function;

[0152] Performing a third adaptive weighting on the click-to-conversion loss function;

[0153] Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight;

[0154] In an exemplary embodiment, the click loss function weighted by the first adaptive weight is added to the click conversion loss function weighted by the third adaptive weight to obtain a second loss function.

[0155] The constructing a first loss function based on the conversion loss function and the click-to-conversion loss function includes:

[0156] Performing a second adaptive weighting on the conversion loss function;

[0157] Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight;

[0158] In an exemplary embodiment, the first loss function is obtained by accumulating a click-to-conversion loss function weighted by a third adaptive weight based on the conversion loss function weighted by the second adaptive weight.

[0159] The constructing a third loss function based on the click loss function, the conversion loss function and the click conversion loss function comprises:

[0160] The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

[0161] In an exemplary embodiment, the third loss function is obtained by adding the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click conversion loss function weighted by the third adaptive weight.

[0162] In an exemplary embodiment, the final back-propagated model loss consists of three parts:

[0163] Total loss = ctr loss*ctr trainable loss weight+cvr loss*cvr trainableloss weight +ctcvr loss*ctcvr trainable loss weight; where Total loss is the final loss function, ctr loss is the click loss function, cvr loss is the conversion loss function, ctcvr loss is the click conversion loss function, ctr trainable loss weight is the first adaptive weight, cvr trainable loss weight is the second adaptive weight, and ctcvr trainable loss weight is the third adaptive weight.

[0164] Among them: ctr trainable loss weight, cvr trainable loss weight and ctcvr trainable loss weight are three trainable loss weights respectively. The loss weights are independent and trainable. For example, the loss weight can be calculated by the following method K*exp(-weight[label]), where weight[label] selects the corresponding tensor of ctr or cvr or ctcvr according to the label. In the exemplary embodiment, the corresponding tensor of ctr or cvr or ctcvr can also be directly selected as the loss weight. For example, tensor1 is used as the ctr trainable loss weight, tensor2 is used as the cvr trainable loss weight, tensor3 is used as the ctcvr trainable loss weight, and so on. After determining the tensor, the corresponding loss weight can be obtained through K*exp(-weight[label]) calculation, in which case tensor is a variable in weight[label]. At this time, K*exp(-weight[label]) is equal to the loss weight. For example, select ctr corresponding to tensor1, input tensor1 to K*exp(-weight[label]), and output the ctr trainable loss weight.

[0165] In this application, the conversion loss function not only learns the data distribution of the entire space, but also adds the influence of the CTR model to the prediction of the CVR.

[0166] In addition, the optimization model also multiplies the losses of different targets by a trainable weight. Traditional multi-target weights are adjusted based on the output of the target, and the losses are simply summed and back-propagated. In addition, this method will multiply the loss by a trainable loss weight. It is different from the target weight in the previous part. The loss weight is a trainable tensor that does not depend on features and will be updated during back-propagation. Adaptive adjustment of multi-target loss losses, combined with the output weights of the model, just solves the problem of independent hard calculation of multiple targets.

[0167] In response to the problems of data bias and independent hard coupling of targets in traditional multi-target models, this application proposes a multi-target training framework based on adaptive weight optimization, which eliminates data bias and better trains targets through adaptive target weights and adaptive loss weights.

[0168] A second aspect of an embodiment of the present application provides an information prediction method, comprising:

[0169] Acquire user characteristic information of the user to be predicted, wherein the user characteristic information at least includes operation information of a click operation performed by the user;

[0170] Inputting the user characteristic information into the prediction model described in the first aspect embodiment above;

[0171] Predicting the click rate of the user based on the first network in the prediction model;

[0172] Based on the second network in the prediction model, the conversion rate of the user click operation is predicted, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

[0173] The third aspect of the present application provides an information prediction model, such as Figure 3 As shown, including:

[0174] A shared embedding layer network is used to input user characteristic information of sample users, wherein the user characteristic information at least includes operation information of a click operation performed by the user;

[0175] A first network is connected to the shared embedding layer network, and is used to extract first feature information from the user feature information in the shared embedding layer network, and train and output a user click rate vector based on the first feature information, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0176] A second network is connected to the shared embedding layer network, and is used to extract second feature information from the user feature information in the shared embedding layer network, and train and output a user conversion rate vector based on the second feature information, wherein the second feature information is feature information related to click conversion by the user in the user feature information;

[0177] an adaptive weight network, connected to the shared embedding layer network, and used to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network, and train and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; wherein the second vector weight is used to weight the user conversion rate vector output by the second network, and construct a conversion loss function for optimizing the second network; and the first vector weight is used to weight the user click rate vector output by the first network, and construct a click loss function for optimizing the first network; and

[0178] The user click rate vector output by the first network is weighted by the first vector weight and the user conversion rate vector output by the second network is weighted by the second vector weight, so as to construct a click-to-conversion loss function for optimizing the adaptive weight network.

[0179] In an exemplary embodiment, if Figure 3 As shown, the user feature information of the sample user input into the prediction model at least includes user features, project features corresponding to the user's click operation, and other features related to the project, including generation factor features. User features include user age, gender, job, etc. Project features corresponding to the user's click operation include features such as text and video used to carry advertising information. Generation factor features related to the project include the location, method, time, etc. of publishing advertisements.

[0180] In an exemplary embodiment, for independent hard computing problems of multi-target training, such as MMOE (Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts, multi-task learning model) and other frameworks, the adaptive weight network in this application will generate the model weight representation of CTR and CVR according to the sample, the first feature information and the second feature information, that is, the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. The output result of the model is adjusted, wherein the features for generating CTR and CVR weights are not selected based on artificial experience, but are automatically selected based on the feature selection gate in the adaptive weight network. Each target has its own personalized feature screening, and the weight of the features is adaptively changed with training. After the weight network screens the features, it will be trained through a low-order + fully connected network. Compared with the fully connected network, the low-order representation of the features will be considered. The final weight and target are combined to generate the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. At this time, the CVR model, that is, the second network training, can also learn the sample distribution of the display space because the adaptive weight network can also learn the sample distribution of the display space. When predicting, the CVR prediction uses the CVR second network model adjusted by the second vector weight. Because it takes into account the partial influence of CTR, it is more in line with the actual deviation of CVR, thus solving the problem of data deviation.

[0181] The information prediction model of the embodiment of the present application is used to: input user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a user performing a click operation; extract first feature information from the user feature information in the shared embedding layer network based on a first network, and train the first network based on the first feature information to output a user click rate vector, wherein the first feature information is feature information in the user feature information related to the user performing a click operation; extract second feature information from the user feature information in the shared embedding layer network based on a second network, and train the second network based on the second feature information to output a user conversion rate vector. rate vector, wherein the second feature information is feature information related to the click conversion of the user in the user feature information; based on the adaptive weight network, the first feature information and the second feature information in the user feature information are extracted in the shared embedding layer network, the adaptive weight network is trained, and the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information are output; based on the user conversion rate vector, the weighted second vector weight is weighted to obtain the weighted user conversion rate vector Weight_pcvr; based on the conversion loss function constructed by the weighted user conversion rate vector, as the target optimization function, the second network is trained. In this application, when performing multi-objective training, the adaptive weight network is used in the prediction model to adaptively extract the first feature information related to the user's click operation and the second feature information related to the user's click conversion in the user feature information, and the second vector weight corresponding to the second feature information is trained and output. The second vector weight obtained by adaptive training of the adaptive weight network can be used to adjust the influence of the sample data corresponding to the user's click operation and the non-click operation in the sample data on the prediction of the conversion rate after the user's click operation, so as to reduce the data selection bias existing in the prediction of the conversion rate due to the different data distribution between the training sample data and the actual prediction data. Then, the user conversion rate vector is weighted by the second vector weight to obtain a weighted user conversion rate vector; based on the conversion loss function constructed by the weighted user conversion rate vector, the second network is trained as the target optimization function. In this way, by combining the conversion loss function obtained by reducing the data selection bias existing in the conversion rate prediction due to the different data distribution between the training sample data and the actual prediction data as the target optimization function, the second network is trained, which is conducive to improving the training quality of the second network and improving the accuracy of the actual prediction data when the trained second network is used to predict.

[0182] A fourth aspect of an embodiment of the present application provides a training device for a prediction model. Figure 4FIG. 1 is a schematic diagram of a structure of a training device for a prediction model according to an exemplary embodiment. Figure 4 As shown, including:

[0183] A first processing unit 41 is used to input user feature information of sample users into the shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a click operation performed by the user;

[0184] A second processing unit 42 is configured to extract first feature information from the user feature information in the shared embedding layer network based on the first network, train the first network based on the first feature information, and output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information;

[0185] A third processing unit 43 is configured to extract second feature information from the user feature information in the shared embedding layer network based on the second network, train the second network based on the second feature information, and output a user conversion rate vector, wherein the second feature information is feature information related to click conversion by the user in the user feature information;

[0186] A fourth processing unit 44 is configured to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network based on an adaptive weight network, train the adaptive weight network, and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information;

[0187] A fifth processing unit 45 is configured to obtain a weighted user conversion rate vector based on the user conversion rate vector and weighted by the second vector weight;

[0188] The sixth processing unit 46 is used to train the second network based on the conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

[0189] In an exemplary embodiment, Figure 3 FIG. 1 is a schematic diagram of a prediction model according to an exemplary embodiment. Figure 3 As shown, the user feature information of the sample user input into the prediction model at least includes user features, project features corresponding to the user's click operation, and other features related to the project, including generation factor features. User features include user age, gender, and work. Project features corresponding to the user's click operation include features such as text and video used to carry advertising information. Generation factor features related to the project include the location, method, and time of publishing advertisements.

[0190] In an exemplary embodiment, for independent hard computing problems of multi-target training, such as MMOE (Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts, multi-task learning model) and other frameworks, the adaptive weight network in this application will generate the model weight representation of CTR and CVR according to the sample, the first feature information and the second feature information, that is, the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. The output result of the model is adjusted, wherein the features for generating CTR and CVR weights are not selected based on artificial experience, but are automatically selected based on the feature selection gate in the adaptive weight network. Each target has its own personalized feature screening, and the weight of the features is adaptively changed with training. After the weight network screens the features, it will be trained through a low-order + fully connected network. Compared with the fully connected network, the low-order representation of the features will be considered. The final weight and target are combined to generate the first vector weight corresponding to the first feature information and the second vector weight corresponding to the second feature information. At this time, the CVR model, that is, the second network training, can also learn the sample distribution of the display space because the adaptive weight network can also learn the sample distribution of the display space. When predicting, the CVR prediction uses the CVR second network model adjusted by the second vector weight. Because it takes into account the partial influence of CTR, it is more in line with the actual deviation of CVR, thus solving the problem of data deviation.

[0191] The training device of the prediction model of the embodiment of the present application is used to: input user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a user performing a click operation; extract first feature information from the user feature information in the shared embedding layer network based on a first network, and train the first network based on the first feature information, and output a user click rate vector, wherein the first feature information is feature information in the user feature information related to the user performing a click operation; extract second feature information from the user feature information in the shared embedding layer network based on a second network, and train the second network based on the second feature information, Output a user conversion rate vector, wherein the second feature information is feature information in the user feature information related to click conversion by the user; based on an adaptive weight network, extract the first feature information and the second feature information in the user feature information in the shared embedding layer network, train the adaptive weight network, and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; based on the user conversion rate vector, weighted by the second vector weight, obtain a weighted user conversion rate vector Weight_pcvr; based on the conversion loss function constructed from the weighted user conversion rate vector, train the second network as the target optimization function. In the present application, when performing multi-objective training, an adaptive weight network is used in the prediction model to adaptively extract the first feature information related to the click operation performed by the user and the second feature information related to the click conversion performed by the user, and train and output the second vector weight corresponding to the second feature information. The second vector weight obtained through adaptive training of the adaptive weight network can be used to adjust the influence of the sample data corresponding to the user click operation and the non-click operation in the sample data on the conversion rate prediction after the user click operation, so as to reduce the data selection bias in the conversion rate prediction caused by the different data distribution between the training sample data and the actual prediction data. Then, the user conversion rate vector is weighted by the second vector weight to obtain the weighted user conversion rate vector; based on the conversion loss function constructed by the weighted user conversion rate vector, the second network is trained as the target optimization function. In this way, by combining the conversion loss function obtained by reducing the data selection bias in the conversion rate prediction caused by the different data distribution between the training sample data and the actual prediction data as the target optimization function, the second network is trained, which is conducive to improving the training quality of the second network and improving the accuracy of the actual prediction data when predicted by the trained second network.

[0192] In one embodiment, the fifth processing unit is used to

[0193] Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector;

[0194] Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate;

[0195] Based on the click-through conversion rate, construct a click-through conversion loss function;

[0196] Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function;

[0197] The sixth processing unit is used to

[0198] The second network is trained based on the first loss function as the target optimization function.

[0199] In one embodiment, the fifth processing unit is used to

[0200] Constructing a click loss function based on the weighted user click rate vector;

[0201] Based on the click loss function and the click conversion loss function, construct a second loss function;

[0202] The sixth processing unit is used to

[0203] The first network is trained based on the second loss function as the target optimization function.

[0204] In one embodiment, the fifth processing unit is used to

[0205] Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function;

[0206] The sixth processing unit is used to

[0207] Based on the third loss function, as the target optimization function, the adaptive weight network is trained. In an exemplary embodiment, when training the adaptive weight network, the third loss function can be used as the target optimization function to optimize the adaptive weight network. The third loss function can be obtained by accumulating the click loss function, the conversion loss function and the click-to-conversion loss function.

[0208] In an exemplary embodiment, the fifth processing unit is used to

[0209] Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user;

[0210] Constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user;

[0211] Constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion labels of the sample users' corresponding click-to-conversions;

[0212] The conversion loss function is constructed based on the weighted user conversion rate vector and the conversion labels corresponding to the conversions of the sample users.

[0213] In an exemplary embodiment, the fifth processing unit is used to

[0214] Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label;

[0215] Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label;

[0216] Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function;

[0217] Performing a first adaptive weighting on the click loss function;

[0218] Performing a third adaptive weighting on the click-to-conversion loss function;

[0219] Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight;

[0220] Performing a second adaptive weighting on the conversion loss function;

[0221] Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight;

[0222] The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

[0223] A fifth aspect of an embodiment of the present application provides an information prediction device. Figure 5 FIG. 1 is a schematic diagram showing the structure of an information prediction device according to an exemplary embodiment. Figure 5 As shown, including:

[0224] The first processing unit 51 is used to obtain user characteristic information of the user to be predicted, where the user characteristic information at least includes operation information of a click operation performed by the user;

[0225] A second processing unit 52, configured to input the user characteristic information into the prediction model described in the first aspect of the embodiment;

[0226] A third processing unit 53 is used to predict the click rate of the user based on the first network in the prediction model;

[0227] The fourth processing unit 54 is used to predict the conversion rate of the user click operation based on the second network in the prediction model, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

[0228] A server provided in the sixth aspect of an embodiment of the present application includes: a processor and a memory for storing a computer program that can be run on the processor, wherein when the processor is used to run the computer program, the steps of the method described in the first and second aspects of the embodiments are executed.

[0229] A seventh aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method described in the first and second aspects of the embodiments are implemented.

[0230] The present application also provides a server. Figure 6 FIG. 1 is a schematic diagram of a server structure according to an exemplary embodiment. Figure 6 As shown, the server provided in an embodiment of the present application includes: a processor 530 and a memory 520 for storing a computer program that can be run on the processor, wherein the processor 530 is used to execute the steps of the method provided in the above embodiments when running the computer program.

[0231] The present application also provides a computer-readable storage medium. The computer-readable storage medium provided in the embodiments of the present application stores a computer program, which, when executed by a processor, implements the steps of the method provided in the above embodiments.

[0232] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0233] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0234] In addition, all functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0235] In some cases, if any two of the above technical features do not conflict with each other, they can be combined into a new method technical solution.

[0236] In some cases, if any two of the above technical features do not conflict with each other, they can be combined into a new equipment technical solution.

[0237] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks, and other media that can store program codes.

[0238] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for training a prediction model, characterized in that: include: Inputting user feature information of sample users into the shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a click operation performed by the user; Extracting first feature information from the user feature information in the shared embedding layer network based on the first network, and training the first network based on the first feature information to output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information; Extracting second feature information from the user feature information in the shared embedding layer network based on the second network, and training the second network based on the second feature information to output a user conversion rate vector, wherein the second feature information is feature information related to click conversion by the user in the user feature information; Based on an adaptive weight network, extracting the first feature information and the second feature information in the user feature information in the shared embedding layer network, training the adaptive weight network, and outputting a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; Based on the user conversion rate vector, weighting by the second vector weight is performed to obtain a weighted user conversion rate vector; The second network is trained based on the conversion loss function constructed from the weighted user conversion rate vector as the target optimization function.

2. The training method according to claim 1, characterized in that: The training method further comprises: Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector; Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate; Based on the click-through conversion rate, construct a click-through conversion loss function; Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function; The training of the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function includes: training the second network based on the first loss function as the target optimization function.

3. The training method according to claim 2, characterized in that: The training method further comprises: Constructing a click loss function based on the weighted user click rate vector; Based on the click loss function and the click conversion loss function, construct a second loss function; The first network is trained based on the second loss function as the target optimization function.

4. The training method according to claim 3, characterized in that: Training methods also include: Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function; Based on the third loss function, as the objective optimization function, the adaptive weight network is trained.

5. The training method according to claim 4, characterized in that: The training method further comprises: Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user; The constructing a click loss function based on the weighted user click rate vector includes: constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user; The constructing a click-to-conversion loss function based on the click-to-conversion rate includes: constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion label corresponding to the click-to-conversion of the sample user; The method further includes: constructing the conversion loss function based on the weighted user conversion rate vector and the conversion label corresponding to the conversion of the sample user.

6. The training method according to claim 5, characterized in that: The method further comprises: Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label; Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label; Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function; The constructing a second loss function based on the click loss function and the click conversion loss function includes: Performing a first adaptive weighting on the click loss function; Performing a third adaptive weighting on the click-to-conversion loss function; Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight; The constructing a first loss function based on the conversion loss function and the click-to-conversion loss function includes: Performing a second adaptive weighting on the conversion loss function; Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight; The constructing a third loss function based on the click loss function, the conversion loss function and the click conversion loss function includes: The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

7. An information prediction method, characterized in that: include: Acquire user characteristic information of the user to be predicted, wherein the user characteristic information at least includes operation information of a click operation performed by the user; Inputting the user characteristic information into the prediction model according to any one of claims 1 to 6; Predicting the click rate of the user based on the first network in the prediction model; Based on the second network in the prediction model, the conversion rate of the user click operation is predicted, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

8. An information prediction model, characterized in that: include: A shared embedding layer network is used to input user characteristic information of sample users, wherein the user characteristic information at least includes operation information of a click operation performed by the user; A first network is connected to the shared embedding layer network, and is used to extract first feature information from the user feature information in the shared embedding layer network, and train and output a user click rate vector based on the first feature information, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information; A second network is connected to the shared embedding layer network, and is used to extract second feature information from the user feature information in the shared embedding layer network, and train and output a user conversion rate vector based on the second feature information, wherein the second feature information is feature information related to click conversion by the user in the user feature information; an adaptive weight network, connected to the shared embedding layer network, and used to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network, and train and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; wherein the second vector weight is used to weight the user conversion rate vector output by the second network, and construct a conversion loss function for optimizing the second network; and the first vector weight is used to weight the user click rate vector output by the first network, and construct a click loss function for optimizing the first network; and The user click rate vector output by the first network is weighted by the first vector weight and the user conversion rate vector output by the second network is weighted by the second vector weight, so as to construct a click-to-conversion loss function for optimizing the adaptive weight network.

9. A prediction model training device, characterized in that: include: A first processing unit, configured to input user feature information of a sample user into a shared embedding layer network of the prediction model, wherein the user feature information at least includes operation information of a click operation performed by the user; a second processing unit, configured to extract first feature information from the user feature information in the shared embedding layer network based on the first network, and train the first network based on the first feature information to output a user click rate vector, wherein the first feature information is feature information related to a click operation performed by the user in the user feature information; a third processing unit, configured to extract second feature information from the user feature information in the shared embedding layer network based on the second network, and train the second network based on the second feature information to output a user conversion rate vector, wherein the second feature information is feature information in the user feature information related to click conversion by the user; A fourth processing unit is configured to extract the first feature information and the second feature information in the user feature information in the shared embedding layer network based on an adaptive weight network, train the adaptive weight network, and output a first vector weight corresponding to the first feature information and a second vector weight corresponding to the second feature information; A fifth processing unit, configured to obtain a weighted user conversion rate vector based on the user conversion rate vector and weighted by the second vector weight; The sixth processing unit is used to train the second network based on the conversion loss function constructed by the weighted user conversion rate vector as the target optimization function.

10. The training device according to claim 9, characterized in that The fifth processing unit is used to Based on the user click rate vector, weighting by the first vector weight is performed to obtain a weighted user click rate vector; Based on the weighted user click rate vector and the weighted user conversion rate vector, fitting to obtain the click conversion rate; Based on the click-through conversion rate, construct a click-through conversion loss function; Based on the conversion loss function and the click-to-conversion loss function, construct a first loss function; The sixth processing unit is used to The second network is trained based on the first loss function as the target optimization function.

11. The training device according to claim 10, characterized in that The fifth processing unit is used to Constructing a click loss function based on the weighted user click rate vector; Based on the click loss function and the click conversion loss function, construct a second loss function; The sixth processing unit is used to The first network is trained based on the second loss function as the target optimization function.

12. The training device according to claim 11, characterized in that The fifth processing unit is used to Based on the click loss function, the conversion loss function and the click conversion loss function, construct a third loss function; The sixth processing unit is used to Based on the third loss function, as the objective optimization function, the adaptive weight network is trained.

13. The training device according to claim 12, characterized in that The fifth processing unit is used to Predetermining a click label corresponding to a click operation of the sample user, a conversion label corresponding to a conversion of the sample user, and a click conversion label corresponding to a click conversion of the sample user; Constructing the click loss function based on the weighted user click rate vector and the click label of the corresponding click operation of the sample user; Constructing the click-to-conversion loss function based on the click-to-conversion rate and the click-to-conversion labels of the sample users' corresponding click-to-conversions; The conversion loss function is constructed based on the weighted user conversion rate vector and the conversion labels corresponding to the conversions of the sample users.

14. The training device according to claim 13, characterized in that The fifth processing unit is used to Determining a first adaptive weight corresponding to the click loss function according to the tensor corresponding to the click label; Determining a second adaptive weight corresponding to the conversion loss function according to the tensor corresponding to the conversion label; Determining, according to the tensor corresponding to the click-to-conversion label, a third adaptive weight corresponding to the click-to-conversion loss function; Performing a first adaptive weighting on the click loss function; Performing a third adaptive weighting on the click-to-conversion loss function; Constructing the second loss function based on the click loss function weighted by the first adaptive weight and the click conversion loss function weighted by the third adaptive weight; Performing a second adaptive weighting on the conversion loss function; Constructing the first loss function based on the conversion loss function weighted by the second adaptive weight and the click-to-conversion loss function weighted by the third adaptive weight; The third loss function is constructed based on the click loss function weighted by the first adaptive weight, the conversion loss function weighted by the second adaptive weight, and the click-conversion loss function weighted by the third adaptive weight.

15. An information prediction device, characterized in that: include: A first processing unit is used to obtain user characteristic information of the user to be predicted, where the user characteristic information at least includes operation information of a click operation performed by the user; A second processing unit, configured to input the user characteristic information into the prediction model according to any one of claims 1 to 6; A third processing unit, configured to predict the click rate of the user based on the first network in the prediction model; The fourth processing unit is used to predict the conversion rate of the user's click operation based on the second network in the prediction model, wherein the second network is trained by using a conversion loss function constructed by the weighted user conversion rate vector as a target optimization function.

16. A server, characterized in that: include: A processor and a memory for storing a computer program that can be run on the processor, wherein the processor executes the steps of the method according to any one of claims 1 to 7 when running the computer program.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Click rate prediction model training method, recommendation method, device and electronic equipment

    CN110378434A

  • Method for recommending target object, computing device and computer storage medium

    CN111523044A

  • User conversion rate determination method and related equipment

    CN111709789A

  • Recommendation model training method, electronic equipment and storage medium

    CN113868523A

  • Method and device for training click rate prediction model and predicting click rate

    CN114240555A