Multi-target sorting method based on comparative learning framework
Through the multi-objective ranking method based on the contrastive learning framework, combined with multi-objective joint training and data enhancement technology, the problems of data sparseness and insufficient feature representation in the existing technology are solved, and the scoring ability and scene characterization ability of the model are improved.
Patent Information
- Application Number
- CN202410993571.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-15
AI Technical Summary
Existing ranking models face the problems of data sparseness and inaccurate feature representation embedding vector learning. Especially in single-objective, single-task modeling and multi-task/multi-objective ranking solutions, the feature embedding expression ability is insufficient, resulting in model scoring ability. Restricted.
Using a multi-objective ranking method based on the comparative learning framework, we obtain user exposure, click, and conversion information from the log table of the car selection landing page of the automobile website, build a multi-objective model of clicks, and conversion, and use multi-objective joint training methods and data enhancement technology. InfoNce loss is introduced to improve the expressive ability of feature embedding through similarity calculation and dropout transformation.
It effectively solves the problems of data sparsity and insufficient feature representation, improves the model's ability to depict scenes and business expressions, and improves the model's scoring accuracy and migration reusability.
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of model training, and specifically is a multi-objective sorting method based on a contrastive learning framework. Background Art
[0002] In today's world of massive data, there are hundreds of millions of candidate items in sharp contrast to the small number of items with user behavior. There is very little data that can get user feedback (browsing / clicking, etc.), and a large number of items have no user behavior feedback, forming the Matthew effect of commodities, that is, a small number of items have a large number of user behavior feedback, and a large number of items have no user behavior feedback. This poses a huge challenge to the effective construction of the sorting model and the accuracy of the sorting model's scoring of candidate items.
[0003] Most existing sorting models are deep learning models. There are generally the following methods for feature representation and model construction:
[0004] One is the single-task Embedding-MLP model architecture, which directly uses random initialization to build the query and item feature embedding matrices as the input layer, and the neural network as the intermediate hidden layer. The embedding matrix and model parameters are updated by backpropagation of the sample labels and prediction scores of the input model;
[0005] Another method uses multi-task / multi-objective joint training. The architecture is similar to Embedding-MLP. The embedding matrix is randomly initialized as input. Multiple tasks can share embeddings. Similar network structures are built for different tasks. The weights of each task are obtained through the gating unit and the outputs of each task are weighted. Finally, the embedding matrix and the network parameters of each task are updated through back propagation.
[0006] The single-task Embedding-MLP sorting solution is mainly composed of two parts, namely the Embedding representation layer and the MLP neural network interaction layer. Finally, according to different task types, the output structure is adjusted to output classification or scoring results. The main optimization point of this technical solution lies in the MLP network structure. By designing different neural network structures to obtain the correlation between user intentions and candidate items, the candidate item scores are finally output. The above technical solution has the following shortcomings:
[0007] First, this solution is aimed at single-objective and single-task modeling. In actual business scenarios, single-objective modeling will face the defects of sparse data and insufficient description of business scenarios. At the same time, the single-scenario modeling method requires the construction of multiple sets of codes and processes for multiple similar scenarios, which is redundant and inefficient in business, and has low migration and reusability.
[0008] Second: This solution does not accurately learn the feature representation embedding vector, especially for sparse features, and cannot obtain effective feature expression. In actual scenarios, the long-tail effect of various input features is obvious and the feature embedding parameters occupy most of the entire model parameters. The feature embedding parameters cannot be fully trained. The quality of embedding parameter training will directly affect the accuracy of feature representation. Even if there is a good model architecture, if the input embedding vector expression is not sufficient, there will be no good model performance;
[0009] As for the multi-task / multi-target sorting scheme, this scheme still uses the feature embedding matrix as the model input. The difference is that multiple MLPs are built for multiple targets or multiple tasks, and the weight of each MLP output is controlled according to the gating network. Finally, the weight is used to weight the embedding of each MLP output, and then it is given to the upper neural network to output the score. The above scheme still has the problem of insufficient feature embedding expression ability. The vector matrix occupies most of the model parameters, but the sparsity of the data leads to the feature embedding matrix cannot be well trained, and the scoring ability of the model will still be affected, so it needs to be improved. Summary of the invention
[0010] In view of the deficiencies in the prior art, the present invention provides a multi-objective ranking method based on a contrastive learning framework, which has the advantage of good ability expression effect.
[0011] To achieve the above object, the present invention provides the following technical solution: a multi-objective ranking method based on a contrastive learning framework, comprising the following steps:
[0012] Step 1: Sample generation
[0013] Obtain user exposure, click, and conversion information from the car selection landing page log table of the automobile website, and associate user exposure, click, and conversion information based on the user ID and the log unique identifier to form a multi-target sample of clicks and conversions;
[0014] Step 2: Dataset Generation
[0015] According to the information such as user ID, vehicle model ID, brand ID and landing page template ID in the sample table, the encrypted attribute information of the user, the attribute information of the vehicle model, the encrypted behavior sequence information of the user and the attribute information of the template to be selected are obtained from the user portrait / vehicle model attribute / browse click search / landing page attribute table, etc., to form a sample data set table with various characteristics;
[0016] Step 3: Multi-objective model construction
[0017] Construct a multi-objective model of clicks and conversions, and consider the underlying expert network and the upper fusion network to form a multi-objective model;
[0018] Step 4: Data Enhancement
[0019] Select seed features in each batch, use the seed features to divide the different features of the unified sample into two groups of features that are similar to and dissimilar to the seed features through similarity calculation, and use dropout and NN networks to transform and embed the two groups of different features;
[0020] Step 5: Comparative Learning Loss Embedding
[0021] InfoNce loss is introduced to calculate different embedding expressions of the same sample and the embedding expressions of different samples, so that different embedding expressions of the same sample are closer and the embedding expressions of different samples are farther away.
[0022] This patent uses a multi-objective joint training method, using the two objectives of landing page outreach clicks and landing page conversions for training. The amount of outreach click data is far greater than the conversion data. The joint training of these two objectives solves the problem of sparse conversion event data for a single objective. At the same time, clicks and conversions are jointly trained, which is more in line with the conversion funnel of users in actual business scenarios, and is conducive to the model's characterization of the scenario and business expression.
[0023] Preferably, the automobile website described in step 1 is one or several mainstream websites with active users and high popularity.
[0024] This design enables staff to obtain more comprehensive and detailed data, so that the target samples produced subsequently will be more representative.
[0025] Preferably, the sample table described in step 2 is marked with time, and the sample table covers sample data of 12 months in the previous year.
[0026] This design allows staff to obtain sample data of various characteristics in different months, and also clearly identify the status of various data in some months when car sales are hot.
[0027] Preferably, the multi-objective model described in step three includes a car price model, a population age model, a car brand and model model, a car sales model and a car topic popularity model.
[0028] This allows the staff to have a more intuitive understanding of data on various aspects of the car, thereby facilitating the subsequent improvement of the conversion effect of the model data.
[0029] Preferably, the seed feature selection described in step 4 is random, and the types of the seed features are different.
[0030] It is precisely because the types of seed features are different and random that workers can smoothly perform transformation and embedded expressions.
[0031] Preferably, the samples in step five are diverse, and the samples are generated at different times and dates.
[0032] Staff can obtain samples generated in the same time period, or collect and embed samples generated at different times, which will be more conducive to subsequent comparison and conversion.
[0033] Preferably, the sample data set table described in step 2 does not involve user privacy, and the sample data set table displays different contents.
[0034] In this way, it will not be illegal in the early stage of collecting users' personal data, and the sample data can show data from all aspects of the car.
[0035] Preferably, the multi-target samples described in step one are correlated with each other, and the multi-target samples are presented in the form of data tables, line graphs, pie charts, bar graphs, and diagrams.
[0036] This will allow staff to have a clear understanding and more intuitive display.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] This patent uses a multi-objective joint training method, using two objectives for training: landing page outreach clicks and landing page conversions. The amount of outreach click data is much greater than the conversion data. The joint training of these two objectives solves the problem of sparse data for conversion events for a single objective. At the same time, joint training of clicks and conversions is more in line with the conversion funnel of users in actual business scenarios, which is conducive to the model's portrayal of scenarios and business expression.
[0039] This patent has some innovations in data enhancement. It divides the different features of the same sample into two groups, similar and dissimilar, by calculating the similarity between the features. The embeddings composed of these two groups of features are then dropout and encoded. After the loss of contrastive learning, a seed feature is randomly selected in each round of iteration as a scale for dividing similar and dissimilar features. This enables the model to better learn the feature representation embedding of the same sample. The loss function of data enhancement and contrastive learning has a good alleviating effect on the defect of insufficient learning of sparse feature embeddings, which can enable the feature embedding vectors to be more fully trained, thereby promoting the scoring ability of the model. DETAILED DESCRIPTION
[0040] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0041] The present invention provides a technical solution: a multi-objective ranking method based on a contrastive learning framework, comprising the following steps:
[0042] Step 1: Sample generation
[0043] Obtain user exposure, click, and conversion information from the car selection landing page log table of the automobile website, and associate user exposure, click, and conversion information based on the user ID and the log unique identifier to form a multi-target sample of clicks and conversions;
[0044] Step 2: Dataset Generation
[0045] According to the information such as user ID, vehicle model ID, brand ID and landing page template ID in the sample table, the encrypted attribute information of the user, the attribute information of the vehicle model, the encrypted behavior sequence information of the user and the attribute information of the template to be selected are obtained from the user portrait / vehicle model attribute / browse click search / landing page attribute table, etc., to form a sample data set table with various characteristics;
[0046] Step 3: Multi-objective model construction
[0047] Construct a multi-objective model of clicks and conversions, and consider the underlying expert network and the upper fusion network to form a multi-objective model;
[0048] Step 4: Data Enhancement
[0049] Select seed features in each batch, use the seed features to divide the different features of the unified sample into two groups of features that are similar to and dissimilar to the seed features through similarity calculation, and use dropout and NN networks to transform and embed the two groups of different features;
[0050] Step 5: Comparative Learning Loss Embedding
[0051] InfoNce loss is introduced to calculate different embedding expressions of the same sample and the embedding expressions of different samples, so that different embedding expressions of the same sample are closer and the embedding expressions of different samples are farther away.
[0052] This patent uses a multi-objective joint training method, using the two objectives of landing page outreach clicks and landing page conversions for training. The amount of outreach click data is far greater than the conversion data. The joint training of these two objectives solves the problem of sparse conversion event data for a single objective. At the same time, clicks and conversions are jointly trained, which is more in line with the conversion funnel of users in actual business scenarios, and is conducive to the model's characterization of the scenario and business expression.
[0053] Among them, the automobile website in step one is one or several mainstream websites with active users and high popularity.
[0054] This design enables staff to obtain more comprehensive and detailed data, so that the target samples produced subsequently will be more representative.
[0055] Among them, the sample table in step 2 is marked with time, and the sample table covers the sample data of 12 months in the previous year.
[0056] This design allows staff to obtain sample data of various characteristics in different months, and also clearly identify the status of various data in some months when car sales are hot.
[0057] Among them, the multi-objective model of step three includes car price model, population age model, car brand and model model, car sales model and car topic popularity model.
[0058] This allows the staff to have a more intuitive understanding of data on various aspects of the car, thereby facilitating the subsequent improvement of the conversion effect of the model data.
[0059] Among them, the seed feature selection in step 4 is random, and the types of seed features are different.
[0060] It is precisely because the types of seed features are different and random that workers can smoothly perform transformation and embedded expressions.
[0061] Among them, the samples in step five are diverse, and the time and date of generation of the samples are different.
[0062] Staff can obtain samples generated in the same time period, or collect and embed samples generated at different times, which will be more conducive to subsequent comparison and conversion.
[0063] Among them, the sample data set table in step 2 does not involve user privacy, and the contents displayed in the sample data set table are different.
[0064] In this way, it will not be illegal in the early stage of collecting users' personal data, and the sample data can show data from all aspects of the car.
[0065] Among them, the multi-target samples in step one are correlated with each other, and the multi-target samples are presented in the form of data tables, line graphs, pie charts, bar graphs and diagrams.
[0066] This will allow staff to have a clear understanding and more intuitive display.
[0067] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0068] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A multi-objective ranking method based on a contrastive learning framework, characterized in that: The following steps are involved: Step 1: Sample generation Obtain user exposure, click, and conversion information from the car selection landing page log table of the automobile website, and associate user exposure, click, and conversion information based on the user ID and the log unique identifier to form a multi-target sample of clicks and conversions; Step 2: Dataset Generation According to the information such as user ID, vehicle model ID, brand ID and landing page template ID in the sample table, the encrypted attribute information of the user, the attribute information of the vehicle model, the encrypted behavior sequence information of the user and the attribute information of the template to be selected are obtained from the user portrait / vehicle model attribute / browse click search / landing page attribute table, etc., to form a sample data set table with various characteristics; Step 3: Multi-objective model construction Construct a multi-objective model of clicks and conversions, and consider the underlying expert network and the upper fusion network to form a multi-objective model; Step 4: Data Enhancement Select seed features in each batch, use the seed features to divide the different features of the unified sample into two groups of features that are similar to and dissimilar to the seed features through similarity calculation, and use dropout and NN networks to transform and embed the two groups of different features; Step 5: Comparative Learning Loss Embedding InfoNce loss is introduced to calculate different embedding expressions of the same sample and the embedding expressions of different samples, so that different embedding expressions of the same sample are closer and the embedding expressions of different samples are farther away.
2. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The automobile website described in step 1 is one or several mainstream websites with active users and high popularity.
3. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The sample table described in step 2 is marked with time, and the sample table covers sample data of 12 months in the previous year.
4. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The multi-objective model described in step three includes a car price model, a population age model, a car brand and model model, a car sales model, and a car topic popularity model.
5. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The seed feature selection described in step 4 is random, and the types of the seed features are different.
6. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The samples described in step five are diverse, and the samples are generated at different times and dates.
7. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The sample data set table described in step 2 does not involve user privacy, and the sample data set table displays different contents.
8. The multi-objective ranking method based on contrastive learning framework according to claim 1, characterized in that: The multi-target samples described in step one are correlated with each other, and the multi-target samples are presented in the form of data tables, line graphs, pie charts, bar graphs, and diagrams.
Citation Information
Cited By
Floor page insurance product combination dynamic sorting method based on flow casting time period expression
CN122335370A
