Training method, use method and device of multi-task learning model

Combining click and non-click re-login behavior data through a multi-task learning model solves the problem of click behavior noise in the existing technology, improves recommendation accuracy, and achieves more accurate user preference predictions.

CN113590288BActive Publication Date: 2024-09-24ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110869097.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-29
Publication Date
2024-09-24
Estimated Expiration
2041-07-29

AI Technical Summary

Technical Problem

The existing return rate estimation model mainly relies on click behavior data and contains a lot of noise, resulting in low recommendation accuracy.

Method used

A multi-task learning model is adopted, including two sub-task models, click re-registration rate and non-click re-registration rate. By considering both click and non-click re-registration behavior data, the model is updated to improve recommendation accuracy.

Benefits of technology

It effectively avoids the influence of noise, improves the accuracy of recommendations, and improves the learning effect of the model by sharing implicit feature information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The present disclosure discloses a training method, a use method and a device for a multi-task learning model. The method includes: using a first sample to train the first subtask model to obtain the output of the first subtask model, wherein the first sample records the behavior of the user logging into the application and clicking on the recommended items of the application and then re-logging into the application; using a second sample to train the second subtask model to obtain the output of the second subtask model, wherein the second sample records the behavior of the user logging into the application but not clicking on the recommended items of the application and then re-logging into the application; and updating the multi-task learning model according to the output of the first subtask model and the output of the second subtask model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of machine learning, and in particular to a training method, a use method, and a device for a multi-task learning model. Background Art

[0002] In order to improve user retention, some applications (APPs) generally recommend items that users are interested in, so that users become attached to these items and log in again, thereby increasing user activity.

[0003] The re-visit rate estimation model used in existing recommendation strategies mainly relies on the data related to the user's click behavior on the recommended items to estimate the user's re-visit rate. However, there is a lot of noise in the data related to the click behavior, which will reduce the recommendation accuracy. Summary of the invention

[0004] In view of this, the present disclosure provides a training method, a use method and a device for a multi-task learning model to improve the recommendation accuracy.

[0005] In a first aspect, a training method for a multi-task learning model is provided, wherein the multi-task learning model includes a first subtask model and a second subtask model, wherein the output of the first subtask model is a click-re-login rate, which is used to describe the probability of a user logging in to an application and clicking on a recommended item of the application and re-logging into the application, and the output of the second subtask model is a no-click-re-login rate, which is used to describe the probability of a user logging in to the application but not clicking on the recommended item of the application and re-logging into the application; the method includes: using a first sample to train the first subtask model to obtain an output of the first subtask model, wherein the first sample records the behavior of the user logging in to the application and re-logging into the application when the user logs in to the application and clicks on the recommended item of the application; using a second sample to train the second subtask model to obtain an output of the second subtask model, wherein the second sample records the behavior of the user logging in to the application but not clicking on the recommended item of the application and re-logging into the application; and updating the multi-task learning model according to the output of the first subtask model and the output of the second subtask model.

[0006] In a second aspect, a method for recommending items based on a multi-task learning model is provided, wherein the multi-task learning model includes a first sub-task model and a second sub-task model, wherein the output of the first sub-task model is a click-to-return rate, which is used to describe the probability of a user re-logging into an application when the user logs into the application and clicks on a recommended item of the application, and the output of the second sub-task model is a non-click-to-return rate, which is used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on the recommended item of the application; the multi-task learning model is used to calculate a first user's click-to-return rate and a non-click-to-return rate for multiple items to be recommended; and at least one of the multiple items to be recommended is recommended to the first user based on the click-to-return rate and the non-click-to-return rate of the first user for the multiple items to be recommended.

[0007] In a third aspect, a training device for a multi-task learning model is provided, the multi-task learning model comprising a first subtask model and a second subtask model, the output of the first subtask model being a click-to-re-login rate, the click-to-re-login rate being used to describe the probability of re-logining to the application when the user logs in to the application and clicks on the recommended items of the application, and the output of the second subtask model being a no-click-to-re-login rate, the no-click-to-re-login rate being used to describe the probability of re-logining to the application when the user logs in to the application but does not click on the recommended items of the application; the training device comprising: a first training module, for training the first subtask model using a first sample to obtain an output of the first subtask model, the first sample recording the behavior of re-logining to the application when the user logs in to the application and clicks on the recommended items of the application; a second training module, for training the second subtask model using a second sample to obtain an output of the second subtask model, the second sample recording the behavior of re-logining to the application when the user logs in to the application but does not click on the recommended items of the application; and an updating module, for updating the multi-task learning model according to the output of the first subtask model and the output of the second subtask model.

[0008] In a fourth aspect, a device for recommending items based on a multi-task learning model is provided, wherein the multi-task learning model includes a first sub-task model and a second sub-task model, wherein the output of the first sub-task model is a click-to-return rate, which is used to describe the probability of a user re-logging into an application when the user logs into the application and clicks on the recommended items of the application, and the output of the second sub-task model is a non-click-to-return rate, which is used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on the recommended items of the application; the training device includes: a calculation module, which is used to calculate the click-to-return rate and the non-click-to-return rate of a first user for multiple items to be recommended using the multi-task learning model; and a recommendation module, which is used to recommend at least one item among the multiple items to be recommended to the first user based on the click-to-return rate and the non-click-to-return rate of the first user for the multiple items to be recommended.

