Customer life value prediction method and system

By pre-training the single-domain customer life value module on the upstream and downstream platforms and combining it with cross-domain training, using time series and portrait feature encoders and expert mask networks, the problem of data scarcity in the early stages of the customer life cycle is solved, and the problem of data scarcity in the early stages of the customer life cycle is realized. Improvement of customer lifetime value prediction accuracy and model robustness.

CN118585908APending Publication Date: 2024-09-03SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728379.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Due to the lack of historical customer data in the early stages of the customer life cycle, existing technology is difficult to accurately predict customer lifetime value. Deep neural network models require a large amount of historical data and are impractical.

Method used

Adopting a two-stage training strategy, first pre-train the single-domain customer life value module on the upstream and downstream platforms respectively, and then combine the pre-training module for cross-domain training, using the temporal feature encoder, portrait feature encoder and expert mask network to process customer data. Cross-domain customer life value prediction through knowledge transfer network and multi-layer perceptron.

Benefits of technology

It improves the accuracy of customer life value prediction and the robustness of the model, enables accurate prediction in the absence of historical data, and solves the problem of data sparsity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585908A
    Figure CN118585908A
Patent Text Reader

Abstract

The invention discloses a customer life value prediction method and system. The method comprises the following steps: acquiring customer purchase information and customer portrait information of an upstream industry platform and a downstream industry platform of a supply chain platform; pre-training a single-domain customer life value prediction module on the upstream and downstream platforms according to the acquired customer purchase information and customer portrait information of the upstream and downstream industry platforms; and training a cross-domain customer life value prediction module in combination with the pre-trained single-domain customer life value prediction module, and performing customer life value prediction based on the trained cross-domain customer life value prediction module. According to the invention, the source domain feature extraction module and the target domain feature extraction module are pre-trained based on the customer data of the upstream and downstream platforms, and then combined training is carried out, so that the training effect is improved and the customer life value prediction accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of customer data prediction, and in particular relates to a customer life value prediction method and system. Background Art

[0002] In the current digital economy era, many companies are using artificial intelligence technology to conduct data-based, precise customer relationship management. In this process, customer life cycle value is a key factor and plays an important role in the evaluation and decision-making procedures of customer relationship management. Especially in the supply chain platform, accurate prediction of customer life cycle is crucial for companies to guide the rational allocation of market resources and motivate specific customer segments.

[0003] Customer lifetime value prediction is a time series prediction problem that aims to predict the future consumption value of a customer based on historical consumption sequences. Although recent developments in deep neural networks have significantly improved customer lifetime value prediction performance, these models typically require a large amount of historical customer data, which is impractical in the early stages of a customer's life cycle. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention provides a customer life value prediction method and system, which can make an accurate prediction of the customer life value in the absence of customer historical data.

[0005] The technical problem to be solved by the present invention is achieved through the following technical solutions:

[0006] In a first aspect, a method for predicting customer life value is provided, characterized by comprising:

[0007] Obtain customer purchase information and customer profile information from upstream and downstream industry platforms of the supply chain platform;

[0008] Based on the customer purchase information and customer portrait information obtained from the upstream and downstream industry platforms, the single-domain customer life value prediction module is pre-trained on the upstream and downstream platforms respectively;

[0009] The cross-domain customer life value prediction module is trained in combination with the pre-trained single-domain customer life value prediction module, and customer life value prediction is performed based on the trained cross-domain customer life value prediction module.

[0010] In combination with the first aspect, further, the single-domain customer life value prediction module includes: a temporal feature encoder, a portrait feature encoder, and an expert mask network;

[0011] The temporal feature encoder adopts TCN to encode customer purchase information; the portrait feature encoder adopts DeepFM to encode customer portrait information; the encoded customer purchase information and portrait information are then passed through an expert mask network to obtain single domain features.

[0012] In combination with the first aspect, further, the expert mask network includes a fusion layer, an expert routing and an output layer; the encoded customer purchase information and portrait information are feature fused through the fusion layer, and then the data after feature fusion is assigned different masking methods according to different customer life values ​​through expert routing to obtain single-domain features, and then the single-domain features are passed through the output layer to obtain the single-domain customer life value.

