User recommendation method and device, electronic equipment, chip and medium
Through the combination of deep Q network and wide & deep network, we learn historical marketing activities, optimize user group characteristics and product data, solve the problem of inaccurate cold start recommendations for operator users, improve the accuracy and adaptability of recommendations, and are suitable for new users. Scenarios for attracting new users and new networks.
Patent Information
- Application Number
- CN202311446120.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-10-18
AI Technical Summary
In the operator scenario, the product recommendation effect for new network users and silent users is not good. The existing collaborative filtering model and social relationship recommendation are difficult to adapt to the operator's recommendation scenario. Especially in the user cold start scenario, the recommendation effect and marketing effect are not ideal. .
Use deep Q network (DQN) combined with wide&deep network to learn recommendation strategies through historical marketing activities, reduce the requirements for user characteristics, optimize user group characteristic data and product data to construct feature vectors, and use the experience pool to optimize DQN to improve recommendation accuracy.
It improves the accuracy and adaptability of recommendations in user cold start scenarios, can better match new users and attract new users from different networks, and improves marketing effects.
Smart Images

Figure CN118799013A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of recommendation, and in particular to a user recommendation method, device, electronic device, chip and medium. Background Art
[0002] Related technologies use collaborative filtering models or user social relationships to recommend operator products to new users or dormant users. However, due to the particularity of the business, the recommendation results are difficult to adapt to the operator's recommendation scenarios, especially in user cold start scenarios, to achieve good recommendation and marketing effects. Summary of the invention
[0003] The present disclosure provides a user recommendation method, device, electronic device, chip and medium to solve the problem of inaccurate product recommendation for operator users such as new network users and dormant users during cold start. The recommendation strategy is learned from historical marketing activities through a deep Q network (DQN), which reduces the requirements for the richness of individual user features. The method can well adapt to the scenarios of new user marketing or attracting new users from different networks, and improve the accuracy of recommendations.
[0004] A first aspect of the present disclosure provides a user recommendation method, the method comprising:
[0005] Based on the user data, determine the user group characteristic data;
[0006] The feature vector constructed based on the product data and the user group feature data is the first state, the product data is recommended to the user group as the first action, and the first reward value of the first action of the user group is estimated through the deep Q network DQN fitted by the wide&deep network;
[0007] The experience pool is used to optimize the DQN to obtain a list of users to be recommended product data, where the experience pool at least includes a first state, a first action, and a first reward value.
[0008] In one embodiment of the present disclosure, determining user group characteristic data based on user data includes:
[0009] Collect user data and determine the user feature table based on the preset recall strategy;
[0010] Perform dimension reduction and clustering on the wide table of user features to obtain the first category of user groups;
[0011] Collect statistics on user group characteristic data of the first category of user groups.
[0012] In one embodiment of the present disclosure, collecting user data and determining a user feature wide table based on a preset recall strategy includes:
[0013] Filter target user data from user data according to a preset recall strategy, where the preset recall strategy includes users whose number of historical recommendations is less than or equal to a first threshold and / or whose application willingness is greater than or equal to a second threshold, determined based on user historical interaction records and package usage;
[0014] Determine the user feature wide table based on the target user data.
[0015] In one embodiment of the present disclosure, counting the user group characteristic data of the first category of user groups includes:
[0016] At least one of the mean, variance, maximum value, minimum value, median, and 75th percentile of the target user data in the first category of user groups is counted.
[0017] In one embodiment of the present disclosure, a feature vector constructed according to product data and user group feature data is in a first state, product data is recommended to the user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network, including:
[0018] Based on the first state, the epsilon greedy strategy is adopted to update the first action;
[0019] recommending product data to the user group based on the first action;
[0020] Based on the first state and the first action, determine the reward value of the user group through DQN;
[0021] Normalize the rewards to the first reward value.
[0022] In one embodiment of the present disclosure, the method further includes:
[0023] Use the first state, the first action, and the first reward value to update the experience pool;
[0024] If the number of samples in the experience pool exceeds the preset capacity, the experience pool is sorted and updated according to the generation time of the sample number.
[0025] In one embodiment of the present disclosure, the DQN is optimized using an experience pool to obtain a list of users to be recommended product data, wherein the experience pool at least includes a first state, a first action, and a first reward value including:
[0026] Extract at least one sample from the experience pool, use DQN to obtain a second reward value, determine the loss value of the Q network of the DQN and the target Q network, and update the model parameters of the Q network;
[0027] Update the target Q network using the model parameters of the DQN’s Q network;
[0028] The feature vector constructed by collecting current product data and user group feature data is in the second state;
[0029] Iteratively optimize DQN through the experience pool updated by the second reward value and the second state;
[0030] According to the optimized DQN, a list of users to be recommended for product data is determined.
[0031] In one embodiment of the present disclosure, user data includes at least one of the basic package purchased by the user when joining the network, quasi-real-time updated user traffic, usage and saturation of voice and other packages, off-terminal application traffic data, user channel preference characteristics, user demographic characteristics, and historical record information of the user receiving marketing calls, marketing text messages, and application pop-up windows from the operator.
[0032] A second aspect of the present disclosure provides a user recommendation device, the device comprising:
[0033] A data collection module, used to determine user group characteristic data based on user data;
[0034] A user recommendation module, which is used to recommend product data to the user group as a first action based on a feature vector constructed according to product data and user group feature data, and to estimate a first reward value of the first action of the user group through a deep Q network DQN fitted with a wide&deep network;
[0035] The recommendation optimization module is used to optimize the DQN using the experience pool to obtain a list of users to be recommended product data, where the experience pool at least includes a first state, a first action, and a first reward value.
[0036] The third aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the methods in the first aspect embodiment of the present disclosure.
[0037] The fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, characterized in that the computer instructions are used to enable a computer to execute the method in the first aspect embodiment of the present disclosure.
[0038] The fifth aspect embodiment of the present disclosure proposes a computer program product, characterized in that it includes a computer program, and when the computer program is executed by a processor, it implements any method in the first aspect embodiment of the present disclosure.
[0039] The sixth aspect embodiment of the present disclosure proposes a chip, comprising at least one processor and a communication interface; the communication interface is used to receive signals input into the chip or signals output from the chip, the processor communicates with the communication interface and implements any one of the methods in the first aspect embodiment of the present disclosure through logic circuits or execution code instructions.
[0040] In summary, according to the user recommendation method proposed in the present invention, based on user data, user group characteristic data is determined, which helps to determine users in a cold start scenario; the feature vector constructed according to the product data and the user group characteristic data is the first state, and the product data is recommended to the user group as the first action. The deep Q network DQN fitted with the wide&deep network estimates the first reward value of the first action of the user group, and recommends matching products to cold start users; the experience pool is used to optimize the DQN to obtain a list of users to be recommended for the product data, and the experience pool at least includes the first state, the first action and the first reward value. In the continuous recommendation process, the accuracy of recommending products to users in the user cold start scenario is improved.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0043] Figure 1 A flowchart of a user recommendation method according to an embodiment of the present disclosure;
[0044] Figure 2 A flowchart of determining user group characteristic data based on user data according to an embodiment of the present disclosure;
[0045] Figure 3 It is a flow chart of collecting user data and determining a user feature wide table based on a preset recall strategy according to an embodiment of the present disclosure;
[0046] Figure 4 This is a flow chart of counting user group characteristic data of a first category of user groups according to an embodiment of the present disclosure;
[0047] Figure 5 A flowchart of an embodiment of the present disclosure in which a feature vector constructed according to product data and user group feature data is in a first state, product data is recommended to a user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network;
[0048] Figure 6A flowchart of a user recommendation method according to an embodiment of the present disclosure;
[0049] Figure 7 This is a flow chart of an embodiment of the present disclosure, which uses an experience pool to optimize DQN to obtain a list of users to be recommended product data;
[0050] Figure 8 A flowchart of a user recommendation method according to an embodiment of the present disclosure;
[0051] Fig. 9 A schematic diagram of the structure of a user recommendation device according to an embodiment of the present disclosure;
[0052] Fig.10 is a block diagram of an electronic device for implementing the user recommendation method disclosed in the present invention according to an exemplary embodiment;
[0053] Fig.11 It is a schematic diagram of the structure of a chip for implementing the user recommendation method of the present disclosure according to an exemplary embodiment. DETAILED DESCRIPTION
[0054] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout identify the same or similar originals or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0055] The present invention combines the deep Q network DQN with the wide & deep recommendation algorithm, and utilizes the self-learning ability of DQN and the memory and generalization ability of wide & deep to improve the accuracy and adaptability of cold start recommendations for users.
[0056] Among them, the self-learning ability is realized through the reinforcement learning algorithm DQN. Reinforcement learning originated in the field of robotics and models the decision-making and learning process of intelligent agents in constantly changing environments. For example, in Go, the constantly changing chess game is the environment, and the chess player can be compared to the agent. Each move is called an action, and the final result of the game is the feedback of all previous actions. The learning process of the agent is to collect feedback, change its own state, and then decide the next action based on the state. After the action is executed, feedback is continuously collected, and then this process is repeated, which is referred to as the "action-feedback-state update" cycle.
[0057] The problem that reinforcement learning needs to solve can be abstracted into a Markov decision process to find the optimal strategy. This Markov decision process can be represented by a five-tuple:
[0058] {S,A,P a ,R a ,γ}
[0059] Where S and A are the sets of states and actions respectively. Assume that the state at time t is s t , the agent performs action a and enters state s at the next moment t+1 This state transition is similar to the Markov model, except that the state at the next moment is determined by the current state and the action taken for the current state, and is a random variable. a is the state transition probability, indicating that in the current state s t Next, take action a and transfer to the next state s t+1 The probability of reward function R a Indicates that in state s t The discount factor γ is a number between 0 and 1 that is used to balance future benefits and current benefits.
[0060] The strategy obtained using Markov decision-making refers to the mapping from state to action, which is usually represented by the symbol π, and refers to the probability distribution of executing an action when the state s is given.
[0061] After a strategy is given, the cumulative return can be calculated, and then the state value function and action state value function can be calculated. After the action state value function is obtained, the optimal strategy can be solved through the dynamic programming algorithm. As long as the state space and action space are finite, the optimal strategy can be found.
[0062] The reinforcement learning solution method introduced above requires a finite state and action space, and the action-state value function value needs to be queried from a finite table. However, in reality, there are many scenarios where the state or action space is not finite. In this case, a model can be used to fit the action-state value function. DQN uses a deep convolutional neural network to fit the action-state value function (Q value). It combines neural networks and Q learning, which greatly enhances the model's representation ability.
[0063] The DQN algorithm designs two networks with the same structure but different parameters to calculate the actual Q value and the estimated Q value respectively. The loss function is defined as the mean squared error (MSE) of the two Q values.
[0064] In addition, in the training of neural networks, the assumption of independent and identical distribution of training samples is implicit, but there is correlation between the data collected by reinforcement learning, and it is difficult to train a stable neural network with such data. The DQN algorithm uses the experience replay mechanism to break this limitation. The specific process is that during the reinforcement learning process, the agent stores the generated samples in an experience pool, and then uses the uniform random sampling method to extract the training set from it.
[0065] The accurate recommendation capability disclosed in this disclosure is achieved through the wide&deep recommendation algorithm. Wide&deep is a recommendation algorithm proposed by Google. The core idea is to combine the memory ability of the linear model and the generalization ability of the deep neural network (DNN) model to improve the overall model performance. Wide&deep has been applied to the recommendation business in many fields such as the Google App Store and has become a basic methodology recognized by the industry.
[0066] Wide&deep uses the wide part to obtain memory capabilities. First, it uses artificial features for cross multiplication to construct nonlinear features to capture the correlation between features and "remember" feature pairs that have appeared together.
[0067] The deep part uses DNN to learn low-dimensional dense embedding of features. After repeated combination of features in multiple layers of the neural network, the obtained embedding layer can discover the potential correlation of features and has better generalization performance for feature combinations that have never appeared in history.
[0068] The wide&deep network is trained in a joint training mode, that is, the wide part and the deep part of the model share a loss function and update the parameters of each part at the same time. The wide part is usually trained using the streaming logistic regression algorithm (Follow the Regularized Leader, FTRL) combined with the L1 regularized loss function to ensure the sparsity of the model parameters, while the deep part is more often optimized using the adaptive gradient method AdaGrad.
[0069] User cold start of the recommendation system refers to recommending products that meet the needs and preferences of new users who have not yet formed data accumulation. In the marketing scenario of operators, there is relatively little related research work at present. However, in fact, since the consumption patterns of such users have not yet been fixed, they are still in the exploratory stage for various products, and there are a large number of them, especially dormant users. Therefore, there is great potential in improving the company's overall revenue and user experience. At present, some advanced methods have been proposed for user cold start applications, such as using graph networks, meta-learning, latent factor prediction, etc.
[0070] In the related technology, the latent factor characteristics of new users are predicted based on similar users by modifying the collaborative filtering model, but only the rating matrix is used to calculate similar users. However, since the products in the operator industry often have a certain homogeneity, the products applied for by new network users are often module package products. The product lists of similar users obtained based on such a rating matrix (application matrix) are highly similar and are likely to be module package products. The same main package cannot be applied for repeatedly, so the recommendation results obtained by the method are difficult to adapt to the recommendation scenarios of operators.
[0071] In related technologies, heterogeneous information networks are constructed to obtain users' potential friends, aiming to achieve product recommendations through users' social relationships. However, in the operator scenario, users' social relationships are not the decisive factor in users' product needs, so it is not completely applicable. It also builds a graph network through users' social relationships, which is mainly based on social data, so it is not suitable for operators' recommendation scenarios.
[0072] The present disclosure uses the DQN algorithm in reinforcement learning to generate a recommendation list for users. The overall idea is to use marketing recommendations as agents. The agent regards multiple marketing activities as a decision-making process. In each marketing activity, the agent selects a user group for the specified product, that is, performs an action, and regards the overall effect of each selected user group marketing as feedback of the action. The agent adjusts the strategy based on the feedback. The value function of the agent is fitted by a deep Q network, and the network training adopts an experience playback mechanism. Specifically, the training samples (state + action + feedback (reward)) constructed by each marketing activity (recommended action) are stored in an experience pool, and some samples are randomly extracted from the set as training data during training. The recommendation ability of the algorithm is continuously updated based on the continuously updated experience pool data.
[0073] The present disclosure combines the wide&deep algorithm and the DQN network, starting from the user's product needs and behavioral preferences, and through training, it can make intelligent decisions, select different user groups for different products, and generate corresponding user lists for product recommendations through passive channels such as life applications (Application, APP), online halls, and text messages. It is necessary to explain the scope of application of this application here. The new users involved in the cold start recommendation of this application are users who have no other product subscription records except the basic package, including new network users and users who have been in the network for a long time but have not handled business.
[0074] The method proposed in the present disclosure is applied to recommendation tasks, and its application has a wide range of scenarios. Compared with the current situation where the marketing growth space for existing users is limited in the operator scenario, the marketing of new users and the scenarios of attracting new users from different networks have greater room for development. The cold start user recommendation method proposed in this application learns recommendation strategies from historical marketing activities through the DQN network, thereby reducing the requirements for the richness of individual user features, and can adapt well to the scenarios of marketing new users or attracting new users from different networks, thereby obtaining a broader market prospect. The application scenarios are not limited in the embodiments of the present disclosure.
[0075] The user recommendation method provided by the present application is described in detail below with reference to the accompanying drawings.
[0076] Figure 1 FIG. 1 is a flow chart of a user recommendation method according to an embodiment of the present disclosure. Figure 1 In the illustrated embodiment, the user recommendation method includes:
[0077] Step 101, determining user group characteristic data based on user data.
[0078] In this embodiment, the user data includes at least one of the basic package purchased by the user when joining the network, the user traffic updated in quasi-real time, the usage of packages such as voice, saturation, off-terminal APP traffic data, the user's channel preference characteristics, the user's demographic characteristics, and the user's historical record information of receiving marketing calls, marketing text messages, and APP pop-up windows from the operator. The user group feature data includes at least one of the mean, variance, maximum value, minimum value, median, and 75th percentile of the user data. The user group feature data can be determined through a large number of user data.
[0079] Step 102, a feature vector constructed based on product data and user group feature data is in a first state, product data is recommended to the user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network.
[0080] In this embodiment, product data includes product type, product description information, product price, contract period, included traffic, call duration, out-of-package traffic price, directional traffic, and APP specified by directional traffic; the first state is a feature vector composed of product data and user group feature data; the first action is the recommendation system recommending product data to the user group; the first reward value is the user feedback received after the recommendation system executes the first action. The first reward value for the first action is obtained by fitting the Q network of DQN with a wide & deep network.
[0081] Step 103: Use the experience pool to optimize the DQN to obtain a list of users to be recommended product data, where the experience pool at least includes a first state, a first action, and a first reward value.
[0082] In this embodiment, the experience pool is a data set including at least the first state, the first action and the first reward value. Based on the current first state of the product and the user group, after performing the first action on the recommended user provided by DQN, the first reward value of the user is obtained as feedback, the latest state is collected, and the recommended action is optimized to obtain a list of users to be recommended for the product data.
[0083] In summary, according to the user recommendation method proposed in the present disclosure, based on user data, the user group characteristic data is determined, and the characteristic data of different user groups is obtained, which is helpful to determine the users in the cold start scenario and provides data preparation for user recommendation; the characteristic vector constructed according to the product data and the user group characteristic data is the first state, and the product data is recommended to the user group as the first action. The first reward value of the first action of the user group is estimated by the deep Q network DQN fitted with the wide&deep network, and the accurate target user group, that is, the cold start user, is determined, and matching products are recommended for the cold start user; the experience pool is used to optimize the DQN, and the list of users to be recommended for the product data is obtained. The experience pool includes at least the first state, the first action and the first reward value. The experience pool is updated, and then the first action is adjusted. In the continuous recommendation process, the user recommendation is made more accurate. The accuracy of recommending products to users in the user cold start scenario is improved.
[0084] Figure 2 The present invention is a flowchart of determining characteristic data of a user group based on user data according to an embodiment of the present invention. Figure 2 Yes Figure 1 Further description of step 101, based on Figure 2 The embodiment shown comprises the following steps:
[0085] Step 201 : collect user data and determine a user feature wide table based on a preset recall strategy.
[0086] In this embodiment, the preset recall strategy is to screen out users with fewer recent marketing times and high willingness to handle transactions based on the user's historical interaction records and basic package usage when collecting user data, and complete a recall. The user feature wide table is structured user feature data. After collecting user data, according to the preset recall strategy, a definition of user cold start scenarios is established, so as to extract data containing user cold start scenarios from the user data, and establish a user feature wide table based on the extracted data.
[0087] Step 202: Perform dimension reduction and clustering processing on the wide user feature table to obtain a first category of user groups.
[0088] In this embodiment, based on the user feature wide table data, feature dimension reduction is performed by any one of the sample data dimension reduction processing methods such as T-distributed Stochastic Neighbor Embedding (T-SNE), principal component analysis (PCA), linear discriminant analysis (LDA), multidimensional scaling (MDS), etc. According to the feature data after dimension reduction, clustering processing is performed using clustering algorithms such as K-means (K-means) and density-based spatial clustering of applications with noise (DBSCAN), and a large number of user groups classified according to feature classification are obtained. Among them, the first category of user groups is a user group that contains user cold start scenario data.
[0089] Step 203: Collecting statistics on user group characteristic data of the first category of user groups.
[0090] In this embodiment, based on all user feature data included in the first category of user groups, user group feature data is counted, that is, the mean, variance, maximum value, minimum value, median, 75th percentile and other indicators of the user feature data of the user group are counted.
[0091] In this embodiment, based on user data, data that may contain user cold start scenarios is initially extracted and constructed as user feature wide table data, and then dimension reduction and clustering are performed to determine the user group containing data of user cold start scenarios, thereby statistically analyzing the statistical characteristics of the user group. This provides accurate user-side data for the optimization of the recommendation system. Among them, constructing a user feature wide table from user data is the basis for determining the data of user cold start scenarios, which can be accomplished through the following embodiments.
[0092] Figure 3 This is a flowchart of an embodiment of the present disclosure for collecting user data and determining a wide table of user features based on a preset recall strategy. Figure 3 Yes Figure 2 Further description of step 201, based on Figure 3 The embodiment shown comprises the following steps:
[0093] Step 301, according to a preset recall strategy, target user data is filtered from user data. The preset recall strategy includes users whose historical recommendation times are less than or equal to a first threshold and / or users whose handling willingness is greater than or equal to a second threshold determined based on user historical interaction records and package usage.
[0094] In this embodiment, the target user data is the data of the suspected user cold start scenario screened out from the user data, and the number of historical recommendations is the number of times the recommendation system has initiated product recommendations for the user within a specified time. The willingness to handle is the evaluation value of the recommendation system on whether the user is willing to further agree to handle the recommended service after receiving the recommendation. The willingness to handle can be expressed by counting the user click rate in the relevant service. The user data screening strategy is completed through the preset recall strategy. The preset recall strategy is to collect user data, based on the user's historical interaction records and the use of the basic package, screen out users with fewer recent marketing times and high willingness to handle, and complete a recall.
[0095] Step 302: Determine a user feature wide table based on target user data.
[0096] In this embodiment, the data containing the user cold start scenario determined by the preset recall strategy is used to create a user feature wide table according to different feature categories. The user feature wide table is structured and organized user feature data.
[0097] In this embodiment, the data including the user cold start scenario is filtered and retained by a preset recall strategy, and constructed into a user feature wide table data that is easy to process later. After obtaining the user feature wide table, it is necessary to further count the user group feature data.
[0098] Figure 4 The present invention is a flowchart of collecting statistics of user group characteristic data of a first category of user groups according to an embodiment of the present invention. Figure 4 Yes Figure 2 and Figure 3 Specific description, based on Figure 4 The embodiment shown comprises the following steps:
[0099] Step 401 , at least one of the mean, variance, maximum value, minimum value, median, and 75th percentile of target user data in the first category of user groups is counted.
[0100] In this embodiment, at least one of the statistical indicators such as the mean, variance, maximum value, minimum value, median, 75th percentile, etc. is counted based on the target user data of the first category of user groups.
[0101] Figure 5 This is a flowchart of an embodiment of the present disclosure, in which a feature vector constructed according to product data and user group feature data is in a first state, product data is recommended to a user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network. Figure 5 Yes Figure 4 Step 401 is specifically described based on Figure 5The embodiment shown comprises the following steps:
[0102] Step 501, using the epsilon greedy strategy based on the first state to update the first action.
[0103] In this embodiment, the ∈-greedy strategy (also referred to as the epsilon greedy strategy) means that when the agent makes a decision, it randomly selects an unknown action with a very small probability epsilon, and the remaining 1-epsilon selects the action with the largest action value. In the first state, the epsilon greedy strategy is used to update the first action.
[0104] For example, ∈=10% determines that the Q-function is used to determine the action to be performed and the user group is determined with a probability of 1-∈=90%. The probability of ∈=10% is to randomly determine the user group.
[0105] Step 502: recommend product data to the user group based on the first action.
[0106] In this embodiment, product data is recommended to the user group through the first action, ie, the recommendation instruction.
[0107] Step 503: Based on the first state and the first action, determine the reward value of the user group through DQN.
[0108] In this embodiment, the state vector composed of product data and user group data is used as the first state, the recommendation instruction executed by the recommendation system is used as the first action, and the reward value of the user group is obtained by wide & deep fitting DQN.
[0109] Step 504: normalize the reward value to a first reward value.
[0110] In this embodiment, the reward value of the user group determined in step 503 is normalized and used as the first reward value. Therefore, the feedback value or reward value obtained after recommending the user group based on the first state through the wide & deep recommendation algorithm completes a recommendation or marketing activity for the user, and at the same time obtains the feedback data of the marketing activity. In the recommendation process of the recommendation system, in order to be sensitive to the changes in the user's feature data and to continuously make accurate recommendations, it is necessary to learn DQN using updated sample data.
[0111] Figure 6 The present invention is a flowchart of a user recommendation method according to an embodiment of the present invention. Figure 6 Yes Figure 1 Further explanation, based on Figure 6 The embodiment shown comprises the following steps:
[0112] Step 601, using the first state, the first action, and the first reward value, update the experience pool.
[0113] In this embodiment, the experience pool is a data set that stores product and user data, recommendation or marketing data, and marketing effects, and is used to provide a sample data set for DQN to optimize the recommendation network effect. The first state is a feature vector composed of product data and user group feature data; the first action is the recommendation system recommending product data to the user group; the first reward value is the user feedback received after the recommendation system performs the first action. The first reward value for the first action is obtained by fitting the Q network of DQN through the wide & deep network. The experience pool is updated using the continuously obtained first state, first action, and first reward value.
[0114] Step 602: If the number of samples in the experience pool exceeds the preset capacity, the experience pool is updated by sorting the samples according to their generation time.
[0115] In this embodiment, the experience pool is used as a sample data set of the reinforcement learning DQN network for improving the recommendation accuracy. In order to maintain the real-time nature of the data, a preset sample capacity is set. If the number of samples retained in the experience pool exceeds the preset capacity, the existing sample data sets are sorted according to the order of generation time, thereby retaining the sample data sets of the preset capacity and updating the experience pool.
[0116] In this embodiment, by updating the experience pool, real-time sample data is provided for the learning of the DQN network, which helps to improve the timeliness and accuracy of the recommendation. For the recommendation system optimized by the updated experience pool, the determination of the users to be recommended for the product is completed through the solution of the following embodiment.
[0117] Figure 7 This is a flowchart of an embodiment of the present disclosure for optimizing DQN using an experience pool to obtain a list of users to be recommended product data. Figure 7 Yes Figure 1 Step 102 is specifically described based on Figure 7 The embodiment shown comprises the following steps:
[0118] Step 701, extract at least one sample from the experience pool, use DQN to obtain a second reward value, determine the loss value of the Q network of the DQN and the target Q network, and update the model parameters of the Q network.
[0119] In this embodiment, the second reward value is the feedback or reward value obtained by DQN after using wide&deep recommendation through sample data selected from the experience pool. During the training of DQN, the loss function is determined by the difference between the first reward value and the second reward value, and the model parameters of the Q network of DQN are updated based on this loss function.
[0120] Step 702: Update the target Q network using the model parameters of the Q network of the DQN.
[0121] In this embodiment, after the Q network of the DQN obtains new model parameters through training, the model parameters of the target Q network of the DQN are updated using the model parameters of the Q network.
[0122] Step 703, collecting the current product data and the user group characteristic data to construct a feature vector in the second state.
[0123] In this embodiment, the second state is a feature vector of a combination of product data and user group feature data during the DQN training process.
[0124] Step 704, iteratively optimize the DQN through the experience pool updated with the second reward value and the second state.
[0125] In this embodiment, the sample data in the experience pool is updated using the second reward value and the second state, and then used to iteratively optimize the DQN.
[0126] Step 705: Determine a user list to be recommended product data according to the optimized DQN.
[0127] In this embodiment, the list of users to be recommended is a set of users to be recommended determined according to the product data. After DQN is optimized using new sample data, the list of users to be recommended that match the product data is determined using the wide & deep recommendation algorithm.
[0128] Figure 8 This is a flow chart of a user recommendation method according to an embodiment of the present disclosure. In this embodiment, each step is described in detail below:
[0129] Step 1: Initialize the Q network and the target Q network.
[0130] Randomly initialize the Q network parameters to θ and initialize the target Q network parameters to θ - .
[0131] Step 2, set the current time step t = 0. The time step t represents the time required to complete a marketing or recommendation.
[0132] Step 3: Collect the user-side data at the current moment to form structured feature data as a user feature wide table.
[0133] Step 4: Based on the user's product needs, channel preferences and other characteristics, after feature combination and other processing, use the T-SNE algorithm to complete the dimension reduction of the features, and then use clustering algorithms such as hierarchical clustering or DBSCAN to cluster the users to obtain classified (bucketed) user groups.
[0134] Step 5: Use statistical methods to calculate the group characteristics of the bucketed user groups.
[0135] Step 6: Use the Q network to calculate the action value function value.
[0136] Combine the products to be marketed and the user groups in pairs and concatenate them into a (product feature, user group feature) vector, i.e., the state φ t , φ t Input Q network and calculate the action value function value Q(φ t ,a), and use φ t Update the samples in the experience pool (φ t-1 ,a t-1,j ,r t-1,j ,Δ).
[0137] Step 7: Select actions using the epsilon-greedy strategy.
[0138] For each product j to be marketed, choose an action a t,j , that is, the user group to be marketed. Compared with deterministic strategy selection, the epsilon-greedy strategy has a certain probability of selecting a random user group, making the recommendation results more diverse, while avoiding repeated selection of the same action and solving the exploration-exploitation dilemma. The epsilon-greedy strategy is used to determine the recommended action of the Q network of DQN.
[0139] Step 8: Marketing. That is, executing the recommendation action determined by the epsilon-greedy strategy and recommending products to the users to be marketed.
[0140] Step 9: Collect marketing feedback data and expand the experience pool.
[0141] Collect feedback data from marketing activities, including whether to open SMS, whether to send business processing code, whether to successfully process, whether to click APP push pop-up window, operation data of marketing activity page, etc. After collecting feedback data, calculate the return r for each action t,j , and then the sample (φ t ,a t,j ,r t,j ,Δ) is added to the experience pool, where Δ is a placeholder, indicating φ t+1 , time step t = t + 1. If the number of samples in the experience pool exceeds the maximum capacity N, the earliest generated sample is deleted from it.
[0142] Step 10, repeat steps 2 to 8 until t = T, that is, reaching the end of the preset training time window, completing the operation of one epoch.
[0143] Step 11, extract m samples from the experience pool, and h ,a h,j ,r h,j ,φ h+1 ), the calculated label is: y h,j =r h,j +γmax a Q(φ h+1 ,a;θ), then calculate the loss function of DQN and update the parameters of the wide and deep parts of the network respectively.
[0144] Step 12: Repeat steps 9 to 11, and while performing cold start user recommendation, continuously use the newly generated feedback data to iteratively optimize the DQN network.
[0145] in,
[0146] For step 1, the network structure of the Q network does not use the CNN structure of the original DQN network, but adopts a wide&deep network structure that is more suitable for recommendation scenarios. The wide side inputs the cross-features of user groups and product features. Product features include product type, product price, contract period, included traffic, call duration, out-of-package traffic price, directional traffic, which APPs are specified for directional traffic, etc. User group features include the 75th percentile of traffic / voice saturation, current monthly rental fee, out-of-package traffic / voice usage, top k APPs with the highest traffic usage, etc. These features can be determined by simple addition and subtraction or judgment of presence or absence to determine whether the user has relevant needs. Therefore, the method of cross-calculation and input linear model is adopted to realize the memory ability of adapting products to user group needs. The deep side realizes a deeper exploration of user preferences and needs, improves the generalization ability of the model, and inputs continuous features representing user group attributes, consumption capacity, rights subscription and use, and discrete category features, such as user group home network characteristics, age, gender, city, user product handling relationship, and product embedding features calculated by graph network algorithm. Such features require the use of more complex nonlinear models to mine deep information. Here, a 3-layer fully connected network is used for consideration of actual feature dimensions and data volume. In addition, the network structure of the target Q network is exactly the same as that of the Q network, and the initial parameters are also the same.
[0147] For step 3, based on the experience of implementing actual marketing activities, a rule-based recall strategy was designed. That is, when collecting user data, in addition to screening new users by application scope, it is also necessary to screen out users with fewer recent marketing times and high willingness to apply based on historical user interaction records and basic package usage, and complete a recall. Specifically, the former can preset a time window and an upper limit for marketing times statistics. Only those with fewer marketing times than the upper limit within the time window will be included in the recall set; the latter can be achieved by filtering users whose traffic usage and voice usage duration are less than the preset threshold.
[0148] For step 9, according to the importance of different user behaviors in the operator's business, the reward values corresponding to different user feedback are set as follows:
[0149] User feedbackop Return value r(op) Open SMS 3 Reply processing code 5 Successfully processed 10 Open APP pop-up window / message 2 Click on the SMS link 1
[0150] Action a t,j The reward is the sum of the reward values corresponding to the feedback generated by all users contained in it. In order to avoid the DQN network from failing to converge during training and to accelerate network training, the rewards need to be normalized here. The final action a t,j The return r t,j The calculation is as follows:
[0151]
[0152] That is, we traverse all the returns of all user groups and obtain the ratio of all the returns of one user group among all user groups to normalize the returns. t,j Indicates action a t,j The corresponding set of feedback generated by the user group, r(·) is the mapping function between feedback and reward value, and op represents the feedback generated by the user.
[0153] For step 11, the loss function of the DQN network is defined as follows:
[0154] L(θ)=(yQ(φ,a;θ)) 2 =(R+γmax a′ Q(φ′,a′;θ - )-Q(φ,a;θ)) 2 , where r represents the reward of the current action, φ represents the current state, φ′ is the next state, γ is the discount factor, and θ - represents the parameters of the target Q network, and θ is the parameter of the Q network. The target value predicted by the Q network is calculated as y = R + γmax a′ Q(φ′,a′;θ - ).
[0155] The wide & deep training adopts the standard joint training method, that is, for the wide part of the network, the FTRL+L1 method is used for training to improve the sparsity of the wide part, and the deep part is optimized using the AdaGrad algorithm.
[0156] For step 12, when steps 9 to 11 are repeated n times, the parameters of the Q network need to be copied to the target Q network. The value of n can be customized.
[0157] Through the method of this embodiment, a DQN-based reinforcement learning algorithm is used to learn the user cold start strategy from historical new user marketing activities. The DQN network structure adopts a wide & deep network, taking into account the two characteristics of user product needs and preferences. The wide part is more used to remember the former, and the deep part is more used to mine the latter to complete the calculation of the recommendation list. The loss function of wide & deep network training is a function related to the reward value of the strategy, the Q network prediction value, and the target network prediction value. The definition of the reward value covers a variety of user behaviors such as clicks and handling. While realizing multi-objective task learning, it can also smooth the label space predicted by the model and reduce the difficulty of learning. At the same time, because this method uses reinforcement learning, the marketing activities are modeled as a Markov decision process, and the recommendation strategy is learned from multiple marketing. It can weigh the goals of exploring and exploiting, and the recommendation results are more diverse. In addition, multiple types of features are used, which can more effectively mine user needs and preferences.
[0158] A technical solution provided by a user recommendation method disclosed in the present invention. Based on user data, the user group feature data is determined, and the feature data of different user groups is obtained, which is helpful to determine the users in the cold start scenario and provides data preparation for user recommendation; the feature vector constructed according to the product data and the user group feature data is the first state, and the product data is recommended to the user group as the first action. The first reward value of the first action of the user group is estimated by the deep Q network DQN fitted with the wide&deep network, and the accurate target user group, that is, the cold start user, is determined, and matching products are recommended for the cold start user; the experience pool is used to optimize the DQN, and a list of users to be recommended for the product data is obtained. The experience pool includes at least the first state, the first action and the first reward value. The experience pool is updated, and then the first action is adjusted. In the continuous recommendation process, the user recommendation is made more accurate, and the accuracy of product recommendation to users in the user cold start scenario is improved.
[0159] Corresponding to the methods provided in the above-mentioned embodiments, the present disclosure also provides a user recommendation device. Since the device provided in the embodiments of the present disclosure corresponds to the methods provided in the above-mentioned embodiments, the implementation method of the method is also applicable to the device provided in this embodiment and will not be described in detail in this embodiment.
[0160] Fig. 9 FIG. 9 is a schematic diagram of the structure of a user recommendation device 900 according to an embodiment of the present disclosure. Fig. 9 As shown, the user recommendation device includes:
[0161] The data collection module 910 is used to determine user group characteristic data based on user data;
[0162] A user recommendation module 920, configured to take a feature vector constructed according to the product data and the user group feature data as a first state, recommend the product data to the user group as a first action, and estimate a first reward value of the first action of the user group through a deep Q network DQN fitted with a wide&deep network;
[0163] The recommendation optimization module 930 is used to optimize the DQN using the experience pool to obtain a list of users to be recommended product data, where the experience pool at least includes a first state, a first action, and a first reward value.
[0164] In some embodiments, the data collection module 910 is used to:
[0165] Collect user data and determine the user feature table based on the preset recall strategy;
[0166] Perform dimension reduction and clustering on the wide table of user features to obtain the first category of user groups;
[0167] Collect statistics on user group characteristic data of the first category of user groups.
[0168] In some embodiments, the data collection module 910 collects user data in the following manner and determines a user feature wide table based on a preset recall strategy:
[0169] Filter target user data from user data according to a preset recall strategy, where the preset recall strategy includes users whose number of historical recommendations is less than or equal to a first threshold and / or whose application willingness is greater than or equal to a second threshold, determined based on user historical interaction records and package usage;
[0170] Determine the user feature wide table based on the target user data.
[0171] In some embodiments, the data collection module 910 collects the user group characteristic data of the first category of user groups in the following manners:
[0172] At least one of the mean, variance, maximum value, minimum value, median, and 75th percentile of the target user data in the first category of user groups is counted.
[0173] In some embodiments, the user recommendation module 920 is used to:
[0174] Based on the first state, the epsilon greedy strategy is adopted to update the first action;
[0175] recommending product data to the user group based on the first action;
[0176] Based on the first state and the first action, determine the reward value of the user group through DQN;
[0177] Normalize the rewards to the first reward value.
[0178] In some embodiments, the user recommendation device 900 is further used for:
[0179] Use the first state, the first action, and the first reward value to update the experience pool;
[0180] If the number of samples in the experience pool exceeds the preset capacity, the experience pool is sorted and updated according to the generation time of the sample number.
[0181] In some embodiments, the recommendation optimization module 930 is used to:
[0182] Extract at least one sample from the experience pool, use DQN to obtain a second reward value, determine the loss value of the Q network of the DQN and the target Q network, and update the model parameters of the Q network;
[0183] Update the target Q network using the model parameters of the DQN’s Q network;
[0184] The feature vector constructed by collecting current product data and user group feature data is in the second state;
[0185] Iteratively optimize DQN through the experience pool updated by the second reward value and the second state;
[0186] According to the optimized DQN, a list of users to be recommended for product data is determined.
[0187] In some embodiments, user data includes the basic package purchased by the user when joining the network, user traffic updated in quasi-real time, usage and saturation of voice and other packages, off-terminal APP traffic data, user channel preference characteristics, user demographic characteristics, and at least one of the historical record information of the user receiving marketing calls, marketing text messages, and APP pop-up windows from the operator.
[0188] In summary, through the user recommendation device, based on user data, the user group characteristic data is determined, which helps to determine the users in the cold start scenario; the feature vector constructed according to the product data and the user group characteristic data is the first state, and the product data is recommended to the user group as the first action. The first reward value of the first action of the user group is estimated by the deep Q network DQN fitted with the wide&deep network, and matching products are recommended to the cold start users; the experience pool is used to optimize the DQN to obtain a list of users to be recommended for the product data, and the experience pool includes at least the first state, the first action and the first reward value. In the continuous recommendation process, the accuracy of product recommendations to users in the user cold start scenario is improved. This device solves the problem of inaccurate product recommendations for operator users such as new network users and dormant users in the cold start scenario, and improves the accuracy of product recommendations to users in the user cold start scenario.
[0189] In the embodiments provided in the present application, the methods and devices provided in the embodiments of the present application are introduced. In order to implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
[0190] Fig.10 is a block diagram of an electronic device 1000 for implementing the above-mentioned user recommendation method according to an exemplary embodiment.
[0191] For example, the electronic device 1000 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0192] Reference Fig.10 , the electronic device 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output (I / O) interface 1012 , a sensor component 1014 , and a communication component 1016 .
[0193] The processing component 1002 generally controls the overall operation of the electronic device 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.
[0194] The memory 1004 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0195] The power supply component 1006 provides power to various components of the electronic device 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1000.
[0196] The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the electronic device 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0197] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the electronic device 1000 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
[0198] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0199] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 can detect the open / closed state of the electronic device 1000, the relative positioning of components, such as the display and keypad of the electronic device 1000, and the sensor assembly 1014 can also detect the position change of the electronic device 1000 or a component of the electronic device 1000, the presence or absence of user contact with the electronic device 1000, the orientation or acceleration / deceleration of the electronic device 1000, and the temperature change of the electronic device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0200] The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (NewRadio) or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0201] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0202] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the electronic device 1000 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0203] The embodiments of the present disclosure further provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the user recommendation method described in the above embodiments of the present disclosure.
[0204] An embodiment of the present disclosure further provides a computer program product, including a computer program, which executes the user recommendation method described in the above embodiment of the present disclosure when a processor is used to execute the computer program.
[0205] Fig.11 is a schematic structural diagram of a chip 1100 for implementing the above-mentioned user recommendation method according to an exemplary embodiment.
[0206] Reference Fig.11 The chip 1100 includes at least one communication interface 1101 and a processor 1102; the communication interface 1101 is used to receive a signal input to the chip 1100 or a signal output from the chip 1100, and the processor 1102 communicates with the communication interface 1101 and implements the user recommendation method described in the above embodiment through a logic circuit or executing code instructions.
[0207] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0208] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0209] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0210] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (control method), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0211] It should be understood that the various parts of the embodiments of the present disclosure can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0212] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0213] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0214] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A user recommendation method, characterized in that: The method comprises: Based on the user data, determine the user group characteristic data; The feature vector constructed according to the product data and the user group feature data is in a first state, the product data is recommended to the user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network; The DQN is optimized using an experience pool to obtain a list of users to be recommended the product data, wherein the experience pool at least includes the first state, the first action, and the first reward value.
2. The method according to claim 1, characterized in that Determining user group characteristic data based on user data includes: Collect the user data and determine a user feature broad table based on a preset recall strategy; Performing dimension reduction and clustering processing on the user feature wide table to obtain a first category of user groups; Collect statistics on the user group characteristic data of the first category of user groups.
3. The method according to claim 2, characterized in that The collecting of the user data and determining the user feature wide table based on a preset recall strategy includes: Filtering target user data from the user data according to the preset recall strategy, wherein the preset recall strategy includes users whose number of historical recommendations is less than or equal to a first threshold and / or whose application willingness is greater than or equal to a second threshold, determined based on user historical interaction records and package usage; The user feature wide table is determined according to the target user data.
4. The method according to claim 3, characterized in that The statistical analysis of the user group characteristic data of the first category of user groups includes: At least one of the mean, variance, maximum value, minimum value, median, and 75th percentile of the target user data in the first category of user groups is counted.
5. The method according to claim 1, characterized in that The feature vector constructed according to the product data and the user group feature data is in a first state, the product data is recommended to the user group as a first action, and a first reward value of the first action of the user group is estimated by a deep Q network DQN fitted with a wide&deep network, including: Based on the first state, the epsilon greedy strategy is adopted to update the first action; recommending the product data to the user group based on the first action; Based on the first state and the first action, determining the reward value of the user group through the DQN; The reward value is normalized to the first reward value.
6. The method according to claim 1, characterized in that The method further comprises: Using the first state, the first action, and the first reward value, updating the experience pool; If the number of samples in the experience pool exceeds a preset capacity, the experience pool is sorted according to the generation time of the number of samples and updated.
7. The method according to claim 1, characterized in that The using of the experience pool to optimize the DQN to obtain a list of users to be recommended for the product data, wherein the experience pool at least includes the first state, the first action, and the first reward value includes: Extract at least one sample from the experience pool, use the DQN to obtain a second reward value, determine a loss value between the Q network of the DQN and the target Q network, and update the model parameters of the Q network; Updating the target Q network using the model parameters of the Q network of the DQN; The feature vector constructed by collecting the current product data and the user group feature data is in the second state; Iteratively optimizing the DQN by using the experience pool updated by the second reward value and the second state; According to the optimized DQN, the to-be-recommended user list of the product data is determined.
8. The method according to any one of claims 1 to 7, characterized in that: The user data includes the basic package purchased by the user when joining the network, the user traffic updated in quasi-real time, the usage and saturation of voice and other packages, the off-terminal application traffic data, the user's channel preference characteristics, the user's demographic characteristics, and at least one of the historical record information of the user receiving marketing calls, marketing text messages, and application pop-up windows from the operator.
9. A user recommendation device, characterized in that: The device comprises: A data collection module, used to determine user group characteristic data based on user data; A user recommendation module, configured to take a feature vector constructed according to the product data and the user group feature data as a first state, recommend the product data to the user group as a first action, and estimate a first reward value of the first action of the user group through a deep Q network DQN fitted with a wide&deep network; A recommendation optimization module is used to optimize the DQN using an experience pool to obtain a list of users to be recommended for the product data, wherein the experience pool at least includes the first state, the first action, and the first reward value.
10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.
12. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
13. A chip, characterized in that: It includes at least one processor and a communication interface; the communication interface is used to receive a signal input to the chip or a signal output from the chip, and the processor communicates with the communication interface and implements the method according to any one of claims 1-8 through a logic circuit or executing code instructions.
Citation Information
Cited By
Multi-heterogeneous third-party eSIM package standardized adaptation and intelligent scheduling system and method
CN121644254A
