User life cycle value prediction method and prediction device

The multi-door hybrid expert algorithm is used to process feature vectors, which solves the problem in the existing technology of being unable to accurately predict the lifetime value of potential users, improves the accuracy of lifetime value prediction and the ability to predict potential users, and reduces application promotion costs.

CN116703457BActive Publication Date: 2024-08-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211657078.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-12-16
Filing Date
2022-12-22
Publication Date
2024-08-27
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

Existing user lifetime value prediction methods cannot accurately predict the lifetime value of potential users, and there is a problem of low accuracy of lifetime value prediction.

Method used

Using the Multi-Gate Mixed Expert Algorithm (MMoE), the feature vectors processed by multiple expert networks are then weighted by multiple attention layers. The data processing equipment obtains the weighted feature vectors and performs life cycle analysis based on these feature vectors. The prediction of value avoids the 'seesaw' problem and improves the accuracy of prediction.

Benefits of technology

It improves the accuracy of user lifetime value prediction, avoids the "seesaw" problem, enhances the ability to predict potential user lifetime value, and reduces the cost of application promotion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116703457B_ABST
    Figure CN116703457B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for predicting user lifetime value, which is conducive to improving the accuracy of user lifetime value prediction. The method includes: obtaining characteristic data of the target application and characteristic data of the target user; inputting the characteristic data of the target application and the characteristic data of the target user into a trained lifetime value prediction model to obtain the lifetime value of the target user in a preset time period in the future; wherein the lifetime value prediction model includes an input layer, multiple expert networks, multiple attention layers, and a payment level task sub-model.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on December 16, 2022, with application number 202211625364.X and application name “User Life Cycle Value Prediction Method and Prediction Device”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a method and device for predicting user lifetime value. Background Art

[0003] With the development of terminal technology, various application programs (referred to as "applications") can be installed on terminal devices. For any application, in order to better obtain the return on investment (i.e. the ratio between revenue and investment) of the application, it is necessary not only to predict the lifetime value of existing users, but also to obtain the lifetime value of potential users. Lifetime value refers to the revenue obtained by the application from user acquisition to user loss. Potential users refer to users who have not yet installed the above application but may have a need to use the application.

[0004] At present, there is a method for predicting the lifetime value of users. This method models the lifetime value of users based on deep neural networks. Data processing equipment can predict the lifetime value of users based on this model, but this method cannot predict the lifetime value of potential users. At present, there is also a method for predicting the lifetime value of users. Data processing equipment can predict the lifetime value of users using an unsupervised artificial neural network model of deep learning, but this method cannot obtain the specific payment amount of users. In addition, this method cannot predict the lifetime value of potential users.

[0005] Based on the above two methods, there is also a method for predicting user lifetime value. This method models the user's registration task, payment task and payment level task. Although this method can solve the problem of predicting the user's payment amount and the lifetime value of potential users, it has the problem of low accuracy in predicting the lifetime value. Summary of the invention

[0006] The present application provides a method and device for predicting user lifetime value, which are helpful to improve the accuracy of user lifetime value prediction.

[0007] In a first aspect, a method for predicting user lifetime value is provided, the method comprising: obtaining feature data of a target application and feature data of a target user; inputting the feature data of the target application and the feature data of the target user into a trained lifetime value prediction model to obtain the lifetime value of the target user in a preset time period in the future; wherein the lifetime value prediction model comprises an input layer, multiple expert networks, multiple attention layers and a payment level task sub-model, the input layer is used to concatenate the feature data of the target application and the feature data of the target user into a first target feature vector, the multiple expert networks are used to convert the first target feature vector into multiple second target feature vectors, the multiple attention layers are used to perform weighted processing on the multiple second target feature vectors to obtain multiple third target feature vectors, and the payment level task sub-model is used to predict the lifetime value based on all or part of the multiple third target feature vectors.

[0008] In a possible implementation, the target user is a potential user, and the life cycle value of the target user in a future preset time period represents the life cycle value of the target user from the time of registration of the target application to the future preset time period.

[0009] In another possible implementation, the target user is a user who has registered the target application, and the lifetime value of the target user in a future preset time period represents the lifetime value of the target user from now to the future preset time period.

[0010] It should be understood that the potential user may be a user who has not registered the target application, or a user who has registered but uninstalled the target application, and this embodiment of the present application does not limit this.

[0011] In a possible implementation, the lifetime value prediction model does not include a registration task sub-model and a payment task sub-model, and the data processing device predicts the lifetime value based on all vectors of the plurality of third feature vectors.

[0012] In another possible implementation, the lifetime value prediction model also includes a registration task sub-model and a payment task sub-model. The data processing device predicts whether the target user will register based on some vectors in the multiple third feature vectors, predicts whether the target user will pay based on some vectors in the multiple third feature vectors, and predicts the lifetime value based on the remaining vectors in the multiple third feature vectors.

[0013] The method for predicting user lifetime value of the embodiment of the present application inputs the characteristic data of the target application and the characteristic data of the target user into a trained lifetime value prediction model, and the multiple attention layers in the trained lifetime value prediction model perform weighted processing on multiple second feature vectors to obtain multiple third target feature vectors, so that the data processing device predicts the lifetime value based on all or part of the multiple third feature vectors after weighted processing, thereby avoiding the above-mentioned "seesaw" problem and helping to improve the accuracy of lifetime value prediction.

[0014] In a possible implementation, the number of the third eigenvector is 1, and the payment level task sub-model in the lifetime value prediction model is one. In other words, the payment level task sub-model is constructed based on the user payment level as a unimodal distribution, that is, based on the user payment level as a normal distribution.

[0015] Constructing a payment level task sub-model with the user payment level as a normal distribution, that is, the payment level task sub-model in the life cycle value prediction model is one, which can simplify the model form and reduce the processing complexity of the data processing equipment.

[0016] In another possible implementation, the number of the third eigenvectors is a positive integer greater than 1, and there are multiple payment level task sub-models in the lifetime value prediction model. In other words, the payment level task sub-model is constructed based on the multi-peak distribution of user payment levels.

[0017] The payment level task sub-model is constructed with the user payment level as a multi-peak distribution, that is, there are multiple payment level task sub-models in the life cycle value prediction model, which is closer to the actual payment situation of users and is conducive to improving the accuracy of model prediction.

[0018] In combination with the first aspect, in certain implementations of the first aspect, the input of each of the multiple attention layers is a first target feature vector and multiple second target feature vectors, and the output is a third target feature vector obtained by weighted summation of the multiple second target feature vectors.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the lifetime value prediction model also includes: a registration task sub-model and a payment task sub-model; wherein the registration task sub-model is used to predict whether the target user will register on the target application within a future preset time period based on a portion of vectors in multiple third target feature vectors, and the payment task sub-model is used to predict whether the target user will pay for the target application within a future preset time period based on a portion of vectors in multiple third target feature vectors.