[0009] In a fifth aspect, a device for training a recommendation model is provided, comprising a memory and a processor, wherein the memory stores executable code, and the processor is configured to execute the executable code to implement the method described in the first aspect.

[0010] According to a sixth aspect, a recommendation device is provided, comprising a memory and a processor, wherein the memory stores executable code, and the processor is configured to execute the executable code to implement the method according to the second aspect.

[0011] In a seventh aspect, a computer-readable storage medium is provided, on which an executable code is stored. When the executable code is executed, the method described in the first aspect or the second aspect can be implemented.

[0012] In an eighth aspect, a computer program product is provided, comprising an executable code, which, when executed, can implement the method described in the first aspect or the second aspect.

[0013] The disclosed embodiment estimates the re-login rate based on a multi-task learning model. The model simultaneously considers relevant data of click-relogin behavior and relevant data of non-click-relogin behavior, so that the multi-task learning model can output the click-relogin rate and the non-click-relogin rate at the same time, thereby avoiding the impact of noise on the model and improving the accuracy of recommendations. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the sample space provided by an embodiment of the present disclosure.

[0015] Figure 2 It is a schematic diagram of the architecture of the multi-task learning model provided by an embodiment of the present disclosure.

[0016] Figure 3It is a flowchart of a training method for a multi-task learning model provided in one embodiment of the present disclosure.

[0017] Figure 4 It is a flowchart of a training method for a multi-task learning model provided by another embodiment of the present disclosure.

[0018] Figure 5 It is a flowchart of an item recommendation method based on a multi-task learning model provided in one embodiment of the present disclosure.

[0019] Figure 6 It is a flowchart of an item recommendation method based on a multi-task learning model provided by another embodiment of the present disclosure.

[0020] Figure 7 It is a structural diagram of a training device for a multi-task learning model provided in an embodiment of the present disclosure.

[0021] Figure 8 It is a structural diagram of an item recommendation device based on a multi-task learning model provided in an embodiment of the present disclosure.

[0022] Fig. 9 It is a structural schematic diagram of a recommendation device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0024] To facilitate understanding, some concepts involved in the embodiments of the present disclosure are briefly introduced first.

[0025] Click Through Rate (CTR): also known as click-through rate, which is the actual number of clicks on the recommended items exposed in the application divided by the display volume of the recommended items. It can be used to reflect how many of the recommended items exposed are clicked by users.

[0026] Post-Click Conversion Rate (CVR): Also known as the purchase rate, it is the actual number of conversions of the recommended items exposed in the application divided by the number of clicks on the recommended items. It can be used to reflect the probability that the recommended items exposed will be purchased after being clicked, and can also be understood as the ratio of the exposed recommended items to be converted by users.

[0027] Post-Click Revisit Rate (CRR): It is the number of recommended items exposed in the app that are clicked and then revisited divided by the number of clicks. It can be used to reflect the probability of the app being revisited after the exposed recommended items are clicked. It can also be understood as the probability of revisiting the app when the user logs in to the app and clicks the recommended items in the app.

[0028] Non-Click Revisit Rate (NCRR): the number of recommended items exposed in the app that were not clicked and then revisited divided by the number of unclicked items. It can be used to reflect the probability of the app being revisited if the exposed recommended items are not clicked. It can also be understood as the probability of the user revisiting the app when the user logs in to the app but does not click on the recommended items in the app.

[0029] A multi-task learning model can refer to a machine learning model that processes multiple tasks. It can improve the overall learning effect of the model by sharing implicit specific information between multiple related tasks.

[0030] The application mentioned in the embodiments of the present disclosure may also be referred to as an application program. In some embodiments, the application may refer to an APP. In other embodiments, the application may refer to a mini-program (a mini-program may be understood as an application that can be used without downloading or uninstalling, and is a lightweight solution for applications, such as an Alipay mini-program or a WeChat mini-program).

[0031] The recommended items mentioned in the embodiments of the present disclosure are the content recommended by the above-mentioned application to the user. The embodiments of the present disclosure do not specifically limit the types of recommended items. For example, it can be a service for improving the activity of the user (such as fund financial management purchase services, health insurance purchase services, or public welfare mini-game services), or a coupon (such as a phone bill discount coupon, a car wash coupon, or a food discount coupon, etc.), or a commodity.

[0032] The re-login mentioned in the embodiments of the present disclosure refers to the behavior of a user opening the application on the Nth day after using the above application. The value of N can be, for example, 2, 4, or 7. The re-login rate is used to indicate the probability that a user will open the application on the Nth day after using the application. The higher the re-login rate, the stronger the user's willingness to re-login. If a user's re-login rate for an application is very high, it means that the user will frequently use the application after using the application, which can represent that the user is an active user of the application to a certain extent.

[0033] In the Internet industry, the scale of active users is the cornerstone and guarantee of a company's success. In order to increase the scale of active users, applications generally recommend some content that users will be interested in, so as to encourage users to log in to the application again by making them sticky to the content, making them active users.

