Model determination method and related device

By splitting the content push conversion prediction problem of the target channel into the conversion prediction problem of multiple virtual products and multiple channels, a prediction sub-model is constructed, which solves the problem of sparse positive samples and long time, and improves the generalization ability and Online speed.

CN118690868APending Publication Date: 2024-09-24SHENZHEN WANGYU COMPUTER NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310352577.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, the conversion rate prediction model for virtual product content push requires a large number of positive samples to train. However, the number of users gradually decreases in the data funnel, resulting in sparse positive samples and long acquisition time, making it difficult to meet the conversion rate prediction needs.

Method used

The problem of content push conversion prediction of the target channel is split into two simple problems: conversion prediction of content push of multiple virtual products on the target channel and conversion prediction of content push of the target virtual product on multiple channels. The first two problems are constructed respectively. The first prediction sub-model and the second prediction sub-model obtain training samples through these two sub-models, and adjust the ratio of positive and negative samples to reduce sample labeling costs.

Benefits of technology

By splitting the problem and building prediction sub-models, a sufficient amount of training samples are obtained, which reduces the problem of sparse positive samples, improves the generalization ability and online speed of the model, and reduces training time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The invention discloses a model determination method and a related device, and aims to solve the complex problem of conversion prediction of content push of a target virtual product in a target channel, approximately divide the problem into two simple problems, and based on the two simple problems as a modeling basis, determine the content push of the target virtual product in the target channel. And obtaining a first prediction sub-model and a second prediction sub-model in the initial prediction model. On the basis of the two prediction sub-models, corresponding training samples can be constructed respectively, that is, the training samples construct corresponding sample labels only for one of the two prediction sub-models. Different samples are obtained according to different simple problems through approximate splitting of problems, the problem that positive samples in training samples corresponding to complex problems are sparse is substantially solved, the adjustment difficulty of the positive and negative sample proportion of the two prediction sub-models is reduced, the prediction model is obtained based on the training, and the prediction efficiency is improved. The generalization ability of the model and the on-line speed of the model can be effectively improved under the condition that the precision is not lost too much.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a model determination method and related devices. Background Art

[0002] Pushing content to users has always been an effective means of promoting virtual products. Users may be willing to obtain the services of the virtual product after viewing the pushed content, thus achieving conversion through content push. The content of virtual products can be pushed through different channels, such as through a social software, a news software, etc.

[0003] Since different virtual products may have different interested groups, in order to reduce push costs and improve conversion efficiency, it is necessary to predict whether the current user is suitable for pushing the content of the virtual product before pushing the content.

[0004] In the related art, the conversion rate prediction model is mainly used to screen out users and channels for content push. However, the conversion rate prediction model requires a large number of positive samples to complete training. However, in the historical content push for a channel, the number of users will decrease from stage to stage in the process from content exposure to conversion on the user side, forming a funnel shape, also recorded as a data funnel. In the data funnel, only the content push that completes the conversion at the end can be used as a positive sample for training, resulting in a long wait to collect a sufficient number of positive samples, which is difficult to meet the current conversion rate prediction needs. Summary of the invention

[0005] In order to solve the above-mentioned technical problems, the present application provides a model determination method and related devices, which approximately split the complex problem of conversion prediction of content push of target virtual products in target channels into two simple problems. Based on these two simple problems, sufficient training samples can be obtained, including a large number of positive samples, which substantially solves the problem of sparse positive samples and long waiting time in complex problems. Based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model in the initial prediction model are obtained. Based on these two prediction sub-models, corresponding training samples can be constructed respectively, that is, the training samples only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models. The prediction model obtained based on this training can effectively improve the generalization ability of the model and the speed of model launch without losing too much accuracy.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] On the one hand, an embodiment of the present application provides a model determination method, the method comprising:

[0008] Determine the corresponding initial prediction model according to the prediction task, the prediction task is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel, the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, the first prediction sub-model is used to predict the probability of at least one of the multiple virtual products being converted by pushing the content of multiple virtual products including the target virtual product in the target channel; the second prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in multiple channels including the target channel;

[0009] Acquire training samples including sample account information, the training samples including first-category samples and second-category samples, the first-category samples having first sample labels associated with the first prediction sub-model, and the second-category samples having second sample labels associated with the second prediction sub-model;

[0010] Input the training sample into the initial prediction model, obtain a first predicted conversion rate through the first prediction sub-model, and obtain a second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task;

[0011] When the training sample is a first-class sample, a single-channel loss function is determined according to the difference between the first sample label and the first predicted conversion rate; when the training sample is a second-class sample, a single virtual product loss function is determined according to the difference between the second sample label and the second predicted conversion rate;

[0012] The initial prediction model is trained through a single-channel pre-loss function and a single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

[0013] On the other hand, an embodiment of the present application provides a model determination device, which includes a first determination unit, a first acquisition unit, a second acquisition unit, a second determination unit, and a training unit:

[0014] A first determination unit is used to determine a corresponding initial prediction model according to a prediction task, the prediction task is used to predict the probability of a target virtual product being converted by content push in a target channel, the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, the first prediction sub-model is used to predict the probability of a target virtual product being converted by content push in a target channel including a plurality of virtual products including the target virtual product, and the second prediction sub-model is used to predict the probability of a target virtual product being converted by content push in a plurality of channels including the target channel;

[0015] A first acquisition unit is used to acquire training samples including sample account information, the training samples including first-class samples and second-class samples, the first-class samples have first sample labels associated with the first prediction sub-model, and the second-class samples have second sample labels associated with the second prediction sub-model;

[0016] A second acquisition unit is used to input the training sample into the initial prediction model, obtain a first predicted conversion rate through the first prediction sub-model, and obtain a second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task;

[0017] A second determination unit is used to determine a single channel loss function according to a difference between a first sample label and a first predicted conversion rate when the training sample is a first type of sample, and to determine a single virtual product loss function according to a difference between a second sample label and a second predicted conversion rate when the training sample is a second type of sample;

[0018] The training unit is used to train the initial prediction model through a single-channel pre-loss function and a single virtual product loss function to obtain a prediction model. The prediction model is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

[0019] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:

[0020] The memory is used to store the computer program and transmit the computer program to the processor;

[0021] The processor is configured to execute the method described above according to the computer program.

[0022] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the method described in the above aspects.

[0023] On the other hand, an embodiment of the present application provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method described in the above aspects.

[0024] It can be seen from the above technical solution that the complex problem of conversion prediction of content push of target virtual products in target channels can be approximately divided into two simple problems, namely, the conversion prediction problem of content push of multiple virtual products in target channels and the conversion prediction problem of content push of target virtual products in multiple channels. Based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model in the initial prediction model are obtained. Since the two prediction sub-models are aimed at different problems, that is, the positive samples obtained for one of the prediction sub-models are likely to be negative samples for the other prediction sub-model. If the training samples for the two prediction sub-models are shared, the difficulty of adjusting the positive and negative sample ratios corresponding to the two prediction sub-models will be increased at the same time. Therefore, in order to facilitate the adjustment of the positive and negative sample ratios corresponding to the two prediction sub-models, corresponding training samples can be constructed respectively based on the two prediction sub-models, that is, the training samples only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples, and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models, and there will be no problem that adding a new sample will change the positive and negative sample ratios of the two prediction sub-models at the same time. By approximately splitting the problem and obtaining different samples for different simple problems, the problem of sparse positive samples in the training samples corresponding to complex problems is substantially solved. At the same time, the difficulty of adjusting the positive and negative sample ratios of the two prediction sub-models is reduced. The prediction model obtained based on this training can effectively improve the generalization ability of the model and the speed of model launch without losing too much accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A schematic diagram of a model determination scenario provided in an embodiment of the present application;

[0027] Figure 2 A method flow chart of a model determination method provided in an embodiment of the present application;

[0028] Figure 3A schematic diagram of a model training for the first type of samples provided in an embodiment of the present application;

[0029] Figure 4 A schematic diagram of a model training for the second type of samples provided in an embodiment of the present application;

[0030] Figure 5 A switching schematic diagram for the second type of samples provided in an embodiment of the present application;

[0031] Figure 6 An effect diagram of the degree of convergence of model parameters of a prediction model provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of a model determination device provided in an embodiment of the present application;

[0033] Figure 8 A structural diagram of a terminal device provided in an embodiment of the present application;

[0034] Fig. 9 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0036] In the related art, the conversion rate prediction model is mainly used to screen users and channels suitable for content push for virtual products. Since in the historical content push for a virtual product, the number of users will decrease stage by stage during the process from content exposure to conversion on the user side, i.e., a data funnel is formed. For example, for a game product, in the historical content push on a channel, the number of users will decrease successively during the entire conversion process from exposure, click, download to registration on the user side, forming a data funnel. In the data funnel, only using the data at the bottom of the data funnel for training will not make the model converge effectively. For example, for a game product, the data at the bottom of the data funnel refers to the data related to the process from download to registration on the user side, which obviously cannot make the conversion rate prediction model converge effectively. The data in the middle link of the data funnel does not match the final demand indicator of the conversion rate prediction model. Therefore, in the data funnel, in order to ensure the accuracy of the conversion rate prediction model, only users who have completed the conversion can be used as positive samples for training the conversion rate prediction model.

[0037] In this regard, the following models are mainly proposed in related technologies to predict conversion rate, including multi-gate mixture-of-experts (MMOE), progressive layer extraction model (PLE), and full space multi-task model (ESMM).

[0038] MMOE models each of the multiple tasks separately. The separate model corresponding to each task has a shared expert network. The weights of different experts are controlled through a gating mechanism, thereby achieving selective use of different experts. Since the premise of MMOE is that the tasks are highly correlated, this condition is often not met in the actual content push scenario for a virtual product. For example, for a game product, users' clicks to download are often affected by the material of the pushed content, while registration is the indicator that can truly reflect user interest. In addition, the simple use of MMOE will not be consistent with the final required demand indicators from exposure to conversion. A fusion strategy is also required to obtain the final demand indicators, and MMOE does not take this into consideration.

[0039] PLE is based on MMOE and optimizes the seesaw problem existing in the joint optimization of multiple tasks. That is, it introduces shared experts on the basis of MMOE and learns multiple objectives by stacking multiple layers of expert networks. Although PLE improves the network based on MMOE, the weights of different objectives still need to be screened through a large number of experiments for initial values.