[0020] In combination with the first aspect, in some implementations of the first aspect, it also includes: obtaining sample data, the sample data including feature data of multiple applications, feature data of multiple users, and interaction data between multiple users and multiple applications, the interaction data including whether multiple users have registered multiple applications, whether multiple users have paid for multiple applications, and the total amount of payment of each of the multiple users for each application in the multiple applications within a historical preset time period; based on the sample data, training the life cycle value prediction model to obtain a trained life cycle value prediction model.

[0021] It should be understood that the number of days in the historical preset time period is the same as the number of days in the above-mentioned future preset time period. The above-mentioned future preset time period is N days, and the historical preset time period is also N days. The historical preset time period represents the period from now to the past N days, which means that the data processing device can predict the life cycle value of any user within the future preset time period N days based on the sample data within the historical time period N days.

[0022] In combination with the first aspect, in certain implementations of the first aspect, a lifetime value prediction model is trained based on sample data to obtain a trained lifetime value prediction model, including: inputting feature data of multiple applications and feature data of multiple users into an input layer to obtain a first feature vector; inputting the first feature vector into multiple expert networks respectively to obtain multiple second feature vectors, and each of the multiple expert networks outputs a second feature vector; inputting the first feature vector and the multiple second feature vectors into multiple attention layers respectively to obtain multiple third feature vectors, and each of the multiple attention layers outputs a third feature vector; inputting a portion of the multiple third feature vectors into a registration task sub-model, inputting a portion of the multiple third feature vectors into a payment task sub-model, and inputting the remaining feature vectors of the multiple third feature vectors into a payment level task sub-model to obtain a prediction result for a historical preset time period, the prediction result for the historical preset time period includes whether each user registered on each application within the historical preset time period, whether each user paid on each application within the historical preset time period, and the payment level of each user among the multiple users for each application, and the payment level includes the payment mean and the payment variance.

[0023] It should be understood that the feature data of the application is a multidimensional vector, and the feature data of the user is a multidimensional vector. The first feature vector obtained by inputting the feature data of the application and the feature data of the user into the input layer can be a vector obtained by concatenating the multidimensional vector of the feature data of the application and the multidimensional vector of the feature data of the user.

[0024] The above-mentioned multiple expert networks are different, and the multiple second eigenvectors output are also different. Therefore, the multiple third eigenvectors obtained through the multiple second eigenvectors are also different. When the data processing device processes registration tasks, payment tasks and payment level tasks based on the multiple third eigenvectors, it can avoid the "seesaw" problem, which is conducive to improving the accuracy of the model output results.

[0025] In combination with the first aspect, in certain implementations of the first aspect, the payment level task sub-model includes multiple preset neural networks and two attention layers, the number of the multiple preset neural networks is equal to the number of the above-mentioned remaining feature vectors, and the two attention layers include a first attention layer for calculating the payment mean and a second attention layer for calculating the payment variance.

[0026] It should be understood that the payment level task sub-model includes multiple preset neural networks and two attention layers, and the input of the payment level task sub-model is multiple third eigenvectors, wherein a third eigenvector is input into a preset neural network to obtain a mean and a variance, and the obtained mean is then input into the first attention layer, and the obtained variance is then input into the second attention layer.

[0027] In combination with the first aspect, in certain implementations of the first aspect, the payment level of each user among multiple users in each application is obtained, including: inputting the remaining feature vectors into multiple preset neural networks respectively to obtain multiple means and multiple variances; inputting the first feature vector and the multiple means into the first attention layer to obtain the payment mean, and the payment mean is used to represent the lifetime value; inputting the first feature vector and the multiple variances into the second attention layer to obtain the payment variance.

[0028] In the lifetime value prediction model, in addition to predicting the user's payment mean, that is, in addition to predicting the user's lifetime value, the user's payment variance is also predicted. The mean is used to represent the average level of multiple predicted user payments, and the variance is used to represent the degree of fluctuation of each predicted user payment around the average level. Therefore, the output variance can better reflect the accuracy of the model's prediction. In the scenario of app promotion to acquire new users, it can avoid the situation where the model makes inaccurate predictions about the lifetime value of potential users of the app but still promotes the app to the user, which is conducive to reducing the cost of app promotion.

[0029] In combination with the first aspect, in certain implementations of the first aspect, a life cycle value prediction model is trained based on sample data to obtain a trained life cycle value prediction model, including: calculating a loss function based on prediction results of a historical preset time period and interaction data between multiple users and multiple applications; adjusting parameters of the life cycle value prediction model based on the loss function, and repeatedly inputting training samples into the life cycle value prediction model for training, so that the loss function meets preset conditions.

[0030] In combination with the first aspect, in certain implementations of the first aspect, the preset conditions include any one of the following: the number of times the training sample is input into the life cycle value prediction model is greater than or equal to a first preset threshold; the training time of the life cycle value prediction model is greater than or equal to a second preset threshold; or, the loss function is less than or equal to a third preset threshold.

[0031] It should be understood that the relationship between the preset number of times and the preset duration is: the longer the preset duration, the more times the training samples are input into the life cycle value prediction model.

[0032] If the preset time is longer, the number of times the training samples are input into the life cycle value prediction model is greater, which is conducive to improving the accuracy of the life cycle value prediction model. If the preset time is shorter, the number of times the training samples are input into the life cycle value prediction model is less, which is conducive to improving the determination efficiency of the life cycle value prediction model.

[0033] Optionally, the interaction data between multiple users and multiple applications can be updated, in other words, the sample data can be updated, and the data processing device repeatedly trains the lifecycle prediction model based on the updated sample data to obtain the lifecycle prediction model after the sample data is updated.

[0034] Since time is changing, that is to say, the interaction data between users and applications is in dynamic change, the data processing device can continuously update the sample data, continuously train the life cycle value prediction model, and predict the user's life cycle value based on the repeatedly trained life cycle value prediction model, which is conducive to improving the accuracy of the user's life cycle value prediction.

[0035] In a second aspect, a prediction device for user lifetime value is provided, which is used to execute the method in any possible implementation of the first aspect. Specifically, the prediction device includes a module for executing the method in any possible implementation of the first aspect.

[0036] In one design, the prediction device may include a module that executes the methods / operations / steps / actions described in the first aspect above, and the module may be a hardware circuit, software, or a combination of hardware circuit and software.

[0037] In a third aspect, a device for predicting user lifetime value is provided, comprising: a processor and a memory, wherein the processor is used to read instructions stored in the memory to execute a method in any possible implementation of the first aspect.

[0038] Optionally, there are one or more processors and one or more memories.

[0039] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0040] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0041] The user lifetime value prediction device in the third aspect mentioned above can be a chip. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.

[0042] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any possible implementation of the first aspect.

[0043] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a schematic flow chart of a method for predicting life cycle value provided in an embodiment of the present application;

[0045] Figure 2 It is a schematic diagram of the payment level distribution of users;

[0046] Figure 3 is a schematic diagram of the payment level distribution of a user provided in an embodiment of the present application;

[0047] Figure 4 It is a life cycle value prediction model provided by the embodiment of the present application;

[0048] Figure 5 It is a schematic block diagram of a device for predicting user life cycle value provided by an embodiment of the present application;