[0034] As an example, the application may be Alipay, and after entering Alipay, its page may provide users with recommended items. For example, the recommended item may be a phone bill discount coupon, and the user clicks to receive the discount coupon, and then logs in to Alipay again at a later time to consume the discount coupon. Alternatively, the recommended item may be the Ant Forest mini-game, and the user clicks on the mini-game and becomes interested in it, and then can continue to log in to Alipay again to continue playing Ant Forest. In this way, users can be encouraged to use the application frequently and become active users.

[0035] Then, how to make accurate recommendations for users so that they become active users has become an urgent problem to be solved. The existing recommendation strategy is to recommend users based on the estimated re-login rate. This recommendation strategy generally uses the CRR estimation model, and its estimation scheme is consistent with the estimation scheme of the CVR estimation model. The main purpose of the CVR estimation model is to "guide" users to exhibit such a sequence of behaviors: "exposure->click->conversion", and focus on the CVR estimation task, that is, estimating the conversion rate after clicking. In other words, the scheme assumes that there will be no conversion if the user does not click. Specifically for the CRR estimation model, the model also makes estimates according to the above-mentioned behavior sequence, that is, the re-login rate is estimated through the relevant data of the click behavior.

[0036] However, there is a lot of noise in the relevant data. The specific reasons are as follows: in the scenario of estimating the re-login rate, even if the user does not interact with the recommended content (i.e., does not click), the user may still log in to the application again because of the recommended content in the application (taking Alipay as an example, after the user logs in to Alipay for the first time, a part of the Alipay page can display recommended items. For example, if the recommended item is a phone bill discount coupon, the user sees the discount coupon but does not click it. The next day or the next N days, the user logs in to Alipay again and searches for the discount coupon because of the information he saw before). Therefore, there are some invisible signals of exposure -> re-login in the relevant data.

[0037] For easier understanding, the following is combined Figure 1, the above problem is explained from the perspective of sample space. In the actual sample space, the area 11 surrounded by circle A represents the sample space composed of recommended items exposed by the application. The area 12 surrounded by circle B represents the sample space composed of clicked recommended items, which occupies a part of the area surrounded by circle A. The area 13 in area 11 other than area 12 represents the sample space composed of unclicked recommended items. The area 14 surrounded by circle C represents the sample space of users who log in to the application again because of recommended items.

[0038] Depend on Figure 1 It can be seen that when using the CRR estimation model to estimate the re-login rate, it only focuses on the samples that are re-logged in after clicking (i.e., the shaded portion 15 in the figure). However, there are still a large number of non-clicked re-login samples in the exposed sample space (i.e., the area outside the shaded portion 15 in area 14). Based on the analysis of user interaction logs in multiple scenarios, the number of non-clicked re-login samples is 10 to 50 times the number of clicked re-login samples. Therefore, using the existing estimation model will treat the non-clicked re-login samples as negative samples of clicks, which will bring some noise to the relevant data and lose the rich user login preference information.

[0039] In summary, recommendations based on existing estimation models often have a low recommendation accuracy.

[0040] In view of this, the embodiments of the present disclosure propose a method for recommending items using a multi-task learning model. This method can simultaneously use click data and non-click data to estimate the re-listing rate. Compared with the above-mentioned related technologies, it can avoid the influence of noise in the related data and has a higher recommendation accuracy.

[0041] Combine the following Figure 2 The multi-task learning model of the embodiment of the present disclosure is described in detail.

[0042] from Figure 2 It can be seen that the multi-task learning model of the embodiment of the present disclosure may include a first subtask model and a second subtask model. The first subtask model is a CRR estimation model, and its output result is the click-through re-entry rate mentioned above. The second subtask model is an NCRR estimation model, and its output result is the non-click-through re-entry rate mentioned above.

[0043] In some embodiments, in order to better estimate the user's preference for recommended items, the multi-task learning model may further include a third sub-task model. Figure 2 As shown in Figure 2, the third subtask model is a CTR prediction model, and its output result is the click-through rate mentioned above. Figure 1It can be seen that the sample space of the CTR prediction model is located in area 11, so the results of the click-through rate are also taken into consideration for recommendation. The combined results of the output results of the three subtask models are used to jointly implement recommendations, which can avoid the influence of noise to a certain extent.

[0044] The above three subtask models all include an input layer, a fully connected neural network, and an output layer. The input layer can obtain the features of the input data. The input data can be training samples or task samples of the task to be performed. When training the task learning model, the input layer is used to obtain the features of the training samples. When using the multi-task learning model for estimation, the input layer is used to obtain the task features of the task to be performed.

[0045] Specifically, when the input layer obtains training samples, the features of the training samples may include user features and recommended item features. User features include, but are not limited to, basic user portrait features, such as user ID, age, gender, zodiac sign, occupation, education level, and life stage; user location features, such as user birthplace, workplace, home location, and permanent residence; and user behavior features, user click behavior features on recommended content or user re-login behavior on the application (e.g., features of user re-login behavior after clicking on recommended content, features of user re-login behavior because of recommended content without clicking on recommended content, and features of user re-login behavior unrelated to recommended content). Recommended item features include ID features used to identify recommended items, features of historical click volume, or classification features.