[0040] ESMM is a model used to solve multiple tasks. Through full-space modeling of clicks and click conversions, the conversion rate of non-clicked samples can be more accurately estimated, that is, the conversion rate (CVR) is obtained indirectly through the click-through rate (CTR) and click-through conversion rate (CTCVR). Among them, CTR is used to identify the probability that the user clicks on the pushed content after the content is pushed, CTCVR is used to identify the probability that the user completes the conversion after clicking the pushed content, and CVR is used to indicate the probability that the user completes the conversion after the content is pushed. Since the relationship chain of tasks in ESMM is relatively simple, for example, for a game product, registration can only be determined as a conversion brought about by this content push after clicking and downloading. ESMM usually uses users who have only pushed content as negative samples, users who have pushed content and the pushed content is clicked as positive samples of CTR, and users who clicked on the content push and the content push was converted as positive samples of CTCVR. However, in the actual content push process, each funnel in the data funnel is not strictly included in the previous funnel. For example, for a game product, users who download the game product may not click on ads in a channel, and users who register the game product may not download it through this channel. That is to say, when the trained ESMM model estimates the conversions on a specific channel, other redundant conversions will not be included in the revenue for that specific channel. For example, conversions in other channels will not be included in the revenue for that specific channel. However, these redundant conversions may occupy potential conversion user quotas that could have been in the specific channel. For example, when estimating conversions on an internal channel, users on external channels such as app stores usually have a higher conversion rate, that is, the user conversion quotas on external channels will occupy potential conversion user quotas that could have been in the internal channel. That is, when using the ESMM model, the conversions in the training data are inconsistent with the actual conversions of the delivery, and the deviation caused by the channel affects the prediction accuracy of the final ESMM model.

[0041] In addition, the premise for the ESMM model to be effective is that a large number of training samples are needed, that is, a large number of samples are used to improve the generalization ability of the model, thereby improving the overall effect of the model. If the model is forcibly modeled in the manner of the ESMM task, since the number of users will decrease from exposure to conversion during the content push process of a virtual product on a channel, and only the users who have completed the conversion can be used as positive samples for training, the amount of such conversion data is very scarce, that is, the proportion of completed conversion data in the data obtained for the channel and the virtual product will be low, and there is a problem of data sparsity. The small amount of conversion data obtained (as positive samples) cannot support the effective modeling of ESMM. For example, for game product A, within one month after the launch, in all scenarios of channel A, there are only 40,000 people in the data funnel from exposure to clicks to downloads, and this number cannot meet the conversion rate prediction requirements. In addition, for virtual products, there will be attribution delays in the front-end data of the data funnel. For example, for game product A, when it reaches the stage of attracting new users from the new game stage, although the registration data at the bottom of the data funnel can be obtained in real time, the click and download data at the front end of the data funnel usually requires at least 1 to 2 days of attribution to be obtained. At this time, it is impossible to determine whether the obtained registration data belongs to the data that was clicked and downloaded before registration after exposure, that is, it is impossible to determine whether the obtained registration data belongs to the data of completed conversion, which will further increase the sparsity of positive samples and thus cannot support effective modeling of ESMM.

[0042] To this end, the embodiment of the present application provides a model determination method and related devices, which approximately split the complex problem of conversion prediction of content push of target virtual products in target channels into two simple problems. Based on these two simple problems, sufficient training samples can be obtained, including a large number of positive samples, which substantially solves the problem of sparse positive samples and long waiting time in complex problems. Based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model in the initial prediction model are obtained. Based on these two prediction sub-models, corresponding training samples can be constructed respectively, that is, the training samples only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models. The prediction model obtained based on this training can effectively improve the generalization ability and model online speed of the model without losing too much accuracy.

[0043] The model determination method provided in the embodiment of the present application can be implemented by a computer device, which can be a terminal device or a server, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0044] It is understandable that in the specific implementation of this application, user-related data such as the user's age and gender are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0045] The model determination method provided in the embodiment of the present application involves artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machines have the functions of perception, reasoning and decision-making.

[0046] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, mechatronics and other technologies. Artificial intelligence software technologies mainly include computer vision technology, speech processing technology, natural language processing technology, as well as machine learning / deep learning, autonomous driving, smart transportation and other major directions.

[0047] The model determination method provided in the embodiment of the present application mainly relates to machine learning in artificial intelligence technology. Machine learning (ML) is a multi-field interdisciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in how computers simulate or realize human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all fields of artificial intelligence. Machine learning and deep learning generally include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning. Among them, the model determination method provided in the embodiment of the present application can be used for the determination of the conversion rate prediction model.

[0048] Figure 1 A schematic diagram of a model determination scenario provided for an embodiment of the present application, wherein the aforementioned computer device is a server.

[0049] The prediction model refers to a model that can predict the conversion of the content push of the target virtual product in the target channel. The initial prediction model refers to the initial model that can be used to train the trained samples to obtain the prediction model. In the historical content push of the target virtual product for the target channel, the number of users will decrease from stage to stage in the process from content exposure to conversion on the user side, presenting a data funnel. In the data funnel, only the users who have completed the conversion at the end can be used as positive samples for training, that is, there is a sparse problem with positive samples, which will result in a long wait time before sufficient positive samples can be collected.

[0050] To this end, the complex problem of predicting the conversion of content push of target virtual products in target channels is roughly divided into two simple problems, such as Figure 1 As shown in the figure, they are the conversion prediction problem of pushing content of multiple virtual products in the target channel and the conversion prediction problem of pushing content of target virtual products in multiple channels. Based on these two simple problems as the basis for modeling, we get Figure 1 The first prediction sub-model and the second prediction sub-model are set in parallel in the initial prediction model.

[0051] Since it is relatively easy to obtain positive samples for the first prediction sub-model and the second prediction sub-model, sufficient training samples can be obtained based on these two simple problems, and these training samples are more or less related to solving the complex problem, such as the conversion of user accounts in non-target channels based on the content push of target virtual products, or the conversion of user accounts when the content of non-target virtual products is pushed to the target channel. By approximating the splitting of complex problems, these data that are actually related to the complex problems can be added to the training as training samples, and a large number of positive samples are included, which substantially solves the problem of sparse positive samples and long waiting time in complex problems.

[0052] In order to facilitate the adjustment of the positive and negative sample ratios corresponding to the two prediction sub-models, the server can construct corresponding training samples based on the two prediction sub-models. The training samples can only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models. The problem of adding a new sample changing the positive and negative sample ratios of the two prediction sub-models at the same time will not occur.

[0053] In addition, the server inputs the training samples into the initial prediction model, and the first predicted conversion rate can be obtained through the first prediction sub-model, the second predicted conversion rate can be obtained through the second prediction sub-model, and the third predicted conversion rate corresponding to the complex problem can be obtained based on the first predicted conversion rate and the second predicted conversion rate. The third predicted conversion rate is an approximate value of the predicted conversion rate corresponding to the content push of the target virtual product in the target channel, that is, the prediction model still has a certain prediction accuracy after splitting the prediction task.

[0054] Furthermore, according to the difference between the first sample label corresponding to the training sample and the first predicted conversion rate, the server can determine the single channel loss function, and according to the difference between the second sample label corresponding to the training sample and the second predicted conversion rate, the server can determine the single virtual product loss function. Figure 1 As shown, the server can train the initial prediction model through the single-channel loss function and the single virtual product loss function. The prediction model obtained based on this training can effectively improve the model online speed without losing much accuracy.

[0055] The following is an example of content push of game product A on a social software. On a social software, users can receive push content for game product A, which can be material advertisements consisting of text, pictures, etc. When users receive the push content, they may click on it. After the click occurs, the user will enter the corresponding download link. The download interface is usually composed of a large amount of text and pictures. These texts and pictures mainly introduce the relevant promotional slogans around the click interface to further attract users to download the game product A. After downloading the game product A, some users will register. These users who click, download and register through the social software are the users who have completed the conversion for the above content push.

[0056] Figure 2 A method flow chart of a model determination method provided in an embodiment of the present application, the method can be executed by a computer device. In this embodiment, the computer device is a server as an example for explanation, and the method includes:

[0057] S201. Determine the corresponding initial prediction model according to the prediction task. The prediction task is used to predict the probability of pushing the content of the target virtual product in the target channel so that the target virtual product generates a conversion. The initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel. The first prediction sub-model is used to predict the probability of pushing the content of multiple virtual products including the target virtual product in the target channel so that at least one of the multiple virtual products generates a conversion; the second prediction sub-model is used to predict the probability of pushing the content of the target virtual product in multiple channels including the target channel so that the target virtual product generates a conversion.

[0058] Virtual products refer to products that can provide users with a variety of services on the Internet, such as game products, applications, etc. Channels refer to information carriers that can push content to users. There is no limit to their types, such as social software, news software, short video software, etc.

[0059] Content refers to information used to describe the virtual product to be pushed, and may include, for example, text, pictures, etc. Content push refers to pushing content to users on a channel so that users can obtain content related to the virtual product to be pushed through the channel.

[0060] Conversion refers to the situation where, after content is pushed to a user, the user views the pushed content and obtains the corresponding virtual product service due to the pushed content. For example, content about a game product is pushed to a user. If the user registers for the game product after viewing the pushed content, the user has achieved conversion. This application does not limit the method of obtaining the service, and it may include, for example, downloading, registration, and feature value transfer after registration.

[0061] Conversion occurs when content is pushed to a user and the user obtains the service of the corresponding virtual product due to the pushed content. For example, if content about an application is pushed to a user and the application is downloaded due to the pushed content, then the application generates a conversion.

[0062] The conversion rate refers to the probability that a user will obtain the corresponding virtual product service after content is pushed to the user.

[0063] Since the conversion rates of content push for different virtual products on different channels are usually not the same, in order to reduce push costs and improve conversion efficiency, the server can set corresponding prediction tasks. The prediction tasks are used to predict the probability of conversion of the target virtual product by pushing the content of the target virtual product on the target channel, thereby selecting a channel suitable for content push of the target virtual product from multiple possible channels through the prediction task.

[0064] Based on the above prediction tasks, the server can determine the corresponding initial prediction model, wherein the prediction model refers to a model that can complete the prediction task, that is, a model that can predict the conversion of content push of the target virtual product in the target channel, and the initial prediction model refers to an initial model that can be used to train the trained samples to obtain the prediction model, that is, a prediction model that has not completed model training.

[0065] Because in the process from content exposure to conversion on the user side in the historical content push for a channel, the number of users will decrease stage by stage. If the initial prediction model directly predicts the conversion of content push for the target virtual product in the target channel, only the users who finally complete the conversion can be used as positive samples for training, that is, there is a sparse problem with positive samples, which will result in a long waiting time to collect sufficient positive samples. Therefore, in order to reduce the waiting time for obtaining positive samples, in this embodiment, the server performs a complex prediction task for predicting the conversion of content push for the target virtual product in the target channel. Based on the target channel and target virtual product that are of main concern, the prediction task is split into two independent and simple prediction subtasks, namely, a prediction subtask for predicting the conversion of content push for multiple virtual products in the target channel, and a prediction subtask for predicting the conversion of content push for the target virtual product in multiple channels. The prediction sub-task is used to predict the probability of at least one of the multiple virtual products being converted by pushing the content of multiple virtual products in the target channel, so that the first prediction sub-model can learn the knowledge related to the target channel and the conversion during the training process, and the second prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in multiple channels, so that the second prediction sub-model can learn the knowledge related to the target virtual product and the conversion during the training process, that is, the initial prediction model including the two prediction sub-models can simultaneously learn the knowledge related to the target channel and the target virtual product and the conversion. That is to say, in this embodiment, the two simple prediction sub-tasks obtained by splitting the prediction task are a relatively approximate splitting, which can allow the two prediction sub-models obtained based on the two prediction sub-tasks to simultaneously learn the knowledge related to the target channel and the target virtual product and the conversion, thereby allowing the initial prediction model to indirectly predict the conversion of the content push of the target virtual product in the target channel.