[0049] Figure 6 It is a schematic block diagram of another device for predicting user lifetime value provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0051] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0052] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0053] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0054] With the development of terminal technology, various application programs (referred to as "applications") can be installed on terminal devices. For any application, in order to better obtain the return on investment of the application (that is, the ratio between revenue and investment), it is necessary not only to predict the lifetime value of existing users, but also to obtain the lifetime value of potential users. The lifetime value refers to the revenue obtained from the acquisition of users to the loss of users. Potential users refer to users who have not yet installed the above application but may have a demand for the application.

[0055] Currently, there are three methods for predicting user lifetime value:

[0056] The first method for predicting user lifetime value is to model the user lifetime value based on a deep neural network, and the data processing device predicts the user lifetime value based on the model. However, this method does not take into account the user's registered tasks, resulting in the inability to predict the lifetime value of potential users.

[0057] The second method for predicting user lifetime value is that the data processing equipment uses an unsupervised artificial neural network model of deep learning to predict the user's lifetime value. However, the result predicted by this method is only the payment amount range of the user, and the specific payment amount of the user cannot be obtained. In addition, this method does not take into account the user's registration task and cannot predict the lifetime value of potential users.

[0058] Based on the above two methods, there is a third method for predicting user lifetime value. This method models the user's registration task, payment task, and payment level task. Although this method can solve the problem of predicting the user's payment amount and the lifetime value of potential users. However, in this method, since the feature vectors input into the registration task, payment task, and payment level task models are obtained through a neural network, if one of the task models predicts more accurately, the remaining task models will be inaccurate, resulting in a "seesaw" problem in this method, resulting in low accuracy in predicting the user's lifetime value.

[0059] In order to solve the above problems, the embodiment of the present application provides a prediction method and prediction device for user lifetime value, which adopts a multi-gate mixture of experts (MMoE) algorithm, that is, multiple feature vectors obtained by processing multiple expert networks are subjected to weighted processing by multiple attention layers, and the data processing device obtains multiple feature vectors processed by multiple attention layers. The data processing device predicts the lifetime value based on the processed multiple feature vectors, which is conducive to avoiding the "seesaw" problem, thereby helping to improve the accuracy of the lifetime value prediction.

[0060] Next, a method 100 for predicting user lifetime value provided by an embodiment of the present application is introduced. The method 100 can be applied to the scenario of obtaining the return on investment of an application, or to the scenario of promoting an application to obtain new users. The method 100 is executed by a data processing device, which can be a terminal device, a network device, a server, or other device with a data processing function. The terminal device can be a device with an application to be predicted installed, or a device without an application to be predicted installed. The embodiment of the present application does not limit this.

[0061] The method 100 comprises the following steps:

[0062] S101, acquiring characteristic data of a target application and characteristic data of a target user.

[0063] It should be understood that the feature data of the target application and the feature data of the target user are extracted from the original data of the target application and the original data of the target user respectively based on feature engineering. Feature engineering is used to extract features from the original data of the application and the original data of the user, thereby converting them into feature data that can be easily processed by data processing equipment.

[0064] Exemplarily, the original data of the target application may include the type, purpose, manufacturer, similar applications of the target application, payment patterns of existing paying users, etc. If the application is not listed, the payment patterns of existing paying users of similar applications may be obtained. The original data of the target user may include the natural person portrait of the target user, the data of the target user using each application, and the payment preference of the target user, etc., wherein the natural person portrait of the target user may include the gender and age of the target user, etc., the data of the target user using each application may include what applications the target user has registered, how much he has paid for these applications, etc., and the payment preference of the target user may include what applications the target user likes to pay for, whether he likes one-time payment or staged payment, etc.

[0065] S102, input the characteristic data of the target application and the characteristic data of the target user into the trained lifetime value prediction model to obtain the lifetime value of the target user in a preset time period in the future. The lifetime value prediction model includes an input layer, multiple expert networks, multiple attention layers, and a payment level task sub-model. The input layer is used to splice the characteristic data of the target application and the characteristic data of the target user into a first target feature vector, the multiple expert networks are used to convert the first target feature vector into multiple second target feature vectors, the multiple attention layers are used to perform weighted processing on the multiple second target feature vectors to obtain multiple third target feature vectors, and the payment level task sub-model is used to predict the lifetime value based on all or part of the multiple third target feature vectors.

[0066] In a possible implementation, the target user is a potential user, and the life cycle value of the target user in a future preset time period represents the life cycle value of the target user from the time of registration of the target application to the future preset time period.

[0067] In another possible implementation, the target user is a user who has registered the target application, and the lifetime value of the target user in a future preset time period represents the lifetime value of the target user from now to the future preset time period.

[0068] For example, the preset time period is N days. If the target user is a potential user, the target user's lifetime value in the future preset time period represents the target user's lifetime value from the time of registration of the target application to the next N days. If the target user is a user who has registered the target application, the target user's lifetime value in the future preset time period represents the target user's lifetime value from now to the next N days. Where N is a positive integer.

[0069] It should be understood that the potential user may be a user who has not registered the target application, or a user who has registered but uninstalled the target application, and this embodiment of the present application does not limit this.

[0070] In a possible implementation, the lifetime value prediction model does not include a registration task sub-model and a payment task sub-model, and the data processing device predicts the lifetime value based on all vectors of the plurality of third feature vectors.

[0071] In another possible implementation, the lifetime value prediction model also includes a registration task sub-model and a payment task sub-model. The data processing device predicts whether the target user will register based on some vectors in the multiple third feature vectors, predicts whether the target user will pay based on some vectors in the multiple third feature vectors, and predicts the lifetime value based on the remaining vectors in the multiple third feature vectors.

[0072] The method for predicting user lifetime value of the embodiment of the present application inputs the characteristic data of the target application and the characteristic data of the target user into a trained lifetime value prediction model, and the multiple attention layers in the trained lifetime value prediction model perform weighted processing on multiple second feature vectors to obtain multiple third target feature vectors, so that the data processing device predicts the lifetime value based on all or part of the multiple third feature vectors after weighted processing, thereby avoiding the above-mentioned "seesaw" problem and helping to improve the accuracy of lifetime value prediction.

[0073] In a possible implementation, the number of the third eigenvectors input to the payment level task submodel is 1, and the payment level task submodel in the lifetime value prediction model is one. In other words, the payment level task submodel is constructed based on the user payment level as a unimodal distribution, that is, based on the user payment level as a normal distribution, such as Figure 2 shown.

[0074] Figure 2 It is a schematic diagram of the distribution of users’ payment levels. Figure 2 The horizontal axis represents the total payment of users, and the vertical axis represents the number of users. The peak in the figure means that the total payment of 11 users is 10, and the total payment of the remaining users is concentrated around 10.

[0075] Constructing a payment level task sub-model with the user payment level as a normal distribution, that is, the payment level task sub-model in the life cycle value prediction model is one, which can simplify the model form and reduce the processing complexity of the data processing equipment.