[0046] In some embodiments, the input layers of the three subtask models are all embedding layers, and the three subtask models share the same embedding layer. Through the embedding layer, the discrete user features and recommended item features in the training sample can be mapped to a high-dimensional vector space to make them continuous variables. The design of multi-task sharing the underlying embedding can effectively solve the problem of sparse data in the post-click re-login task and reduce model parameters.

[0047] In actual applications, the first sample, the second sample, and the third sample can be generated according to the user features in the training sample and the features of the recommended items. The first sample includes the first user information and the first item information; the second sample includes the second user information and the second item information; and the third sample includes the third user information and the third item information. The first item information represents the clicked item information; the second item information represents the unclicked item information; and the third item information represents the exposed item information. It can also be understood that the first sample is a positive sample generated by the user logging in to the application N days after clicking on the exposed recommended content, and a negative sample generated by the user not logging in to the application N days after clicking on the exposed recommended content. The second sample is a positive sample generated by the user logging in to the application N days after not clicking on the exposed recommended content, and a negative sample generated by the user not logging in to the application N days after not clicking on the exposed recommended content. The third sample is a positive sample generated by clicking on the exposed recommended content, and a negative sample generated by not clicking on the exposed recommended content.

[0048] The first, second, and third samples processed by embedding are transformed into continuous variables of user features and recommended item features. The continuous variables of each sample will then enter the fully connected neural networks of the first subtask learning model, the second subtask learning model, and the third subtask learning model respectively.

[0049] The fully connected neural network may include a feature concatenation layer, at least two fully connected layers, and an output layer. The feature concatenation layer can concatenate all embedding vectors to form a concatenated user / recommended item embedding. Inputting the concatenated user / recommended item embedding into the fully connected layer and output layer corresponding to each subtask module can enable each subtask module to output the estimated results respectively, that is, the first subtask module outputs the post-click re-entry rate, the second subtask module outputs the post-no-click re-entry rate, and the third subtask module outputs the click-through rate.

[0050] In some embodiments, the output layers of the three subtask models may be the output layers of the corresponding three fully connected neural networks, and ultimately the items recommended to the user may be determined by the output results of each neural network.

[0051] The feature variables of the item information in the first sample and the second sample contain some variables about the re-login behavior, which are related to the re-login label. However, in the actual re-login scenario, the re-login label is unstable, that is, in some cases, the user's re-login behavior on the next day may be very related to the user's own characteristics and the recommended items at the same time (for example, the user uses the recommended item and becomes sticky, and still uses this service when the user logs in again), or it may only be related to the user himself, and has nothing to do with the recommended item (for example, the user has no perception of the recommended item, and logs in again just to use other services). In other words, in the actual training samples, the positive samples of the first sample and the second sample only need to be re-logined, which will make many feature vectors in the features of the recommended items become noise, which will affect the estimation results of the CRR estimation model and the NCRR model.

[0052] In order to solve the above problems, in some embodiments, Figure 2 As shown, a first gating structure G1 and a second gating structure G2 may be provided at the output ends of the embedding layers of the first subtask model and the second subtask model, respectively. The first gating structure G1 and the second gating structure G2 are used to filter the first item information in the first sample and the second item information in the second sample, respectively. For example, the first gating structure G1 is used to filter features in the first item information of the first sample that are irrelevant to the recommended content that was clicked in the previous few days. The second gating structure is used to filter features in the second item information of the second sample that are irrelevant to the recommended content that was exposed but not clicked in the previous few days. By setting the gating structure, the noise in the recommended item features of the re-listing rate estimation model can be filtered out, thereby avoiding the influence of the instability of the re-listing label on the estimation result.

[0053] The present disclosure does not specifically limit the gate control structures G1 and G2. Figure 2 As shown, the gated structures G1 and G2 can be formed by a gated convolutional network. Specifically, the gated structure can have a gated parameter, and the gated parameter of the first gated structure G1 is determined by inputting the first user information and the first item information into the gated convolutional network, and the gated parameter of the second gated structure G2 is determined by inputting the second user information and the second item information into the gated convolutional network. A sigmiod activation function is provided in the gated convolutional network. After the first user information, the first item information, the second user information, and the second item information are input into the gated convolutional neural network of the first gated structure and the second gated structure, respectively, it can output a value between 0 and 1 through the sigmiod activation function, and the value can be applied to the output end of the embedding layer, specifically to the item information (i.e., the features of the recommended item). Through the gated convolutional network, it is possible to dynamically adjust the proportion of the features of the item information that can participate in the prediction of the re-registration, thereby filtering the noise dynamically according to the user behavior, so that the model's prediction results are better.

[0054] Based on the above multi-task learning model, the present disclosure also provides a training method for the multi-task learning model. Figure 3 , this training method is described in detail.

[0055] In step S310, the first subtask model is trained using the first sample to obtain the output of the first subtask model. The first sample records the behavior of the user logging into the application and clicking on the recommended item of the application and then logging back into the application.

[0056] In step S320, the second subtask model is trained using the second sample to obtain the output of the second subtask model. The second sample records the behavior of the user logging into the application again when the user logs into the application but does not click on the recommended item of the application.