[0066] When the first prediction sub-model is used to predict the conversion rate corresponding to the content push of multiple virtual products in the target channel, the multiple virtual products will include the target virtual product, so that the first prediction sub-model can learn some knowledge related to the conversion of the target virtual product in the target channel in addition to mainly learning the knowledge related to the target channel and conversion. Correspondingly, when the second prediction sub-model is used to predict the conversion rate corresponding to the content push of the target virtual product in multiple channels, the multiple channels will also include the target channel, so that the second prediction sub-model can learn some knowledge related to the conversion of the target virtual product in the target channel in addition to mainly learning the knowledge related to the target channel and conversion, thereby further ensuring the association between the simple prediction sub-tasks and complex prediction tasks corresponding to the first prediction sub-model.

[0067] Since it is relatively easy to obtain positive samples for both the first prediction sub-model and the second prediction sub-model, for the first prediction sub-model, users who have completed conversions for multiple virtual products in the target channel can be used as positive samples for its training. For example, relevant data of users who click or download multiple virtual products on the target channel can be used as positive samples for its training. Alternatively, for the second prediction sub-model, users who have completed conversions for the target virtual products in multiple channels can be used as positive samples for its training. For example, registration data for the target virtual products can be used as positive samples for its training. This allows a large number of training samples that are related to complex prediction tasks but have not been used before to be introduced during the training phase. Furthermore, the introduced training samples can include a large number of positive samples, which substantially solves the sparsity problem of positive samples and effectively reduces the waiting time for obtaining positive samples.

[0068] In order to ensure the sample quality of the training samples, in a possible implementation, the multiple virtual products are virtual products of the same type.

[0069] Because in the actual conversion process of content push, the conversion rates of different types of virtual products on different channels are usually not the same. For example, for a dating game product, the conversion rate of content push on a social software where male users are more active may be lower than the conversion rate of content push on a social software where female users are more active. If multiple virtual products are very different, this will result in a low correlation between the introduced training samples and the positive samples generated for the target virtual products on the target channel. Therefore, in order to introduce relevant conversion data of virtual products of the same type as training samples and ensure the sample quality of the training samples, multiple virtual products can be set as virtual products of the same type.

[0070] By setting multiple virtual products as virtual products of the same type, relevant conversion data of virtual products of the same type can be introduced as training samples to improve the quality of model training and thus ensure the prediction accuracy of the prediction model.

[0071] S202. Acquire training samples including sample account information, where the training samples include first-category samples and second-category samples, where the first-category samples have first sample labels associated with the first prediction sub-model, and the second-category samples have second sample labels associated with the second prediction sub-model.

[0072] Since the conversion tendencies of different users on different channels are usually different, for example, for user A, he may be more active on a certain social software, and his corresponding conversion tendency for various virtual products may be higher, while he may not be active on a certain short video software, and his corresponding conversion tendency for various virtual products may be lower, or, for user A and user B, user A may be more active on a certain social software, and user B may not be active on a certain social software, that is, the probability of different users completing conversion for the same virtual product content push on different channels is usually not the same, so the training samples input into the initial prediction model may include sample account information, and the sample account information refers to the user account information of the training samples corresponding to different channels. The user account information can be used to identify the user-side features of different users on different channels, so that the initial prediction model can be trained according to the training samples, and the prediction model obtained can take into account the preferences of different users on different channels.

[0073] In the process of training the two prediction sub-models in the initial prediction model, if the proportion of negative samples in the samples of the two prediction sub-models is too high, the false detection probability and false recognition rate of the obtained prediction model will be high. That is, the ratio of positive and negative samples for the two prediction sub-models cannot be set arbitrarily. Therefore, in order to reduce the false detection probability and false recognition rate of the model, it is necessary to adjust the ratio of positive and negative samples corresponding to the two prediction sub-models.

[0074] However, since the modeling standards of the first prediction sub-model and the second prediction sub-model are different, the positive samples obtained for one of the prediction sub-models are likely to be negative samples for the other prediction sub-model. For example, when the prediction task is used to predict the probability of content push of game product A on a social software, resulting in conversion of the game product A, the training sample A is the content push of multiple virtual products on the social software, resulting in conversion of game product B. Then the training sample A is a positive sample for the first prediction sub-model and a negative sample for the second prediction sub-model. At this time, if the training samples for these two prediction sub-models are shared, there will be a problem that the newly added sample may change the positive and negative sample ratios corresponding to the two prediction sub-models at the same time. That is, sharing the training samples for these two prediction sub-models will significantly increase the difficulty of adjusting the positive and negative sample ratios corresponding to the two prediction sub-models.

[0075] To this end, in this embodiment, in order to facilitate the adjustment of the ratio of positive and negative samples corresponding to the two prediction sub-models, the server can construct corresponding training samples based on the two prediction sub-models, and the training samples include the first category of samples corresponding to the first prediction sub-model and the second category of samples corresponding to the second prediction sub-model, that is, the training samples can only construct corresponding sample labels for one of the two prediction sub-models, and the sample label can identify the true value of the corresponding training sample relative to one of the two prediction sub-models. The sample label can be a Boolean type, 0 represents a negative sample, and 1 represents a positive sample. The first sample label can identify the true value of the corresponding training sample relative to the first prediction sub-model, and the second sample label can identify the true value of the corresponding training sample relative to the second prediction sub-model. That is to say, for the first prediction sub-model, the training samples include the first category of samples, which only have the first sample label but do not have the second sample label. For example, a channel active data set can be constructed as the first category of samples. In the channel active data set, users who click and download content pushed for multiple virtual products on the target channel can be used as positive samples, and the corresponding first sample label value can be 1, and users who have received content push for multiple virtual products on the target channel but have not clicked to download can be used as negative samples, and the corresponding first sample label value can be 0. The samples in the channel active data set do not have the second sample label; for the second prediction model, the training samples include the second category of samples, and the second category of samples only have the second sample label but do not have the first sample label. For example, an exposure registration data set can be constructed as the second category of samples. In the exposure registration data set, registration data for the target virtual product can be used as positive samples, and the corresponding second sample label value can be 1, and users who have received content push for the target virtual product on multiple channels but have not registered can be used as negative samples, and the corresponding second sample label value can be 0. The samples in the exposure registration data set do not have the first sample label.

[0076] By setting corresponding first-category samples and second-category samples for the first prediction sub-model and the second prediction sub-model respectively, when the server adjusts the positive-negative sample ratio in the first-category samples in the training samples, since the first-category samples do not have the second-sample label, the adjustment behavior will not affect the positive-negative sample ratio of the second-category samples in the training samples. For example, when the channel active data set is used as the first-category sample, the positive sample ratio in the channel active data set can be increased by increasing the number of users who clicked and downloaded the content push of multiple virtual products on the target channel. Since the users who clicked and downloaded the content push of multiple virtual products on the target channel do not have the second-sample label after being used as the first-category sample in the training samples, they will not affect the positive-negative sample ratio in the second-category samples in the training samples; similarly, when the server adjusts the positive-negative sample ratio in the second-category samples in the training samples, since the second-category samples do not have the first-sample label, the adjustment behavior will not affect the positive-negative sample ratio in the first-category samples in the training samples. In other words, by constructing corresponding training samples for the two prediction sub-models respectively, the difficulty of adjusting the positive-negative sample ratio of the two prediction sub-models can be reduced, which is conducive to the rapid acquisition of training samples.

[0077] In addition, compared with configuring sample labels for both prediction sub-models, configuring sample labels for only one of the two prediction sub-models can reduce the sample annotation cost in the sample construction phase, which is conducive to the rapid acquisition of training samples.

[0078] In a possible implementation, the training sample includes user account information and corresponding conversion information, and the conversion information is used to identify whether at least one of the multiple virtual products generates a conversion through content push through multiple channels.

[0079] In order to be able to effectively train the initial prediction model based on the training samples, the training samples may include corresponding conversion information in addition to user account information. The conversion information is used to identify whether at least one of the multiple virtual products generated a conversion through content push through multiple channels, so that the sample label corresponding to the training sample can be confirmed based on the conversion information. For example, the conversion information of training sample A is that the content is pushed through a non-target channel, and the target virtual product generates a conversion. When the training sample is a second-category sample, the value of the corresponding second sample label is 1.

[0080] In the actual application of the initial prediction model, each training sample can be data corresponding to the sample account information (x, t, y b), where x is used to represent the characteristics of the user corresponding to the sample account information, such as age, gender, and other information, which can be a multidimensional vector; t can be used to identify whether the training sample belongs to the first category or the second category, and t can be a string, such as "task1" can be used to indicate that the training sample belongs to the first category, and y b is the first sample label or the second sample label. When t identifies the training sample as the first type of sample, y b is the corresponding first sample label.

[0081] By allowing the training samples to carry corresponding transformation information, the sample labels of the training samples corresponding to different prediction sub-models can be determined based on the transformation information. In addition, the training samples carry richer information, which helps the model learn accurate knowledge when training based on the training samples.

[0082] S203, input the training sample into the initial prediction model, obtain the first predicted conversion rate through the first prediction sub-model, and obtain the second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate of the corresponding prediction task.

[0083] The server can input training samples into the initial prediction model. In the actual training process, the input of training samples is usually input in batches. Usually, a batch of training samples is input into the initial prediction model at a time. For example, the number of training samples passed to the initial prediction model for training at a single time can be 256, that is, 256 training samples can be input into the initial prediction model in a batch.

[0084] Since the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, after the server inputs the training sample into the initial prediction sub-model, the first prediction conversion rate can be obtained through the first prediction sub-model, and the second prediction conversion rate can be obtained through the second prediction sub-model. Since the first prediction sub-model is used to complete the prediction sub-task of pushing the content of multiple virtual products in the target channel, and the second prediction sub-model is used to complete the prediction sub-task of pushing the content of the target virtual products in multiple channels, the first prediction conversion rate is the predicted conversion rate corresponding to the content push of multiple virtual products in the target channel, and the second prediction conversion rate is the predicted conversion rate corresponding to the content push of the target virtual product in multiple channels.

[0085] In practical applications, when the two prediction sub-models are two neural network models, the number of layers and the dimension of each layer in the two prediction sub-models can be freely defined according to the needs. Since the two prediction sub-models are aimed at different prediction sub-tasks, the number of layers and the dimension of each layer of the two prediction sub-models can be different. The last layer of the two prediction sub-models can be a one-dimensional output. The last layer of the first prediction sub-model is used to output the first prediction conversion rate. The first prediction conversion rate The last layer of the second prediction sub-model is used to output the second predicted conversion rate. In addition to this basic neural network model, the two prediction sub-models can also be other complex model structures such as a transformer structure. The model structure of the prediction sub-model is not limited in this application.