[0076] In another possible implementation, if the number of the third eigenvectors input to the payment level task sub-model is greater than 1, the payment level task sub-model in the lifetime value prediction model can be modeled and predicted based on one third eigenvector respectively. In other words, the payment level task sub-model is constructed based on the multi-peak distribution of user payment levels, such as Figure 3 shown.

[0077] Figure 3 This is a schematic diagram of the payment level distribution of users provided by the embodiment of the present application. In this figure, the horizontal axis represents the total amount of user payments, and the vertical axis represents the number of users. There are three peaks in the figure, indicating that there are multiple users paying near the three amounts. Specifically, the first peak indicates that 7 users paid, and the total amount of payment of each user is 4, the second peak indicates that 11 users paid, and the total amount of payment of each user is 8, and the third peak indicates that 9 users paid, and the total amount of payment of each user is 14. The payment amounts of the remaining users are concentrated near these three peaks.

[0078] A payment level task sub-model is constructed with the user payment level as a multi-peak distribution. That is, the input of the payment level task sub-model in the lifetime value prediction model is multiple third eigenvectors, which is close to the actual payment situation of the user, which is conducive to improving the accuracy of the model prediction.

[0079] Optionally, the input of each of the above-mentioned multiple attention layers is a first target feature vector and multiple second target feature vectors, and the output is a third target feature vector obtained by weighted summation of the multiple second target feature vectors.

[0080] Optionally, the lifetime value prediction model further includes: a registration task sub-model and a payment task sub-model. The registration task sub-model is used to predict whether the target user will register on the target application within a future preset time period based on a part of the plurality of third target feature vectors, and the payment task sub-model is used to predict whether the target user will pay for the target application within a future preset time period based on a part of the plurality of third target feature vectors.

[0081] Next, taking the example that the input of the payment level task sub-model in the lifetime value prediction model is multiple third feature vectors, and the lifetime value model also includes a registration task sub-model and a payment task sub-model, the training process of the lifetime value prediction model is introduced in detail.

[0082] It should be understood that the training process of the life cycle value prediction model can be executed by another data processing device different from the above-mentioned data processing device, or can be executed by the above-mentioned data processing device, and the embodiments of the present application are not limited to this.

[0083] Optionally, the above method also includes: obtaining sample data, the sample data including characteristic data of multiple applications, characteristic data of multiple users, and interaction data between multiple users and multiple applications, the interaction data including whether multiple users have registered multiple applications, whether multiple users have paid for multiple applications, and the total payment of each of the multiple users for each application in the multiple applications within a historical preset time period; based on the sample data, training the life cycle value prediction model to obtain a trained life cycle value prediction model.

[0084] It should be understood that the number of days in the historical preset time period is the same as the number of days in the above-mentioned future preset time period. The above-mentioned future preset time period is N days, and the historical preset time period is also N days. The historical preset time period represents the period from now to the past N days, which means that the data processing device can predict the life cycle value of any user within the future preset time period N days based on the sample data within the historical time period N days.

[0085] Optionally, based on the sample data, the life cycle value prediction model is trained to obtain a trained life cycle value prediction model, including: inputting the feature data of multiple applications and the feature data of multiple users into the input layer to obtain a first feature vector. Inputting the first feature vector into multiple expert networks respectively to obtain multiple second feature vectors, and each of the multiple expert networks outputs a second feature vector. Inputting the first feature vector and the multiple second feature vectors into multiple attention layers respectively to obtain multiple third feature vectors, and each of the multiple attention layers outputs a third feature vector. Inputting a part of the multiple third feature vectors into the registration task sub-model, inputting a part of the multiple third feature vectors into the payment task sub-model, and inputting the remaining feature vectors of the multiple third feature vectors into the payment level task sub-model to obtain the prediction results of the historical preset time period, and the prediction results of the historical preset time period include whether each user registered on each application within the historical preset time period, whether each user paid on each application within the historical preset time period, and the payment level of each user in each application among the multiple users, and the payment level includes the payment mean and the payment variance.

[0086] It should be understood that the feature data of the application is a multidimensional vector, and the feature data of the user is a multidimensional vector. The first feature vector obtained by inputting the feature data of the application and the feature data of the user into the input layer can be a vector obtained by concatenating the multidimensional vector of the feature data of the application and the multidimensional vector of the feature data of the user.

[0087] Exemplarily, the characteristic data of the application is (1, 2, 3), the characteristic data of the user is (4, 5, 6), and the first characteristic vector is (1, 2, 3, 4, 5, 6).

[0088] The above-mentioned multiple expert networks are different, and the multiple second eigenvectors output are also different. Therefore, the multiple third eigenvectors obtained through the multiple second eigenvectors are also different. When the data processing device processes registration tasks, payment tasks and payment level tasks based on the multiple third eigenvectors, it can avoid the "seesaw" problem, which is conducive to improving the accuracy of the model output results.

[0089] Optionally, the payment level task sub-model includes multiple preset neural networks and two attention layers, the number of the multiple preset neural networks is equal to the number of remaining feature vectors, and the two attention layers include a first attention layer for calculating the payment mean and a second attention layer for calculating the payment variance.

[0090] It should be understood that the payment level task sub-model includes multiple preset neural networks and two attention layers, and the input of the payment level task sub-model is multiple third eigenvectors, wherein a third eigenvector is input into a preset neural network to obtain a mean and a variance, and the obtained mean is then input into the first attention layer, and the obtained variance is then input into the second attention layer.

[0091] Optionally, the payment level of each user among multiple users in each application is obtained, including: inputting the remaining feature vectors into multiple preset neural networks respectively to obtain multiple means and multiple variances; inputting the first feature vector and the multiple means into the first attention layer to obtain the payment mean, and the payment mean is used to represent the lifetime value; inputting the first feature vector and the multiple variances into the second attention layer to obtain the payment variance.

[0092] In the lifetime value prediction model, in addition to predicting the user's payment mean, that is, in addition to predicting the user's lifetime value, the user's payment variance is also predicted. The mean is used to represent the average level of multiple predicted user payments, and the variance is used to represent the degree of fluctuation of each predicted user payment around the average level. Therefore, the output variance can better reflect the accuracy of the model's prediction. In the scenario of app promotion to acquire new users, it can avoid the situation where the model makes inaccurate predictions about the lifetime value of potential users of the app but still promotes the app to the user, which is conducive to reducing the cost of app promotion.

[0093] Optionally, the life cycle value prediction model is trained based on sample data to obtain a trained life cycle value prediction model, including: calculating a loss function based on prediction results of a historical preset time period and interaction data between multiple users and multiple applications; adjusting parameters of the life cycle value prediction model based on the loss function, and repeatedly inputting training samples into the life cycle value prediction model for training, so that the loss function meets preset conditions.

[0094] It should be understood that the loss function consists of the following three parts:

[0095] (1) The cross entropy loss function L between “whether each user in the prediction result will register on each application in the historical time period” and “whether each user in the training sample will register on each application in multiple applications” 1 .