[0057] In some embodiments, the first sample and the second sample may be data randomly selected from the logs of all users of the application, which may also be referred to as observation data. The observation data records the characteristics of the user and the characteristics of the recommended items. Therefore, the observation data contains multiple tags for recording the user's behavior. The characteristics of the user and the characteristics of the recommended items have been described in detail above and will not be repeated here.

[0058] The first sample mentioned in the embodiment of the present disclosure records the behavior of re-logging into the application when the user logs in to the application and clicks on the recommended items of the application, which means that the first sample includes both samples in which the user logs in to the application and clicks on the recommended items of the application and samples in which the user does not log in to the application under the above circumstances.

[0059] Similarly, the second sample mentioned in the embodiment of the present disclosure records the behavior of logging back into the application when the user logs in to the application but does not click on the recommended items of the application, which means that the second sample includes both samples in which the user logs in to the application but does not click on the recommended items of the application and samples in which the user does not log back into the application under the above circumstances.

[0060] In step S330, the multi-task learning model is updated according to the output of the first subtask model and the output of the second subtask model.

[0061] The output results of the first subtask model and the second subtask model may also include a loss value of the click-re-login rate and a loss value of the non-click-re-login rate. Through back propagation, the above loss values ​​may be used to update the model parameters of the multi-task learning model, for example, the parameters of each layer of each subtask model or the gating parameters.

[0062] The disclosed embodiment trains the first subtask model and the second subtask model respectively by recording the first sample and the second sample of the user's behavior of clicking on the recommended items of the application and the user's behavior of returning to the application, so that the first subtask model and the second subtask model output the click-return rate and the non-click-return rate respectively. By considering the click-return rate and the non-click-return rate at the same time, the noise caused by ignoring the invisible signal can be avoided, and the recommendation effect can be made more accurate.

[0063] In some other embodiments, the multi-task learning model further includes a third sub-task learning model capable of outputting the click-through rate of the recommended items of the application. Figure 4 As shown, the training method of the multi-task learning model may further include step S340. In step S340, the third subtask model is trained using the third sample to obtain the output of the third subtask model. The third sample records the behavior of the user clicking on the recommended item when logging into the application.

[0064] The third sample is also taken from the observation data and will not be elaborated here.

[0065] The third sample mentioned in the embodiment of the present disclosure records the behavior of clicking on recommended items when the user logs in to the application, which means that the third sample includes both samples of clicking on recommended items when the user logs in to the application and samples of not clicking on recommended items under the above circumstances.

[0066] In addition, by Figure 1 It can be seen that the existing CRR estimation model is estimated based on the sample space in area 12, and the sample space to be estimated in practice is area 11. The sample distribution of the sample space in area 12 is different from that of the sample space in area 11, which can also be said to be biased data. This problem of biased data will also bring some noise to the estimation model, thereby affecting the recommendation effect of the estimation model.

[0067] Corresponding to the first subtask learning model and the second subtask learning model, the first sample and the second sample are observation data, which are taken from the clicked sample space (i.e., area 12) and the non-clicked sample space (i.e., area 13), respectively. Therefore, both the first subtask model and the second subtask model have the problem of data bias.

[0068] Through research, we found that the formation of click sample space and non-click sample space originates from the user's click tendency, which will affect the sample distribution of click sample space and non-click sample space, while the sample distribution of click sample space will affect the output result of CRR estimation model, and the sample distribution of non-click sample space will affect the output result of NCRR estimation model. Therefore, it can also be said that the problem of data bias in both the first subtask model and the second subtask model is caused by the user's click tendency in the observed data, which also leads to the inclusion of noise in the relevant data, making the recommendation results inaccurate.

[0069] In order to solve the above problems, in some embodiments, combined with Figure 2 and Figure 4 It can be seen that the training method provided in the embodiment of the present disclosure may include steps S350 and S360 after step S340.

[0070] In step S350, inverse tendency weighting is performed on the loss value of the first subtask model and / or the loss value of the second subtask model according to the click-through rate.

[0071] As an implementation method, the result of inverse tendency weighting of the loss value CRR Loss of the first subtask model is IPW-CRR Loss, and IPW-CRR Loss can be the value obtained by multiplying CRR Loss by 1 / CTR; the result of inverse tendency weighting of the loss value NCRR Loss of the second subtask model is IPW-NCRR Loss, and IPW-NCRR Loss can be the value obtained by multiplying NCRRLoss by 1 / (1-CTR).

[0072] In step S360, the multi-task learning model is updated according to the output of the first subtask model and the output of the second subtask model.

[0073] In some embodiments, the outputs of the first subtask model, the second subtask model, and the third subtask model may include a click-to-return rate loss value CRR Loss, a non-click-to-return rate loss value NCRR Loss, and a click-to-reach rate loss value CTR Loss. Using each loss value and through back propagation, the model parameters of the multi-task learning model can be updated, for example, the parameters of each layer of each subtask model or the gating parameters.

[0074] In other embodiments, Figure 2As shown, the outputs of the first subtask model, the second subtask model, and the third subtask model may include the inverse-weighted click-to-return rate loss value IPW-CRR Loss, the inverse-weighted non-click-to-return rate loss value IPW-NCRR Loss, and the click-to-reach rate loss value CTR Loss. Using each loss value and through back propagation, the model parameters of the multi-task learning model can be updated, for example, the parameters of each layer of each subtask model or the gating parameters.

