A method for recommending new online literature books
By constructing the topic feature distribution vector of online books and combining user behavior information, it solves the problem of new books being buried in massive books, achieves efficient personalized new book recommendations, and improves new book reading rates and recommendation accuracy.
Patent Information
- Application Number
- CN202010476741.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-05-29
AI Technical Summary
Existing online literature new book recommendation systems are difficult to effectively recommend new books among a large number of books, resulting in new books being buried, low recommendation efficiency, and lack of personalized recommendation capabilities.
By obtaining the basic information of online books, constructing a topic feature distribution vector, calculating the relevance of new books, forming a new book candidate set, and combining user historical behavior information and recommendation data for scoring and reordering, a personalized new book recommendation list is generated.
It improves the efficiency and accuracy of new book recommendation, ensures early display of new books, enhances user reading rate, and eliminates low-quality books through scoring strategies and recommends high-quality new books.
Smart Images

Figure CN111737567B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of personalized recommendation, and in particular to a method for recommending new online literature books. Background Art
[0002] With the rise of online literature, a large number of new online literature books continue to emerge. As a reading platform, it is very important to recommend books that match the user's reading habits from a large number of books. The current recommendation system mostly uses the reading identity between a large number of users, that is, users who have read the same type of books will have similar reading habits. However, for new books, only a very small number of users have read the book, and there is a lack of sufficient information about user reading and book content. Except for well-known authors, most books will be buried in a large amount of data. Due to insufficient display, it will make the recommendation of new books to users slow and inefficient.
[0003] Unlike traditional published books, new online literature books start out very short. As the author serializes, users read as they go, and the number of readers gradually increases. Based on this, the online literature new book recommendation takes into account the attraction and elimination of new books, so that under fair recommendation conditions, excellent books can be highlighted as soon as possible, and inferior books can be gradually eliminated. Summary of the invention
[0004] In view of the deficiencies in the prior art, the technical problem to be solved by the present invention is: to provide a method for recommending new online literary books, to achieve efficient and personalized recommendation of new online literary books, to be able to adapt to user reading for early display and recommendation of new books, thereby improving the user reading rate of new books.
[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a method for recommending new online literature books, comprising:
[0006] Obtaining basic information of online books in the site, and obtaining a subject feature distribution vector of the online books according to the basic information;
[0007] Calculating the new book relevance of each online book according to the subject feature distribution vector, and searching for new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book;
[0008] The new book candidate set I is reordered to form a sorted new book candidate set II, wherein the number of new books displayed and the number of readings are scored through the background log, and the books with strong correlation with the historical data and user behavior information and the network books with weak correlation are recommended through the background as positive / negative samples; all new books in the new book candidate set I are reordered according to the scoring data and the positive / negative samples;
[0009] Generate a user's new book recommendation candidate list, wherein the books read by the user are obtained through the user's historical behavior information, and the user's new book recommendation candidate set is formed according to the new book candidate set II corresponding to the read books.
[0010] Furthermore, in the step of acquiring basic information of online books in the site and obtaining the subject feature distribution vector of the online books according to the basic information, the following sub-steps are included:
[0011] Processing the basic information of the online book, wherein the basic information includes the book title, author name, tags, creation time, update time, update frequency, and the contents of the first N chapters of the book, where N is an integer greater than or equal to 1; dividing the basic information of the online book into content-related feature words and book attribute feature vectors, wherein the content-related feature words are obtained from the book title and the contents of the first N chapters, and the book attributes include the book title, author name, tags, creation time, update time, and update frequency;
[0012] Extracting content-related feature words of the online book, cleaning and processing the content-related feature words, and forming a content-related feature word vector of the online book;
[0013] The topic model of the online book is constructed according to the content-related feature word vectors, and the topic distribution feature vector of each online book is obtained. The topic distribution feature vectors of all online books constitute a topic matrix.
[0014] Furthermore, in the step of processing the basic information of the online book: the title of the online book and the first N chapters of the content are segmented to form a content-related feature word list of the online book, the ID of each online book, the book attribute feature vector and the content-related feature word list constitute a data tuple, and the format of the data tuple is (bookID, baseInfo, contentsInfo), wherein bookID represents the unique identifier of the book, baseInfo represents the book attribute feature vector, contentsInfo represents the content-related feature word list, and the data tuples of all online books constitute a data set.
[0015] Furthermore, in the step of extracting the content-related feature word vector of the online book: the content-related feature word vector is constructed by using a tf-idf algorithm.
[0016] Furthermore, in the step of constructing the topic model of the online book according to the content-related feature word vectors and obtaining the topic distribution feature vector of each online book: the LDA topic model is used to obtain the topic distribution matrix of all books.
[0017] Furthermore, in the step of calculating the new book relevance of each online book according to the subject feature distribution vector, and finding new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book: new books are found as the new book set according to the subject distribution matrix, a relevance threshold is set, and for each online book, a relevance value of its subject distribution feature vector is calculated, and the TOP M books whose relevance value is greater than the relevance threshold are obtained as the new book candidate set I, where M is an integer greater than or equal to 1.
[0018] Furthermore, before the step of reordering the new book candidate set I to form an ordered new book candidate set II, the method further includes:
[0019] Collect historical behavior information of users, build a reading preference model based on the collected historical behavior information, and output a three-data tuple of (userID, bookID, readScore) based on the reading preference model, wherein userID represents a unique identifier of a user, bookID represents a unique identifier of an online book, and readScore represents a user's preference weight for the online book; the historical behavior information includes reading behavior, purchasing behavior, browsing behavior, commenting behavior, collecting behavior, subscribing behavior, canceling collecting behavior, canceling subscription behavior, adding to shopping cart behavior, and / or searching behavior.
[0020] Furthermore, before the step of reordering the new book candidate set I to form an ordered new book candidate set II, the method further includes:
[0021] Statistical reference values of online books are calculated, the statistical reference values including the recommended online book reading display ratio, the reading display ratio being the ratio of the reading volume to the display volume, the display volume being the number of users who can see the online book displayed by the site within a predetermined time period, and the reading volume being the number of users who read the online book counted through the reading behavior of the users.
[0022] Furthermore, in the step of reordering the new book candidate set I to form a sorted new book candidate set II: scoring the recommendation result performance of the new book according to the reading display ratio, that is, using a scoring strategy, scoring the number of new book displays and the number of readings generated between 0 and 1.
[0023] Compared with the existing new book recommendation methods, the method for recommending new books of online literature of the present invention can improve the recommendation efficiency of new books and accelerate the number of readers of new books of online literature by combining the book content and user behavior and integrating the feedback and scoring of the new book recommendation effect. According to different users, corresponding books of interest are recommended, making the new book recommendation more precise and accurate. The method makes full use of the content feature information of existing books and the user's other book reading information. Through reasonable algorithms and new book scoring strategies, each new book can be effectively presented to the user in a timely manner. At the same time, the analysis strategy can be used to give priority to the presentation of good new books, gradually eliminate new books of poor quality, and recommend new books to users with high quality and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of an embodiment of a method for recommending new online literature books according to the present invention.
[0025] Figure 2 yes Figure 1 Sub-flow chart for obtaining basic information of online books in the site.
[0026] Figure 3 It is a block diagram of an embodiment of the network literature new book recommendation system of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a method for recommending new online literature books of the present invention. The method for recommending new online literature books of this embodiment includes:
[0029] S10, obtaining basic information of online books in the site, and obtaining the subject feature distribution vector of the online books according to the basic information; wherein, see Figure 2 , this step includes the following sub-steps:
[0030] S101, processing basic information of the online book, wherein the basic information includes the book title, author name, label, creation time, update time, update frequency, and the contents of the first N chapters of the book, where N is an integer greater than or equal to 1; dividing the basic information of the online book into content-related feature words and book attribute feature vectors, wherein the content-related feature words are obtained from the book title and the contents of the first N chapters, and the book attributes include the book title, author name, label, creation time, update time, and update frequency;
[0031] In this step, the basic information of the book is processed and divided into two parts, namely, content-related feature words and book attribute feature vectors. The title and the first N chapters of the online book are segmented, and the segmentation can use Jieba segmentation to merge tag information to form a content-related feature word list of the online book.
[0032] The ID of each online book, the book attribute feature vector and the content-related feature word list constitute a data tuple, and the data tuple format is (bookID, baseInfo, contentsInfo), wherein bookID represents the unique identifier of the book, baseInfo represents the book attribute feature vector, and contentsInfo represents the content-related feature word list. The data tuples of all online books constitute a data set.
[0033] S103, extracting the content-related feature word vector of the online book, that is, cleaning and processing the content-related feature words in the content-related feature word list to form the content-related feature word vector of the online book; in this step, the tf-idf algorithm can be used to construct the content-related feature word vector.
[0034] S105 , constructing a topic model of the online book according to the content-related feature word vectors, obtaining a topic distribution feature vector of each online book, and the topic distribution feature vectors of all online books constitute a topic matrix.
[0035] For each online book, after obtaining the content-related feature word vector of the online book in step S103, this step uses the content-related feature word vector of the book to build a topic model. Here, the LDA (Latent Dirichlet Allocation) topic model is used. The LDA topic model can obtain the book-topic distribution matrix through a three-layer Bayesian model. Since the model does not change much, it can be trained offline regularly to obtain the topic matrix of the book, and then the similarity candidate set of the book to the new book is calculated through the topic matrix. Here, the topic distribution feature vector of each online book will be obtained, and the topic distribution feature vectors of all books constitute the topic matrix.
[0036] S12, calculating the new book relevance of each online book according to the subject feature distribution vector, and searching for new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book;
[0037] According to the topic distribution matrix, new books are found as a new book set, a relevance threshold is set, the relevance value of the topic distribution feature vector of each online book is calculated, and the TOP M books whose relevance values are greater than the relevance threshold are obtained as the new book candidate set I, where M is an integer greater than or equal to 1.
[0038] The relevance may be similarity. For the book subject matrix obtained in 105, new books are found as candidate sets. For each online book, the similarity of the subject vector is calculated. A variety of similarity measurement methods may be used, and cosine similarity may be used here. A threshold is taken for the similarity, and for each book, the topM books greater than the threshold are obtained as candidate sets, and a new book candidate set I is obtained.
[0039] The criterion for determining new books can be to push a predetermined time period forward from the current time, and the books created within this time period are considered new books. In this step, the similarity between each online book and all new books is calculated using the topic feature vector, and the top N similar books are taken as the new book candidate set I.
[0040] S14, re-sort the new book candidate set I to form a sorted new book candidate set II, wherein the number of new book displays and the number of readings are obtained through the background log, and the books with strong correlation and weak correlation in the background recommendation history data and user behavior information are used as positive / negative samples; all new books in the new book candidate set I are re-sorted according to the scoring data and positive / negative samples; in this step, firstly, the new book candidate set I is prepared for re-sorting: it is mainly necessary to score the recommendation result performance of the new book, that is, using the scoring strategy, the number of new book displays and the number of readings generated by the recommendation system, and generate a book score between 0 and 1 points, and through the recommendation history data, find books with strong correlation and books without correlation as positive and negative samples, and at the same time select the basic content features of the books, merge and cross the content features, and form the positive and negative samples required for sorting. Secondly, the recommended candidate set I of the new book is re-sorted according to the scoring strategy and based on the positive / negative samples to obtain the new book candidate set II.
[0041] According to the prepared samples and scoring data, the new book candidate set of each book is re-ranked. The purpose of re-ranking is twofold: 1. According to the scoring strategy for new books, it can improve and balance the display of long-tail new books, eliminate low-quality new books, and increase the recommended display of high-quality new books. 2. The re-ranking model considers cross-features other than content features to make the recommended books more accurate. The re-ranking here can adopt the combined ranking method of GBDT+LR, and finally obtain the candidate set II of (bookID, [book1ID, book2ID, ..., booknID]).
[0042] Positive samples can be defined as follows: construct book-to-book sample data from the user's historical behavior log and display log, and select books with similar reading behaviors from the behaviors as positive samples. For negative samples, use sampling methods to select books that have been read multiple times and select books that have been subscribed and deleted as negative samples.
[0043] Specifically, it can be combined with an example: if multiple users read book A and book B at the same time, then book B is considered to be related to book A. If book C and book D are recommended to multiple users at the same time, and no user reads book C and book D, then book C and book D are considered to be negative samples. It can be understood that the positive / negative sample identification rules can also have different identification rules in different embodiments. The positive / negative samples here are used as a reference in the re-ranking algorithm, and the sample acquisition rules are not further limited.
[0044] As an embodiment, the collection of positive and negative samples of book relevance is to select n books that are read continuously from the log system as relevant positive samples, and obtain books that are displayed but not clicked by most users to form negative samples.
[0045] S16, generating a new book recommendation candidate list for the user, wherein the books read by the user are obtained through the user's historical behavior information, and the new book recommendation candidate set II corresponding to the read books is formed. In this embodiment, the KNN algorithm is used, that is, the new books generated by the similar candidate set of the books read by the user can be used as the new book candidate set list of the user.
[0046] In this embodiment, before this step, the following steps are also included:
[0047] S20. Collect the user's historical behavior information, build a reading preference model based on the collected historical behavior information, and output a three-data tuple (userID, bookID, readScore) based on the reading preference model, wherein userID represents the user's unique identifier, bookID represents the unique identifier of the online book, and readScore represents the user's preference weight for the online book; the historical behavior information includes reading behavior, purchasing behavior, browsing behavior, commenting behavior, collecting behavior, subscribing behavior, canceling collecting behavior, canceling subscription behavior, adding to shopping cart behavior and / or searching behavior.
[0048] S30, statistically calculating statistical reference values of online books, wherein the statistical reference values include a recommended online book reading display ratio, wherein the reading display ratio is a ratio of the reading volume to the display volume, wherein the display volume refers to the number of users who can see the online book displayed by the site within a predetermined time period, and the reading volume refers to the number of users who read the online book according to the reading behavior of the users.
[0049] The above steps S20 and S30 may be performed in parallel or sequentially, and they may be executed between any steps.
[0050] See also Figure 3 , Figure 3 The network literature new book recommendation system of this embodiment includes a theme feature distribution vector processing module, a new book candidate set I processing module, a sorting module and a new book recommendation candidate list generation module.
[0051] The subject feature distribution vector processing module is used to obtain basic information of online books in the site, and obtain the subject feature distribution vector of the online book according to the basic information. The subject feature distribution vector processing module includes the following submodules:
[0052] The basic information processing submodule is used to process the basic information of the online book, wherein the basic information includes the book title, author name, label, creation time, update time, update frequency, and the content of the first N chapters of the book, where N is an integer greater than or equal to 1; the basic information of the online book is divided into content-related feature words and book attribute feature vectors, wherein the content-related feature words are obtained from the book title and the content of the first N chapters, and the book attributes include the book title, author name, label, creation time, update time, and update frequency;
[0053] A content-related feature word extraction submodule, used to extract content-related feature words of the online book, clean and process the content-related feature words, and form a content-related feature word vector of the online book; and
[0054] The topic matrix generation submodule is used to construct the topic model of the online book according to the content-related feature word vectors, obtain the topic distribution feature vector of each online book, and the topic distribution feature vectors of all online books constitute a topic matrix.
[0055] The new book candidate set I processing module is used to calculate the new book relevance of each online book according to the subject feature distribution vector, and find new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book; find new books as a new book set according to the subject distribution matrix, set a relevance threshold, calculate the relevance value of the subject distribution feature vector of each online book, and obtain the TOP M books whose relevance value is greater than the relevance threshold as the new book candidate set I, where M is an integer greater than or equal to 1.
[0056] The sorting module is used to re-sort the new book candidate set I to form a sorted new book candidate set II, wherein the display quantity and reading quantity scores of new books are obtained through background logs, and books with strong correlation with historical data and user behavior information and online books with weak correlation are recommended as positive / negative samples through the background; all new books in the new book candidate set I are re-sorted according to the scoring data and positive / negative samples.
[0057] The new book recommendation candidate list generation module is used to generate a new book recommendation candidate list for a user, wherein the books read by the user are obtained through the user's historical behavior information, and the user's new book recommendation candidate set is formed according to the new book candidate set II corresponding to the read books.
[0058] Compared with the existing new book recommendation methods, the method for recommending new books of online literature of the present invention can improve the recommendation efficiency of new books and accelerate the number of readers of new books of online literature by combining the book content and user behavior and integrating the feedback and scoring of the new book recommendation effect. According to different users, corresponding books of interest are recommended, making the new book recommendation more precise and accurate. The method and system make full use of the content feature information of existing books and the user's other book reading information. Through reasonable algorithms and new book scoring strategies, each new book can be effectively presented to the user in a timely manner. At the same time, the analysis strategy can be used to give priority to the presentation of good new books, gradually eliminate new books of poor quality, and recommend new books to users with high quality and efficiency.
[0059] The above are only implementation modes of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for recommending new online literature books, comprising: Obtain basic information of online books in the site, and obtain a subject feature distribution vector of the online books according to the basic information, wherein the basic information includes the book title, author name, label, creation time, update time, update frequency, and the content of the first N chapters of the book, where N is an integer greater than or equal to 1; divide the basic information of the online books into content-related feature words and book attribute feature vectors, wherein the content-related feature words are obtained from the book title and the content of the first N chapters, and the book attributes include the book title, author name, label, creation time, update time, and update frequency; Calculating the new book relevance of each online book according to the subject feature distribution vector, and searching for new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book; Collecting historical behavior information of users, building a reading preference model based on the collected historical behavior information, and outputting a three-data tuple of (userID, bookID, readScore) based on the reading preference model, wherein userID represents a unique identifier of a user, bookID represents a unique identifier of an online book, and readScore represents a user's preference weight for the online book; the historical behavior information includes reading behavior, purchasing behavior, browsing behavior, commenting behavior, collecting behavior, subscribing behavior, canceling collecting behavior, canceling subscription behavior, adding to shopping cart behavior, and / or searching behavior; Statistically calculating statistical reference values of online books, the statistical reference values including the recommended online book reading display ratio, the reading display ratio being the ratio of the reading volume to the display volume, the display volume being the number of users who can see the online book displayed by the site within a predetermined time period, and the reading volume being the number of users who read the online book counted through the reading behaviors of the users; The new book candidate set I is reordered to form a sorted new book candidate set II, wherein the reading display ratio of the new books counted by the background log is obtained to score the recommendation result performance of the new books, that is, a scoring strategy is used to score the display quantity and the generated reading quantity of the new books between 0 and 1 points; books with strong correlation between historical data and user behavior information and online books with weak correlation are recommended as positive / negative samples through the background; all new books in the new book candidate set I are reordered according to the scoring data and the positive / negative samples; Generate a user's new book recommendation candidate list, wherein the books read by the user are obtained through the user's historical behavior information, and the user's new book recommendation candidate set is formed according to the new book candidate set II corresponding to the read books.
2. The method for recommending new online literature books as claimed in claim 1, characterized in that: The step of obtaining basic information of online books in the site and obtaining the subject feature distribution vector of the online books according to the basic information includes the following sub-steps: Processing basic information of the online books; Extracting content-related feature words of the online book, cleaning and processing the content-related feature words, and forming a content-related feature word vector of the online book; The topic model of the online book is constructed according to the content-related feature word vectors, and the topic distribution feature vector of each online book is obtained. The topic distribution feature vectors of all online books constitute a topic matrix.
3. The method for recommending new online literature books as claimed in claim 2, characterized in that: In the step of processing the basic information of the online book: the title of the online book and the first N chapters of the content are segmented to form a content-related feature word list of the online book, the ID of each online book, the book attribute feature vector and the content-related feature word list form a data tuple, and the data tuple format is (bookID, baseInfo, contentsInfo), wherein bookID represents the unique identifier of the book, baseInfo represents the book attribute feature vector, contentsInfo represents the content-related feature word list, and the data tuples of all online books constitute a data set.
4. The method for recommending new online literature books as claimed in claim 3, characterized in that: In the step of extracting the content-related feature word vector of the online book: constructing the content-related feature word vector by using the tf-idf algorithm.
5. The method for recommending new online literature books as claimed in claim 3, characterized in that: In the step of constructing the topic model of the online book according to the content-related feature word vectors and obtaining the topic distribution feature vector of each online book: the topic distribution matrix of all books is obtained by using the LDA topic model.
6. The method for recommending new online literature books according to any one of claims 1 to 5, characterized in that: In the step of calculating the new book relevance of each online book according to the subject feature distribution vector, and finding new books associated with each online book according to the new book relevance to form a new book candidate set I corresponding to each online book: new books are found as a new book set according to the subject distribution matrix, a relevance threshold is set, and the relevance value of the subject distribution feature vector of each online book is calculated, and the TOP M books whose relevance value is greater than the relevance threshold are obtained as the new book candidate set I, where M is an integer greater than or equal to 1.
Citation Information
Patent Citations
Book recommendation method based on book contents
CN102542046A
User-generated content display method and device
CN105740473A
Topic model-based judgment document similarity analysis method
CN107291688A
Method and device for recommending book to target user
CN107766361A
Electronic book recommending method, electronic device and computer storage medium
CN108520076A