[0096] Specifically, the prediction result of whether each user will register on each application in the historical time period represents the probability of whether the user will register, and the cross entropy loss function L between whether each user in the model outputs whether to register on each application in the historical time period and whether each user in the training sample will register on each application in multiple applications 1The cross entropy loss function L represents the difference between the probability of whether the model outputs registration and the standard value of whether the user in the training sample will register. 1 The smaller it is, the smaller the difference is.

[0097] The cross entropy loss function L between "whether each user in the prediction result will register on each application in the historical period" and "whether each user in the training sample will register on each application in multiple applications" 1 The following relations are satisfied:

[0098]

[0099] Among them, for any user among multiple users and any application among multiple applications, y represents the true label of whether the user has registered the application in the training sample. For example, if the user has registered the application, the true label is 1; if the user has not registered the application, the true label is 0. Indicates the predicted probability value of whether the user will register within the historical time period output by the lifetime value prediction model.

[0100] For example, if the prediction result of whether any user among multiple users will register on any application among multiple applications within the historical time period is 1, and the true label of whether the user has registered the application in the training sample is 1, then the difference between the predicted value within the historical time period and the true label of the training sample is 0, and the cross-entropy loss function value is 0, indicating that the predicted value of the lifetime value prediction model is no different from the true label in the training sample.

[0101] (2) The cross entropy loss function L between “whether each user in the prediction results will pay for each application in the historical time period” and “whether each user in the training sample will pay for each application in multiple applications” 2 .

[0102] Cross entropy loss function L 2 You can refer to the above formula, and to avoid repetition, it will not be described here.

[0103] (3) The loss function L between “the average payment of each user in the prediction results on each application in the historical time period” and “the total payment of each user in the training sample on each application in multiple applications” 3 .

[0104] For example, the loss function L 3 It can be a zero-inflated lognormal distribution (ZILN) loss function, which satisfies the following relationship:

[0105]

[0106] Among them, for any user among multiple users and any application among multiple applications, μ represents the mean payment of the user on the application in the historical time period output by the lifetime value prediction model, σ represents the payment variance of the user on the application in the historical time period output by the lifetime value prediction model, and x represents the actual total payment of the user on the application in the training sample.

[0107] Therefore, the loss function of the lifetime value prediction model is: L = L 1 +L 2 +L 3 .

[0108] Optionally, the preset conditions include any of the following: the number of times the training sample is input into the life cycle value prediction model is greater than or equal to a first preset threshold; the training time of the life cycle value prediction model is greater than or equal to a second preset threshold; or, the loss function is less than or equal to a third preset threshold.

[0109] For example, the data processing device can train the life cycle value prediction model through an adaptive moment estimation (Adam) training algorithm. During the training process, the data processing device adjusts the parameters in the life cycle value prediction model so that the loss function L 1 , loss function L 2 And the loss function L 3 All are minimized, thereby minimizing the loss function L of the life cycle value prediction model.

[0110] Exemplarily, the data processing device may also start a timer when starting to adjust the parameters in the life cycle value prediction model to count the training time of the life cycle value prediction model. Alternatively, the data processing device may also start a counter when starting to adjust the parameters in the life cycle value prediction model to count the number of times the training sample is input into the life cycle value prediction model. The training time of the life cycle value prediction model is the time from the start of model training to the end of model training.

[0111] It should be understood that the relationship between the preset number of times and the preset duration is: the longer the preset duration, the more times the training samples are input into the life cycle value prediction model.

[0112] If the preset time is longer, the number of times the training samples are input into the life cycle value prediction model is greater, which is conducive to improving the accuracy of the life cycle value prediction model. If the preset time is shorter, the number of times the training samples are input into the life cycle value prediction model is less, which is conducive to improving the determination efficiency of the life cycle value prediction model.

[0113] Optionally, the interaction data between multiple users and multiple applications can be updated, in other words, the sample data can be updated, and the data processing device repeatedly trains the lifecycle prediction model based on the updated sample data to obtain the lifecycle prediction model after the sample data is updated.

[0114] Exemplarily, N can be 14, 90 or 365. N of 14 indicates that the data processing device can predict the lifetime value of any user within the next 14 days based on sample data from now to the past 14 days. N of 90 indicates that the data processing device can predict the lifetime value of any user within the next 90 days based on sample data from now to the past 90 days. N of 365 indicates that the data processing device can predict the lifetime value of any user within the next 365 days based on sample data from now to the past 365 days.

[0115] Since time is changing, that is, the interaction data between users and applications from now to the past N days has changed from the interaction data between users and applications from yesterday to the past N days, that is, the interaction data between users and applications is in dynamic change. Therefore, the data processing device can continuously update the sample data, continuously repeat the training of the life cycle value prediction model, and predict the user's life cycle value based on the repeatedly trained life cycle value prediction model, which is conducive to improving the accuracy of the user's life cycle value prediction.

[0116] Next, combine Figure 4 , introduces the process of determining the life cycle value prediction model of the embodiment of the present application.

[0117] Figure 4 This is a life cycle value prediction model provided by the embodiment of the present application. The determination of the model includes the following steps:

[0118] Step 1: Obtain the original data of each of the multiple applications, and extract the features of the original data of each of the multiple applications based on feature engineering to obtain the feature data of the multiple applications. Obtain the original data of each of the multiple users, and extract the features of the original data of each of the multiple users based on feature engineering to obtain the feature data of the multiple users. Obtain the interaction data between each of the multiple applications and each of the multiple users.

[0119] Exemplarily, the interaction data between each application and each user may include whether the user has registered the application, whether the user has paid for the application, and the total amount of payment made by the user on the application in the past N days from now on. Among them, 1 means that the user has registered the application, and 0 means that the user has not registered the application. 1 means that the user has paid for the application, and 0 means that the user has not paid for the application. The total amount of payment made by the user on the application in the past N days can be represented by 4, 9, 10, 12, 14, etc. In practice, the total amount of payment made by the user on the application in the past N days may not be these values, and this is only an example.

[0120] In the following, in conjunction with Table 1, interaction data of each application in the multiple applications and each user in the multiple users is introduced.

[0121] Table 1

[0122]

[0123]

[0124] It should be understood that the above examples are merely illustrative of the number of applications and the number of users. In practice, the number of applications and the number of users may be other numbers, which are not limited in the embodiments of the present application.

[0125] It should also be understood that the value of N in Table 1 and the payment amount for the past N days are the same as above, and will not be repeated here to avoid repetition.

[0126] Therefore, the training samples in Table 1 include feature data of applications 1 to 10, feature data of users 1 to 5, and interaction data between applications 1 to 10 and users 1 to 5. The interaction data includes: whether users 1 to 5 have registered applications 1 to 10, whether users 1 to 5 have paid for applications 1 to 10, and the total amount of payment made by each user of users 1 to 5 for each application of applications 1 to 10 in the past N days.

[0127] Step 2: Input the feature data of the multiple applications and the feature data of the multiple users into the input layer to obtain a first feature vector.

[0128] Step 3, input the first feature vector into expert network 1, expert network 2 and expert network 3 respectively, expert network 1 obtains feature vector 1, expert network 2 obtains feature vector 2, and expert network 3 obtains feature vector 3. Feature vector 1, feature vector 2 and feature vector 3 are the above-mentioned multiple second feature vectors.