[0075] The disclosed embodiment introduces a CTR prediction model based on the perspective of causal inference, and uses the output result (click-through rate) of the CTR prediction model to perform inverse propensity weighting (IPW) on the loss values ​​of the CRR prediction model and the NCRR prediction model. This method is equivalent to constructing a debiased estimator using the CTR prediction model, which can weaken the user's click tendency and completely debias the relevant data of the first subtask model and the second subtask model. This can effectively solve the noise caused by the bias of the observed data and further improve the prediction accuracy of the model.

[0076] The disclosed embodiments also provide other embodiments of the training method for the multi-task learning model. Since this part of the content has been described in detail in the part about the multi-task learning model structure, only a brief description is given below.

[0077] Optionally, the input layers of the first subtask model, the second subtask model and the third subtask model are all embedding layers, and the first subtask model, the second subtask model and the third subtask model share the same embedding layer.

[0078] Optionally, the first sample includes first user information and first item information, the first subtask model includes a first gating structure, and the first gating structure is used to filter information in the first item information that is not related to the recommended item; and / or the second sample includes second user information and second item information, the second subtask model includes a second gating structure, and the second gating structure is used to filter information in the second item information that is not related to the recommended item.

[0079] Optionally, the gating parameters of the first gating structure are determined based on the first user information and the first item information; and / or the gating parameters of the second gating structure are determined based on the second user information and the second item information.

[0080] The disclosed embodiment also proposes a method for item recommendation based on the above-mentioned multi-task learning model. The method can simultaneously use click data and non-click data to estimate the re-listing rate, which can better avoid the influence of noise and has a higher recommendation accuracy.

[0081] The following is combined with Figure 5 This recommended method is described in detail.

[0082] In step 510, a multi-task learning model is used to calculate the click-return rate and non-click-return rate of the first user for multiple items to be recommended.

[0083] The embodiment of the present disclosure does not impose any specific restrictions on the first user. For example, the first user may be a newly registered user of the application or an old user of the application.

[0084] In step 520, at least one item among the plurality of items to be recommended is recommended to the first user based on the click-return rate and the non-click-return rate of the first user for the plurality of items to be recommended.

[0085] In some other embodiments, the multi-task learning model further includes a third sub-task model. Figure 6 As shown, the method for recommending items based on the multi-task learning model may also include:

[0086] In step 610, a multi-task learning model is used to calculate the click-return rate, non-click-return rate, and click-through rate of the first user for multiple items to be recommended.

[0087] In step 620, at least one of the plurality of items to be recommended is recommended to the first user based on the click-return rate, non-click-return rate, and click-through rate of the first user for the plurality of items to be recommended.

[0088] The embodiment of the present disclosure does not specifically limit the specific manner of recommending at least one item among the multiple items to be recommended to the first user.

[0089] As an implementation method, the sum of the click-return rate and the non-click-return rate of the first user for multiple recommended items can be ranked, and the top K items in the ranking of the multiple recommended items can be recommended to the first user, where K is an integer not less than 1.

[0090] As another implementation, the multiple items to be recommended may be scored for the first user based on their click-return rate, non-click-return rate, and click-through rate, and the multiple items to be recommended may be ranked according to the scores. The top K ranked items among the multiple items to be recommended are recommended to the first user, where K is an integer not less than 1.

[0091] The embodiment of the present disclosure does not impose any specific limitation on the number of K, which can be selected according to needs.

[0092] Combination of the above Figures 3 to 6 , describes in detail the method embodiment of the present disclosure, and the following is combined with Figures 7 to 9, describes the device embodiment of the present disclosure in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous method embodiment.

[0093] Figure 7 700 is a schematic structural diagram of a training device for a multi-task learning model provided by an embodiment of the present disclosure. The device 700 may include: a first training module 710, a second training module 720 and an updating module 730. These modules are described in detail below.

[0094] The first training module 710 is used to train the first subtask model using the first sample to obtain the output of the first subtask model. The first sample records the behavior of the user logging into the application and clicking on the recommended item of the application and then logging back into the application.

[0095] The second training module 720 is used to train the second subtask model using the second sample to obtain the output of the second subtask model. The second sample records the behavior of the user logging into the application again when the user logs into the application but does not click on the recommended items of the application.

[0096] The updating module 730 is used to update the multi-task learning model according to the output of the first subtask model and the output of the second subtask model.

[0097] Optionally, the apparatus 700 further includes a third training module 740 for outputting the click-through rate of the recommended items of the application.

[0098] Optionally, the device 700 further includes an inverse tendency weighting module 750, configured to perform inverse tendency weighting on the loss value of the first subtask model and / or the loss value of the second subtask model according to the click-through rate.

[0099] Optionally, the weight for inversely weighting the loss value of the first subtask model is the inverse of the click-through rate; and / or the weight for inversely weighting the loss value of the second subtask model is the inverse of the difference between 1 and the click-through rate.

[0100] Optionally, the input layers of the first subtask model, the second subtask model and the third subtask model are all embedding layers, and the first subtask model, the second subtask model and the third subtask model share the same embedding layer.