[0086] The server converts the first predicted conversion rate and the second predicted conversion rate corresponding to the two simple prediction subtasks, and can obtain the third predicted conversion rate corresponding to the complex prediction task. Although the third predicted conversion rate is not directly generated according to the training sample, but is obtained by the first predicted conversion rate and the second predicted conversion rate, since the two simple conversion prediction subtasks are obtained by approximating the splitting of the complex prediction task, the approximate value of the predicted conversion rate corresponding to the complex prediction task can be obtained based on the first predicted conversion rate and the second predicted conversion rate corresponding to the two simple conversion prediction subtasks, and the approximate value can be output as the third predicted conversion rate, that is, the third predicted conversion rate in this embodiment is an approximate value for predicting the conversion of the content push of the target virtual product in the target channel. That is to say, in this embodiment, the server does not directly obtain the predicted conversion rate corresponding to the complex prediction task according to the initial prediction model, but processes the predicted conversion rates corresponding to the two simple conversion prediction subtasks obtained by the first prediction submodel and the second prediction submodel on the basis of first approximating the splitting of the complex prediction task into two simple conversion prediction subtasks, obtains the approximate value of the predicted conversion rate corresponding to the complex prediction task, and outputs the approximate value as the third predicted conversion rate corresponding to the prediction task.

[0087] It should be noted that although the training samples include first-category samples and second-category samples, since both the first-category samples and the second-category samples need to determine the corresponding third predicted conversion rate, if only the first prediction sub-model outputs the corresponding first predicted conversion rate for the first-category samples, only the first predicted conversion rate will not be able to determine the third predicted conversion rate corresponding to the first-category samples. Similarly, if only the second prediction sub-model outputs the corresponding second predicted conversion rate for the second-category samples, only the second predicted conversion rate will not be able to determine the third predicted conversion rate corresponding to the second-category samples. Therefore, after the first-category samples and the second-category samples are input into the initial prediction model, the corresponding first predicted conversion rate and the second predicted conversion rate will be respectively determined by the two prediction sub-models, thereby indirectly determining the corresponding third predicted conversion rate.

[0088] S204. When the training sample is a first-category sample, a single-channel loss function is determined based on the difference between the first sample label and the first predicted conversion rate. When the training sample is a second-category sample, a single virtual product loss function is determined based on the difference between the second sample label and the second predicted conversion rate.

[0089] After the training samples are input into the initial prediction model in S203, the server obtains the first predicted conversion rate through the first prediction sub-model, and obtains the second predicted conversion rate through the second prediction sub-model. In order to realize the supervised learning training of the initial prediction model, for the first type of samples in the training samples, since they are configured with the first sample label corresponding to the first prediction sub-model, the first sample label can identify the true value of the corresponding training sample relative to the first prediction sub-model, and the server can obtain a single-channel loss function that can reflect the training optimization direction of the first prediction sub-model in the initial prediction model according to the difference between the first sample label and the first predicted conversion rate; similarly, for the second type of samples in the training samples, since they are configured with the second sample label corresponding to the second prediction sub-model, the second sample label can identify the true value of the corresponding training sample relative to the second prediction sub-model, and the server can obtain a single-channel loss function that can reflect the training optimization direction of the second prediction sub-model in the initial prediction model according to the difference between the second sample label and the second predicted conversion rate. For example, for the first prediction sub-model and the second prediction sub-model in the initial prediction model, the corresponding loss function can be obtained according to the following formula:

[0090]

[0091] Among them, L bIt is the loss function for the first prediction sub-model or the second prediction sub-model in the initial prediction model; i is used to identify the object of the generated loss function, and its value is 1 or 2. When i is 1, it means that the object of the generated loss function is the first prediction sub-model, and when i is 2, it means that the object of the generated loss function is the second prediction sub-model; Refers to the predicted conversion rate. When i is 1, refers to the first predicted conversion rate, y 1 refers to the first sample label. When i is 2, refers to the second predicted conversion rate, y 2 refers to the second sample label, BCE(α, β) refers to the binary cross entropy loss function for α and β. When i is 1, Refers to the single channel loss function. When i is 2, It refers to the single virtual product loss function. The single channel loss function for the first prediction sub-model or the single virtual product loss function for the second prediction sub-model can be obtained through the above formula.

[0092] It should be noted that, since the first category of samples only has the first sample label but not the second sample label, only a single channel loss function is generated based on the first category of samples, and no single virtual product loss function is generated. Similarly, since the second category of samples only has the second sample label but not the first sample label, only a single virtual product loss function is generated based on the second category of samples, and no single channel loss function is generated.

[0093] S205. Train the initial prediction model through a single-channel pre-loss function and a single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

[0094] After obtaining the single-channel loss function and the single virtual product loss function in S204, since the single-channel loss function can reflect the training optimization direction of the first prediction sub-model in the initial prediction model, the server can train the initial prediction model according to the single-channel loss function. Correspondingly, since the single virtual product loss function can reflect the training optimization direction of the second prediction sub-model in the initial prediction model, the server can train the initial prediction model according to the single virtual product loss function, thereby obtaining an applicable prediction model.

[0095] Since the single-channel loss function is determined based on the first predicted conversion rate and the first sample label, it reflects the training optimization direction of the first prediction sub-model in the initial prediction model. Therefore, when the initial prediction model is trained according to the single-channel loss function, specifically, the first prediction sub-model in the initial prediction model is trained and optimized; correspondingly, since the single virtual product loss function reflects the training optimization direction of the second prediction sub-model in the initial prediction model, when the initial prediction model is trained according to the single virtual product loss function, specifically, the second prediction sub-model in the initial prediction model is trained and optimized. In other words, the first prediction sub-model and the second prediction sub-model in the initial prediction model can be trained and optimized through the single-channel loss function and the single virtual product loss function to obtain a prediction model.

[0096] It should be noted that, since only the first type of samples in the training samples can generate a single channel loss function, and the second type of samples cannot generate a single channel loss function, only the first type of samples in the training samples can train and optimize the first prediction sub-model, and the second type of samples cannot train and optimize the first prediction sub-model; similarly, since only the second type of samples in the training samples can generate a single virtual product loss function, and the first type of samples cannot generate a single virtual product loss function, only the second type of samples in the training samples can train and optimize the second prediction sub-model, and the first type of samples cannot train and optimize the second prediction sub-model. Since the training samples include both the first type of samples and the second type of samples, according to the training samples, both the single channel loss function and the single virtual product loss function can be obtained, so that the first prediction sub-model and the second prediction sub-model in the initial prediction model can be trained and optimized at the same time through the training samples.

[0097] Since the prediction model includes the first prediction sub-model and the second prediction sub-model that have been trained and optimized, wherein the first prediction sub-model is used to predict the probability of pushing content of multiple virtual products in the target channel so that at least one of the multiple virtual products generates a conversion, and the second prediction sub-model is used to predict the probability of pushing content of the target virtual product in multiple channels so that the target virtual product generates a conversion, the prediction model can obtain an approximate value of the probability of pushing content of the target virtual product in the target channel so that the target virtual product generates a conversion based on the predicted conversion rates corresponding to the first prediction sub-model and the second prediction sub-model respectively, and output the approximate value as the predicted conversion rate corresponding to the prediction task, thereby completing the prediction of the conversion rate for different account information.

[0098] It should be noted that in the actual application of the prediction model, the virtual products and channels that need to be faced may be diverse. Although the prediction model trained by this embodiment can only be used to predict the conversion rate corresponding to the content push of the target virtual product in the target channel, the prediction model obtained by this embodiment includes two prediction sub-models arranged in parallel, wherein the first prediction sub-model mainly predicts the conversion of the content push on the target channel, and the second prediction sub-model mainly predicts the conversion of the content push for the target product. Therefore, if it is necessary to use the prediction model trained by this embodiment to predict the conversion rate corresponding to the content push of the target virtual product through other channels, it is only necessary to simply replace the first prediction sub-model in the prediction model. Specifically, the prediction sub-model matching the channel to be predicted is replaced with the original first prediction sub-model, and the prediction sub-model trained by this embodiment can be replaced. The prediction model trained is replaced with a model that can predict the conversion rate corresponding to the content push of the target virtual product on other channels. Correspondingly, if it is necessary to use the prediction model trained in this embodiment to predict the conversion rate corresponding to the content push of other virtual products on the target channel, it is also possible to simply replace the second prediction sub-model in the prediction model. For example, prediction model A is used to predict the conversion rate corresponding to the content push of virtual product A on channel 1. When prediction model A is needed to predict the conversion rate corresponding to the content push of virtual product A on channel 2, the prediction sub-model corresponding to channel 1 can be directly replaced with the prediction sub-model corresponding to channel 2. Or, when prediction model A is needed to predict the conversion rate corresponding to the content push of virtual product B on channel 1, the prediction sub-model corresponding to virtual product A can be directly replaced with the prediction sub-model corresponding to virtual product B. In other words, the prediction model obtained in this embodiment can predict the conversion rate for multiple channels and multiple virtual products after a simple replacement operation, and has good generalization ability.

[0099] In addition, in this embodiment, the prediction model only includes two prediction sub-models. This is because the prediction task in this embodiment is used to predict the probability prediction of the conversion of the target virtual product by pushing the content of the target virtual product in the target channel, in which the main focus is on the relationship between the target channel and the target virtual product and the conversion rate. Therefore, for this prediction task, it is split into two simple prediction sub-tasks, and based on the two prediction sub-tasks obtained by splitting, two prediction sub-models are constructed to form a prediction model. In the actual application of the prediction model, the prediction task to be processed may become more complicated. At this time, for more complex prediction tasks, they can be split based on the splitting logic in this embodiment to obtain corresponding multiple independent simple prediction sub-tasks, and based on these multiple independent simple prediction sub-tasks as the modeling basis, corresponding multiple prediction sub-models are obtained. For example, when the prediction task actually encountered not only focuses on the relationship between the target channel and the target virtual product and the conversion rate, but also focuses on the relationship between the material in the recommended content and the conversion rate, the prediction model can include another prediction sub-model for learning the knowledge related to the material and conversion of the recommended content on the basis of the two prediction sub-models in this embodiment, so as to obtain a prediction model including three prediction sub-models to handle the complex prediction task. That is to say, when the prediction model obtained in this embodiment faces more complex prediction tasks, a new prediction sub-model can be added to the prediction model to enable the prediction model to handle more complex prediction tasks.