[0129] Step 4, input the above-mentioned first eigenvector, eigenvector 1, eigenvector 2 and eigenvector 3 into multiple attention layers (also called "multi-gate attention layers") respectively. Specifically, the first eigenvector and eigenvector 1, eigenvector 2 and eigenvector 3 are input into attention layer 1 to obtain eigenvector A. The first eigenvector and eigenvector 1, eigenvector 2 and eigenvector 3 are input into attention layer 2 to obtain eigenvector B. The first eigenvector and eigenvector 1, eigenvector 2 and eigenvector 3 are input into attention layer 3 to obtain eigenvector C. The first eigenvector and eigenvector 1, eigenvector 2 and eigenvector 3 are input into attention layer 4 to obtain eigenvector D. The first eigenvector and eigenvector 1, eigenvector 2 and eigenvector 3 are input into attention layer 5 to obtain eigenvector E. Eigenvectors A, B, C, D and E are the above-mentioned multiple third eigenvectors.

[0130] Assume that the three second eigenvectors mentioned above are E 1 、E 2 and E 3 , the data processing device processes the registration task based on the feature vector A obtained by attention layer 1, then E 1 、E 2 and E 3 The weight in the registration task is: (w 1 ,w 2 ,w 3 ) = f A (input,E 1 ,E 2 ,E 3 ), where f A represents the change relationship in the first attention layer, input represents the first eigenvector, w 1 ,w 2 ,w 3 They represent the second eigenvector E 1 、E 2 and E 3 The weight in the registration task, and w 1 +w 2 +w 3 = 1. Based on the three second eigenvectors E 1 、E 2 and E 3 The weight in the registration task is used to calculate the second eigenvector E 1 、E 2 and E 3 The weighted average of T is: A =w 1 ×E 1 +w 2 ×E 2 +w 3 ×E3 Therefore, the feature vector A obtained by attention layer 1 is T A , used to handle registration tasks.

[0131] It should be understood that the calculation method of the feature vector obtained by the remaining attention layers in the multi-gate attention layer is the same as that of the attention layer 1. To avoid repetition, it will not be repeated here.

[0132] Step 5: Input feature vector A into the registration task sub-model to predict whether each user has registered on each application in the past N days. Input feature vector B into the payment task sub-model to predict whether each user has paid on each application in the past N days. Input feature vector C into the payment level task sub-model 1 to obtain a mean of 1 and a variance of 1. Input feature vector D into the payment level task sub-model 2 to obtain a mean of 2 and a variance of 2. Input feature vector E into the payment level task sub-model 3 to obtain a mean of 3 and a variance of 3.

[0133] It should be understood that the input of the payment level task sub-model is three feature vectors, namely C, D and E, so there are three payment level task sub-models, namely the first payment level task sub-model, the second payment level task sub-model and the third payment level task sub-model. The first payment level task sub-model includes payment level task sub-model 1, the second payment level task sub-model includes payment level task sub-model 2, and the third payment level task sub-model includes payment level task sub-model 3.

[0134] For the registration task, the above T A Input to the registration task sub-model, if the above w 1 is 0.7, w 2 is 0.2, w 3 is 0.1, then the data processing device is selected as E 1 To handle 70% of the registration tasks, select E 2 To handle 20% of the registration tasks, select E 3 Process 10% of the registration tasks and get the probability value of whether each user has registered on each application in the past N days.

[0135] Step 6: Input mean 1, mean 2 and mean 3 to attention layer 6 (i.e., the first attention layer) to predict the mean payment μ of each user in the past N days for each application. Input variance 1, variance 2 and variance 3 to attention layer 7 (i.e., the second attention layer) to predict the payment variance σ of each user in the past N days for each application.

[0136] It should be understood that the above-mentioned paid level task sub-model 1, attention layer 6 and attention layer 7 are the above-mentioned first paid level task sub-model. The above-mentioned paid level task sub-model 2, attention layer 6 and attention layer 7 are the above-mentioned second paid level task sub-model. The above-mentioned paid level task sub-model 3, attention layer 6 and attention layer 7 are the above-mentioned third paid level task sub-model.

[0137] It should also be understood that the calculations within attention layer 6 and attention layer 7 are similar to the calculation principles of each attention layer of the multi-gate attention layer. To avoid repetition, they will not be repeated here.

[0138] Optionally, the sample data can be updated, and the data processing device repeatedly trains the life cycle prediction model based on the updated sample data to obtain the life cycle prediction model after the sample data is updated. To avoid repetition, it will not be described here.

[0139] Therefore, once the life cycle value prediction model is determined, the determined life cycle value prediction model is trained to obtain a trained life cycle value prediction model. The training of the life cycle value prediction model can be carried out by continuously adjusting the parameters in the model so that the loss function of the life cycle value prediction model meets the preset conditions. The detailed process can refer to the above description, and will not be repeated here to avoid repetition.

[0140] The method for predicting the user lifetime value of the embodiment of the present application performs weighted processing on the feature vectors input into the lifetime value prediction model through multiple attention layers in the lifetime value prediction model, and the data processing device processes each task based on the weighted feature vectors, thereby determining the lifetime value prediction model. This can avoid the above-mentioned "seesaw" problem, and is conducive to improving the accuracy of the lifetime value prediction model, thereby improving the accuracy of the prediction of the user's lifetime value.

[0141] It should be understood that the order of execution of the above steps does not necessarily mean the order in which they are executed. The order in which each process is executed should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0142] Combination of the above Figures 1 to 4 , describes in detail the method for predicting the user life cycle value of the embodiment of the present application, and then combines Figure 5 and Figure 6 , a user lifetime value prediction device of an embodiment of the present application is described in detail.

[0143] Figure 5 The embodiment of the present application provides a prediction device 500 for user lifetime value. The prediction device 500 includes an acquisition module 501 and a processing module 502 .

[0144] It should be understood that the user lifetime value prediction device 500 can be specifically a data processing device in the above embodiment, and can be used to execute each step and / or process corresponding to the data processing device in the above method embodiment.

[0145] Among them, the acquisition module 501 is used to: obtain the characteristic data of the target application and the characteristic data of the target user; the processing module 502 is used to: input the characteristic data of the target application and the characteristic data of the target user into the trained life cycle value prediction model to obtain the life cycle value of the target user in a preset time period in the future; wherein the life cycle value prediction model includes an input layer, multiple expert networks, multiple attention layers and a payment level task sub-model, the input layer is used to splice the characteristic data of the target application and the characteristic data of the target user into a first target feature vector, the multiple expert networks are used to convert the first target feature vector into multiple second target feature vectors, the multiple attention layers are used to perform weighted processing on the multiple second target feature vectors to obtain multiple third target feature vectors, and the payment level task sub-model is used to predict the life cycle value based on all or part of the vectors in the multiple third target feature vectors.

[0146] Optionally, the input of each of the multiple attention layers is a first target feature vector and multiple second target feature vectors, and the output is a third target feature vector obtained by weighted summation of the multiple second target feature vectors.