[0101] Optionally, the first sample includes first user information and first item information, the first subtask model includes a first gating structure, the second sample includes second user information and second item information, the second subtask model includes a second gating structure, and the device 700 also includes: a filtering module 760, used to filter information in the first item information that is not related to the recommended item through the first gating structure, and / or filter information in the second item information that is not related to the recommended item through the second gating structure.

[0102] Optionally, the gating parameters of the first gating structure are determined based on the first user information and the first item information; and / or the gating parameters of the second gating structure are determined based on the second user information and the second item information.

[0103] Figure 8 800 is a schematic structural diagram of an item recommendation device based on a multi-task learning model provided by an embodiment of the present disclosure. The device 800 may include: a calculation module 810 and a recommendation module 820. These modules are described in detail below.

[0104] The calculation module 810 is used to calculate the click-return rate and non-click-return rate of the first user for multiple items to be recommended by using a multi-task learning model.

[0105] The recommendation module 820 is used to recommend at least one item among the multiple items to be recommended to the first user according to the click-return rate and the non-click-return rate of the first user for the multiple items to be recommended.

[0106] Optionally, the calculation module 810 is also used to calculate the click-through rate of the first user for multiple items to be recommended using a multi-task learning model; the recommendation module 820 is also used to recommend at least one item among the multiple items to be recommended to the first user based on the click-repeat rate, non-click-repeat rate and click-through rate of the first user for the multiple items to be recommended.

[0107] Optionally, the recommendation module 820 is also used to score the multiple items to be recommended according to their respective corresponding click-return rates, non-click-return rates and click-through rates; sort the multiple items to be recommended according to the scores; and recommend the top K items among the multiple items to be recommended to the first user, where K is an integer not less than 1.

[0108] Fig. 99 is a schematic diagram of the structure of an apparatus for training a transfer learning model provided by another embodiment of the present disclosure. The apparatus 900 may be, for example, a computing device having a computing function. For example, the apparatus 900 may be a mobile terminal or a server. The apparatus 900 may include a memory 910 and a processor 920. The memory 910 may be used to store executable code. The processor 920 may be used to execute the executable code stored in the memory 910 to implement the steps in the various methods described above. In some embodiments, the apparatus 900 may also include a network interface 930, and data exchange between the processor 920 and an external device may be implemented through the network interface 930.

[0109] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0110] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments of the present disclosure can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.

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