[0100] It can be seen that the complex problem of conversion prediction of content push of target virtual products in target channels can be approximately divided into two simple problems, namely, the conversion prediction problem of content push of multiple virtual products in target channels and the conversion prediction problem of content push of target virtual products in multiple channels. Based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model in the initial prediction model are obtained. Since the two prediction sub-models are aimed at different problems, that is, the positive samples obtained for one of the prediction sub-models are likely to be negative samples for the other prediction sub-model. If the training samples for the two prediction sub-models are shared, the difficulty of adjusting the positive and negative sample ratios corresponding to the two prediction sub-models will be increased at the same time. Therefore, in order to facilitate the adjustment of the positive and negative sample ratios corresponding to the two prediction sub-models, corresponding training samples can be constructed respectively based on the two prediction sub-models, that is, the training samples only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models. The problem of adding a new sample changing the positive and negative sample ratios of the two prediction sub-models will not occur at the same time. By approximately splitting the problem and obtaining different samples for different simple problems, the problem of sparse positive samples in the training samples corresponding to complex problems is substantially solved. At the same time, corresponding training samples are constructed for the two prediction sub-models respectively, thereby reducing the difficulty of adjusting the positive and negative sample ratios of the two prediction sub-models. The prediction model obtained based on this training can effectively improve the generalization ability of the model and the speed of model launch without losing too much accuracy.

[0101] In this regard, in order to further improve the prediction accuracy of the prediction model, in a possible implementation, the initial prediction model also includes a third prediction sub-model, the training sample has a third sample label related to the third prediction sub-model, and the third prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel. The model determination method also includes:

[0102] S11. Generate a third predicted conversion rate by using a third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate;

[0103] S12, determining a single-channel single-virtual product loss function according to a difference between the third sample label and the third predicted conversion rate;

[0104] In S205, the initial prediction model is trained by using a single channel pre-loss function and a single virtual product loss function to obtain a prediction model, including:

[0105] S13. Train the initial prediction model through the single-channel pre-loss function, the single virtual product loss function and the single-channel single virtual product loss function to obtain a prediction model.

[0106] After the training sample is input into the initial prediction model, the first predicted conversion rate and the second predicted conversion rate can be obtained according to the first prediction sub-model and the second prediction sub-model, wherein the first predicted conversion rate is the predicted conversion rate for content push of multiple virtual products in the target channel, and the second predicted conversion rate is the predicted conversion rate for content push of the target virtual product in multiple channels. Based on the first predicted conversion rate and the second predicted conversion rate, a third predicted conversion rate can be obtained, and the third predicted conversion rate is an approximate value of the predicted conversion rate corresponding to the prediction task. Therefore, in order to be able to stably generate the third predicted conversion rate, in this embodiment, the third predicted conversion rate is generated by adding another prediction sub-model to the initial prediction model. Specifically, the initial prediction model also includes a third prediction sub-model, and the third prediction sub-model is used to predict the probability of conversion of the target virtual product by pushing the content of the target virtual product in the target channel, so that the server can generate the third predicted conversion rate through the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate.

[0107] In practical applications, the first prediction sub-model and the second prediction sub-model can be two neural network models respectively, and the third prediction sub-model can also be a neural network model. Since the task of the third prediction sub-model is relatively simple, the third prediction sub-model can be a neural network model with only one layer.

[0108] In order to realize supervised learning training of the third prediction sub-model in the initial prediction model, so as to obtain a third predicted conversion rate that is more similar to the predicted conversion rate corresponding to the prediction task through the third prediction sub-model, the training sample is configured with a third sample label corresponding to the third prediction sub-model, and the third sample label is used to identify the true value of the corresponding training sample relative to the third prediction sub-model. The third sample label can also be a Boolean type, 0 represents a negative sample, 1 represents a positive sample, and the value of the third sample label is closely related to the value of the first sample label and the value of the second sample label. Only when the value of the first sample label is 1 or the value of the second sample label is 1, the value of the third sample label may be 1, and when the value of the first sample label is 0 or the value of the second sample label is 0, the value of the third sample label is The value can be 0. For example, for the first sample with only the first sample label, when the value of the first sample label of the first category sample is 1, it indicates that the content push of the first category sample in the target channel has been converted. At this time, if the content push of the first category sample for the target virtual product has also been converted, it indicates that the content push of the first category sample for the target virtual product in the target channel has been converted. Then the true value corresponding to the third prediction sub-model is 1, and the corresponding value of the third sample label can be 1. Alternatively, when the value of the first sample label of the first category sample is 0, it indicates that the content push of the first category sample in the target channel has not been converted. Then the content push of the first category sample for the target virtual product in the target channel has not been converted, and the corresponding value of the third sample label can be 0.

[0109] In the actual application of the initial prediction model, each training sample can be data corresponding to the sample account information (x, t, y b ,y t ), where x is used to represent the characteristics of the user corresponding to the sample account information, such as age, gender, and other information, which can be a multidimensional vector; t can be used to identify whether the training sample belongs to the first category or the second category, and t can be a string, such as "task1" can be used to indicate that the training sample belongs to the first category, and y b is the first sample label or the second sample label. When t identifies the training sample as the first type of sample, y b is the corresponding first sample label, y t is the third sample label.

[0110] According to the difference between the third sample label and the third predicted conversion rate, the server can obtain a single-channel single-virtual product loss function that can reflect the training optimization direction of the third prediction sub-model in the initial prediction model. For example, the loss function for the third prediction sub-model can be obtained by the following formula:

[0111]

[0112] Among them, L t It is the loss function for the third prediction sub-model in the initial prediction model. BCE(α, β) refers to the binary cross entropy loss function for α and β. refers to the third predicted conversion rate, y 3 refers to the third sample label, It refers to the loss function of a single channel and a single virtual product.

[0113] After obtaining the single-channel single virtual product loss function, the server can train the initial prediction model through the single channel loss function, the single virtual product loss function and the single channel single virtual product loss function on the basis of training the initial prediction model through the single channel loss function and the single virtual product loss function. Since the single channel single virtual product loss function can train and optimize the third prediction sub-model in the initial prediction model, the third prediction sub-model in the obtained prediction model can obtain a third prediction conversion rate that is more similar to the prediction conversion rate corresponding to the prediction task after training and optimization, thereby further improving the prediction accuracy of the prediction model.

[0114] In order to generate the third predicted conversion rate more stably, the initial prediction model includes not only the first prediction sub-model and the second prediction sub-model arranged in parallel, but also the third prediction sub-model. The training sample has a third sample label related to the third prediction sub-model. The third prediction sub-model is used to predict the probability of content push of the target virtual product in the target channel, so that the target virtual product will be converted. So that the server can generate the third predicted conversion rate through the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate. At this time, a single-channel single virtual product loss function can be generated through the third sample label and the third predicted conversion rate, and the single-channel single virtual product loss function, the single-channel loss function and the single virtual product loss function are used to train the initial prediction model together, so that the third prediction sub-model in the obtained prediction model can obtain a third predicted conversion rate that is closer to the predicted conversion rate corresponding to the prediction task after training optimization, thereby further improving the prediction accuracy of the prediction model.

[0115] In order to better train the third prediction sub-model, in a possible implementation, generating a third predicted conversion rate through the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate in S11 specifically includes:

[0116] In response to the training sample being a first type of sample, generating a third predicted conversion rate by a third prediction sub-model according to the first sample label and the second predicted conversion rate;

[0117] In response to the training sample being a second type of sample, a third predicted conversion rate is generated by a third prediction sub-model according to the second sample label and the first predicted conversion rate.

[0118] During the training process of the initial prediction model, since the model parameters of the first prediction sub-model and the second prediction sub-model are still being trained and optimized, the first predicted conversion rate and the second predicted conversion rate output by the first prediction sub-model and the second prediction sub-model may not be accurate, especially in the early stage of model training. At this time, the first prediction sub-model and the second prediction sub-model have just begun to be trained and optimized, and the output first predicted conversion rate and the second predicted conversion rate may be very inaccurate. If the server generates a third predicted conversion rate through the third prediction sub-model based on the inaccurate first predicted conversion rate and the second predicted conversion rate, it will be detrimental to the training optimization of the third prediction sub-model, and may cause the third prediction sub-model to become more and more biased during the training process.

[0119] In order to better train the third prediction sub-model, since the sample label can identify the true value of the corresponding training sample relative to the prediction sub-model, that is, the sample label does not have the problem of inaccuracy, the server can combine the sample label to generate the third prediction conversion rate. Specifically, for the first type of sample, such as Figure 3 As shown, since the first type of samples only have the first sample label, the server can generate the third predicted conversion rate through the third prediction sub-model according to the first sample label and the second predicted conversion rate. Since the first sample label is accurate, the third prediction sub-model can obtain the third predicted conversion rate according to a relatively accurate input, which is beneficial to the optimization of the third prediction sub-model. For the second type of samples, Figure 4 As shown, since the second category of samples only has the second sample label, the server can generate the third predicted conversion rate through the third prediction sub-model based on the second sample label and the first predicted conversion rate. Since the second sample label is also accurate, the third prediction sub-model can also obtain the third predicted conversion rate based on relatively accurate input, which is beneficial to the optimization of the third prediction sub-model.

[0120] The server can generate a third predicted conversion rate in combination with the sample labels. Since the sample labels are accurate, the input quality of the third prediction sub-model can be improved, which is beneficial to the training optimization of the third prediction sub-model.

[0121] In order to improve the stability of the third prediction sub-model in the prediction model, in a possible implementation manner, the model determination method further includes:

[0122] During the training of the initial prediction model, determining the training state information of the initial prediction model;

[0123] When the training state information reaches the switching condition, S11 generates a third predicted conversion rate through a third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate, specifically including:

[0124] A third predicted conversion rate is generated by a third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate.

[0125] Since the numerical value of the sample label is relatively simple, for example, the numerical value of the sample label corresponding to the positive sample is usually 1, and the numerical value of the sample label corresponding to the negative sample is usually 0, if the third prediction sub-model is always combined with the sample label for training optimization, this will make the input of the third prediction sub-model in the training process too simple, which is not conducive to the stability of the prediction model. In addition, during the training process of the initial prediction model, the first prediction sub-model and the second prediction sub-model will usually gradually stabilize. After the first prediction sub-model and the second prediction sub-model are stable, the first prediction conversion rate and the second prediction conversion rate output by the two models may be more accurate. At this time, if the server generates the third prediction conversion rate through the third prediction sub-model based on the first prediction conversion rate and the second prediction conversion rate, since the first prediction conversion rate and the second prediction conversion rate are more accurate at this time, it will not be detrimental to the training optimization of the third prediction sub-model, but can diversify the input of the third prediction sub-model, thereby improving the stability of the third prediction sub-model in the prediction model obtained by training. Specifically, during the training process of the initial prediction model, the server may first determine the training status information of the initial prediction model. The training status information is used to reflect the training status of the initial prediction model, which mainly includes the stability of the first prediction sub-model and the second prediction sub-model in the initial prediction model, such as Figure 5 As shown, when the training status information reaches the switching condition, the switching condition means that the training status information reflects that the corresponding initial prediction model training state is relatively stable, and the training status information reaches the switching condition means that the training state of the initial prediction model is already relatively stable, that is, the first prediction conversion rate and the second prediction conversion rate output by the first prediction sub-model and the second prediction sub-model in the initial prediction model are already relatively accurate, and the server can directly generate the third prediction conversion rate through the third prediction sub-model based on the first prediction conversion rate and the second prediction conversion rate.