[0147] Optionally, the lifetime value prediction model also includes: a registration task sub-model and a payment task sub-model; wherein the registration task sub-model is used to predict whether the target user will register on the target application within a future preset time period based on a part of the multiple third target feature vectors, and the payment task sub-model is used to predict whether the target user will pay for the target application within a future preset time period based on a part of the multiple third target feature vectors.

[0148] Optionally, the acquisition module 501 is also used to: acquire sample data, the sample data includes characteristic data of multiple applications, characteristic data of multiple users, and interaction data between multiple users and multiple applications, the interaction data includes whether multiple users have registered multiple applications, whether multiple users have paid for multiple applications, and the total payment of each of the multiple users for each application in the multiple applications within a historical preset time period; the processing module 502 is also used to: train the life cycle value prediction model based on the sample data to obtain a trained life cycle value prediction model.

[0149] Optionally, the processing module 502 is also used to: input feature data of multiple applications and feature data of multiple users into an input layer to obtain a first feature vector; input the first feature vector into multiple expert networks respectively to obtain multiple second feature vectors, and each of the multiple expert networks outputs a second feature vector; input the first feature vector and the multiple second feature vectors into multiple attention layers respectively to obtain multiple third feature vectors, and each of the multiple attention layers outputs a third feature vector; input a portion of the multiple third feature vectors into a registration task sub-model, input a portion of the multiple third feature vectors into a payment task sub-model, and input the remaining feature vectors of the multiple third feature vectors into a payment level task sub-model to obtain a prediction result for a historical preset time period, and the prediction result for the historical preset time period includes whether each user registered on each application within the historical preset time period, whether each user paid on each application within the historical preset time period, and the payment level of each user among the multiple users for each application, and the payment level includes the payment mean and the payment variance.

[0150] Optionally, the payment level task sub-model includes multiple preset neural networks and two attention layers, the number of the multiple preset neural networks is equal to the number of the above-mentioned remaining feature vectors, and the two attention layers include a first attention layer for calculating the payment mean and a second attention layer for calculating the payment variance.

[0151] Optionally, the processing module 502 is also used to: input the remaining feature vectors into multiple preset neural networks respectively to obtain multiple means and multiple variances; input the first feature vector and multiple means into the first attention layer to obtain a paid mean, and the paid mean is used to represent the lifetime value; input the first feature vector and multiple variances into the second attention layer to obtain a paid variance.

[0152] Optionally, the processing module 502 is also used to: calculate the loss function based on the prediction results of the historical preset time period and the interaction data between multiple users and multiple applications; based on the loss function, adjust the parameters of the life cycle value prediction model, and repeatedly input the training samples into the life cycle value prediction model for training so that the loss function meets the preset conditions.

[0153] Optionally, the preset conditions include any of the following: the number of times the training sample is input into the life cycle value prediction model is greater than or equal to a first preset threshold; the training time of the life cycle value prediction model is greater than or equal to a second preset threshold; or, the loss function is less than or equal to a third preset threshold.

[0154] Figure 6Another user lifetime value prediction device 600 provided in an embodiment of the present application includes a processor 601 and a memory 602. The processor 601 and the memory 602 communicate with each other through an internal connection path, the memory 602 is used to store instructions, and the processor 601 is used to execute the instructions stored in the memory 602.

[0155] It should be understood that the prediction device 600 for user lifetime value can be specifically a data processing device in the above-mentioned embodiment, and can be used to execute the various steps and / or processes corresponding to the data processing device in the above-mentioned method embodiment. Optionally, the memory 602 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 601 can be used to execute instructions stored in the memory, and when the processor 601 executes instructions stored in the memory 602, the processor 601 is used to execute the various steps and / or processes of the above-mentioned method embodiment corresponding to the data processing device.

[0156] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0157] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor executes the instructions in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0158] The present application also provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to implement the method corresponding to the data processing device in the above embodiment.

[0159] The present application also provides a computer program product, which includes a computer program (also referred to as code or instruction). When the computer program runs on a computer, the computer can execute the method corresponding to the data processing device shown in the above embodiment.

[0160] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein 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 this application.

[0161] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0162] In the several embodiments provided in the present application, 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 modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules 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 modules, which can be electrical, mechanical or other forms.

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

[0164] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0165] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0166] The above is only a specific implementation of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.

Claims

1. A method for predicting user lifetime value, characterized in that: include: Acquire characteristic data of a target application and characteristic data of a target user; the characteristic data of the target user is extracted from the original data of the target user, and the original data of the target user includes a natural person portrait of the target user, data of the target user using each application, and the payment preference of the target user; Inputting the characteristic data of the target application and the characteristic data of the target user into a trained lifetime value prediction model to obtain the lifetime value of the target user in a future preset time period; Among them, the lifetime value prediction model includes an input layer, multiple expert networks, multiple attention layers and a payment level task sub-model, the input layer is used to splice the feature data of the target application and the feature data of the target user into a first target feature vector, the multiple expert networks are used to convert the first target feature vector into multiple second target feature vectors, the multiple attention layers are used to perform weighted processing on the multiple second target feature vectors to obtain multiple third target feature vectors, and the payment level task sub-model is used to predict the lifetime value based on all or part of the vectors in the multiple third target feature vectors; the payment level task sub-model includes multiple preset neural networks and two attention layers, the two attention layers include a first attention layer for calculating the payment mean and a second attention layer for calculating the payment variance; the multiple preset neural networks are used to obtain multiple means and multiple variances based on some feature vectors in the multiple third target feature vectors; the first attention layer is used to obtain the payment mean based on the first target feature vector and the multiple means, and the payment mean is used to represent the lifetime value.

2. The method according to claim 1, characterized in that The input of each of the multiple attention layers is the first target feature vector and the multiple second target feature vectors, and the output is a third target feature vector obtained by weighted summation of the multiple second target feature vectors.

3. The method according to claim 1 or 2, characterized in that: The life cycle value prediction model also includes: a registration task sub-model and a payment task sub-model; Among them, the registration task sub-model is used to predict whether the target user will register on the target application within the future preset time period based on a part of the multiple third target feature vectors, and the payment task sub-model is used to predict whether the target user will pay on the target application within the future preset time period based on a part of the multiple third target feature vectors.

4. The method according to claim 3, characterized in that The method further comprises: Acquire sample data, the sample data including feature data of multiple applications, feature data of multiple users, and interaction data between the multiple users and the multiple applications, the interaction data including whether the multiple users have registered the multiple applications, whether the multiple users have paid for the multiple applications, and the total amount of payment of each of the multiple users for each of the multiple applications within a historical preset time period; Based on the sample data, the life cycle value prediction model is trained to obtain the trained life cycle value prediction model.

