Model determination method and related device
By splitting the virtual product content push conversion prediction problem of the target channel into the conversion prediction problem of multiple virtual products and multiple channels, a sufficient amount of training samples are obtained, which solves the problems of sparse positive samples and long waiting time in the existing technology. Improved the model’s generalization ability and online speed.
Patent Information
- Application Number
- CN202310281410.7
- 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
In the existing technology, the conversion rate prediction model for virtual product content push is difficult to meet the conversion rate prediction needs due to the sparse positive samples and long waiting time. Especially when the number of users in the data funnel gradually decreases, the model training data is insufficient.
Split the virtual product content push conversion prediction problem of the target channel into two simple problems: content push conversion prediction of multiple virtual products on the target channel and content push conversion prediction of the target virtual product on multiple channels, through parallel settings The first prediction sub-model and the second prediction sub-model obtain sufficient training samples, including a large number of positive samples, for training the prediction model.
It effectively improves the generalization ability and online speed of the model, solves the problem of sparse positive samples and long waiting times, while maintaining prediction accuracy.
Smart Images

Figure CN118690627A
Abstract
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 pushing content. 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 decreases from the exposure of the content to the conversion on the user side, forming a funnel shape, also known as a data funnel. In the data funnel, only the users who are converted at the end can be used as positive samples for training, resulting in a long wait to collect enough positive samples, which is difficult to meet the current conversion rate prediction needs. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a model determination method and related devices, which approximately splits the complex problem of conversion prediction of content push of target virtual products in target channels into two simple problems, namely, the conversion prediction problem of content push of multiple virtual products in the target channel, and the conversion prediction problem of content push of target virtual products in multiple channels. Based on these two simple problems, sufficient training samples can be obtained, including a large number of positive samples, which substantially solves the problems of sparse positive samples and long waiting time in complex problems. 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 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;
[0009] Inputting the training sample including the sample account information 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;
[0010] Determine a single channel loss function according to the difference between the first sample label and the first predicted conversion rate of the first prediction sub-model corresponding to the training sample, and determine a single virtual product loss function according to the difference between the second sample label and the second predicted conversion rate of the second prediction sub-model corresponding to the training sample;
[0011] The initial prediction model is trained through a single-channel loss function and a single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of content push of a target virtual product in a target channel for different user account information.
[0012] On the other hand, an embodiment of the present application provides a model determination device, which includes a first determination unit, an acquisition unit, a second determination unit and a training unit:
[0013] 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, 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 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.
[0014] An acquisition unit, configured to input a training sample including sample account information into an initial prediction model, obtain a first predicted conversion rate through a first prediction sub-model, and obtain a second predicted conversion rate through a 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;
[0015] 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 corresponding to the first prediction sub-model of the training 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 corresponding to the second prediction sub-model of the training sample;
[0016] The training unit is used to train the initial prediction model through a single-channel loss function and a single virtual product loss function to obtain a prediction model, and the prediction model is used to predict the content push of the target virtual product in the target channel and the conversion rate of different user account information.
[0017] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:
[0018] The memory is used to store the computer program and transmit the computer program to the processor;
[0019] The processor is configured to execute the method described above according to the computer program.
[0020] 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.
[0021] 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.
[0022] It can be seen from the above technical solution that the complex problem of predicting the conversion of the content push of the target virtual product in the target channel is approximately divided into two simple problems, namely, the problem of predicting the conversion of the content push of multiple virtual products in the target channel and the problem of predicting the conversion of the content push of the target virtual product 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 set in parallel in the initial prediction model are obtained. Based on these two simple problems, sufficient training samples can be obtained, and these training samples are more or less related to solving the complex problem, such as the conversion of the user account in the non-target channel based on the content push of the target virtual product, or the conversion of the user account when the content of the non-target virtual product is pushed in the target channel. Through the approximate splitting of the problem, these data that are actually related to the complex problem 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 the complex problem. The prediction model obtained based on this training can effectively improve the generalization ability and model launch speed of the model without losing too much accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] 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.
[0024] Figure 1 A schematic diagram of a model determination scenario provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of content push provided in an embodiment of the present application;
[0026] Figure 3 A method flow chart of a model determination method provided in an embodiment of the present application;
[0027] Figure 4 A specific schematic diagram of a model determination scenario provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of a model determination device provided in an embodiment of the present application;
[0029] Figure 6 A structural diagram of a terminal device provided in an embodiment of the present application;
[0030] Figure 7A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0032] 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.
[0033] 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).
[0034] 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.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] Based on the above problems, the related technology attempts to make the following measures to solve them. For example, in the entire conversion process of content from exposure, click, download to registration on the user side, in order to solve the channel bias of the ESMM model, the positive example for the CTR sub-model in ESMM is changed from click to click and download on one channel. However, if the output of the CVCTR sub-model is still used as a label for registration on multiple channels, the probability condition between CTR and CVCTR no longer holds, and the model training has no effect; if the output of the CVCTR sub-model uses the first click to download and then register on this channel as a label, since the number of registration data attributed to the first click to download and then register on this channel will be small, it will take longer to collect enough positive samples. In order to solve the attribution delay of the data, the ESMM model is divided into a separate sub-model to train the latest registration data, and another separate sub-model is trained on the registration data of the first click to download and then register on one channel. However, due to the large deviation in the sample distribution of the two sub-models, the obtained model will not be generalized. In other words, the above attempts have not solved the problems of channel bias and attribution delay in the ESMM model, and it is difficult to meet the current conversion rate prediction needs.
[0039] To this end, the embodiments of the present application provide 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, namely, the conversion prediction problem of content push of multiple virtual products in the target channel, and the conversion prediction problem of content push of target virtual products in multiple channels. Based on these two simple problems, sufficient training samples can be obtained, including a large number of positive samples, which substantially solve the problems of sparse positive samples and long waiting time in complex problems. 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] Figure 2 A schematic diagram of content push provided in an embodiment of the present application is taken as an example of content push of game product A on a social software. Figure 2 As shown in the interface diagram on the left, users can receive push content consisting of text, pictures, etc. on a certain social software. The text in the push content is usually attractive text, for example Figure 2 The text "Level 5 Get 10 Yuan" shown in the figure attracts users to download the game product A. When the user receives the push content, he may click on it. After the click occurs, the user will enter the corresponding download link, such as Figure 2As shown in the interface on the right, the download interface is usually composed of a large amount of text and pictures. These texts and pictures mainly introduce the relevant 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 based on the above content push.
[0051] Figure 3 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:
[0052] S301. 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, 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 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] The conversion rate refers to the probability that a user will obtain the corresponding virtual product service after content is pushed to the user.
[0058] Since the conversion rates of content push for different virtual products on different channels are usually not the same, for example, for a shooting game product, the conversion rate of content push on a social software where male users are more active may be higher than the conversion rate of content push on a social software where female users are more active, and 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. Therefore, in order to reduce the push cost and improve the conversion efficiency, the server can set a corresponding prediction task, which is 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, so as to select a channel suitable for content push of the target virtual product from multiple possible channels through the prediction task.
[0059] 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.
[0060] 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 the content push of the target virtual product in the target channel, only the user who finally completes the conversion can be used as the positive sample for training, that is, there is a sparse problem of positive samples, which will result in a long waiting time to collect a sufficient number of positive samples. Therefore, in order to reduce the waiting time for obtaining positive samples, in this embodiment, the server will perform a complex prediction task for predicting the conversion of the content push of 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 to obtain two independent and simple prediction subtasks, namely, a prediction subtask for predicting the conversion of the content push of multiple virtual products in the target channel, and a prediction subtask for predicting the conversion of the content push of the target virtual product in multiple channels, and based on these two simple prediction subtasks As modeling standards, a first prediction sub-model and a second prediction sub-model are set in parallel in the initial prediction model, 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, so that the first prediction sub-model can learn 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 pushing content of the target virtual product in multiple channels so that the target virtual product generates a conversion, so that the second prediction sub-model can learn knowledge related to the target virtual product and the conversion during the training process, so that the initial prediction model including these two prediction sub-models can simultaneously learn knowledge related to the target channel and the target virtual product and the conversion, and then the initial prediction model can indirectly predict the conversion of the content push of the target virtual product in the target channel.
[0061] 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.
[0062] It should be noted that the splitting of the complex prediction task in this embodiment is not arbitrary. Since the prediction task is used to predict the probability of the target virtual product being pushed in the target channel so that the target virtual product is converted, if the prediction task is directly converted into a simple task of predicting the probability of obtaining the service of the target virtual product on the channel, for example, when the target virtual product in the prediction task is a game product, the prediction task is directly converted into a simple task of predicting the probability of registration for the game product on the channel. Compared with the prediction task, this simple task will be too simplified, that is, the prediction probability value corresponding to the simple task will not be able to approximate the predicted conversion rate corresponding to the prediction task. In this embodiment, the two simple prediction subtasks obtained by splitting the prediction task are a more approximate splitting, which allows the two prediction sub-models obtained based on the two prediction subtasks to simultaneously learn the knowledge related to the target channel and the target virtual product and conversion.
[0063] Since it is relatively easy to obtain positive samples for both the first prediction sub-model and the second prediction sub-model, for example, 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, or, for the second prediction sub-model, users who have completed conversions for the target virtual product in multiple channels can be used as positive samples for its training, for example, registration data for the target virtual product can be used as positive samples for its training, thereby enabling the introduction of a large number of training samples that are related to complex prediction tasks but have not been used before in the training phase, and 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.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] S302. Input the training sample including the sample account information 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 the third predicted conversion rate of the corresponding prediction task.
[0068] 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.
[0069] 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 product in multiple channels, the first prediction conversion rate is the prediction conversion rate corresponding to the content push of multiple virtual products in the target channel, and the second prediction conversion rate is the prediction conversion rate corresponding to the content push of the target virtual product in multiple channels.
[0070] 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.
[0071] In a possible implementation, the initial prediction model further includes a feature extraction sub-model. In S302, a training sample including user account information is input into the initial prediction model, a first predicted conversion rate is obtained through a first prediction sub-model, and a second predicted conversion rate is obtained through a second prediction sub-model, specifically including:
[0072] According to the training samples including the user account information, sample features of the training samples are obtained through a feature extraction sub-model;
[0073] The sample features are used as inputs of the first prediction sub-model and the second prediction sub-model respectively, a first prediction conversion rate is obtained through the first prediction sub-model, and a second prediction conversion rate is obtained through the second prediction sub-model.
[0074] On the basis that the initial prediction model includes a feature extraction sub-model, the server can first obtain the sample features of the training samples through the feature extraction sub-model based on the training samples. The sample features refer to a series of quantifiable information reflected in the training samples, and then use the sample features as the common input of the first prediction sub-model and the second prediction sub-model, so that the two prediction sub-models can obtain the corresponding predicted conversion rate based on the same sample features, rather than requiring the server to first extract different sample features from the training samples and then input the different sample features into the two prediction sub-models respectively. The reason is that the predicted conversion rates output by the two prediction sub-models need to jointly generate a third predicted conversion rate for the training samples. Therefore, if the two prediction sub-models can determine the first predicted conversion rate and the second predicted conversion rate based on the same sample features, it is beneficial for the initial prediction model to analyze the probability relationship between the first predicted conversion rate and the second predicted conversion rate, thereby obtaining a more accurate third predicted conversion rate and improving the prediction accuracy of the prediction model.
[0075] A feature extraction sub-model is introduced into the initial prediction model, so that the server can first extract the sample features corresponding to the training samples according to the feature extraction sub-model, and then input the sample features into the first prediction sub-model and the second prediction sub-model, so that the two prediction sub-models can determine the first predicted conversion rate and the second predicted conversion rate according to the same sample features, which is beneficial for the initial prediction model to analyze the probability relationship between the first predicted conversion rate and the second predicted conversion rate, thereby obtaining a more accurate third predicted conversion rate and improving the prediction accuracy of the prediction model.
[0076] S303. Determine a single channel loss function based on the difference between the first sample label and the first predicted conversion rate of the first prediction sub-model corresponding to the training sample, and determine a single virtual product loss function based on the difference between the second sample label and the second predicted conversion rate of the second prediction sub-model corresponding to the training sample.
[0077] After the training sample is input into the initial prediction model in S302, 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, the training sample is configured with a first sample label corresponding to the first prediction sub-model, and the training sample is configured with a second sample label corresponding to the second prediction sub-model, wherein the sample label can identify the true value of the corresponding training sample relative to the prediction sub-model. Since the modeling logic of the first prediction sub-model and the second prediction sub-model is different, the first sample label and the second sample label of the same training sample corresponding to the first prediction sub-model and the second prediction sub-model are not necessarily the same. For example, when the prediction task is used to predict When a certain social software pushes content for game product A, which increases the probability of conversion of game product A, training sample A is content push for multiple virtual products on the social software, which results in conversion of game product B. Then the value of the first sample label of training sample A can be 1, while the value of the second sample label of training sample A can be 0. Alternatively, training sample B is content push for game product A on the social software, which results in conversion of game product A. Then the value of the first sample label and the value of the second sample label of training sample B can both be 1. In other words, there is no necessary connection between the values of the first sample labels and the second sample labels corresponding to the training samples, and they need to be determined separately according to the actual situation of the training samples.
[0078] 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. Correspondingly, the server can obtain a single virtual product 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 initial prediction model, the loss functions for the first prediction sub-model and the second prediction sub-model can be obtained according to the following formula:
[0079]
[0080] Among them, L b is the loss function for the first prediction sub-model and the second prediction sub-model, refers to the first predicted conversion rate, y1 refers to the first sample label, and BCE(α, β) refers to the binary cross entropy loss function for α and β. refers to the single channel loss function, y^2 refers to the second predicted conversion rate, y2 refers to the second sample label, It refers to the single virtual product loss function. Through the above formula, we can get the single channel loss function for the first prediction sub-model and the single virtual product loss function for the second prediction sub-model.
[0081] 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.
[0082] 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 C is that the content is pushed through a non-target channel, and the target virtual product generates a conversion. The value of the first sample label corresponding to training sample C is 0, and the value of the corresponding second sample label is 1.
[0083] 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.
[0084] S304. Train the initial prediction model through a single-channel loss function and a single virtual product loss function to obtain a prediction model, which is used to predict the conversion rate of content push of the target virtual product in the target channel for different user account information.
[0085] After obtaining the single-channel loss function and the single virtual product loss function in S303, 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.
[0086] It should be noted that, 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. Therefore, 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.
[0087] 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.
[0088] 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.
[0089] It can be seen that, for the complex problem of conversion prediction of content push of target virtual products in target channels, it is approximately split 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, and based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model set in parallel in the initial prediction model are obtained. Based on these two simple problems, sufficient training samples can be obtained, 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 in the target channel. Through the approximate splitting of the problem, these data that are actually related to the complex problem 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. The prediction model obtained based on this training can effectively improve the generalization ability and model launch speed of the model without losing too much accuracy.
[0090] 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:
[0091] S11, generating a third predicted conversion rate through a third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate;
[0092] 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;
[0093] In S304, the initial prediction model is trained by using a single channel loss function and a single virtual product loss function to obtain a prediction model, which specifically includes:
[0094] S13. 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 to obtain a prediction model.
[0095] 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 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 the first predicted conversion rate and the second predicted conversion rate.
[0096] In order to realize the supervised learning training of the third prediction sub-model in the initial prediction model, so as to obtain the third prediction conversion rate that is closer to the prediction 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, 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. Specifically, the value of the third sample label can be determined according to the value of the first sample label and the value of the second sample label, wherein only when the value of the first sample label and the value of the second sample label of the training sample are both 1, the value of the third sample label corresponding to the training sample can be 1, otherwise it is 0, because the value of the first sample label corresponding to the training sample is 1, indicating that the content push of the training sample in the target channel has been converted, and the value of the second sample label corresponding to the training sample is 1, indicating that the content push of the training sample for the target virtual product has been converted, and when the value of the first sample label and the value of the second sample label corresponding to the training sample are both 1, it means that the content push of the training sample for the target virtual product has been converted, and the true value corresponding to the third prediction sub-model is also 1.
[0097] Based on 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. Therefore, on the basis of training the initial prediction model through the single-channel loss function and the single virtual product loss function, the initial prediction model can be trained through the single-channel loss function, the single virtual product loss function and the single-channel 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 closer to the predicted conversion rate corresponding to the prediction task after training and optimization, thereby further improving the prediction accuracy of the prediction model.
[0098] In order to generate the third predicted conversion rate more stably, the initial prediction model includes, in addition to the first prediction sub-model and the second prediction sub-model set in parallel, a third prediction sub-model. 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 based on 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 by the third sample label and the third predicted conversion rate corresponding to the training sample, 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.
[0099] 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:
[0100] 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.
[0101] 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.
[0102] 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.
[0103] 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. Since the single-channel loss function is determined based on the first predicted conversion rate and the first sample label, when the underlying structure is trained based on the single-channel loss function, specifically, the first prediction sub-model in the underlying structure is trained and optimized, and the single-channel loss function does not affect the model parameters of the third prediction sub-model when the underlying model is trained. Similarly, since the single virtual product loss function is determined based on the second predicted conversion rate and the second sample label, when the underlying structure is trained based on the single virtual product loss function, specifically, the second prediction sub-model in the underlying structure is trained and optimized, and the single virtual product loss function does not affect the model parameters of the third prediction sub-model when the underlying model is trained.
[0104] The server trains the third prediction sub-model in the top-level structure through the single-channel single virtual product loss function. Since the single-channel single virtual product loss function is determined based on the third sample label and the third predicted conversion rate, and the third predicted conversion rate is determined based on 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, it will affect the model parameters of the first prediction sub-model and the second prediction sub-model in the underlying structure, and since the first sample label and the second sample label are usually inconsistent with the third sample label, for example, when the prediction task is used to predict the probability of conversion of game product A through content push of game product A in a certain social software, and the training sample A is the content push of multiple virtual products in the social software, which causes conversion of game product B, then the training sample A is the content push of multiple virtual products in the social software, which causes conversion of game product B, then the training sample A is the content push of multiple virtual products in the social software, which causes conversion of game product B, then the training sample A is the content push of multiple virtual products in the social software, which causes conversion of game product B, then the training sample A is the content push of multiple virtual products in the social software, The value of the first sample label of sample A can be 1, the value of the second sample label can be 0, and the value of the third sample label can be 0. The inconsistency in 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 in 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 can be fixed.
[0105] 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.
[0106] In a possible implementation, when training the third prediction sub-model, the influence of the single-channel single-virtual product loss function of the target training sample on the model training is reduced, and the target training sample is a training sample that is a negative sample relative to the third prediction sub-model.
[0107] Since the difficulty of obtaining positive samples for the first prediction sub-model, the second prediction sub-model and the third prediction sub-model is not the same, specifically, for the first prediction sub-model, users who have completed conversions on the target channel can be used as positive samples for its training, for the second prediction sub-model, users who have completed conversions for the target virtual product can be used as positive samples for its training, and for the third prediction sub-model, only users who have completed conversions for the target product on the target channel can be used as positive samples for its training, that is, the third prediction sub-model has the highest difficulty in obtaining positive samples. Therefore, when a batch of training samples are input into the initial prediction model, the number of negative samples of the third prediction sub-model will be too large compared with the first prediction sub-model and the second prediction sub-model. Even after random batching, there may be no positive samples for the third prediction sub-model in a batch of training samples, and all are negative samples. This will cause the weights learned by the third prediction sub-model during the training process to all tend to 0, and then cause the third prediction sub-model to overfit quickly.
[0108] In this regard, in this embodiment, during the training process of the third prediction sub-model, the training weight of the negative samples corresponding to the third prediction sub-model can be reduced. Specifically, the server can reduce the impact of the single-channel single virtual product loss function corresponding to the target sample on the model training, wherein the target sample is a training sample that is a negative sample relative to the third prediction sub-model.
[0109] By down-weighting the single-channel single virtual product loss function corresponding to the training samples that are negative samples relative to the third prediction sub-model, the impact of the excessive number of training samples that are negative samples relative to the third prediction sub-model can be reduced, thereby effectively avoiding the third prediction sub-model from quickly overfitting during the training process.
[0110] In a possible implementation, in S11, generating a third predicted conversion rate by using a third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate specifically includes:
[0111] Determine an interactive conversion rate term of the first predicted conversion rate and the second predicted conversion rate, and use the first predicted conversion rate and the second predicted conversion rate as independent conversion rate terms respectively;
[0112] A third predicted conversion rate consisting of an interactive conversion rate item and an independent conversion rate item is constructed, and each item in the third predicted conversion rate is configured with an item weight, and the item weight is used for adjustment when training the third prediction sub-model.
[0113] In order to enable the server to learn the probabilistic relationship between the first predicted conversion rate and the second predicted conversion rate, 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. Although the two predicted conversion rates are two probabilities, since the first predicted conversion rate is the predicted probability of generating a conversion in at least one of the multiple virtual products in the target channel, and the second predicted conversion rate is the predicted probability of generating a conversion in the target virtual products of multiple channels, that is, the two predicted conversion rates are associated, and the interactive information between the two predicted conversion rates can reflect the relevant information of the probability of generating a conversion in the target virtual product of the target channel. For example, the product of the first predicted conversion rate and the second predicted conversion rate can be used as the interactive conversion rate item. In addition, in the actual conversion process of 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 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 can be used as two independent conversion rate items. The server can combine the above-mentioned interactive conversion rate item and the independent conversion rate item into a third predicted conversion rate through the third prediction sub-model, 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.
[0114] 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 independent conversion rate item corresponding to the first predicted conversion rate 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 independent conversion rate item corresponding to the second predicted conversion rate 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:
[0115]
[0116] 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, W1, W2, and W3 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.
[0117] It should be noted that when the server trains and optimizes the third prediction sub-model, it will adjust 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.
[0118] The server can form a third predicted conversion rate based on the interactive conversion rate item and the independent conversion rate item, 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, and can use the item weight configured before each item in the third predicted conversion rate to represent the influence of the above independent information and interactive information on 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.
[0119] In a possible implementation, in S11, generating a third predicted conversion rate by using a third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate specifically includes:
[0120] In a training batch for the initial prediction model, a first predicted conversion rate and a second predicted conversion rate obtained through the training batch are normalized based on a normal distribution to obtain a first adjusted conversion rate corresponding to the first predicted conversion rate and a second adjusted conversion rate corresponding to the second predicted conversion rate;
[0121] A third predicted conversion rate is generated by a third prediction sub-model according to the first adjusted conversion rate and the second adjusted conversion rate.
[0122] When the same batch of training samples are input into the initial prediction model, the positive and negative sample ratios of the first prediction sub-model and the second prediction sub-model are usually not consistent. Since the predicted conversion rate corresponding to the positive samples is usually closer to 1, and the predicted conversion rate corresponding to the negative samples is usually closer to 0, this will cause the predicted conversion rate corresponding to the prediction sub-model with more positive samples to be higher. That is, the inconsistency in the positive and negative sample ratios of the first prediction sub-model and the second prediction sub-model will cause their corresponding predicted conversion rates to be at different orders of magnitude.
[0123] In this regard, in this embodiment, in a training batch for the initial training model, the server can normalize the first predicted conversion rate and the second predicted conversion rate obtained through the training batch based on the normal distribution, and eliminate the problem of the predicted conversion rates being at different orders of magnitude due to the uneven ratio of positive and negative samples of the two prediction sub-models through unified normalization processing, and obtain the first adjusted conversion rate and the second adjusted conversion rate at the same order of magnitude, and then generate the third predicted conversion rate based on the first adjusted conversion rate and the second adjusted conversion rate after normalization, thereby further improving the prediction accuracy of the prediction model.
[0124] The server normalizes the predicted conversion rates output by the first prediction sub-model and the second prediction sub-model in a unified manner, thereby eliminating the problem of the predicted conversion rates being at different levels due to the inconsistent positive and negative sample ratios of the first prediction sub-model and the second prediction sub-model, thereby further improving the prediction accuracy of the prediction model.
[0125] When the product maturity of the target virtual product is different, the number of users who will complete the conversion in the target channel for the content push of the target virtual product will also be different. Therefore, in a possible implementation method,
[0126] In response to performing a content push task of the target virtual product in the target channel, determining a product maturity of the target virtual product;
[0127] According to the product maturity, a conversion rate as an output of the prediction model is determined from the first predicted conversion rate, the second predicted conversion rate and the third predicted conversion rate.
[0128] Product maturity refers to an indicator that can measure the status of a virtual product throughout the entire process from research and development to launch and offline. For example, when the target virtual product is a game product, the game product is in different states such as the new game reservation period, the new game follow-up investment period and the mature game new user acquisition period, depending on the product maturity of the finished game.
[0129] When the product maturity of the target virtual product is different, the number of users who will complete the conversion in the target channel for the content push of the target virtual product will also be different. Even when the product maturity of the target virtual product is very high, there will be very little registration data for the target virtual product, that is, there will be very few training samples that can be used as positive samples of the second prediction sub-model. Therefore, if only the third predicted conversion rate is used as the output of the prediction model, there may be a problem that the prediction model is difficult to output the corresponding conversion rate. Therefore, the server can first determine the product maturity of the target virtual product, and then determine a conversion rate as the output of the prediction model from the first predicted conversion rate, the second predicted conversion rate and the third predicted conversion rate according to the product maturity. For example, when the target virtual product is a game product, if the game product is in the new game reservation period, since the game product has not been launched, there is no registration data for the game product at this time, then the third predicted conversion rate for the game product can be used. The internal testing and reservation data are used as the registration data for the game product to obtain the corresponding training samples. However, since the internal testing and reservation data are usually small, the third predicted conversion rate is not used as the conversion rate output by the prediction model. Instead, a conversion rate output by the prediction model can be determined from the first predicted conversion rate and the second predicted conversion rate. If the game product is in the new game follow-up investment period, there will be more content push for the game product on the target channel at this time, and the corresponding number of registration data for the game product is also large. Therefore, the third predicted conversion rate can be used as the conversion rate output by the prediction model. If the game product is in the mature game new user acquisition period, since the game product is more mature at this time, there will not be much content push for the game product on the target channel, and the corresponding number of registration data for the game product is also small. Therefore, a conversion rate output by the prediction model can be determined from the first predicted conversion rate and the second predicted conversion rate.
[0130] When the product maturity of the target virtual product is different, the outputs of different prediction sub-models in the prediction model can be used as the conversion rate prediction results corresponding to the prediction task, so that when the product maturity is different, it can be ensured that the prediction model can obtain the conversion rate prediction results corresponding to the prediction task.
[0131] Below, taking game product A, whose product maturity is in the new game follow-up investment period, as an example, the natural registration model is used as a comparison model to compare and analyze the effect of the prediction model in this embodiment. The natural registration model refers to a model that uses the registration data for game product A on multiple channels as conversion data to predict the conversion rate of game product A on the target channel.
[0132] As shown in Table 1, in the data funnel 1 with a large amount of data, the area under the probability curve (AUC) of the prediction model is slightly lower than that of the natural registration model. Since the higher the AUC value, the greater the authenticity of the model, the authenticity of the prediction model is slightly lower than that of the natural registration model in the data funnel 1, and the proportion of samples required for the prediction model to recall the same proportion of positive samples is higher than that of the natural registration model. Since the higher the proportion of samples required to recall the same proportion of positive samples, the greater the difficulty of obtaining positive samples in the model, the difficulty of obtaining positive samples in the prediction model is higher than that of the natural registration model in the data funnel 1.
[0133] In data funnel 2 with a smaller amount of data, the AUC of the prediction model is significantly improved compared with the natural registration model. Therefore, in data funnel 2, the authenticity of the prediction model is greatly improved compared with the natural registration model, and the sample ratio required for the prediction model to recall the same proportion of positive samples is much lower than that of the natural registration model. Therefore, in data funnel 2, the difficulty of obtaining positive samples for the prediction model is greatly reduced compared with the natural registration model.
[0134] That is to say, when the product maturity is in the new game follow-up investment period, the prediction model is compared with the natural registration model. Although the authenticity of the prediction model is slightly reduced in data funnel one and the difficulty of obtaining positive samples is slightly increased, its authenticity is greatly improved in data funnel two and the difficulty of obtaining positive samples is significantly reduced, which effectively solves the sparsity problem of positive samples.
[0135] Table 1 Data table of game product A using prediction model and natural registration model
[0136]
[0137] Below, taking game products B and game products C, which are in the mature game acquisition stage, as an example, a multi-game model is used as a comparison model to compare and analyze the effect of the prediction model in this embodiment. The multi-game model refers to a model that uses the click and download data for multiple game products on the target channel as conversion data to predict the conversion rate of game product B or game product C on the target channel.
[0138] As shown in Table 2, for game products B and C, both the AUC and the sample ratio required to recall the same proportion of positive samples are better than the compared multi-game models.
[0139] In other words, for the two game products that are in the mature game-attracting stage, the prediction model is superior to other game models in terms of model authenticity and difficulty in obtaining positive samples.
[0140] Table 2 Data table of game products B and C using prediction model and multi-game model
[0141]
[0142]
[0143] Figure 4 A specific schematic diagram of a model determination scenario provided in an embodiment of the present application, such as Figure 4 As shown, the initial prediction model includes an underlying structure and a top-level structure. The initial prediction model is used to complete the 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 marked virtual product in the target channel. The prediction task is approximately divided into two simple prediction sub-tasks, and the two prediction sub-tasks are used as the modeling logic to obtain the first prediction sub-model and the second prediction sub-model set in parallel in the underlying model, 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; 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 top-level structure includes a third prediction sub-model, and the third 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 the target channel.
[0144] Based on these two simple prediction subtasks, sufficient training samples can be obtained, and these training samples are more or less related to solving the prediction task, 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 approximate splitting of the prediction task, these data that are actually related to the prediction task can be added to the training as training samples, and a large number of positive samples are included, which substantially solves the problem that the positive samples corresponding to the prediction task are sparse and the waiting time is long.
[0145] The initial prediction model also includes a feature extraction sub-model. The server can obtain the sample features of the training samples through the feature extraction sub-model, and use the sample features as the input of the initial prediction model, so that the first prediction sub-model and the second prediction sub-model share the sample features to obtain the corresponding first prediction conversion rate and second prediction conversion rate respectively.
[0146] In order to eliminate the problem of different magnitudes of predicted conversion rates caused by inconsistent positive and negative sample ratios of the first prediction sub-model and the second prediction sub-model, the predicted conversion rates output by the first prediction sub-model and the second prediction sub-model are uniformly normalized to obtain the corresponding first adjusted conversion rate and second adjusted conversion rate respectively.
[0147] The first adjusted conversion rate and the second adjusted conversion rate are input into the third prediction sub-model of the top-level structure to obtain the third predicted conversion rate corresponding to the prediction task. 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 has a certain prediction accuracy.
[0148] According to the first sample label and the first predicted conversion rate corresponding to the training sample, the single-channel loss function can be determined. According to the second sample label and the second predicted conversion rate corresponding to the training sample, the single virtual product loss function can be determined. According to the third sample label and the third predicted conversion rate corresponding to the training sample, the single-channel single virtual product loss function can be determined.
[0149] The underlying structure and top-level structure of the initial prediction model are alternately trained through single-channel loss function, single virtual product loss function and single-channel single virtual product loss function, wherein the underlying structure is trained through single-channel loss function and single virtual product loss function, and the top-level structure is trained through single-channel single virtual product loss function, and when training the top-level structure, the model parameters of the first prediction sub-model and the second prediction sub-model in the underlying structure are fixed, so that the underlying structure and the top-level structure of the initial prediction model can be updated alternately and trained independently during the training process, 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.
[0150] In short, during the training process of the initial prediction model, the problem of sparse positive samples and long waiting time corresponding to the prediction task was substantially solved. 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.
[0151] In the aforementioned Figure 1-4 Based on the corresponding embodiments, Figure 5 A schematic diagram of a model determination device provided in an embodiment of the present application, wherein the model determination device 500 includes a first determination unit 501, an acquisition unit 502, a second determination unit 503 and a training unit 504:
[0152] The first determination unit 501 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 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;
[0153] An acquisition unit 502 is used to input the training sample including the sample account information 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;
[0154] The second determination unit 503 is used to determine the single channel loss function according to the difference between the first sample label and the first predicted conversion rate of the first prediction sub-model corresponding to the training sample, and determine the single virtual product loss function according to the difference between the second sample label and the second predicted conversion rate of the second prediction sub-model corresponding to the training sample;
[0155] The training unit 504 is used to train the initial prediction model through a single channel 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.
[0156] In a possible implementation manner, the second determining unit 503 is further configured to:
[0157] 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 the first predicted conversion rate and the second predicted conversion rate;
[0158] Determine a single-channel single-virtual product loss function according to a difference between the third sample label and the third predicted conversion rate;
[0159] The training unit 504 is used to train 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 to obtain a prediction model.
[0160] In one possible implementation, the training unit 504 is used to alternately train the underlying structure and the 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 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 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.
[0161] In a possible implementation, the model determination device further includes a reducing unit, which is used to reduce the influence of the single-channel single-virtual product loss function of the target training sample on the model training when training the third prediction sub-model, and the target training sample is a training sample that is a negative sample relative to the third prediction sub-model. In a possible implementation, the second determining unit 503 is used to:
[0162] Determine an interactive conversion rate term of the first predicted conversion rate and the second predicted conversion rate, and use the first predicted conversion rate and the second predicted conversion rate as independent conversion rate terms respectively;
[0163] A third predicted conversion rate consisting of an interactive conversion rate item and an independent conversion rate item is constructed, and each item in the third predicted conversion rate is configured with an item weight, and the item weight is used for adjustment when training the third prediction sub-model.
[0164] In a possible implementation manner, the second determining unit 503 is configured to:
[0165] In a training batch for the initial prediction model, a first predicted conversion rate and a second predicted conversion rate obtained through the training batch are normalized based on a normal distribution to obtain a first adjusted conversion rate corresponding to the first predicted conversion rate and a second adjusted conversion rate corresponding to the second predicted conversion rate;
[0166] A third predicted conversion rate is generated by a third prediction sub-model according to the first adjusted conversion rate and the second adjusted conversion rate.
[0167] In a possible implementation, the acquiring unit 502 is configured to:
[0168] When the initial prediction model also includes a feature extraction sub-model, based on the training sample including the user account information, the sample features of the training sample are obtained through the feature extraction sub-model;
[0169] The sample features are used as inputs of the first prediction sub-model and the second prediction sub-model respectively, a first prediction conversion rate is obtained through the first prediction sub-model, and a second prediction conversion rate is obtained through the second prediction sub-model.
[0170] In a possible implementation manner, the first determining unit 501 is configured to:
[0171] In response to performing a content push task of the target virtual product in the target channel, determining a product maturity of the target virtual product;
[0172] According to the product maturity, a conversion rate as an output of the prediction model is determined from the first predicted conversion rate, the second predicted conversion rate and the third predicted conversion rate.
[0173] In a possible implementation, the multiple virtual products are virtual products of the same type.
[0174] 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.
[0175] It can be seen that, for the complex problem of conversion prediction of content push of target virtual products in target channels, it is approximately split 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, and based on these two simple problems as the basis for modeling, the first prediction sub-model and the second prediction sub-model set in parallel in the initial prediction model are obtained. Based on these two simple problems, sufficient training samples can be obtained, 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 in the target channel. Through the approximate splitting of the problem, these data that are actually related to the complex problem 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. The prediction model obtained based on this training can effectively improve the generalization ability and model launch speed of the model without losing too much accuracy.
[0176] 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.
[0177] If the computer device is a terminal device, see Figure 6As shown, the embodiment of the present application provides a terminal device, taking the terminal device as a mobile phone as an example:
[0178] Figure 6 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 6 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 6 The 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.
[0179] Combine the following Figure 6 A detailed introduction to the various components of the mobile phone:
[0180] 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.
[0181] 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.
[0182] 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 .
[0183] 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.
[0184] The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.
[0185] The audio circuit 1460 , the speaker 1461 , and the microphone 1462 can provide an audio interface between the user and the mobile phone.
[0186] 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.
[0187] 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.
[0188] The mobile phone also includes a power source 1490 (such as a battery) for supplying power to various components.
[0189] In this embodiment, the processor 1480 included in the terminal device also has the following functions:
[0190] 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 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;
[0191] Inputting the training sample including the sample account information 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;
[0192] Determine a single channel loss function according to the difference between the first sample label and the first predicted conversion rate of the first prediction sub-model corresponding to the training sample, and determine a single virtual product loss function according to the difference between the second sample label and the second predicted conversion rate of the second prediction sub-model corresponding to the training sample;
[0193] The initial prediction model is trained through the single channel loss function and the single virtual product loss function to obtain the 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.
[0194] If the computer device is a server, the present application embodiment also provides a server, see Figure 7 As shown, Figure 7 The 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.
[0195] 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.
[0196] The steps performed by the server in the above embodiment can be based on Figure 7 The server structure shown.
[0197] 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.
[0198] 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.
[0199] 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.
[0200] 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.
[0201] 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, characterized in that: The method comprises: Determine a corresponding initial prediction model according to the 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; 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; 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; Inputting a training sample including sample account information 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; Determine a single channel loss function according to a difference between a first sample label of the first prediction sub-model corresponding to the training sample and the first predicted conversion rate, and determine a single virtual product loss function according to a difference between a second sample label of the second prediction sub-model corresponding to the training sample and the second predicted conversion rate; The initial prediction model is trained by the single-channel 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.
2. The method according to claim 1, 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 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 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 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, 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, and the prediction model is obtained by training 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, including: The underlying structure and the top-level structure of the initial prediction model are alternately trained through the single-channel 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 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.
4. The method according to claim 2, characterized in that: The method further comprises: When training the third prediction sub-model, the influence of the single-channel single-virtual product loss function of the target training sample on the model training is reduced, and the target training sample is a training sample that is a negative sample relative to the third prediction sub-model.
5. The method according to claim 2, characterized in that: The step of generating the third predicted conversion rate by using the third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate includes: Determine an interactive conversion rate term of the first predicted conversion rate and the second predicted conversion rate, and use the first predicted conversion rate and the second predicted conversion rate as independent conversion rate terms respectively; The third predicted conversion rate consisting of the interactive conversion rate item and the independent conversion rate item is constructed, and each item in the third predicted conversion rate is configured with an item weight, and the item weight is used for adjustment when training the third prediction sub-model.
6. The method according to claim 2, characterized in that The step of generating the third predicted conversion rate by using the third prediction sub-model according to the first predicted conversion rate and the second predicted conversion rate includes: In a training batch for the initial prediction model, the first predicted conversion rate and the second predicted conversion rate obtained through the training batch are normalized based on normal distribution to obtain a first adjusted conversion rate corresponding to the first predicted conversion rate and a second adjusted conversion rate corresponding to the second predicted conversion rate; The third predicted conversion rate is generated by the third prediction sub-model according to the first adjusted conversion rate and the second adjusted conversion rate.
7. The method according to any one of claims 1 to 6, characterized in that: The initial prediction model further includes a feature extraction sub-model, and the step of inputting a training sample including user account information 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 includes: According to the training sample including the user account information, obtaining the sample features of the training sample through the feature extraction sub-model; The sample features are used as inputs of the first prediction sub-model and the second prediction sub-model respectively, a first predicted conversion rate is obtained through the first prediction sub-model, and a second predicted conversion rate is obtained through the second prediction sub-model.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to performing a content push task of the target virtual product in the target channel, determining a product maturity of the target virtual product; According to the product maturity, a conversion rate is determined from the first predicted conversion rate, the second predicted conversion rate and the third predicted conversion rate as an output of the prediction model.
9. The method according to any one of claims 1 to 6, 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, 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, characterized in that: The device comprises a first determining unit, an acquiring unit, a second determining unit and a training unit: The first determination unit 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 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; 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 acquisition unit is used to input the training sample including the sample account information 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; The second determination unit is used to determine a single channel loss function according to a difference between a first sample label of the first prediction sub-model corresponding to the training sample and the first predicted conversion rate, and to determine a single virtual product loss function according to a difference between a second sample label of the second prediction sub-model corresponding to the training sample and the second predicted conversion rate; The training unit is used to train the initial prediction model through the single-channel 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 content push of the target virtual product in the target channel for different user account information.
12. A computer device, 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, 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.