[0013] In combination with the first aspect, further, the cross-domain customer life value prediction module includes: a knowledge transfer network, a knowledge alignment module and a multi-layer perceptron;

[0014] The knowledge transfer network is used to convert source domain features into source domain transfer features;

[0015] The knowledge alignment module is used to align the source domain migration features with the target domain features;

[0016] The multi-layer perceptron is used to combine the aligned source domain migration features with the target domain features to predict the customer's life value.

[0017] In combination with the first aspect, further, the multilayer perceptron includes two fully connected layers with ReLU activation functions.

[0018] In combination with the first aspect, further, aligning the source domain migration features with the target domain features includes: aligning paired non-sparse data and aligning data of the same type;

[0019] The alignment of the paired non-sparse data includes: calculating alignment loss in the source domain migration features and the target domain features of the paired non-sparse data, and the loss function is shown in the following formula:

[0020]

[0021] in, Indicates Customers, Indicates Customers, Indicates batch Middle Customer Negative samples of Represents the source domain migration features converted to low-dimensional space during the alignment process, Represents the target domain features converted to low-dimensional space during the alignment process, represents non-sparse data, represents cosine similarity;

[0022] The alignment of the same type of data includes: using positive alignment to calculate the alignment loss for the source domain migration features and the target domain features of the sparse data, and using negative alignment to calculate the alignment loss for the source domain migration features and the target domain features of the non-sparse data. The loss function is shown in the following formula:

[0023]

[0024] in, represents sparse data, Represents similarity boundaries for sparse data.

[0025] Combined with the first aspect, further, the loss function for training the cross-domain customer life value prediction module is as follows:

[0026]

[0027] in, For the single-domain customer life value prediction module, customer life value loss, is the alignment control coefficient for paired non-sparse data, Alignment control coefficient for data of the same type.

[0028] In a second aspect, a customer life value prediction system is provided, comprising:

[0029] The data acquisition module is used to obtain customer purchase information and customer portrait information from the upstream industry platform and downstream industry platform of the supply chain platform;

[0030] A single-domain customer life value prediction module is used to pre-train the single-domain customer life value prediction module on the upstream and downstream platforms respectively according to the customer purchase information and customer portrait information obtained from the upstream and downstream industry platforms;

[0031] The customer life value prediction module is used to train the cross-domain customer life value prediction module in combination with the pre-trained single-domain customer life value prediction module, and to perform customer life value prediction based on the trained cross-domain customer life value prediction module.

[0032] In combination with the second aspect, further, the single-domain customer life value prediction module in the single-domain feature extraction training module includes: a temporal feature encoder, a portrait feature encoder, and an expert mask network;

[0033] The temporal feature encoder adopts TCN to encode customer purchase information; the portrait feature encoder adopts DeepFM to encode customer portrait information; the encoded customer purchase information and portrait information are then passed through an expert mask network to obtain single domain features.

[0034] In combination with the second aspect, further, the expert mask network includes a fusion layer, an expert routing and an output layer; the encoded customer purchase information and portrait information are feature fused through the fusion layer, and then the data after feature fusion is assigned different masking methods according to different customer life values ​​through expert routing to obtain single-domain features, and then the single-domain features are passed through the output layer to obtain the single-domain customer life value.

[0035] Beneficial effects: First, the present invention adopts a two-stage training strategy to pre-train the customer life value modules of the source domain and the target domain based on the customer data of the upstream and downstream platforms, and then conduct joint training, which improves the training effect and thus improves the accuracy of customer life value prediction.

[0036] Secondly, in the single-domain customer life value prediction module, an expert mask network is designed, and the data of customers with different customer life value levels are processed through expert routers, expert classification cross entropy loss, and expert ordinal regression loss, which promotes the model's learning of long-tail data. In the joint cross-domain customer life value prediction module, an alignment strategy is designed to improve the model's ability to utilize source domain data. Through alignment in low-dimensional space and different alignment strategies for cross-domain data, the model can better generalize between sparse and non-sparse data, improving the robustness and performance of the model. Based on cross-domain technology, the present invention makes full use of the upstream and downstream industry customer information of the supply chain platform, effectively solves the data sparsity problem in customer life value prediction, and improves the accuracy of customer life value prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a structural schematic diagram of the system in the present invention;