[0126] It should be noted that in the actual training process of the initial prediction model, when the number of training samples of the initial prediction model is small, the training process will be shorter, and it is possible that the training status information cannot meet the switching conditions during the entire training process. At this time, the server can combine the sample labels to generate a third predicted conversion rate during the entire training process. For example, when the number of training samples is less than 10,000, the server needs to combine the sample labels to generate the third predicted conversion rate during the entire training process.

[0127] When the training status information of the initial prediction model reaches the switching condition, the training status of the initial prediction model has been relatively stable, that is, the first prediction conversion rate and the second prediction conversion rate determined in the initial prediction model have been relatively accurate. The server can directly obtain the third prediction conversion rate based on the relatively accurate first prediction conversion rate and the second prediction conversion rate, thereby diversifying the input of the third prediction sub-model, and further improving the stability of the third prediction sub-model in the prediction model.

[0128] In a possible implementation manner, the training status information includes at least one of the number of training rounds and the degree of convergence of model parameters.

[0129] The training status information is used to reflect the training status of the initial prediction model, which mainly includes the stability of the first prediction sub-model and the second prediction sub-model in the initial prediction model.

[0130] The number of training rounds refers to the number of times the initial prediction model is completely learned based on a batch of training samples. During the model training process, as the number of training rounds increases, the initial prediction model usually becomes more and more stable. For example, in the actual training and optimization process of the initial prediction model, the initial prediction model is usually relatively stable after the number of training rounds reaches 2. Therefore, the training status information can include the number of training rounds to reflect the training status of the initial prediction model.

[0131] The degree of model parameter convergence refers to the convergence of the model parameters of the initial prediction model. When the degree of model parameter convergence of the initial prediction model is high, it means that the model parameters of the initial prediction model have effectively converged and the initial prediction model has been relatively stable. Therefore, the training status information can include the degree of model parameter convergence, and the training status of the initial prediction model is reflected by the degree of model parameter convergence.

[0132] Since the number of training rounds and the degree of convergence of model parameters are both standards that can measure the stability of the initial prediction model, the training status information may include at least one of the number of training rounds and the degree of convergence of model parameters.

[0133] In order to improve the prediction accuracy of the prediction model, in a possible implementation, the third predicted conversion rate is generated according to the interactive conversion rate item and the independent conversion rate item, and both the interactive conversion rate item and the independent conversion rate item are configured with item weights, and the item weights are used to adjust when training the third prediction sub-model;

[0134] Among them, when the training samples are samples of the first category, the interactive conversion rate item includes the first sample label and the second predicted conversion rate, and the independent conversion rate items are the first sample label and the second predicted conversion rate respectively; when the training samples are samples of the second category, the interactive conversion rate item includes the second sample label and the first predicted conversion rate, and the independent conversion rate items are the second sample label and the first predicted conversion rate respectively.

[0135] In order to generate a third predicted conversion rate, for the first type of samples with the first sample label, the server can determine the interactive conversion rate item corresponding to the first sample label and the second predicted conversion rate. The interactive conversion rate item is used to represent the interactive information between the first sample label and the second predicted conversion rate. For example, the product of the first sample label and the second predicted conversion rate can be used as the interactive conversion rate item. In addition, in the actual conversion process of the content push for the target virtual product on the target channel, whether the content push is converted is closely related to factors such as the target channel itself and the user's interest in the target virtual product. Therefore, the first sample label related to the target channel itself and the second predicted conversion rate related to the user's interest in the target virtual product can be used as two independent conversion rate items. The server can use the third prediction sub-model to combine the above-mentioned interactive conversion rate item and the independent conversion rate item into a third predicted conversion rate, so that the third prediction sub-model can simultaneously consider the first sample label, the independent information of the second predicted conversion rate and the interactive information.

[0136] For the second type of samples with the second sample label, the server can determine the interactive conversion rate item corresponding to the first predicted conversion rate and the second sample label. The interactive conversion rate item is used to represent the interactive information between the first predicted conversion rate and the second sample label. At the same time, the server can also take the first predicted conversion rate related to the target channel itself and the second sample label related to the user's interest in the target virtual product as two independent conversion rate items. The server can use the third prediction sub-model to combine the above-mentioned interactive conversion rate item and independent conversion rate item into a third predicted conversion rate, so that the third prediction sub-model can simultaneously consider the first predicted conversion rate, the independent information of the second sample label and the interactive information.

[0137] Since in the actual conversion process of content push for the target virtual product on the target channel, it is possible that the target channel itself has a greater impact on whether the target virtual product generates a conversion, that is, the first predicted conversion rate or the independent conversion rate item corresponding to the first sample label has a greater impact on the third predicted conversion rate. It is also possible that the user's interest in the target virtual product has a greater impact on whether the target product generates a conversion, that is, the second predicted conversion rate or the independent conversion rate item corresponding to the second sample label has a greater impact on the third predicted conversion rate. It is also possible that the overlap between the user population on the target channel and the user population with a high interest in the target virtual product has a greater impact on whether the target virtual product generates a conversion, that is, the interactive conversion rate item has a greater impact on the third predicted conversion rate. Therefore, in this embodiment, the server can abstract the influence as the item weight configured for each item in the third predicted conversion rate, so that the third prediction sub-model can effectively learn the probability relationship between the two independent prediction sub-tasks. For example, the third predicted conversion rate can be determined by the following formula:

[0138]

[0139] in,

[0140]

[0141] in, represents the third predicted conversion rate, represents the interaction conversion rate term, represents the first predicted conversion rate or the independent conversion rate item corresponding to the first sample label, represents the second predicted conversion rate or the independent conversion rate item corresponding to the second sample label, W 1 , W 2 , W 3 They respectively represent the independent conversion rate item corresponding to the first predicted conversion rate or the first sample label, the independent conversion rate item corresponding to the second predicted conversion rate or the second sample label, and the item weights corresponding to the interactive conversion rate item.

[0142] When the server trains and optimizes the third prediction sub-model, it adjusts the pre-configured item weights of each item in the third prediction conversion rate, so that the server can obtain a third prediction conversion rate that is closer to the prediction conversion rate corresponding to the prediction task through the third prediction sub-model, thereby improving the prediction accuracy of the prediction model.

[0143] It should be noted that when the training state information reaches the switching condition, whether it is the first type of sample or the second type of sample, the third predicted conversion rate is generated based on the first predicted conversion rate and the second predicted conversion rate. At this time, the server can determine the interactive conversion rate item corresponding to the first predicted conversion rate and the second predicted conversion rate. The interactive conversion rate item is used to represent the interactive information between the first predicted conversion rate and the second predicted conversion rate. At the same time, the server can also use the first predicted conversion rate related to the target channel itself and the second predicted conversion rate related to the user's interest in the target virtual product as two independent conversion rate items. The server can use the third prediction sub-model to combine the above-mentioned interactive conversion rate item and the independent conversion rate item into a third predicted conversion rate, so that the third prediction sub-model can simultaneously consider the independent information and interactive information of the first predicted conversion rate and the second predicted conversion rate. In order to enable the third prediction sub-model to effectively learn the probabilistic relationship between the two independent prediction sub-tasks, the corresponding item weight will be configured before each item in the third prediction sub-model, so that the third prediction sub-model can effectively learn the probabilistic relationship between the two independent prediction sub-tasks. For example, the third predicted conversion rate can be determined by the following formula:

[0144]

[0145] in, represents the third predicted conversion rate, represents the interaction conversion rate term, represents the independent conversion rate item corresponding to the first predicted conversion rate, represents the independent conversion rate item corresponding to the second predicted conversion rate, W 1 , W 2 , W 3 They respectively represent the independent conversion rate item corresponding to the first predicted conversion rate, the independent conversion rate item corresponding to the second predicted conversion rate, and the item weights corresponding to the interactive conversion rate item.

[0146] The server can learn the probabilistic relationship between two independent prediction subtasks by forming a third predicted conversion rate based on the interactive conversion rate item and the independent conversion rate item, wherein the sample label may be replaced with the predicted conversion rate, and the influence of the interactive conversion rate item and the independent conversion rate item on the third predicted conversion rate can be represented by the item weight configured before each item in the third predicted conversion rate, so that the third prediction sub-model can effectively learn the probabilistic relationship between the two independent prediction sub-tasks, and then the third prediction sub-model can adjust the item weights during the training optimization process, thereby improving the prediction accuracy of the prediction model.

[0147] During the training process of the third prediction sub-model, in order to avoid the problem that the absolute value of the item weight becomes larger as the model is learned, in one possible implementation, the third prediction conversion rate also includes a regularization term generated according to the item weight. The regularization term is used to guide the reduction of the impact of data deviation on the item weight during the training process of the third prediction sub-model.

[0148] In the actual training process of the third prediction sub-model, the absolute value of the item weight in the third prediction conversion rate will increase as the training progresses. For example, the absolute value of the item weight will increase as the training progresses from 1. In the model training process, it is usually preferred to make the absolute value of the item weight as small as possible to obtain a prediction model with a smaller parameter value. The reason is that a prediction model with a smaller parameter value can adapt to different data in actual application. For example, for a prediction model, if its parameters are large, then as long as there is a deviation between the actual data and the training samples, it will have a great impact on the prediction results. However, if its parameters are small enough, even if the actual data and the training samples deviate a little more, it will not have a great impact on the prediction results. That is, a prediction model with small parameters has strong anti-disturbance ability.

[0149] In this regard, the third predicted conversion rate also includes a regularization term generated according to the item weight. After the regularization term is added, since the regularization parameter is generated by the item weight, the influence of the data deviation of the item weight can be reduced during the model training process, thereby preventing the absolute value of the item weight from increasing during the model training process. The regularization term can be l 2 Regularization term, for example, can be obtained by the following formula:

[0150]

[0151] Among them, W 4 represents the regularization term, λ represents the regularization parameter, which can be set to 0.001, and W represents the item weight in the third predicted conversion rate. i represents the weight of the i-th item in the third predicted conversion rate.

[0152] Taking game products A, B and C as examples, the convergence degree of model parameters of the third prediction model in the prediction model of this embodiment is analyzed. Figure 6 As shown, W 1 , W 2 , W 3 Respectively represent the weight of each phase pre-configuration item in the third predicted conversion rate, W 4 Represents the regularization term. The item weights and regularization terms configured before each phase in the third prediction model can converge effectively, that is, the model parameters of the third prediction sub-model can converge effectively, avoiding the situation where the third prediction sub-model cannot converge.

[0153] By adding a regularization term to the third prediction conversion rate, the term weight is prevented from increasing in the training process of the initial prediction model, thereby obtaining a prediction model with a smaller parameter value.

