CN111222332A - Commodity recommendation method combining attention network and user emotion - Google Patents
Commodity recommendation method combining attention network and user emotion Download PDFInfo
- Publication number
- CN111222332A CN111222332A CN202010008804.1A CN202010008804A CN111222332A CN 111222332 A CN111222332 A CN 111222332A CN 202010008804 A CN202010008804 A CN 202010008804A CN 111222332 A CN111222332 A CN 111222332A
- Authority
- CN
- China
- Prior art keywords
- vector
- attribute
- user
- commodity
- comment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008451 emotion Effects 0.000 title claims abstract description 40
- 239000013598 vector Substances 0.000 claims abstract description 132
- 239000011159 matrix material Substances 0.000 claims abstract description 43
- 238000013528 artificial neural network Methods 0.000 claims abstract description 35
- 238000012549 training Methods 0.000 claims abstract description 12
- 238000007781 pre-processing Methods 0.000 claims abstract description 8
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 3
- 238000012217 deletion Methods 0.000 claims abstract description 3
- 230000037430 deletion Effects 0.000 claims abstract description 3
- 238000012545 processing Methods 0.000 claims description 17
- 230000000306 recurrent effect Effects 0.000 claims description 16
- 230000006870 function Effects 0.000 claims description 11
- 230000006399 behavior Effects 0.000 claims description 8
- 238000013507 mapping Methods 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000012552 review Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/088—Non-supervised learning, e.g. competitive learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Biophysics (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a commodity recommendation method combining an attention network and user emotion, which comprises the following steps: 1) extracting and preprocessing the grading and comment data of the user on the commodity, and constructing a sample set T; 2) continuously training by adopting an unsupervised learning model and utilizing text data commented in the T to obtain an attribute matrix W of the corresponding field; 3) constructing an attention-based neural network structure C, constructing a user preference vector U and a commodity feature vector I by using a W-based memory network and a cyclic neural network as bases and using predicted emotion scores as weights, calculating predicted values of deletion scores by using the U and the I, and calculating attribute vectors of current users and commodities for final recommendation interpretation; 4) and performing descending sorting according to the predicted scores, recommending the first N commodities for the user, and providing attribute level explanation for the recommendation result according to the attribute matrix and the attribute vector. The invention solves the problems that the traditional scoring prediction recommendation method is lack of interpretability and difficult to process large-scale data and the like.
Description
Technical Field
The invention relates to the technical field of electronic commerce, in particular to a commodity recommendation method combining an attention network and user emotion.
Background
With the advent of the big data era and the explosion of the internet, electronic commerce has come. On the E-commerce platform, users are often difficult to decide about the full-color products, and the recommendation algorithm can utilize data accumulated by the E-commerce platform, including data of purchasing, grading, commenting and the like of the users, to mine potential interests of the users, so as to recommend corresponding products. An excellent recommendation algorithm aims to perform personalized accurate recommendation on a user and provide corresponding explanation, so that the user experience can be improved, and the benefit of an e-commerce platform can be increased. For the user, explanation is provided for the user, the purchase quantity of the commodity can be increased, and the user experience can be improved; for the E-commerce platform, user interest and hobbies and purchasing preference are mastered, so that a user portrait can be constructed for a user, personalized marketing is performed on the user, and the conversion rate of user behaviors is improved. Therefore, the invention of an excellent interpretable recommendation algorithm has important practical significance by utilizing accumulated data of the commercial platform.
In the current recommendation system, one of the common methods is: and carrying out score prediction on the commodities by utilizing the historical behavior data of the user, and recommending the commodities to the user according to the predicted scores. The scoring prediction method mainly comprises the following steps: the first is a traditional matrix decomposition model that uses a scoring matrix to predict the missing scores and generate recommendations. The method only utilizes the historical scoring data of the user, obtains less characteristics of user preference and article attributes, and lacks interpretability. The second type is a model combining a topic model and matrix decomposition, which simultaneously utilizes historical scores and comment data of a user, and the topic model is used for extracting topics in comments so as to provide certain interpretability. But the shortcomings are that the processing of comments by the topic model is simple word extraction, the consideration of the time sequence characteristics of words is lacked, and the topic model is difficult to solve for large-scale data.
The invention provides a commodity recommendation method combining an attention network and user emotion. The method utilizes the memory network and the recurrent neural network to process the comments so as to extract the characteristics, wherein the result of the memory network is used as the attention of the recurrent neural network, so that certain interpretability is provided for the method; meanwhile, different weights are applied to different comments by utilizing the predicted emotion scores, and the interpretability of the recommendation method is further increased. Therefore, the accuracy of the scoring prediction is improved, and the problems that the traditional scoring prediction recommendation method is lack of interpretability and large-scale data is difficult to process are solved.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a commodity recommendation method combining an attention network and user emotion, solves the problems of insufficient interpretability and difficulty in processing big data of the traditional scoring prediction method, improves the scoring prediction accuracy, and increases the interpretability of the method. The method utilizes the grading and comment data of the commodities to construct a user preference vector and a commodity feature vector, predicts the missing grade and provides a recommendation explanation.
In order to achieve the purpose, the technical scheme provided by the invention is as follows: a commodity recommendation method combining attention network and user emotion comprises the following steps:
1) processing historical behavior data of a user in an e-commerce platform, mainly extracting grading and comment data of the user on commodities, including comment text data, preprocessing the comment data, and constructing a sample set T;
2) continuously training by adopting an unsupervised learning model and utilizing text data commented in the sample set T to finally obtain an attribute matrix W of the sample set T;
3) constructing an attention-based neural network structure C, using a memory network and a cyclic neural network based on an attribute matrix W as a basis, using predicted emotion scores as weights, further constructing a user preference vector U and a commodity feature vector I, finally calculating predicted values of deletion scores by using the user preference vector U and the commodity feature vector I, and meanwhile calculating attribute vectors of current users and commodities for final recommendation interpretation;
4) and performing descending sorting according to the predicted scores, recommending the first N commodities for the user, and providing attribute level explanation for the recommendation result according to the attribute matrix W obtained in the step 2) and the attribute vector obtained in the step 3).
In the step 1), grading and comment data of a user on commodities are extracted from user historical behavior data in an e-commerce platform, manual rules are formulated, part of useless data are filtered out, and the comment data are preprocessed and divided into two parts, wherein the first part is used for mapping the ID of the user and the ID of the commodities into numerical values so as to facilitate subsequent use, the second part is used for performing word segmentation processing on the text data of comments and mapping words in the text data into word vectors, and a sample set T is finally obtained after data preprocessing.
In the step 2), text data of all comments in the sample set T is utilized, an unsupervised learning model is adopted to learn an attribute matrix W, the attribute matrix W is initialized randomly at first, an average word vector e is obtained through word vectors of the comments, weights corresponding to the word vectors are obtained according to the association condition of the average word vector e and each word vector in the comments, and the word vectors in the comments are weighted and summed to construct an original vector z of the comments; and then constructing a reconstruction vector r of the comment from the attribute matrix W according to the original vector z, training by taking a difference value between the reconstruction vector r and the original vector z as a target function, and finally obtaining the attribute matrix W of the field corresponding to the sample set T, wherein each dimension of the attribute matrix W represents a corresponding attribute vector.
In the step 3), constructing an attention-based neural network structure C which mainly comprises a memory network and a circulating neural network; for the sample set T, taking the text data of the comments in T as the input of C, and taking the real scoring data in T as the learning target of C; for the appointed users and commodities, firstly processing each comment by using a memory network and a recurrent neural network based on an attribute matrix W, processing the comment by using the memory network, obtaining an attribute vector a from the attribute matrix W, taking the attribute vector a as the attention of a recurrent neural network hidden layer to obtain the output v of the recurrent neural network, and connecting a and v to obtain a corresponding comment vector, wherein in the process, the attribute vector a is used as the attention so that the recurrent neural network can capture the local information related to a in the comment to increase the interpretability, then on the basis that different comments have different degrees of emotion, different weights are given to each comment vector according to the predicted emotion scores to further construct a user preference vector U and a commodity feature vector I, and meanwhile, an attribute vector f for the current users and commodities can be constructed according to the emotion scores, the emotion scores are used, so that comments with higher emotion scores have higher weights, and more information is provided for the construction of U or I, so that the interpretability is further increased; finally, the scores of the current user and the current commodity are predicted by utilizing the user preference U and the commodity feature vector I; this step increases the interpretability of the recommendation method through the use of attention mechanisms and sentiment scores.
In step 4), for a specific user, carrying out score prediction on the commodity set by using the attention-based neural network structure C trained in step 3), sorting the commodity set in a descending order according to scores, and taking the top N commodities as a recommended commodity list for the user; meanwhile, for the recommended commodities, the closest attribute vector is selected from the attribute matrix W obtained in the step 2) according to the attribute vector f calculated in the step 3), wherein each attribute vector corresponds to a specific attribute, and the attribute is used as the recommendation reason of the current commodities, so that the user experience is increased, and the purchase rate of the current commodities can also be improved.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. according to the method, the score and the comment data of the commodity are reasonably utilized, the missing score is predicted, and compared with a traditional score prediction algorithm, the accuracy of prediction is improved.
2. According to the invention, the attributes in the comment data are obtained through an unsupervised learning method, so that the process of manual labeling is reduced, manual intervention is reduced, and the model is easier to use and operate.
3. The comment data processing method and the comment data processing device simultaneously utilize the memory network and the recurrent neural network to construct a new network to process the comment data, capture the time sequence information of words in the comment and obtain the implicit characteristics of corresponding attribute levels compared with the traditional processing modes such as a theme model. And the problem that the subject model cannot process large-scale data is solved.
4. In the process of generating the prediction scores by the neural network structure, the invention uses the attention mechanism and the sentiment scores, increases the interpretability of the method, acquires the attribute characteristics from the comments and provides attribute level explanation for the final commodity recommendation.
Drawings
FIG. 1 is a general flow diagram of the process of the present invention.
Fig. 2 is a flowchart of S2 in fig. 1.
Fig. 3 is a flowchart of S3 in fig. 1.
Fig. 4 is a schematic diagram of the neural network structure a in fig. 3.
Detailed Description
In order to describe the present invention more specifically, a detailed description of the embodiments of the present invention will be given below with reference to the drawings and examples.
In this embodiment, a commodity recommendation method combining an attention network and user emotion is used to recommend a corresponding commodity to a user by using the scoring and comment data of commodities in an e-commerce platform, an overall flow of the method is shown in fig. 1, and the method mainly includes the following steps:
firstly, data collection and preprocessing:
the data of the embodiment is based on real historical data of the e-commerce platform, firstly, grading and comment data of users are collected from a large amount of historical behavior data of the users, and then filtering is carried out, wherein the specific filtering mode is that less than 5 pieces of user data of grading and comment behaviors are removed. After data collection, preprocessing of the data is required, which is mainly divided into two parts: the first part is that the ID of the user and the ID of the commodity are respectively mapped into numerical values so as to facilitate subsequent use; the second part is to preprocess the text data of the comment, in the embodiment, a stop word list is added through a jieba word segmentation tool, and the text data of the comment is segmented, so that the comment is composed of a plurality of words. And mapping all words into word vectors by utilizing the thought of word2vec and training in the word library of the whole comment, wherein the dimension of the word vectors is d. And finally forming a sample set T after preprocessing of data.
Secondly, constructing an attribute matrix W
This section corresponds to section S2 in fig. 1, and the flow thereof is shown in fig. 2. And training to obtain an attribute matrix W by using text data of comments in the T through an unsupervised learning model.
Firstly, randomly initializing an attribute matrix W, wherein the size of the attribute matrix W is k multiplied by d, k is the number of attributes, and d is the size of each attribute vector and is the same as the size of a word vector; and then training with the text data of all comments in T. The specific operations in this embodiment are: for the unsupervised learning model, each time a comment is input, an average word vector e is obtained by calculation according to all word vectors in the comment, then matrix mapping is carried out on the average word vector e and each word vector to obtain the weight of each word vector by calculation, and finally the original vector z of the comment is obtained by weighting. And then calculating the weight p of each attribute vector in the W by using the original vector z of the comment in the following calculation mode:
p=softmax(Wa·z+b)
wherein, WaFor the weight matrix, b is the bias term, and the softmax function computes the weights for each dimension of the vector, which is defined as follows:
wherein x isiFor the ith dimension of the x vector, after a weight vector p is calculated, a reconstructed vector r of the comments is obtained by weighting and summing each attribute, wherein r is generated based on the attribute matrix. The calculation method is as follows:
r=WT·p
wherein, WTFor the transpose of the attribute matrix W, p is the weight of each attribute vector.
And finally, training by using the difference between the reconstructed vector r of the comment and the original vector z of the comment as an objective function of the model to obtain a final attribute matrix W. And calculating 100 word vectors similar to the attribute vector from each dimension vector of the W to represent one attribute, thereby manually obtaining the specific attribute corresponding to each dimension vector in the W. (for example in the field of cell phones, the acquisition attribute might be camera, CPU, screen, etc.)
Thirdly, combining attention network and user emotion score prediction
This section corresponds to the section S3 in fig. 1, and the processing flow thereof is shown in fig. 3. The method mainly utilizes the comment and the grading data of the commodity to further construct a user preference vector U and a commodity feature vector I, and then uses the idea of a hidden factor model to obtain the final prediction grade.
The whole neural network structure is a parallel structure, the processing modes of users and commodities are similar, and only the learned parameters are different. For a specific user, assuming that there are m comments, processing each comment by the memory network and the recurrent neural network together to capture hidden information in the comment, and representing the parts of the memory network and the recurrent neural network by the neural network structure a, the schematic structural diagram is shown in fig. 4:
firstly, an average word vector e is obtained according to the word vectors in the comments, then e is used as a query vector of the memory network, a parameter matrix is initialized to be used as a key matrix K of the memory network, and a previously trained attribute matrix W is used as a value matrix of the memory network. And obtaining the weight of each attribute of the attribute matrix W from the key matrix K through the query vector e, and further carrying out weighted summation on each attribute vector in W to obtain an attribute vector a of the comment. Then, the word vectors in the comment are input into a recurrent neural network LSTM, and each word vector obtains a corresponding hidden layer vector h. And taking the attribute vector a obtained by the last step as attention, taking the correlation degree between the attribute vector a and the hidden layer vector h as a score, further calculating the weight of each hidden layer vector h, and weighting and summing all the hidden layer vectors h to obtain a vector v. And finally, connecting the vector a and the vector v to obtain a final comment vector l.
After the common processing of the memory network and the recurrent neural network, each comment is to obtain a comment vector l. Different reviews have different degrees of importance to the user, and each review vector contributes differently to the formation of the end user preference vector. Therefore, the score of each comment is mapped into the emotion score of the user for each comment, wherein the emotion score is 1 when the emotion score is higher than three points, and the emotion score is 0 when the emotion score is other points; and obtaining an emotion score vector s, wherein the size of the emotion score vector s is the number m of the comments, and the emotion score vector s ' is used as an emotion score label for training, wherein s ' is a predicted emotion score vector, the calculation method uses the idea of a latent semantic model for reference, and a sigmoid function is used for mapping the emotion score into a section from 0 to 1 for convenience of calculation as a weight, so that s ' can be calculated by the following formula:
s′=sigmoid(qu T·pi+bu+bi+μ)
wherein q isuAs hidden vectors of the user, piIs an implicit vector of the commodity, mu is a global bias term, buBiasing terms for the user, biBiasing the items for the good. And the sigmoid function is defined as follows:
wherein e is a natural base number. And then, endowing each comment with different weights by using a softmax function, wherein a weight vector g of each comment is calculated by the following formula:
g=softmax(s′)
wherein the softmax function is defined in accordance with the softmax function in the second step.
According to the weight vector g, all comment vectors are subjected to weighted summation to finally obtain a current user preference vector U, and according to the emotion weight vector g, a final attribute vector a for the user can also be obtainedu. For the commodity, the processing modeSimilarly, a commodity feature vector I and an attribute vector a for the commodity are finally obtainedi. To auAnd aiAnd averaging to obtain an attribute vector f for the user u and the commodity i. In this step, the attribute vector is used as the attention of the recurrent neural network, and the sentiment score is used as the weight of each comment, so that the interpretability of the method is increased, and the recommendation method is more convincing.
where μ is the global bias term, buBiasing terms for the user, biAnd U is a commodity bias item, and I is a commodity feature vector.
For the whole neural network, a squared error loss function is adopted as a final objective function L, which is defined as follows:
where T is the entire training set, ru,iIn order to be a true score, the score,is the predicted score. And Ω (θ) is a regular term of L2, where θ is a parameter set and λ is a coefficient of a regular term of L2.
And (4) obtaining a parameter set theta which is continuously updated through iterative training, and finally obtaining a final attention-based neural network C for predicting the score.
Fourthly, recommendation and explanation are provided
And for a specific user, carrying out score prediction on the commodity set by using the attention-based neural network structure C trained in the S3, sorting the commodity set in a descending order according to the scores, and taking the top N commodities as a recommended commodity list for the user. At the same time, for the recommended product, any one of the attributes is selected from the attribute matrix W based on the attribute vector f calculated in S3, and the reason for recommending the current product is, for example: "recommend commodity a to you because commodity a has excellent attribute B, and you pay more attention to attribute B", this process increases user experience, and can also improve the purchase rate of the current commodity.
The above-mentioned embodiments are merely preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, so that the changes in the shape and principle of the present invention should be covered within the protection scope of the present invention.
Claims (5)
1. A commodity recommendation method combining attention network and user emotion is characterized by comprising the following steps:
1) processing historical behavior data of a user in an e-commerce platform, mainly extracting grading and comment data of the user on commodities, including comment text data, preprocessing the comment data, and constructing a sample set T;
2) continuously training by adopting an unsupervised learning model and utilizing text data commented in the sample set T to finally obtain an attribute matrix W of the sample set T;
3) constructing an attention-based neural network structure C, using a memory network and a cyclic neural network based on an attribute matrix W as a basis, using predicted emotion scores as weights, further constructing a user preference vector U and a commodity feature vector I, finally calculating predicted values of deletion scores by using the user preference vector U and the commodity feature vector I, and meanwhile calculating attribute vectors of current users and commodities for final recommendation interpretation;
4) and performing descending sorting according to the predicted scores, recommending the first N commodities for the user, and providing attribute level explanation for the recommendation result according to the attribute matrix W obtained in the step 2) and the attribute vector obtained in the step 3).
2. The commodity recommendation method combining attention network and user emotion according to claim 1, wherein: in the step 1), grading and comment data of a user on commodities are extracted from user historical behavior data in an e-commerce platform, manual rules are formulated, part of useless data are filtered out, and the comment data are preprocessed and divided into two parts, wherein the first part is used for mapping the ID of the user and the ID of the commodities into numerical values so as to facilitate subsequent use, the second part is used for performing word segmentation processing on the text data of comments and mapping words in the text data into word vectors, and a sample set T is finally obtained after data preprocessing.
3. The commodity recommendation method combining attention network and user emotion according to claim 1, wherein: in the step 2), text data of all comments in the sample set T is utilized, an unsupervised learning model is adopted to learn an attribute matrix W, the attribute matrix W is initialized randomly at first, an average word vector e is obtained through word vectors of the comments, weights corresponding to the word vectors are obtained according to the association condition of the average word vector e and each word vector in the comments, and the word vectors in the comments are weighted and summed to construct an original vector z of the comments; and then constructing a reconstruction vector r of the comment from the attribute matrix W according to the original vector z, training by taking a difference value between the reconstruction vector r and the original vector z as a target function, and finally obtaining the attribute matrix W of the field corresponding to the sample set T, wherein each dimension of the attribute matrix W represents a corresponding attribute vector.
4. The commodity recommendation method combining attention network and user emotion according to claim 1, wherein: in the step 3), constructing an attention-based neural network structure C which mainly comprises a memory network and a circulating neural network; for the sample set T, taking the text data of the comments in T as the input of C, and taking the real scoring data in T as the learning target of C; for the appointed users and commodities, firstly processing each comment by using a memory network and a recurrent neural network based on an attribute matrix W, processing the comment by using the memory network, obtaining an attribute vector a from the attribute matrix W, taking the attribute vector a as the attention of a recurrent neural network hidden layer to obtain the output v of the recurrent neural network, and connecting a and v to obtain a corresponding comment vector, wherein in the process, the attribute vector a is used as the attention so that the recurrent neural network can capture the local information related to a in the comment to increase the interpretability, then on the basis that different comments have different degrees of emotion, different weights are given to each comment vector according to the predicted emotion scores to further construct a user preference vector U and a commodity feature vector I, and meanwhile, an attribute vector f for the current users and commodities can be constructed according to the emotion scores, the emotion scores are used, so that comments with higher emotion scores have higher weights, and more information is provided for the construction of U or I, so that the interpretability is further increased; finally, the scores of the current user and the current commodity are predicted by utilizing the user preference U and the commodity feature vector I; this step increases the interpretability of the recommendation method through the use of attention mechanisms and sentiment scores.
5. The commodity recommendation method combining attention network and user emotion according to claim 1, wherein: in step 4), for a specific user, carrying out score prediction on the commodity set by using the attention-based neural network structure C trained in step 3), sorting the commodity set in a descending order according to scores, and taking the top N commodities as a recommended commodity list for the user; meanwhile, for the recommended commodities, the closest attribute vector is selected from the attribute matrix W obtained in the step 2) according to the attribute vector f calculated in the step 3), wherein each attribute vector corresponds to a specific attribute, and the attribute is used as the recommendation reason of the current commodities, so that the user experience is increased, and the purchase rate of the current commodities can also be improved.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008804.1A CN111222332B (en) | 2020-01-06 | 2020-01-06 | Commodity recommendation method combining attention network and user emotion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008804.1A CN111222332B (en) | 2020-01-06 | 2020-01-06 | Commodity recommendation method combining attention network and user emotion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111222332A true CN111222332A (en) | 2020-06-02 |
CN111222332B CN111222332B (en) | 2021-09-21 |
Family
ID=70828140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010008804.1A Expired - Fee Related CN111222332B (en) | 2020-01-06 | 2020-01-06 | Commodity recommendation method combining attention network and user emotion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111222332B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782765A (en) * | 2020-06-24 | 2020-10-16 | 安徽农业大学 | Recommendation method based on graph attention machine mechanism |
CN112069402A (en) * | 2020-08-28 | 2020-12-11 | 山东省人工智能研究院 | Personalized comment recommendation method based on emotion and graph convolution neural network |
CN112100485A (en) * | 2020-08-20 | 2020-12-18 | 齐鲁工业大学 | Comment-based scoring prediction item recommendation method and system |
CN112182156A (en) * | 2020-09-28 | 2021-01-05 | 齐鲁工业大学 | Aspect-level interpretable deep network scoring prediction recommendation method based on text processing |
CN112200623A (en) * | 2020-09-27 | 2021-01-08 | 深圳市其乐游戏科技有限公司 | Product recommendation method, device, equipment and storage medium |
CN112270570A (en) * | 2020-11-03 | 2021-01-26 | 重庆邮电大学 | Click conversion rate prediction method based on feature combination and representation learning |
CN112308666A (en) * | 2020-10-26 | 2021-02-02 | 福建菩泰网络科技有限公司 | Method and system for recommending online shopping mall commodities |
CN112435103A (en) * | 2020-12-18 | 2021-03-02 | 东北大学 | Intelligent recommendation method and system for post diversity explanation |
CN112785331A (en) * | 2021-01-07 | 2021-05-11 | 之江实验室 | Injection attack resistant robust recommendation method and system combining evaluation text |
CN112884551A (en) * | 2021-02-19 | 2021-06-01 | 武汉大学 | Commodity recommendation method based on neighbor users and comment information |
CN113159892A (en) * | 2021-04-24 | 2021-07-23 | 桂林电子科技大学 | Commodity recommendation method based on multi-mode commodity feature fusion |
CN113159891A (en) * | 2021-04-24 | 2021-07-23 | 桂林电子科技大学 | Commodity recommendation method based on fusion of multiple user representations |
CN114357283A (en) * | 2021-12-10 | 2022-04-15 | 安徽农业大学 | Recommendation method based on comment and self-attention mechanism |
CN114385926A (en) * | 2021-12-02 | 2022-04-22 | 山东师范大学 | Robustness recommendation method and system for reducing proportion of useless information in attack environment |
CN114529340A (en) * | 2022-02-18 | 2022-05-24 | 浪潮卓数大数据产业发展有限公司 | Shop recommendation method and device and computer medium |
WO2022135118A1 (en) * | 2020-12-23 | 2022-06-30 | 浙江大学 | Combined product mining method based on knowledge graph rule embedding |
CN114691988A (en) * | 2022-03-23 | 2022-07-01 | 华南理工大学 | Cross-domain recommendation method based on user preference personalized migration |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095477A (en) * | 2015-08-12 | 2015-11-25 | 华南理工大学 | Recommendation algorithm based on multi-index grading |
CN105678590A (en) * | 2016-02-07 | 2016-06-15 | 重庆邮电大学 | topN recommendation method for social network based on cloud model |
CN107862343A (en) * | 2017-11-28 | 2018-03-30 | 南京理工大学 | The rule-based and comment on commodity property level sensibility classification method of neutral net |
CN108230059A (en) * | 2016-12-13 | 2018-06-29 | 中国联合网络通信集团有限公司 | Film recommends method and device |
CN108399158A (en) * | 2018-02-05 | 2018-08-14 | 华南理工大学 | Attribute sensibility classification method based on dependency tree and attention mechanism |
CN108959409A (en) * | 2018-06-06 | 2018-12-07 | 电子科技大学 | The matrix decomposition proposed algorithm of theme and emotion information in a kind of combination comment |
CN109325120A (en) * | 2018-09-14 | 2019-02-12 | 江苏师范大学 | A kind of text sentiment classification method separating user and product attention mechanism |
CN110008377A (en) * | 2019-03-27 | 2019-07-12 | 华南理工大学 | A method of film recommendation is carried out using user property |
CN110097089A (en) * | 2019-04-05 | 2019-08-06 | 华南理工大学 | A kind of sensibility classification method of the documentation level based on attention combination neural net |
CN110362817A (en) * | 2019-06-04 | 2019-10-22 | 中国科学院信息工程研究所 | A kind of viewpoint proneness analysis method and system towards product attribute |
CN110399565A (en) * | 2019-07-29 | 2019-11-01 | 北京理工大学 | Based on when null cycle attention mechanism recurrent neural network point of interest recommended method |
CN110517121A (en) * | 2019-09-23 | 2019-11-29 | 重庆邮电大学 | Method of Commodity Recommendation and the device for recommending the commodity based on comment text sentiment analysis |
CN110532379A (en) * | 2019-07-08 | 2019-12-03 | 广东工业大学 | A kind of electronics information recommended method of the user comment sentiment analysis based on LSTM |
CN110599307A (en) * | 2019-09-17 | 2019-12-20 | 北京三快在线科技有限公司 | Commodity recommendation method and device |
-
2020
- 2020-01-06 CN CN202010008804.1A patent/CN111222332B/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095477A (en) * | 2015-08-12 | 2015-11-25 | 华南理工大学 | Recommendation algorithm based on multi-index grading |
CN105678590A (en) * | 2016-02-07 | 2016-06-15 | 重庆邮电大学 | topN recommendation method for social network based on cloud model |
CN108230059A (en) * | 2016-12-13 | 2018-06-29 | 中国联合网络通信集团有限公司 | Film recommends method and device |
CN107862343A (en) * | 2017-11-28 | 2018-03-30 | 南京理工大学 | The rule-based and comment on commodity property level sensibility classification method of neutral net |
CN108399158A (en) * | 2018-02-05 | 2018-08-14 | 华南理工大学 | Attribute sensibility classification method based on dependency tree and attention mechanism |
CN108959409A (en) * | 2018-06-06 | 2018-12-07 | 电子科技大学 | The matrix decomposition proposed algorithm of theme and emotion information in a kind of combination comment |
CN109325120A (en) * | 2018-09-14 | 2019-02-12 | 江苏师范大学 | A kind of text sentiment classification method separating user and product attention mechanism |
CN110008377A (en) * | 2019-03-27 | 2019-07-12 | 华南理工大学 | A method of film recommendation is carried out using user property |
CN110097089A (en) * | 2019-04-05 | 2019-08-06 | 华南理工大学 | A kind of sensibility classification method of the documentation level based on attention combination neural net |
CN110362817A (en) * | 2019-06-04 | 2019-10-22 | 中国科学院信息工程研究所 | A kind of viewpoint proneness analysis method and system towards product attribute |
CN110532379A (en) * | 2019-07-08 | 2019-12-03 | 广东工业大学 | A kind of electronics information recommended method of the user comment sentiment analysis based on LSTM |
CN110399565A (en) * | 2019-07-29 | 2019-11-01 | 北京理工大学 | Based on when null cycle attention mechanism recurrent neural network point of interest recommended method |
CN110599307A (en) * | 2019-09-17 | 2019-12-20 | 北京三快在线科技有限公司 | Commodity recommendation method and device |
CN110517121A (en) * | 2019-09-23 | 2019-11-29 | 重庆邮电大学 | Method of Commodity Recommendation and the device for recommending the commodity based on comment text sentiment analysis |
Non-Patent Citations (6)
Title |
---|
MUHAMMAD IBRAHIM: "A Neural Network-Inspired Approach for Improved and True Movie Recommendations", 《ADVANCES IN RECENT NATURE-INSPIRED ALGORITHMS FOR NEURAL ENGINEERING》 * |
ONDREJ KASSAK: "User Preference Modeling by Global and Individual Weights for Personalized Recommendation", 《ACTA POLYTECHNICA HUNGARICA》 * |
QIAO LIU: "STAMP: Short-Term Attention/Memory Priority Model for Session-based Recommendation", 《PROCEEDINGS OF THE 24TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MININGJULY》 * |
单晓红: "基于在线评论的混合推荐算法", 《系统工程》 * |
孔德江: "面向序列数据的深度学习算法研究", 《中国博士学位论文全文数据库 信息科技辑》 * |
高茂庭: "基于循环神经网络的推荐算法", 《计算机工程》 * |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782765A (en) * | 2020-06-24 | 2020-10-16 | 安徽农业大学 | Recommendation method based on graph attention machine mechanism |
CN112100485A (en) * | 2020-08-20 | 2020-12-18 | 齐鲁工业大学 | Comment-based scoring prediction item recommendation method and system |
CN112069402B (en) * | 2020-08-28 | 2021-04-20 | 山东省人工智能研究院 | Personalized comment recommendation method based on emotion and graph convolution neural network |
CN112069402A (en) * | 2020-08-28 | 2020-12-11 | 山东省人工智能研究院 | Personalized comment recommendation method based on emotion and graph convolution neural network |
CN112200623A (en) * | 2020-09-27 | 2021-01-08 | 深圳市其乐游戏科技有限公司 | Product recommendation method, device, equipment and storage medium |
CN112182156B (en) * | 2020-09-28 | 2023-02-07 | 齐鲁工业大学 | Aspect-level interpretable deep network scoring prediction recommendation method based on text processing |
CN112182156A (en) * | 2020-09-28 | 2021-01-05 | 齐鲁工业大学 | Aspect-level interpretable deep network scoring prediction recommendation method based on text processing |
CN112308666A (en) * | 2020-10-26 | 2021-02-02 | 福建菩泰网络科技有限公司 | Method and system for recommending online shopping mall commodities |
CN112270570B (en) * | 2020-11-03 | 2022-03-11 | 重庆邮电大学 | Click conversion rate prediction method based on feature combination and representation learning |
CN112270570A (en) * | 2020-11-03 | 2021-01-26 | 重庆邮电大学 | Click conversion rate prediction method based on feature combination and representation learning |
CN112435103B (en) * | 2020-12-18 | 2023-11-24 | 东北大学 | Intelligent recommendation method and system for postmortem diversity interpretation |
CN112435103A (en) * | 2020-12-18 | 2021-03-02 | 东北大学 | Intelligent recommendation method and system for post diversity explanation |
WO2022135118A1 (en) * | 2020-12-23 | 2022-06-30 | 浙江大学 | Combined product mining method based on knowledge graph rule embedding |
CN112785331A (en) * | 2021-01-07 | 2021-05-11 | 之江实验室 | Injection attack resistant robust recommendation method and system combining evaluation text |
CN112884551A (en) * | 2021-02-19 | 2021-06-01 | 武汉大学 | Commodity recommendation method based on neighbor users and comment information |
CN112884551B (en) * | 2021-02-19 | 2023-08-18 | 武汉大学 | Commodity recommendation method based on neighbor users and comment information |
CN113159891A (en) * | 2021-04-24 | 2021-07-23 | 桂林电子科技大学 | Commodity recommendation method based on fusion of multiple user representations |
CN113159891B (en) * | 2021-04-24 | 2022-05-17 | 桂林电子科技大学 | Commodity recommendation method based on fusion of multiple user representations |
CN113159892B (en) * | 2021-04-24 | 2022-05-06 | 桂林电子科技大学 | Commodity recommendation method based on multi-mode commodity feature fusion |
CN113159892A (en) * | 2021-04-24 | 2021-07-23 | 桂林电子科技大学 | Commodity recommendation method based on multi-mode commodity feature fusion |
CN114385926A (en) * | 2021-12-02 | 2022-04-22 | 山东师范大学 | Robustness recommendation method and system for reducing proportion of useless information in attack environment |
CN114357283A (en) * | 2021-12-10 | 2022-04-15 | 安徽农业大学 | Recommendation method based on comment and self-attention mechanism |
CN114357283B (en) * | 2021-12-10 | 2024-08-02 | 安徽农业大学 | Recommendation method based on comment and self-attention mechanism |
CN114529340A (en) * | 2022-02-18 | 2022-05-24 | 浪潮卓数大数据产业发展有限公司 | Shop recommendation method and device and computer medium |
CN114691988A (en) * | 2022-03-23 | 2022-07-01 | 华南理工大学 | Cross-domain recommendation method based on user preference personalized migration |
Also Published As
Publication number | Publication date |
---|---|
CN111222332B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111222332B (en) | Commodity recommendation method combining attention network and user emotion | |
CN111177575B (en) | Content recommendation method and device, electronic equipment and storage medium | |
CN108648049B (en) | Sequence recommendation method based on user behavior difference modeling | |
CN111339415B (en) | Click rate prediction method and device based on multi-interactive attention network | |
CN111797321B (en) | Personalized knowledge recommendation method and system for different scenes | |
CN109492229B (en) | Cross-domain emotion classification method and related device | |
CN110245285B (en) | Personalized recommendation method based on heterogeneous information network | |
CN110929034A (en) | Commodity comment fine-grained emotion classification method based on improved LSTM | |
CN111737578A (en) | Recommendation method and system | |
CN112700274A (en) | Advertisement click rate estimation method based on user preference | |
CN111259140A (en) | False comment detection method based on LSTM multi-entity feature fusion | |
CN112085525A (en) | User network purchasing behavior prediction research method based on hybrid model | |
CN111695024A (en) | Object evaluation value prediction method and system, and recommendation method and system | |
CN115481325A (en) | Personalized news recommendation method and system based on user global interest migration perception | |
CN115687760A (en) | User learning interest label prediction method based on graph neural network | |
CN110851694B (en) | Personalized recommendation system based on depth model of user memory network and tree structure | |
CN114840745A (en) | Personalized recommendation method and system based on graph feature learning and deep semantic matching model | |
Yi et al. | Graphical Visual Analysis of Consumer Electronics Public Comment Information Mining under Knowledge Graph | |
CN110956528B (en) | Recommendation method and system for e-commerce platform | |
Li et al. | Research on recommendation algorithm based on e-commerce user behavior sequence | |
CN114022233A (en) | Novel commodity recommendation method | |
CN114358813A (en) | Improved advertisement putting method and system based on field matrix factorization machine | |
Agarwal et al. | Sentiment Analysis Dashboard for Socia Media comments using BERT | |
Jalilifard et al. | Friendship is all we need: A multi-graph embedding approach for modeling customer behavior | |
CN115098787B (en) | Article recommendation method based on cosine ranking loss and virtual edge map neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210921 |
|
CF01 | Termination of patent right due to non-payment of annual fee |