[0038] Figure 2 It is a schematic diagram of the cooperation of various modules in the present invention;

[0039] Figure 3 It is a schematic diagram of the structure of the expert mask network in the present invention. DETAILED DESCRIPTION

[0040] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0041] Example 1

[0042] like Figure 1-Figure 3As shown, the present invention provides a method for predicting customer life value, comprising the following steps:

[0043] Step 1: Data Collection

[0044] Collect customer purchase history information and customer portrait information from the upstream industry platform and downstream industry platform of the supply chain platform.

[0045] Step 2: Prediction of the lifetime value of a single-domain customer

[0046] Pre-train the single-domain customer life value prediction module on the upstream industry platform and the downstream industry platform respectively.

[0047] First, use DeepFM (Deep Factorization Machine) to encode customer profile features, capture complex feature interactions, and generate customer profile feature encoding vectors. For the customer's historical consumption sequence, the temporal convolutional network (TCN) encoding is applied to capture the time patterns of different scales and generate the encoding vector of the consumption sequence features. .

[0048] Next, taking the upstream industry platform as an example (source domain), the user portrait feature encoding vector And the encoding vector of consumption sequence features Respectively expressed as and .

[0049] In order to solve the problem of long-tail customer life value distribution and distinguish customers with different value levels, we introduce the expert mask network.

[0050] The expert mask network consists of a fusion layer, an expert routing and an output layer (here both the fusion layer and the output layer are fully connected layers); first, through the fusion layer The encoded customer purchase information And image information Perform feature fusion to obtain the initial single domain representation (Source domain) is shown as follows:

[0051]

[0052] in, Used as activation function.

[0053] Then, the feature fused data is assigned different masking methods according to the different customer values ​​through expert routing to obtain single domain features. The expert routing contains two fully connected layers and , used to calculate the routing probability .in, Represents the number of experts, each of which points to an independent non-masked position. The specific formula is as follows:

[0054]

[0055]

[0056]

[0057] in, Before The selection function of the elements, in the work of the present invention, is set , assigning a unique expert to each sample.

[0058] Make There is one element with a value of 1 and the rest are 0, which provides a clear distribution scheme for sample distribution. This method can be extended to larger than 1 Values ​​allow generating mixed expert mask combinations.

[0059] Next, create indivual to obtain a mask vector , through the dot multiplication operation and , the present invention covers Some specific elements in the source domain are used to obtain new single domain features (for example, the source domain) .

[0060] Finally, the present invention will Feed to the output layer And get the final customer life value prediction output, which can be expressed as:

[0061]

[0062] In order to use expert routers to assign different vector masks to customers with different value levels, thereby achieving the goal of more balanced data distribution for specific feature learning, the present invention associates expert routing with customer life value distribution information through the following constraints:

[0063] The above is to assign different vector masks to customers with different value levels through expert routers to achieve a more balanced data distribution in feature learning. To achieve this goal, the model associates expert routing with customer value distribution information through the following constraints:

[0064]

[0065] in, Expert routing loss, is the expert classification cross entropy loss, is the expert ordinal regression loss, , are the control coefficients of expert classification cross entropy loss and expert ordinal regression loss, respectively.

[0066] Expert Classification Cross Entropy Loss is predicted by penalizing the probability , and the actual customer life value level label To obtain the actual label ,batch The customer samples in the dataset are labeled according to their real customer lifetime value. Divided into Customer groups. For customer life value level prediction , the present invention uses a fully connected layer of expert routing and the middle vector Perform calculations.

[0067]

[0068]

[0069] Expert Ordinal Regression Loss The relative order relationship between routing experts is established, which improves the accuracy of classification and ranking.

[0070]

[0071] in, The real label representing the customer's life value level ID, Indicates the customer The value of life is higher than that of experts probability.

[0072] Finally, the present invention uses the mean absolute error as the customer life value loss function, which is defined as:

[0073]

[0074] The total loss in the source domain of the first stage (single domain) is the loss of customer life value and expert routing loss The combination is as follows:

[0075]

[0076] Step 3: Customer Lifetime Value Prediction

[0077] The input of this stage is the single domain feature of the source domain and the single domain features of the target domain .

[0078] First, a knowledge transfer network consisting of fully connected layers is used The single domain features of the source domain Convert to source domain migration features , as shown below:

[0079]

[0080] Then, a multi-layer perceptron is used to transfer the cross-domain knowledge (source domain migration features) ) and the single domain feature representation of the target domain Combined, we get the cross-domain customer value prediction , as shown below:

[0081]

[0082] in, By two with The fully connected layers composed of activation functions combine the knowledge of the two domains and promote cross-domain customer value prediction.

[0083] To enhance cross-domain knowledge transfer learning for sparse and non-sparse data, the joint prediction module introduces two alignment methods in low-dimensional space.

[0084] First, in order to ensure that the source domain features are partially aligned with the target domain features while retaining the domain-specific information, the aligned vectors need to be projected into a low-dimensional space. The joint prediction module uses two matrices and To achieve this projection, the dimensions of these two matrices are , these matrices are applied to transform the source domain migration features and the single domain features of the target domain , which are initially all in dimension They are mapped from the space of to a lower dimensional space, and this transformation produces a dimension size of of and , the new embedding dimension Smaller than the original embedding dimension .

[0085] Then, an alignment method is proposed for paired non-sparse data. When customers have insufficient data in the target domain, the joint prediction model needs to rely on the embedding vectors learned from the knowledge transfer module. (source domain migration features) to predict customer value. Therefore, Should be similar to the single-domain features of the target domain that contain a lot of information , which can make up for the lack of information in the target domain. To this end, we introduce an alignment loss, denoted as , used to align non-sparse data The source domain migration features and target domain features are compared using the contrastive learning method InfoNCE, which enhances the same customer who is considered as paired data. and The similarity between vectors, the loss function is as follows:

[0086]

[0087] in, Indicates Customers, Indicates batch Middle Customer Negative samples of Indicates the customer The source domain migration features converted to low-dimensional space during the alignment process, Indicates the customer The target domain features converted to low-dimensional space during the alignment process, represents non-sparse data, represents cosine similarity;

[0088] In addition, an alignment method is proposed for the same type of data. This method divides customer data into two types: and those with limited historical information , corresponding to non-sparse and sparse data, respectively. Positive alignment is introduced for sparse data and negative alignment is introduced for non-sparse data to distinguish these two data types in spatial representation. This approach enables the model to distinguish between non-sparse and sparse data when learning knowledge fusion patterns. The alignment loss function for the same type of data is defined as follows:

[0089]

[0090] in, represents sparse data, Represents similarity boundaries for sparse data.

[0091] In summary, the loss function for training the cross-domain customer life value prediction module is as follows:

[0092]

[0093] in, Loss of customer life value, is the alignment control coefficient for paired non-sparse data, Alignment control coefficient for data of the same type.

[0094] Example 2

[0095] A customer life value prediction system is provided, comprising:

[0096] The data acquisition module is used to obtain customer purchase information and customer portrait information from the upstream industry platform and downstream industry platform of the supply chain platform;

[0097] A single-domain feature extraction training module is used to pre-train a single-domain customer life value prediction module on the upstream and downstream platforms based on the customer purchase information and customer portrait information obtained from the upstream and downstream industry platforms;

[0098] The customer life value prediction model is used to train the cross-domain customer life value prediction module in combination with the pre-trained single-domain customer life value prediction module, and to perform customer life value prediction based on the trained cross-domain customer life value prediction module.

[0099] The single-domain customer life value prediction module in the single-domain feature extraction training module includes: a temporal feature encoder, a portrait feature encoder, and an expert mask network;

[0100] The temporal feature encoder adopts TCN to encode customer purchase information; the portrait feature encoder adopts DeepFM to encode customer portrait information; the encoded customer purchase information and portrait information are then passed through an expert mask network to obtain single domain features.

[0101] The expert mask network includes a fusion layer, an expert router and an output layer; the encoded customer purchase information and portrait information are feature fused through the fusion layer, and then the data after feature fusion is assigned different masking methods according to different customer life values ​​through the expert router to obtain single-domain features, and then the single-domain features are used to obtain the single-domain customer life value through the output layer.