[0154] In a possible implementation, the initial prediction model includes a bottom structure and a top structure, the bottom structure includes a first prediction sub-model and a second prediction sub-model, the top structure includes a third prediction sub-model, and in S13, the initial prediction model is trained by a single channel loss function, a single virtual product loss function, and a single channel single virtual product loss function to obtain a prediction model, specifically including:

[0155] The underlying structure and the top-level structure of the initial prediction model are alternately trained through a single-channel loss function, a single virtual product loss function, and a single-channel and single virtual product loss function, wherein the first prediction sub-model and the second prediction sub-model in the underlying structure are trained through the single-channel loss function and the single virtual product loss function, and the third prediction sub-model in the top-level structure is trained through the single-channel and single virtual product loss function, and when training the third prediction sub-model, the model parameters of the first prediction sub-model and the second prediction sub-model are fixed.

[0156] Since the third prediction sub-model is used to predict the probability of conversion of the target virtual product by pushing content of the target virtual product in the target channel, the first prediction sub-model and the second prediction sub-model are used to predict the conversion rate of content push on the target channel and the conversion rate of content push for the target virtual product, respectively, and the outputs of the first prediction sub-model and the second prediction sub-model will be used as the input of the third prediction sub-model, so the first prediction sub-model and the second prediction sub-model set in parallel can be used as the underlying structure of the initial prediction model, and the third prediction sub-model can be used as the top-level structure of the initial prediction model.

[0157] When the initial prediction model is trained and optimized using multiple loss functions including a single-channel loss function, a single virtual product loss function, and a single-channel single virtual product loss function, the server may alternately train the bottom model and the top model in the initial prediction model so that the bottom model and the top model do not affect each other during the training process.

[0158] Specifically, the server trains the first prediction sub-model and the second prediction sub-model in the underlying structure through a single channel loss function and a single virtual product loss function. Figure 3 As shown, since the single-channel loss function is determined according to the first predicted conversion rate and the first sample label, when the underlying structure is trained according to the single-channel loss function, specifically, the first prediction sub-model in the underlying structure is trained and optimized. Figure 3 The gradient backpropagation in the left part is to train and optimize the first prediction sub-model according to the single-channel loss function, and the model parameters of the third prediction sub-model will not be affected when training the underlying model according to the single-channel loss function. Similarly, Figure 4 As shown, since the single virtual product loss function is determined according to the second predicted conversion rate and the second sample label, when the underlying structure is trained according to the single virtual product loss function, specifically, the second prediction sub-model in the underlying structure is trained and optimized. Figure 4 The gradient backpropagation in the left part is to train and optimize the second prediction sub-model according to the single virtual product loss function, and the model parameters of the third prediction sub-model will not be affected when training the underlying model according to the single virtual product loss function.

[0159] The server trains the third prediction sub-model in the top-level structure through a single-channel single-virtual product loss function. Figure 3 and Figure 4As shown, since the single-channel single virtual product loss function is determined according to the third sample label and the third predicted conversion rate, and the third predicted conversion rate is determined according to at least one of the first predicted conversion rate and the second predicted conversion rate output by the underlying structure, when the third prediction sub-model in the top-level structure is trained according to the single-channel single virtual product loss function, the model parameters of the first prediction sub-model and the second prediction sub-model in the underlying structure will be affected, and since the first sample label and the second sample label may not be consistent with the third sample label, the inconsistency of the values ​​of the first sample label and the third sample label may cause the single-channel loss function and the single-channel single virtual product loss function to have inconsistent training optimization directions for the first prediction sub-model. Similarly, the inconsistency of the values ​​of the second sample label and the third sample label may cause the single virtual product loss function and the single-channel single virtual product loss function to have inconsistent training optimization directions for the second prediction sub-model. Therefore, in order to prevent the single-channel single virtual product loss function from affecting the underlying model during the training and optimization of the third prediction sub-model in the top-level structure, the model parameters of the first prediction sub-model and the second prediction sub-model in the underlying model may be fixed. Figure 3 The gradient backpropagation in the middle right part only trains and optimizes the third prediction sub-model, but does not train and optimize the first prediction sub-model. Figure 4 The gradient backpropagation in the middle right part only trains and optimizes the third prediction sub-model, but does not train and optimize the second prediction sub-model.

[0160] The server alternately trains the underlying structure and top-level structure of the initial prediction model through a single-channel loss function, a single virtual product loss function, and a single-channel single virtual product loss function, so that the underlying structure and top-level structure of the initial prediction model can be alternately updated and trained independently during the training process, thereby avoiding mutual interference between the underlying structure and the top-level structure during the training process, thereby better completing the training optimization of the initial prediction model.

[0161] Below, taking game products A, B and C as examples, the exposure registration model is used as a comparison model to compare and analyze the effects of the prediction model in this embodiment, wherein the exposure registration model refers to a model that uses the registration data for the target virtual product on multiple channels as conversion data to predict the conversion rate of the target virtual product on the target channel.

[0162] The area under the probability curve (AUC) is used to indicate the authenticity of the model. The larger the AUC value, the better the performance of the model. The samples required to recall positive samples are used to indicate the difficulty of the model in obtaining positive samples. The smaller the value of the samples required to recall positive samples, the better the performance of the model.

[0163] As shown in Table 1, the prediction model of this embodiment is better than the exposure registration model in terms of AUC and recall of samples required for the same proportion of positive samples.

[0164] Table 1 Data table of exposure registration model and prediction model used by different game products

[0165]

[0166]

[0167] In the aforementioned Figure 1-6 Based on the corresponding embodiments, Figure 7 A schematic diagram of a model determination device provided in an embodiment of the present application, the device includes a first determination unit 701, a first acquisition unit 702, a second acquisition unit 703, a second determination unit 704, a training unit 705,

[0168] The first determination unit 701 is used to determine the corresponding initial prediction model according to the prediction task, the prediction task is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel, the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, the first prediction sub-model is used to predict the probability of at least one of the multiple virtual products being converted by pushing the content of multiple virtual products including the target virtual product in the target channel; the second prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in multiple channels including the target channel;

[0169] A first acquisition unit 702 is used to acquire training samples including sample account information, where the training samples include first-category samples and second-category samples, where the first-category samples have first sample labels associated with the first prediction sub-model, and the second-category samples have second sample labels associated with the second prediction sub-model;

[0170] The second acquisition unit 703 is used to input the training sample into the initial prediction model, obtain the first predicted conversion rate through the first prediction sub-model, and obtain the second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task;

[0171] The second determination unit 704 is used to determine the single channel loss function according to the difference between the first sample label and the first predicted conversion rate when the training sample is a first type of sample, and to determine the single virtual product loss function according to the difference between the second sample label and the second predicted conversion rate when the training sample is a second type of sample;

[0172] The training unit 705 is used to train the initial prediction model through a single-channel pre-loss function and a single virtual product loss function to obtain a prediction model, and the prediction model is used to predict the conversion rate of content push of the target virtual product in the target channel for different user account information.

[0173] In a possible implementation manner, the second determining unit 704 is further configured to:

[0174] When the initial prediction model further includes a third prediction sub-model, and the training sample has a third sample label related to the third prediction sub-model, the third prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel, and a third predicted conversion rate is generated by the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate;

[0175] Determine a single-channel single-virtual product loss function according to a difference between the third sample label and the third predicted conversion rate;

[0176] The training unit 705 is used to train the initial prediction model through a single-channel pre-loss function, a single virtual product loss function, and a single-channel single virtual product loss function to obtain a prediction model.

[0177] In a possible implementation manner, the second determining unit 704 is configured to:

[0178] In response to the training sample being a first type of sample, generating a third predicted conversion rate by a third prediction sub-model according to the first sample label and the second predicted conversion rate;

[0179] In response to the training sample being a second type of sample, a third predicted conversion rate is generated by a third prediction sub-model according to the second sample label and the first predicted conversion rate.

[0180] In a possible implementation, the first determining unit 701 is further configured to determine the training state information of the initial prediction model during the training process of the initial prediction model;

[0181] The second determining unit 702 is configured to generate a third predicted conversion rate through a third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate when the training state information reaches a switching condition.

[0182] In a possible implementation manner, the training status information includes at least one of the number of training rounds and the degree of convergence of model parameters.

[0183] In one possible implementation, the third predicted conversion rate is generated based on the interaction conversion rate item and the independent conversion rate item, and both the interaction conversion rate item and the independent conversion rate item are configured with item weights, and the item weights are used to adjust when training the third prediction sub-model; wherein, when the training sample is a first category sample, the interaction conversion rate item includes a first sample label and a second predicted conversion rate, and the independent conversion rate items are respectively the first sample label and the second predicted conversion rate; when the training sample is a second category sample, the interaction conversion rate item includes a second sample label and a first predicted conversion rate, and the independent conversion rate items are respectively the second sample label and the first predicted conversion rate.

[0184] In a possible implementation, the third prediction conversion rate also includes a regularization term generated according to the item weight, and the regularization term is used to guide the reduction of the impact of data deviation of the item weight during the training process of the third prediction sub-model.

[0185] In one possible implementation, the training unit 705 is used to alternately train the underlying structure and the top-level structure of the initial prediction model through a single-channel pre-loss function, a single virtual product loss function, and a single-channel single virtual product loss function when the initial prediction model includes an underlying structure and a top-level structure, the underlying structure includes a first prediction sub-model and a second prediction sub-model, and the top-level structure includes a third prediction sub-model, wherein the first prediction sub-model and the second prediction sub-model in the underlying structure are trained through the single-channel pre-loss function and the single virtual product loss function, and the third prediction sub-model in the top-level structure is trained through the single-channel single virtual product loss function, and when training the third prediction sub-model, the model parameters of the first prediction sub-model and the second prediction sub-model are fixed.

[0186] In a possible implementation, the multiple virtual products are virtual products of the same type.

[0187] In a possible implementation, the training sample includes user account information and corresponding conversion information, and the conversion information is used to identify whether at least one of the multiple virtual products generates a conversion through content push through multiple channels.

[0188] It can be seen that the complex problem of conversion prediction of content push of target virtual products in target channels can be approximately divided into two simple problems, namely, the conversion prediction problem of content push of multiple virtual products in target channels and the conversion prediction problem of content push of target virtual products in multiple channels. Based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model in the initial prediction model are obtained. Since the two prediction sub-models are aimed at different problems, that is, the positive samples obtained for one of the prediction sub-models are likely to be negative samples for the other prediction sub-model. If the training samples for the two prediction sub-models are shared, the difficulty of adjusting the positive and negative sample ratios corresponding to the two prediction sub-models will be increased at the same time. Therefore, in order to facilitate the adjustment of the positive and negative sample ratios corresponding to the two prediction sub-models, corresponding training samples can be constructed respectively based on the two prediction sub-models, that is, the training samples only construct corresponding sample labels for one of the two prediction sub-models, thereby reducing the sample annotation cost of the training samples and facilitating the maintenance of the positive and negative sample ratios corresponding to the two prediction sub-models. The problem of adding a new sample changing the positive and negative sample ratios of the two prediction sub-models will not occur at the same time. By approximately splitting the problem and obtaining different samples for different simple problems, the problem of sparse positive samples in the training samples corresponding to complex problems is substantially solved. At the same time, corresponding training samples are constructed for the two prediction sub-models respectively, thereby reducing the difficulty of adjusting the positive and negative sample ratios of the two prediction sub-models. The prediction model obtained based on this training can effectively improve the generalization ability of the model and the speed of model launch without losing too much accuracy.