[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

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

Claims

1. A training method for a multi-task learning model, the multi-task learning model comprising a first subtask model and a second subtask model, the output of the first subtask model being a click-to-re-login rate, the click-to-re-login rate being used to describe the probability of a user re-logging into an application when the user logs into the application and clicks on a recommended item of the application, and the output of the second subtask model being a no-click-to-re-login rate, the no-click-to-re-login rate being used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on a recommended item of the application; The method comprises: Using a first sample to train the first subtask model, obtaining an output of the first subtask model, wherein the first sample records an action of the user logging into the application and clicking on a recommended item of the application and then logging back into the application; Using a second sample to train the second subtask model, obtaining an output of the second subtask model, wherein the second sample records an action of the user logging into the application again when the user logs into the application but does not click on a recommended item of the application; The multi-task learning model is updated according to the output of the first subtask model and the output of the second subtask model.

2. According to the training method of claim 1, the multi-task learning model also includes a third sub-task model, and the output of the third sub-task model is the click-through rate of the recommended items of the application.

3. The training method according to claim 2, further comprising: The loss value of the first subtask model and / or the loss value of the second subtask model are / is inversely weighted according to the click-through rate.

4. According to the training method of claim 3, the weight value when the loss value of the first subtask model is subjected to the inverse tendency weighting is the inverse of the click-through rate; and / or the weight value when the loss value of the second subtask model is subjected to the inverse tendency weighting is the inverse of the difference between 1 and the click-through rate.

5. According to the training method of claim 3 or 4, the input layers of the first subtask model, the second subtask model and the third subtask model are all embedding layers, and the first subtask model, the second subtask model and the third subtask model share the same embedding layer.

6. The training method according to claim 1, wherein the first sample comprises first user information and first item information, the first subtask model comprises a first gating structure, and the first gating structure is used to filter information in the first item information that is not related to the recommended item; and / or The second sample includes second user information and second item information, and the second subtask model includes a second gating structure, and the second gating structure is used to filter information in the second item information that is irrelevant to the recommended item.

7. The training method according to claim 6, wherein the gating parameters of the first gating structure are determined based on the first user information and the first item information; and / or The gating parameters of the second gating structure are determined based on the second user information and the second item information.

8. An item recommendation method based on a multi-task learning model, the multi-task learning model includes a first subtask model and a second subtask model, the output of the first subtask model is a click-to-return rate, the click-to-return rate is used to describe the probability of a user re-logging into the application when the user logs into the application and clicks on the recommended items of the application, and the output of the second subtask model is a non-click-to-return rate, the non-click-to-return rate is used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on the recommended items of the application; Calculating the click-through rate and non-click-through rate of the first user for the plurality of items to be recommended by using the multi-task learning model; At least one item among the multiple items to be recommended is recommended to the first user according to the click-return rate and the non-click-return rate of the first user for the multiple items to be recommended.

9. The method according to claim 8, wherein the multi-task learning model further comprises a third sub-task model, and the output of the third sub-task model is the click-through rate of the recommended items of the application. The method further comprises: Calculating the click-through rate of the first user for multiple items to be recommended using the multi-task learning model; The step of recommending at least one of the plurality of items to be recommended to the first user according to the click-return rate and the non-click-return rate of the first user for the plurality of items to be recommended includes: At least one item among the multiple items to be recommended is recommended to the first user according to the click-return rate, non-click-return rate and click-through rate of the first user for the multiple items to be recommended.

10. The method according to claim 9, wherein the step of recommending at least one of the plurality of items to be recommended to the first user according to the click-return rate, non-click-return rate, and click-through rate of the plurality of items to be recommended by the first user comprises: Scoring the multiple items to be recommended according to the click-return rate, non-click-return rate and click-through rate corresponding to each of the multiple items to be recommended; sorting the multiple items to be recommended according to the scores of the multiple items to be recommended; Recommending the first K items among the plurality of items to be recommended to the first user, where K is an integer not less than 1.

11. A training device for a multi-task learning model, the multi-task learning model comprising a first subtask model and a second subtask model, the output of the first subtask model being a click-to-re-login rate, the click-to-re-login rate being used to describe the probability of a user re-logging into an application when the user logs into the application and clicks on a recommended item of the application, the output of the second subtask model being a no-click-to-re-login rate, the no-click-to-re-login rate being used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on a recommended item of the application; The training device comprises: A first training module is used to train the first subtask model using a first sample to obtain an output of the first subtask model, wherein the first sample records an action of the user logging into the application and clicking on a recommended item of the application and then logging back into the application; A second training module is used to train the second subtask model using a second sample to obtain an output of the second subtask model, wherein the second sample records an action of the user logging into the application again when the user logs into the application but does not click on a recommended item of the application; An updating module is used to update the multi-task learning model according to the output of the first subtask model and the output of the second subtask model.

12. According to the training device of claim 11, the multi-task learning model also includes a third sub-task model, and the output of the third sub-task model is the click-through rate of the recommended items of the application.

13. The training device according to claim 12, further comprising: An inverse tendency weighting module is used to perform inverse tendency weighting on the loss value of the first subtask model and / or the loss value of the second subtask model according to the click-through rate.

14. According to the training device of claim 13, the weight value when the loss value of the first subtask model is subjected to the inverse tendency weighting is the inverse of the click-through rate; and / or the weight value when the loss value of the second subtask model is subjected to the inverse tendency weighting is the inverse of the difference between 1 and the click-through rate.

15. According to the training device according to claim 13 or 14, the input layers of the first subtask model, the second subtask model and the third subtask model are all embedding layers, and the first subtask model, the second subtask model and the third subtask model share the same embedding layer.

16. The training device according to claim 11, wherein the first sample comprises first user information and first item information, the first subtask model comprises a first gating structure, the second sample comprises second user information and second item information, the second subtask model comprises a second gating structure, The training device also includes: A filtering module is used to filter information irrelevant to the recommended item in the first item information through the first gating structure, and / or to filter information irrelevant to the recommended item in the second item information through the second gating structure.

17. The training device according to claim 16, wherein the gating parameters of the first gating structure are determined based on the first user information and the first object information; and / or The gating parameters of the second gating structure are determined based on the second user information and the second item information.

18. An item recommendation device based on a multi-task learning model, the multi-task learning model comprising a first subtask model and a second subtask model, the output of the first subtask model being a click-to-return rate, the click-to-return rate being used to describe the probability of a user re-logging into an application when the user logs into the application and clicks on a recommended item of the application, the output of the second subtask model being a no-click-to-return rate, the no-click-to-return rate being used to describe the probability of a user re-logging into the application when the user logs into the application but does not click on a recommended item of the application; The recommended devices include: A calculation module, used for calculating the click-return rate and non-click-return rate of the first user for the multiple items to be recommended by using the multi-task learning model; A recommendation module is used to recommend at least one item among the multiple items to be recommended to the first user based on the click-return rate and non-click-return rate of the first user for the multiple items to be recommended.

19. The device according to claim 18, wherein the multi-task learning model further comprises a third sub-task model, and the output of the third sub-task model is the click-through rate of the recommended items of the application. The calculation module is further used to calculate the click-through rate of the first user for multiple items to be recommended using the multi-task learning model; The recommendation module is also used to recommend at least one item among the multiple items to be recommended to the first user based on the click-return rate, non-click-return rate and click-through rate of the first user for the multiple items to be recommended.

20. The device according to claim 19, wherein the recommendation module is used to score the plurality of items to be recommended according to the click-return rate, non-click-return rate and click-through rate corresponding to each of the plurality of items to be recommended; sorting the multiple items to be recommended according to the scores of the multiple items to be recommended; Recommending the first K items among the plurality of items to be recommended to the first user, where K is an integer not less than 1.

21. A recommendation device, comprising a memory and a processor, wherein the memory stores executable codes, and the processor is configured to execute the executable codes to implement the method according to any one of claims 1 to 10.