5. The method according to claim 4, characterized in that The step of training the life cycle value prediction model based on the sample data to obtain the trained life cycle value prediction model includes: Inputting the feature data of the multiple applications and the feature data of the multiple users into the input layer to obtain a first feature vector; Inputting the first feature vectors into the multiple expert networks respectively to obtain multiple second feature vectors, wherein each expert network in the multiple expert networks outputs a second feature vector; Inputting the first feature vector and the plurality of second feature vectors into the plurality of attention layers respectively to obtain a plurality of third feature vectors, wherein each of the plurality of attention layers outputs a third feature vector; A portion of the plurality of third feature vectors is input into the registration task sub-model, a portion of the plurality of third feature vectors is input into the payment task sub-model, and the remaining feature vectors of the plurality of third feature vectors are input into the payment level task sub-model to obtain a prediction result for a historical preset time period, wherein the prediction result for the historical preset time period includes whether each user registers on each application within the historical preset time period, whether each user pays on each application within the historical preset time period, and the payment level of each user among the plurality of users for each application, wherein the payment level includes a payment mean and a payment variance.

6. The method according to claim 5, characterized in that The number of the plurality of preset neural networks is equal to the number of the remaining feature vectors.

7. The method according to claim 6, characterized in that The obtaining of the payment level of each user among the plurality of users for each application includes: Inputting the remaining feature vectors into the plurality of preset neural networks respectively to obtain a plurality of means and a plurality of variances; Inputting the first feature vector and the multiple means into the first attention layer to obtain the payment mean; The first feature vector and the multiple variances are input into the second attention layer to obtain the paid variance.

8. The method according to any one of claims 5 to 7, characterized in that: The step of training the life cycle value prediction model based on the sample data to obtain the trained life cycle value prediction model includes: Calculating a loss function based on the prediction results of the historical preset time period and the interaction data between the multiple users and the multiple applications; Based on the loss function, the parameters of the life cycle value prediction model are adjusted, and training samples are repeatedly input into the life cycle value prediction model for training, so that the loss function meets the preset conditions.

9. The method according to claim 8, characterized in that The preset condition includes any of the following: The number of times the training sample is input into the life cycle value prediction model is greater than or equal to a first preset threshold; The training time of the life cycle value prediction model is greater than or equal to a second preset threshold; or, The loss function is less than or equal to a third preset threshold.

10. A device for predicting user lifetime value, characterized in that: include: An acquisition module, used to acquire characteristic data of a target application and characteristic data of a target user; the characteristic data of the target user is extracted from the original data of the target user, and the original data of the target user includes a natural person portrait of the target user, data of the target user using various applications, and payment preferences of the target user; A processing module, used for inputting the characteristic data of the target application and the characteristic data of the target user into a trained lifetime value prediction model to obtain the lifetime value of the target user in a future preset time period; Among them, the lifetime value prediction model includes an input layer, multiple expert networks, multiple attention layers and a payment level task sub-model, the input layer is used to splice the feature data of the target application and the feature data of the target user into a first target feature vector, the multiple expert networks are used to convert the first target feature vector into multiple second target feature vectors, the multiple attention layers are used to perform weighted processing on the multiple second target feature vectors to obtain multiple third target feature vectors, and the payment level task sub-model is used to predict the lifetime value based on all or part of the vectors in the multiple third target feature vectors; the payment level task sub-model includes multiple preset neural networks and two attention layers, the two attention layers include a first attention layer for calculating the payment mean and a second attention layer for calculating the payment variance; the multiple preset neural networks are used to obtain multiple means and multiple variances based on some feature vectors in the multiple third target feature vectors; the first attention layer is used to obtain the payment mean based on the first target feature vector and the multiple means, and the payment mean is used to represent the lifetime value.

11. The prediction device according to claim 10, characterized in that: The input of each of the multiple attention layers is the first target feature vector and the multiple second target feature vectors, and the output is a third target feature vector obtained by weighted summation of the multiple second target feature vectors.

12. The prediction device according to claim 10 or 11, characterized in that: The life cycle value prediction model also includes: a registration task sub-model and a payment task sub-model; Among them, the registration task sub-model is used to predict whether the target user will register on the target application within the future preset time period based on a part of the multiple third target feature vectors, and the payment task sub-model is used to predict whether the target user will pay on the target application within the future preset time period based on a part of the multiple third target feature vectors.

13. The prediction device according to claim 12, characterized in that: The acquisition module is also used for: Acquire sample data, the sample data including feature data of multiple applications, feature data of multiple users, and interaction data between the multiple users and the multiple applications, the interaction data including whether the multiple users have registered the multiple applications, whether the multiple users have paid for the multiple applications, and the total amount of payment of each of the multiple users for each of the multiple applications within a historical preset time period; The processing module is also used for: Based on the sample data, the life cycle value prediction model is trained to obtain the trained life cycle value prediction model.

14. The prediction device according to claim 13, characterized in that: The processing module is also used for: Inputting the feature data of the multiple applications and the feature data of the multiple users into the input layer to obtain a first feature vector; Inputting the first feature vectors into the multiple expert networks respectively to obtain multiple second feature vectors, wherein each expert network in the multiple expert networks outputs a second feature vector; Inputting the first feature vector and the plurality of second feature vectors into the plurality of attention layers respectively to obtain a plurality of third feature vectors, wherein each of the plurality of attention layers outputs a third feature vector; A portion of the plurality of third feature vectors is input into the registration task sub-model, a portion of the plurality of third feature vectors is input into the payment task sub-model, and the remaining feature vectors of the plurality of third feature vectors are input into the payment level task sub-model to obtain a prediction result for a historical preset time period, wherein the prediction result for the historical preset time period includes whether each user registers on each application within the historical preset time period, whether each user pays on each application within the historical preset time period, and the payment level of each user among the plurality of users for each application, wherein the payment level includes a payment mean and a payment variance.

15. The prediction device according to claim 14, characterized in that The number of the plurality of preset neural networks is equal to the number of the remaining feature vectors.

16. The prediction device according to claim 15, characterized in that: The processing module is also used for: Inputting the remaining feature vectors into the plurality of preset neural networks respectively to obtain a plurality of means and a plurality of variances; Inputting the first feature vector and the multiple means into the first attention layer to obtain the payment mean; The first feature vector and the multiple variances are input into the second attention layer to obtain the paid variance.

17. The prediction device according to any one of claims 14 to 16, characterized in that: The processing module is also used for: Calculating a loss function based on the prediction results of the historical preset time period and the interaction data between the multiple users and the multiple applications; Based on the loss function, the parameters of the life cycle value prediction model are adjusted, and training samples are repeatedly input into the life cycle value prediction model for training, so that the loss function meets the preset conditions.

18. The prediction device according to claim 17, characterized in that The preset condition includes any of the following: The number of times the training sample is input into the life cycle value prediction model is greater than or equal to a first preset threshold; The training time of the life cycle value prediction model is greater than or equal to a second preset threshold; or, The loss function is less than or equal to a third preset threshold.

19. A prediction system for user lifetime value, characterized in that: include: A processor, wherein the processor is coupled to a memory, wherein the memory is used to store a computer program, and when the processor calls the computer program, the prediction system executes the method according to any one of claims 1 to 9.

20. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 9.

21. A computer program product, characterized in that The computer program product includes a computer program code, and when the computer program code is executed on a computer, the computer is enabled to implement the method according to any one of claims 1 to 9.