[0189] The embodiment of the present application further provides a computer device, which is the computer device described above and may include a terminal device or a server, and the model determination device may be configured in the computer device. The computer device is described below in conjunction with the accompanying drawings.

[0190] If the computer device is a terminal device, see Figure 8 As shown, the embodiment of the present application provides a terminal device, taking the terminal device as a mobile phone as an example:

[0191] Figure 8 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Figure 8 The mobile phone includes: a radio frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a wireless fidelity (WiFi) module 1470, a processor 1480, and a power supply 1490. Those skilled in the art can understand that Figure 8The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0192] Combine the following Figure 8 A detailed introduction to the various components of the mobile phone:

[0193] The RF circuit 1410 may be used for receiving and sending signals during information transmission or communication or during a call. In particular, after receiving downlink information from a base station, the information is sent to the processor 1480 for processing. In addition, the uplink data is sent to the base station.

[0194] The memory 1420 can be used to store software programs and modules. The processor 1480 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1420. The memory 1420 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1420 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0195] The input unit 1430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432 .

[0196] The display unit 1440 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1440 may include a display panel 1441.

[0197] The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.

[0198] The audio circuit 1460 , the speaker 1461 , and the microphone 1462 can provide an audio interface between the user and the mobile phone.

[0199] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 1470. It provides users with wireless broadband Internet access.

[0200] Processor 1480 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in memory 1420 and calling data stored in memory 1420.

[0201] The mobile phone also includes a power source 1490 (such as a battery) for supplying power to various components.

[0202] In this embodiment, the processor 1480 included in the terminal device also has the following functions:

[0203] Determine the corresponding initial prediction model according to the prediction task, the prediction task is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel, the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, the first prediction sub-model is used to predict the probability of at least one of the multiple virtual products being converted by pushing the content of multiple virtual products including the target virtual product in the target channel; the second prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in multiple channels including the target channel;

[0204] Acquire training samples including sample account information, the training samples including first-category samples and second-category samples, the first-category samples having first sample labels associated with the first prediction sub-model, and the second-category samples having second sample labels associated with the second prediction sub-model;

[0205] Input the training sample into the initial prediction model, obtain a first predicted conversion rate through the first prediction sub-model, and obtain a second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task;

[0206] When the training sample is a first-class sample, a single-channel loss function is determined according to the difference between the first sample label and the first predicted conversion rate; when the training sample is a second-class sample, a single virtual product loss function is determined according to the difference between the second sample label and the second predicted conversion rate;

[0207] The initial prediction model is trained through a single-channel pre-loss function and a single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

[0208] If the computer device is a server, the present application embodiment also provides a server, see Fig. 9 As shown, Fig. 9The structural diagram of the server 1500 provided in the embodiment of the present application, the server 1500 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1522 (for example, one or more processors) and a memory 1532, and one or more storage media 1530 (for example, one or more mass storage devices) storing application programs 1542 or data 1544. Among them, the memory 1532 and the storage medium 1530 can be short-term storage or permanent storage. The program stored in the storage medium 1530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1522 can be configured to communicate with the storage medium 1530 and execute a series of instruction operations in the storage medium 1530 on the server 1500.

[0209] The server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input and output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server 2003 or Windows Server 2008. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.

[0210] The steps performed by the server in the above embodiment can be based on Fig. 9 The server structure shown.

[0211] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.

[0212] The embodiments of the present application also provide a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method provided in the above embodiments.

[0213] A person skilled 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 above 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 above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store computer programs.

[0214] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described 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 they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0215] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a technician familiar with the technical field within the technical scope disclosed in the present application should be included in the protection scope of the present application. Moreover, based on the implementation methods provided in the above aspects, the present application can also be further combined to provide more implementation methods. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A model determination method, It is characterized in that The method comprises: Determine a corresponding initial prediction model according to a prediction task, the prediction task is used to predict the probability of the target virtual product generating a conversion by pushing the content of the target virtual product in the target channel, the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, the first prediction sub-model is used to predict the probability of at least one of the multiple virtual products generating a conversion by pushing the content of multiple virtual products including the target virtual product in the target channel; the second prediction sub-model is used to predict the probability of the target virtual product generating a conversion by pushing the content of the target virtual product in multiple channels including the target channel; Acquire training samples including sample account information, the training samples including first-category samples and second-category samples, the first-category samples having first sample labels associated with the first prediction sub-model, and the second-category samples having second sample labels associated with the second prediction sub-model; Inputting the training sample into the initial prediction model, obtaining a first predicted conversion rate through the first prediction sub-model, and obtaining a second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task; When the training sample is a sample of the first category, a single channel loss function is determined according to the difference between the first sample label and the first predicted conversion rate; when the training sample is a sample of the second category, a single virtual product loss function is determined according to the difference between the second sample label and the second predicted conversion rate; The initial prediction model is trained by the single-channel pre-loss function and the single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

2. The method according to claim 1, It is characterized in that The initial prediction model further includes a third prediction sub-model, the training sample has a third sample label related to the third prediction sub-model, and the third prediction sub-model is used to predict the probability of the target virtual product being converted by pushing the content of the target virtual product in the target channel. The method further includes: generating the third predicted conversion rate by the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate; Determining a single-channel single-virtual product loss function according to a difference between the third sample label and the third predicted conversion rate; The initial prediction model is trained by the single channel pre-loss function and the single virtual product loss function to obtain a prediction model, including: The initial prediction model is trained by using the single-channel pre-loss function, the single virtual product loss function and the single-channel single virtual product loss function to obtain a prediction model.

3. The method according to claim 2, It is characterized in that The step of generating the third predicted conversion rate by using the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate comprises: In response to the training sample being a sample of the first category, generating the third predicted conversion rate by using the third prediction sub-model according to the first sample label and the second predicted conversion rate; In response to the training sample being a sample of the second category, the third predicted conversion rate is generated by the third prediction sub-model according to the second sample label and the first predicted conversion rate.

4. The method according to claim 3, It is characterized in that The method further comprises: During the training of the initial prediction model, determining the training state information of the initial prediction model; When the training state information reaches a switching condition, generating the third predicted conversion rate by using the third prediction sub-model according to at least one of the first predicted conversion rate and the second predicted conversion rate includes: The third predicted conversion rate is generated by the third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate.

5. The method according to claim 4, It is characterized in that The training status information includes at least one of the number of training rounds and the degree of convergence of model parameters.

6. The method according to claim 2, It is characterized in that The third predicted conversion rate is generated according to the interactive conversion rate item and the independent conversion rate item, and both the interactive conversion rate item and the independent conversion rate item are configured with item weights, and the item weights are used for adjustment when training the third prediction sub-model; Among them, when the training sample is a first-category sample, the interactive conversion rate item includes the first sample label and the second predicted conversion rate, and the independent conversion rate items are the first sample label and the second predicted conversion rate respectively; when the training sample is a second-category sample, the interactive conversion rate item includes the second sample label and the first predicted conversion rate, and the independent conversion rate items are the second sample label and the first predicted conversion rate respectively.

7. The method according to claim 6, It is characterized in that The third prediction conversion rate also includes a regularization term generated according to the item weight, and the regularization term is used to guide the reduction of the impact of data deviation of the item weight during the training process of the third prediction sub-model.

8. The method according to claim 1, It is characterized in that The initial prediction model includes a bottom structure and a top structure, the bottom structure includes the first prediction sub-model and the second prediction sub-model, the top structure includes the third prediction sub-model, the initial prediction model is trained by the single-channel pre-loss function, the single virtual product loss function and the single-channel single virtual product loss function to obtain a prediction model, including: The underlying structure and the top-level structure of the initial prediction model are alternately trained through the single-channel pre-loss function, the single virtual product loss function and the single-channel single virtual product loss function, wherein the first prediction sub-model and the second prediction sub-model in the underlying structure are trained through the single-channel pre-loss function and the single virtual product loss function, and the third prediction sub-model in the top-level structure is trained through the single-channel single virtual product loss function, and when training the third prediction sub-model, the model parameters of the first prediction sub-model and the second prediction sub-model are fixed.

9. The method according to any one of claims 1 to 6, It is characterized in that The multiple virtual products are virtual products of the same type.

10. The method according to any one of claims 1 to 6, It is characterized in that The training sample includes user account information and corresponding conversion information, and the conversion information is used to identify whether at least one of the multiple virtual products generates a conversion through content push through the multiple channels.

11. A model determination device, It is characterized in that The device comprises a first determining unit, a first acquiring unit, a second acquiring unit, a second determining unit, a training unit, The first determination unit is used to determine a corresponding initial prediction model according to a prediction task, wherein the prediction task is used to predict the probability of the target virtual product generating a conversion by pushing the content of the target virtual product in the target channel, and the initial prediction model includes a first prediction sub-model and a second prediction sub-model arranged in parallel, wherein the first prediction sub-model is used to predict the probability of at least one of the multiple virtual products generating a conversion by pushing the content of multiple virtual products including the target virtual product in the target channel; and the second prediction sub-model is used to predict the probability of the target virtual product generating a conversion by pushing the content of the target virtual product in multiple channels including the target channel; The first acquisition unit is used to acquire training samples including sample account information, the training samples including first-category samples and second-category samples, the first-category samples have first sample labels associated with the first prediction sub-model, and the second-category samples have second sample labels associated with the second prediction sub-model; The second acquisition unit is used to input the training sample into the initial prediction model, obtain a first predicted conversion rate through the first prediction sub-model, and obtain a second predicted conversion rate through the second prediction sub-model; the first predicted conversion rate and the second predicted conversion rate are used to generate a third predicted conversion rate corresponding to the prediction task; The second determination unit is used to determine a single channel loss function according to a difference between the first sample label and the first predicted conversion rate when the training sample is a sample of the first category, and to determine a single virtual product loss function according to a difference between the second sample label and the second predicted conversion rate when the training sample is a sample of the second category; The training unit is used to train the initial prediction model through the single-channel pre-loss function and the single virtual product loss function to obtain a prediction model, and the prediction model is used to predict the conversion rate of different user account information for content push of the target virtual product in the target channel.

12. A computer device, It is characterized in that The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the method according to any one of claims 1 to 10 according to the computer program.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 10.

14. A computer program product comprising a computer program, which, when executed on a computer device, causes the computer device to execute the method according to any one of claims 1 to 10.