[0102] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A customer life value prediction method, characterized in that: include: Obtain customer purchase information and customer profile information from upstream and downstream industry platforms of the supply chain platform; Based on the customer purchase information and customer portrait information obtained from the upstream and downstream industry platforms, the single-domain customer life value prediction module is pre-trained on the upstream and downstream platforms respectively; The cross-domain customer life value prediction module is trained in combination with the pre-trained single-domain customer life value prediction module, and customer life value prediction is performed based on the trained cross-domain customer life value prediction module.

2. A customer life value prediction method according to claim 1, characterized in that: The single-domain customer life value prediction module includes: a temporal feature encoder, a portrait feature encoder, and an expert mask network; The temporal feature encoder adopts TCN to encode customer purchase information; the portrait feature encoder adopts DeepFM to encode customer portrait information; the encoded customer purchase information and portrait information are then passed through an expert mask network to obtain single domain features.

3. A customer life value prediction method according to claim 2, characterized in that: The expert mask network includes a fusion layer, an expert router and an output layer; the encoded customer purchase information and portrait information are feature fused through the fusion layer, and then the data after feature fusion is assigned different masking methods according to different customer life values ​​through expert routing to obtain single-domain features, and then the single-domain features are used to obtain the single-domain customer life value through the output layer.

4. A customer life value prediction method according to claim 1, characterized in that: The cross-domain customer life value prediction module includes: a knowledge transfer network, a knowledge alignment module and a multi-layer perceptron; The knowledge transfer network is used to convert source domain features into source domain transfer features; The knowledge alignment module is used to align the source domain migration features with the target domain features; The multi-layer perceptron is used to combine the aligned source domain migration features with the target domain features to predict the customer's life value.

5. A customer life value prediction method according to claim 1, characterized in that: The multilayer perceptron includes two fully connected layers with ReLU activation function.

6. A customer life value prediction method according to claim 4, characterized in that: The aligning of the source domain migration features and the target domain features includes: aligning paired non-sparse data and aligning data of the same type; The alignment of paired non-sparse data includes: calculating the alignment loss for the source domain migration features and the target domain features in the non-sparse data, and the loss function is shown in the following formula: ; in, Indicates Customers, Indicates Customers, Indicates batch Middle Customer Negative samples of Represents the source domain migration features converted to low-dimensional space during the alignment process, Represents the target domain features converted to low-dimensional space during the alignment process, represents non-sparse data, represents cosine similarity; The alignment of the same type of data includes: using positive alignment to calculate the alignment loss for the source domain migration features and the target domain features in the sparse data, and using negative alignment to calculate the alignment loss for the source domain migration features and the target domain features in the non-sparse data. The loss function is shown in the following formula: ; in, represents sparse data, Represents similarity boundaries for sparse data.

7. A customer life value prediction method according to claim 6, characterized in that: The loss function for training the cross-domain customer life value prediction module is as follows: ; in, The customer life value loss of the single-domain customer life value prediction module, is the alignment control coefficient for paired non-sparse data, Alignment control coefficient for data of the same type.

8. A customer life value prediction system, characterized in that: include: The data acquisition module is used to obtain customer purchase information and customer portrait information from the upstream industry platform and downstream industry platform of the supply chain platform; A single-domain customer life value prediction module is used to pre-train the single-domain customer life value prediction module on the upstream and downstream platforms respectively according to the customer purchase information and customer portrait information obtained from the upstream and downstream industry platforms; The customer life value prediction module is used to train the cross-domain customer life value prediction module in combination with the pre-trained single-domain customer life value prediction module, and to perform customer life value prediction based on the trained cross-domain customer life value prediction module.

9. A customer life value prediction system according to claim 8, characterized in that: The single-domain customer life value prediction module in the single-domain feature extraction training module includes: a temporal feature encoder, a portrait feature encoder, and an expert mask network; The temporal feature encoder adopts TCN to encode customer purchase information; the portrait feature encoder adopts DeepFM to encode customer portrait information; the encoded customer purchase information and portrait information are then passed through an expert mask network to obtain single domain features.

10. A customer life value prediction system according to claim 9, characterized in that: The expert mask network includes a fusion layer, an expert router and an output layer; the encoded customer purchase information and portrait information are feature fused through the fusion layer, and then the data after feature fusion is assigned different masking methods according to different customer life values ​​through expert routing to obtain single-domain features, and then the single-domain features are used to obtain the single-domain customer life value through the output layer.