User identification model training method, electronic device and computer storage medium
By analyzing user historical behavior records, extracting behavioral characteristics, training user identification models and making accurate e-book recommendations, the problem of low user retention rate in the existing technology is solved and the user retention rate of e-reading applications is improved.
Patent Information
- Application Number
- CN202110882573.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-02
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-02
AI Technical Summary
User retention rates in existing e-reading applications are low, and it is difficult to effectively increase user retention rates through historical reading content or user interest recommendations.
By analyzing user historical behavior records, extracting user behavior characteristics, building a collection of behavioral characteristic words, training user identification models, predicting user attributes, and making accurate e-book recommendations based on prediction results to improve user retention rates.
It achieves accurate recommendations based on user behavior characteristics, improves user retention rates, and enhances the user retention capabilities of e-reading applications.
Smart Images

Figure CN113590960B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic books, and in particular to a user recognition model training method, electronic equipment and computer storage medium. Background Art
[0002] With the continuous development of technology and society, e-books have gradually replaced traditional paper books. Various electronic products, such as smart phones, tablets, e-readers, etc., support the installation of e-reading applications and have e-book reading functions.
[0003] At present, various electronic reading application products emerge in an endless stream, and how to retain users is the ultimate goal of each electronic reading application product. In the prior art, products that users may like are usually recommended to users based on historical reading content or based on user interests to increase user retention rate.
[0004] However, during the implementation process, the inventors found that the prior art has at least the following defects: the user retention rate is still low. Summary of the invention
[0005] In view of the above problems, the present invention is proposed to provide a user recognition model training method, electronic device and computer storage medium that overcome the above problems or at least partially solve the above problems.
[0006] According to one aspect of the present invention, a user recognition model training method is provided, comprising:
[0007] Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application;
[0008] Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features;
[0009] A user identification model is trained based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0010] According to one aspect of the present invention, there is provided an e-book recommendation method, comprising:
[0011] Obtain the historical behavior track of the second user of the e-book application;
[0012] Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user;
[0013] Predicting a user attribute of the second user according to the behavioral feature word set of the second user and a user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book, and the lost user is a user who does not meet specific requirements when using the e-book;
[0014] E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
[0015] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0016] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0017] Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application;
[0018] Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features;
[0019] A user identification model is trained based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0020] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0021] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0022] Obtain the historical behavior track of the second user of the e-book application;
[0023] Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user;
[0024] Predicting a user attribute of the second user according to the behavioral feature word set of the second user and a user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet specific requirements when using the e-book application;
[0025] E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
[0026] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the above-mentioned user recognition model training method or to perform operations corresponding to the above-mentioned e-book recommendation method.
[0027] According to the user identification model training method, electronic device and computer storage medium disclosed in the present invention, firstly, the user attribute of the first user of the e-book application is determined according to the historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet specific requirements when using the e-book application, and the user behavior characteristics that match the user attributes are extracted from the historical behavior records, and a set of behavior characteristic words that characterize the user behavior characteristics is constructed, and then the user identification model is trained based on the set of behavior characteristic words, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior characteristic words. This scheme obtains a user identification model by training a set of behavior characteristic words that characterize user behavior characteristics, and the user identification model can predict user attributes and output user attributes and corresponding behavior characteristic words, and the output user attributes and corresponding behavior characteristic words can be used as a reference for e-book recommendations, thereby achieving accurate recommendations, thereby improving user retention rate.
[0028] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0030] Figure 1A schematic diagram of a process of a user identification model training method provided according to Embodiment 1 of the present invention is shown;
[0031] Figure 2 A schematic diagram of a flow chart of a user identification model training method provided according to Embodiment 2 of the present invention is shown;
[0032] Figure 3 A schematic diagram of a flow chart of a user identification model training method provided according to Embodiment 3 of the present invention is shown;
[0033] Figure 4 A schematic diagram showing a flow chart of an e-book recommendation method provided according to a fourth embodiment of the present invention;
[0034] Figure 5 A schematic diagram showing a flow chart of an e-book recommendation method provided according to Embodiment 5 of the present invention;
[0035] Figure 6 A schematic structural diagram of an electronic device provided according to Embodiment 3 of the present invention is shown. DETAILED DESCRIPTION
[0036] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0037] Embodiment 1
[0038] Figure 1 A flow chart of a user identification model training method provided according to Embodiment 1 of the present invention is shown. The user identification model training method provided in this embodiment is executed on the user side or the server side, for example, it can be executed by an e-book application user side in a mobile phone terminal, a computer terminal, a reader, and / or a smart wearable device, or an e-book application server.
[0039] like Figure 1 As shown, the method includes:
[0040] Step S110, determining the user attribute of the first user according to the historical behavior record of the first user of the e-book application, wherein the user attribute is a retained user or a lost user, and a retained user is a user who meets specific requirements when using the e-book application, and a lost user is a user who does not meet specific requirements when using the e-book application.
[0041] In order to distinguish different users in this article, the e-book application user that appears for the first time in this article is referred to as a first user, and different e-book application users that appear subsequently are referred to as second users in turn.
[0042] The specific requirement may be that the user has generated specific behavior in the e-book application (such as reading behavior, reading time, click behavior, etc.).
[0043] Specifically, if a user wants to read an e-book in an e-book application, he or she first needs to register an account in the e-book application, so that each e-book application user will have an exclusive account. According to the exclusive account, the historical behavior record of the corresponding user, i.e., the first user, can be obtained. In this step, the first user can be a newly registered user, including a retained user and / or a lost user, and the definition of a retained user / lost user can be changed according to business needs. For example, a three-day retained user is a newly registered user who opened the e-book application or performed a specific behavior (such as reading behavior) today, and still opened the e-book application or performed a specific behavior three days later. A three-day lost user is a newly registered user who opened the e-book application or performed a specific behavior (such as reading behavior) today, but did not open the e-book application or perform a specific behavior three days later.
[0044] Among them, the historical behavior record can be the historical behavior record of the first user, i.e., the newly registered user, including at least one of: opening the e-book application, logging into the e-book application, selecting an e-book, reading the e-book and the duration, reading book reviews, reading recommended content, logging out and logging off.
[0045] Step S120 , extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features.
[0046] Specifically, if the user attribute is a retained user, the user behavior features that match the retained user are extracted from the historical behavior records; if the user attribute is a lost user, the user behavior features that match the lost user are extracted from the historical behavior records. For example, if a historical behavior record includes opening an e-book application, selecting an e-book, reading an e-book and the duration, reading book reviews, and logging out, if the user attribute is a retained user, the user behavior features extracted are opening the e-book application, selecting an e-book, reading an e-book and the duration; if the user attribute is a lost user, the user behavior features extracted are reading an e-book and the duration, reading book reviews, and logging out.
[0047] Furthermore, in order to reduce the data capacity during model training, the above-extracted user behavior features can be simplified and digitized, that is, behavior feature words are constructed based on each extracted user behavior feature to form a behavior feature word set. The behavior feature word set can be composed of a behavior feature word sequence, for example, including at least one behavior feature word sequence, and the behavior feature word sequence is composed of multiple behavior feature words in a fixed order.
[0048] Moreover, the multiple behavior feature words include behavior feature words that represent reading behavior. For example, the order can be determined by the order in which the historical behaviors corresponding to the behavior feature words are executed. Using the above example, for retained users, the extracted user behavior features are opening the e-book application, selecting an e-book, reading an e-book, and the duration. The corresponding behavior feature words are opening, selecting an e-book, and reading an e-book. If a behavior feature word sequence is formed, it is opening-selecting an e-book-reading an e-book, and the order of the behavior feature words is fixed. For lost users, the extracted user behavior features are reading e-books and the duration, reading book reviews, and logging out. The corresponding behavior feature words are reading e-books, reading book reviews, and logging out. If a behavior feature word sequence is formed, it is reading e-books-reading book reviews-logging out, and the order of the behavior feature words is fixed.
[0049] In particular, since the order of behavioral feature words has an impact on the prediction results, for example, for the behavioral feature word sequences of watching incentive videos-reading e-books-exiting and reading e-books-watching incentive videos-exiting, a fixed order can ensure that the impact of behaviors with a sequential relationship on whether users are retained is learned. In other words, when training the user recognition model, it is found that the output results obtained under the word sequence of reading e-books-watching incentive videos-exiting are more accurate in judging lost customers. Then, it can be learned not to push incentive videos to users when they are reading e-books, because this is likely to cause user loss, which is a feedback process.
[0050] Step S130 , training a user identification model based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0051] Specifically, the behavioral feature word set is input as training data into the user identification model for training, thereby obtaining a user identification model with the function of predicting user attributes. The user identification model can also output user attributes and corresponding behavioral feature words to provide a reference for subsequent e-book recommendations.
[0052] It can be seen that this embodiment can train a user identification model based on a set of behavioral feature words that characterize user behavior characteristics, and the user identification model can predict user attributes and output user attributes and corresponding behavioral feature words. The output user attributes and corresponding behavioral feature words can be used as a reference for e-book recommendations, thereby achieving accurate recommendations and improving user retention rate.
[0053] Embodiment 2
[0054] Figure 2 The flowchart of a user identification model training method provided in accordance with Embodiment 2 of the present invention is shown. The user identification model training method provided in this embodiment is a further optimization of the method in Embodiment 1.
[0055] like Figure 2 As shown, the method includes:
[0056] Step S210, determining the user attribute of the first user according to the historical behavior record of the first user of the e-book application, wherein the user attribute is a retained user or a lost user, and a retained user is a user who meets specific requirements when using the e-book application, and a lost user is a user who does not meet specific requirements when using the e-book application.
[0057] Step S220: extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features.
[0058] Step S230: predicting the user attributes of the first user according to the behavior feature words of the first user and the user identification model.
[0059] Specifically, the behavior feature words of the first user are directly input into the user identification model for prediction to obtain the user attributes of the first user. Alternatively, when there are multiple behavior feature words for the first user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order, and the behavior feature word sequence is input into the user identification model for prediction to obtain the user attributes of the first user. Alternatively, based on the model parameters, the behavior feature words of the first user are converted into multiple groups of sub-behavior feature word sequences, and the multiple groups of sub-behavior feature word sequences are input into the user identification model, and the user attributes of the first user are predicted by the user identification model. The model parameters can be initial model parameters or model parameters adjusted during the training process to improve the prediction accuracy. For example, taking the user identification model as a Fasttext model, for example, for word-level n-gram, if the model parameter is 2 and the behavior feature word sequence is abcde, abcde is converted into ab, bc, cd, de, and if the model parameter is adjusted to 3 during the model training process, abcde is converted into abc, bcd, cde, where 2 and 3 represent windows of the behavior feature word sequence.
[0060] Specifically, the user identification model can output a probability, and determine whether it is a lost user or a retained customer based on the probability and the preset threshold. For example: for user A, the behavioral feature word sequence input into the user identification model is (abcd), and the output of the user identification model is 0.3. If the preset threshold is set to 0.2, it will be determined as a lost user. If the preset threshold is set to 0.4, it will be determined as a retained user.
[0061] Therefore, the preset threshold can be set according to the specific scenario requirements. For example, if in some scenarios, the recall rate (recall rate) is more concerned (in order to screen out more lost users), a preset threshold with a high recall rate indicator can be considered when setting the preset threshold; if in some scenarios, the precision rate (precision rate) is more concerned (in order to obtain more accurate lost users), a preset threshold with a high precision rate indicator can be set.
[0062] Step S240, adjusting the behavior feature word set or model parameters according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0063] Specifically, the real user attributes and the predicted user attributes of the first user are compared to determine the accuracy of the user identification model, and the behavior feature word set or model parameters are adjusted according to the comparison result to obtain a user identification model that meets preset conditions.
[0064] For a set of behavior feature words, the weight of each behavior feature word in the set of behavior feature words can be adjusted. For example, the weight of behavior feature words that are helpful in distinguishing user attributes can be increased, and the weight of useless behavior feature words can be reduced. Alternatively, new behavior feature words that are helpful in distinguishing user attributes can be added to the set of behavior feature words, or useless behavior feature words can be deleted from the set of behavior feature words.
[0065] For model parameters, if the user attributes predicted by the user identification model for the initial model parameters do not match the actual user attributes, the model parameters are adjusted, and the accuracy of the user attributes predicted by the user identification model is checked based on the adjusted model parameters to see whether it meets the requirements.
[0066] It can be seen that in this embodiment, a user identification model is obtained by training based on a set of behavioral feature words that characterize the user behavior characteristics of the first user. A larger amount of training data is available, and the behavioral feature word set or model parameters are adjusted according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions. This can further improve the accuracy of the user identification module, thereby achieving accurate recommendations and improving user retention rate.
[0067] Embodiment 3
[0068] Figure 3 The flowchart of a user identification model training method provided in Embodiment 3 of the present invention is shown. The user identification model training method provided in this embodiment is a further optimization of the method in Embodiment 1.
[0069] like Figure 3 As shown, the method includes:
[0070] Step S310, determining the user attribute of the first user according to the historical behavior record of the first user of the e-book application, wherein the user attribute is a retained user or a lost user, and a retained user is a user who meets specific requirements when using the e-book application, and a lost user is a user who does not meet specific requirements when using the e-book application.
[0071] Step S320, counting the proportion of lost customers and / or retained customers, and forming a transition probability matrix.
[0072] Specifically, a certain number of registered users can be divided into retained users and churned users based on specific definitions of user attributes. For example, 100 registered users are randomly selected and divided into retained users and churned users based on their activity status three days after registration.
[0073] Analyze the historical behaviors of the two user groups recorded on the corresponding server of the e-book application, and find the behavioral differences between the two user groups. For example, for retained users, this user group has more reading behaviors, while lost users have less reading behaviors. Statistics can be performed to form a transfer probability matrix.
[0074] Step S330 , extracting user behavior features that match lost customers and / or retained customers from each historical behavior record according to the transition probability matrix, and constructing a set of behavior feature words that characterize the user behavior features.
[0075] Specifically, through the transfer probability matrix, the behavior sequence relationship is analyzed to extract behavioral feature words. For example, when the reading behavior exceeds a certain number of times or is maintained for a certain period of time, the behavioral feature word "reading e-books" is used to represent it. Or for retained users, this user group will have more click actions, while the click actions of lost users will be relatively few. In this way, a standard can also be set. For example, when the click action exceeds a certain number, the feature word "click" is used to represent it. Using a similar idea, a set of behavioral feature words that can reflect the differences in user behavior can be obtained.
[0076] Furthermore, the screening of behavior feature words may include: preliminary screening of user behaviors through the term frequency inverse document frequency index (TF-IDF) of behavior feature words. For example, book exposure, login behavior, etc. are common behaviors of users and are not very meaningful for distinguishing users. For another example, some behaviors, such as participating in Dragon Boat Festival activities, occur at a specific time for users and have a low frequency of occurrence during the user's life cycle. These behaviors also need to be filtered out.
[0077] For example, the following table is an example of a transition probability matrix. The columns in the table represent the first step of behavior, the rows represent the second step of behavior, and the corresponding values are the proportion or probability of lost customers:
[0078] Read eBook Do the task quit Read recommended new books Read pop-up ads 0.1 0.1 0.5 0.2 Read the review 0.1 0.3 0.1 0.05 Read eBook 0.1 0.12 0.1 Sign in 0.3 0.02 0.1 0.2
[0079] From the transition probability matrix, we can see that the proportion of lost customers corresponding to the behavior trajectory of users reading pop-up ads in the first step and exiting the e-book application in the second step is 0.5, so the behavioral feature words corresponding to this behavior are selected, namely reading ads and exiting; the behaviors corresponding to the proportion of 0.05 and below in the transition probability matrix are screened out and not considered.
[0080] Step S340 , training a user identification model based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0081] It can be seen that this embodiment counts the proportion of lost customers and / or retained customers and forms a transition probability matrix. According to the transition probability matrix, user behavior features that are consistent with lost customers and / or retained customers are extracted from each historical behavior record, and a set of behavior feature words that characterize user behavior features are constructed. In this way, training data with high accuracy can be obtained, and a user recognition model with relatively high prediction accuracy can be trained, thereby achieving accurate recommendations and improving user retention rate.
[0082] Embodiment 4
[0083] Figure 4 A flow chart of an e-book recommendation method provided according to a fourth embodiment of the present invention is shown.
[0084] The user identification model training method provided in this embodiment is a further optimization of the method in the first embodiment.
[0085] like Figure 4 As shown, the method includes:
[0086] Step S410: obtaining a historical behavior track of a second user of the e-book application.
[0087] Step S420: construct a set of behavior feature words that characterize the historical behavior trajectory of the second user.
[0088] Specifically, according to the historical behavior record of the second user in the above embodiment, the historical behavior trajectory of the first user is analyzed, and its historical behavior trajectory is textualized using the established behavior feature word set, that is, it is determined which behavior feature words in the behavior feature word set match the historical behavior trajectory of the second user, and then a behavior feature word set that characterizes the historical behavior trajectory of the second user is constructed.
[0089] Step S430, predicting the user attributes of the second user based on the behavioral feature word set of the second user and the user identification model, wherein the user attributes are retained users or lost users, and retained users are users who meet specific requirements when using the e-book application, and lost users are users who do not meet specific requirements when using the e-book application.
[0090] Step S440: recommending e-books based on the behavioral feature word set of the second user and the predicted user attributes.
[0091] Specifically, if the user attribute is a retained user, the behavioral characteristics that characterize the user's retention are determined based on the behavioral characteristic words, and then e-book recommendations are made based on the retained behavioral characteristics. For example, if the behavioral characteristic words of the retained user are selecting e-books and reading e-books, it can be determined that the behavioral characteristics of the retained user are reading e-books, and new books or e-book reviews can be recommended to the retained user. Conversely, if the user attribute is a lost user, the behavioral characteristics that lead to user loss are determined based on the behavioral characteristic words, and then e-book recommendations are made based on the behavioral characteristics. For example, if the behavioral characteristic words of the retained user are selecting to read e-books-reading advertisements-exiting, it can be determined that the behavioral characteristics of the lost user are reading advertisements, and no advertisements are recommended when the user is reading e-books.
[0092] It can be seen that this embodiment constructs behavioral feature words that characterize the historical behavior trajectory of the second user, predicts the user attributes of the second user based on the behavioral feature words of the second user and the user recognition model, and further recommends e-books based on the user attributes and the corresponding behavioral feature words, thereby achieving accurate recommendations and improving user retention rate.
[0093] Embodiment 5
[0094] Figure 5 A schematic flow chart of an e-book recommendation method provided according to Embodiment 5 of the present invention is shown.
[0095] The user identification model training method provided in this embodiment is a further optimization of the method in the first embodiment.
[0096] like Figure 5 As shown, the method includes:
[0097] Step S510: obtaining a historical behavior track of a second user of the e-book application.
[0098] Step S520: construct a set of behavior feature words that characterize the historical behavior trajectory of the second user.
[0099] Step S530: when there are multiple behavior feature words for the second user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order.
[0100] Specifically, since the order of behavioral feature words has an impact on the prediction results, for example, for the behavioral feature word sequences of watching incentive videos-reading e-books-exiting and reading e-books-watching incentive videos-exiting, a fixed order can ensure that the impact of behaviors with a sequential relationship on whether users are retained is learned. In other words, when training the user recognition model, it is found that the output results obtained under the word sequence of reading e-books-watching incentive videos-exiting are more accurate in judging lost customers. Then it can be learned not to push incentive videos to users when they are reading e-books, because this is likely to cause user loss, which is a feedback process. Therefore, combining multiple behavioral feature words into a behavioral feature word sequence in a fixed order can improve the accuracy of recommendations.
[0101] In an optional embodiment, this step specifically includes: converting the behavior feature word sequence of the second user into multiple sub-behavior feature word sequences according to model parameters; inputting the multiple sub-behavior feature word sequences into the user identification model, and predicting the user attributes of the second user through the user identification model.
[0102] For example, if the user identification model is a Fasttext model, for example, for word-level n-gram, if the model parameter is 2 and the behavior feature word sequence is abcde, abcde is converted into ab, bc, cd, de. If the model parameter is 3, abcde is converted into abc, bcd, cde.
[0103] Step S540, predicting the user attributes of the second user based on the behavioral feature word sequence set of the second user and the user identification model, wherein the user attributes are retained users or lost users, and retained users are users who meet specific requirements when using the e-book application, and lost users are users who do not meet specific requirements when using the e-book application.
[0104] Step S550: recommending e-books based on the behavioral feature word set of the second user and the predicted user attributes.
[0105] It can be seen that this embodiment can achieve accurate recommendation and improve user retention rate by fixing the order of behavioral feature words.
[0106] Embodiment 6
[0107] Embodiment 6 of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the user recognition model training method in any of the above method embodiments.
[0108] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0109] Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application;
[0110] Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features;
[0111] A user identification model is trained based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0112] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0113] Constructing a behavior feature word representing the historical behavior trajectory of the first user based on the behavior feature word set;
[0114] predicting user attributes of the first user based on the behavioral feature words of the first user and a user identification model;
[0115] The behavior feature word set or model parameters are adjusted according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions.
[0116] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0117] The weight of each behavior feature word in the behavior feature word set is adjusted according to the real user attribute and the predicted user attribute of the first user.
[0118] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0119] According to the real user attributes and predicted user attributes of the first user, new behavior feature words that are helpful for distinguishing user attributes are added to the behavior feature word set, or useless behavior feature words are deleted from the behavior feature word set.
[0120] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0121] Converting the behavior feature words of the first user into multiple groups of sub-behavior feature word sequences based on the model parameters;
[0122] The multiple groups of sub-behavior feature word sequences are input into a user identification model, and the user attributes of the first user are predicted by the user identification model.
[0123] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0124] Count the proportion of lost customers and / or retained customers and form a transition probability matrix;
[0125] User behavior features consistent with the lost customers and / or retained customers are extracted from each historical behavior record according to the transition probability matrix.
[0126] In an optional embodiment, the executable instructions cause the processor to perform the following operations.
[0127] In an optional embodiment, the plurality of behavior characteristic words include behavior characteristic words representing reading behavior.
[0128] It can be seen that this embodiment obtains a user identification model by training a set of behavioral feature words that characterize user behavior characteristics, and the user identification model can predict user attributes and output user attributes and corresponding behavioral feature words. The output user attributes and corresponding behavioral feature words can be used as a reference for e-book recommendations, thereby achieving accurate recommendations and improving user retention rate.
[0129] Embodiment 7
[0130] Embodiment 7 of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the e-book recommendation method in any of the above method embodiments.
[0131] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0132] Obtain the historical behavior track of the second user of the e-book application;
[0133] Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user;
[0134] Predicting a user attribute of the second user according to the behavioral feature word set of the second user and a user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet specific requirements when using the e-book application;
[0135] E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
[0136] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0137] When there are multiple behavior feature words of the second user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order;
[0138] Predicting user attributes of the second user based on the behavioral feature word sequence of the second user and a user identification model.
[0139] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0140] Converting the second user's behavior feature word sequence into a plurality of sub-behavior feature word sequences according to the model parameters;
[0141] The plurality of sub-behavior feature word sequences are input into a user identification model, and user attributes of the second user are predicted by the user identification model.
[0142] In an optional embodiment, the plurality of behavior characteristic words include behavior characteristic words representing reading behavior.
[0143] It can be seen that this embodiment constructs behavioral feature words that characterize the historical behavior trajectory of the second user, predicts the user attributes of the second user based on the behavioral feature words of the second user and the user recognition model, and further recommends e-books based on the user attributes and the corresponding behavioral feature words, thereby achieving accurate recommendations and improving user retention rate.
[0144] Embodiment 8
[0145] Figure 6 The figure shows a schematic diagram of the structure of an electronic device provided according to Embodiment 8 of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0146] like Figure 6 As shown, the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0147] The processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608. The communication interface 604 is used to communicate with other devices such as a client or other server network elements. The processor 602 is used to execute the program 610, which can specifically execute the relevant steps in the above method embodiment.
[0148] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0149] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0150] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0151] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0152] Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application;
[0153] Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features;
[0154] A user identification model is trained based on the behavior feature word set, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
[0155] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0156] Constructing a behavior feature word representing the historical behavior trajectory of the first user based on the behavior feature word set;
[0157] predicting user attributes of the first user based on the behavioral feature words of the first user and a user identification model;
[0158] The behavior feature word set or model parameters are adjusted according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions.
[0159] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0160] The weight of each behavior feature word in the behavior feature word set is adjusted according to the real user attribute and the predicted user attribute of the first user.
[0161] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0162] According to the real user attributes and predicted user attributes of the first user, new behavior feature words that are helpful for distinguishing user attributes are added to the behavior feature word set, or useless behavior feature words are deleted from the behavior feature word set.
[0163] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0164] Converting the behavior feature words of the first user into multiple groups of sub-behavior feature word sequences based on the model parameters;
[0165] The multiple groups of sub-behavior feature word sequences are input into a user identification model, and the user attributes of the first user are predicted by the user identification model.
[0166] In an optional embodiment, the executable instructions cause the processor to perform the following operations:
[0167] Count the proportion of lost customers and / or retained customers and form a transition probability matrix;
[0168] User behavior features consistent with the lost customers and / or retained customers are extracted from each historical behavior record according to the transition probability matrix.
[0169] In an optional embodiment, the executable instructions cause the processor to perform the following operations.
[0170] In an optional embodiment, the plurality of behavior characteristic words include behavior characteristic words representing reading behavior.
[0171] It can be seen that this embodiment obtains a user identification model by training a set of behavioral feature words that characterize user behavior characteristics, and the user identification model can predict user attributes and output user attributes and corresponding behavioral feature words. The output user attributes and corresponding behavioral feature words can be used as a reference for e-book recommendations, thereby achieving accurate recommendations and improving user retention rate.
[0172] Embodiment 9
[0173] Figure 6 The figure shows a schematic diagram of the structure of an electronic device provided according to Embodiment 9 of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0174] like Figure 6 As shown, the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0175] The processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608. The communication interface 604 is used to communicate with other devices such as a client or other server network elements. The processor 602 is used to execute the program 610, which can specifically execute the relevant steps in the above method embodiment.
[0176] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0177] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0178] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0179] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0180] Obtain the historical behavior track of the second user of the e-book application;
[0181] Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user;
[0182] Predicting a user attribute of the second user according to the behavioral feature words of the second user and a user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet specific requirements when using the e-book application;
[0183] E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
[0184] In an optional embodiment, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0185] When there are multiple behavior feature words of the second user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order;
[0186] Predicting user attributes of the second user based on the behavioral feature word sequence of the second user and a user identification model.
[0187] In an optional embodiment, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0188] Converting the second user's behavior feature word sequence into a plurality of sub-behavior feature word sequences according to the model parameters;
[0189] The plurality of sub-behavior feature word sequences are input into a user identification model, and user attributes of the second user are predicted by the user identification model.
[0190] In an optional embodiment, the plurality of behavior characteristic words include behavior characteristic words representing reading behavior.
[0191] It can be seen that this embodiment constructs behavioral feature words that characterize the historical behavior trajectory of the second user, predicts the user attributes of the second user based on the behavioral feature words of the second user and the user recognition model, and further recommends e-books based on the user attributes and the corresponding behavioral feature words, thereby achieving accurate recommendations and improving user retention rate.
[0192] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0193] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0194] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0195] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0196] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0197] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0198] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A user identification model training method, include: Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application; Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features; Based on model parameters, the behavior feature words of the first user are converted into multiple groups of sub-behavior feature word sequences; the multiple groups of sub-behavior feature word sequences are input into a user identification model, and the user attributes of the first user are predicted by the user identification model; the behavior feature word set or model parameters are adjusted according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
2. The method according to claim 1, in, The adjusting the set of behavior feature words according to the real user attributes and the predicted user attributes of the first user includes: The weight of each behavior feature word in the behavior feature word set is adjusted according to the real user attribute and the predicted user attribute of the first user.
3. The method according to claim 1, in, The adjusting the set of behavior feature words according to the real user attributes and the predicted user attributes of the first user includes: According to the real user attributes and predicted user attributes of the first user, new behavior feature words that are helpful for distinguishing user attributes are added to the behavior feature word set, or useless behavior feature words are deleted from the behavior feature word set.
4. The method according to claim 1, in, The extracting the user behavior features that match the user attributes from the historical behavior records includes: Count the proportion of lost customers and / or retained customers and form a transition probability matrix; User behavior features consistent with the lost customers and / or retained customers are extracted from each historical behavior record according to the transition probability matrix.
5. The method according to any one of claims 1 to 4, in, The behavior feature word set includes at least one behavior feature word sequence, and the behavior feature word sequence is composed of a plurality of behavior feature words in a fixed order.
6. The method according to claim 5, in, The multiple behavior feature words include behavior feature words that represent reading behavior.
7. An e-book recommendation method, include: Obtain the historical behavior track of the second user of the e-book application; Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user; When there are multiple behavior feature words of the second user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order; the behavior feature word sequence of the second user is converted into multiple sub-behavior feature word sequences according to model parameters; the multiple sub-behavior feature word sequences are input into a user identification model, and the user attribute of the second user is predicted by the user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet specific requirements when using the e-book application; E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
8. The method according to claim 7, in, The multiple behavior feature words include behavior feature words that represent reading behavior.
9. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: Determining a user attribute of the first user of the e-book application according to a historical behavior record of the first user, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when using the e-book application, and the lost user is a user who does not meet the specific requirements when using the e-book application; Extracting user behavior features that match the user attributes from the historical behavior records, and constructing a set of behavior feature words that characterize the user behavior features; Based on model parameters, the behavior feature words of the first user are converted into multiple groups of sub-behavior feature word sequences; the multiple groups of sub-behavior feature word sequences are input into a user identification model, and the user attributes of the first user are predicted by the user identification model; the behavior feature word set or model parameters are adjusted according to the real user attributes and predicted user attributes of the first user to obtain a user identification model that meets preset conditions, wherein the user identification model is used to predict user attributes and output user attributes and corresponding behavior feature words.
10. The electronic device according to claim 9, in, When there are multiple electronic book cover files, the executable instructions enable the processor to perform the following operations: The weight of each behavior feature word in the behavior feature word set is adjusted according to the real user attribute and the predicted user attribute of the first user.
11. The electronic device according to claim 9, in, When there are multiple electronic book cover files, the executable instructions enable the processor to perform the following operations: According to the real user attributes and predicted user attributes of the first user, new behavior feature words that are helpful for distinguishing user attributes are added to the behavior feature word set, or useless behavior feature words are deleted from the behavior feature word set.
12. The electronic device according to claim 9, in, When there are multiple electronic book cover files, the executable instructions enable the processor to perform the following operations: Count the proportion of lost customers and / or retained customers and form a transition probability matrix; User behavior features consistent with the lost customers and / or retained customers are extracted from each historical behavior record according to the transition probability matrix.
13. The electronic device according to any one of claims 9 to 12, in, The behavior feature word set includes at least one behavior feature word sequence, and the behavior feature word sequence is composed of a plurality of behavior feature words in a fixed order.
14. The electronic device according to claim 13, in, The multiple behavior feature words include behavior feature words that represent reading behavior.
15. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: Obtain the historical behavior track of the second user of the e-book application; Constructing a set of behavior feature words that characterize the historical behavior trajectory of the second user; When there are multiple behavior feature words of the second user, the multiple behavior feature words are combined into a behavior feature word sequence in a fixed order; the behavior feature word sequence of the second user is converted into multiple sub-behavior feature word sequences according to model parameters; the multiple sub-behavior feature word sequences are input into a user identification model, and the user attribute of the second user is predicted by the user identification model, wherein the user attribute is a retained user or a lost user, and the retained user is a user who meets specific requirements when the e-book is used, and the lost user is a user who does not meet specific requirements when the e-book is used; E-book recommendations are made based on the behavioral feature word set and predicted user attributes of the second user.
16. The electronic device according to claim 15, in, The multiple behavior feature words include behavior feature words that represent reading behavior.
17. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, wherein the executable instruction enables a processor to execute operations corresponding to the user recognition model training method described in any one of claims 1 to 6 or to execute operations corresponding to the e-book recommendation method described in claims 7 to 8.
