Session recommendation method based on knowledge graph popularity analysis and application thereof
By introducing knowledge graph popularity analysis into the conversational recommendation system, combined with the graph convolution network and attention mechanism, the problem of insufficient recommendation accuracy and personalization is solved, and a more efficient recommendation effect and user experience improvement are achieved.
Patent Information
- Application Number
- CN202410846465.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-30
AI Technical Summary
Existing conversational recommendation systems have shortcomings in recommendation accuracy and personalization. Especially for users who are not logged in or have limited historical information, it is difficult to provide satisfactory recommendation content.
Using the popularity analysis method based on knowledge graph, through the item representation learning layer, session representation learning layer and recommendation explanation layer, combined with the graph convolution network, attention mechanism and softmax layer, it learns the item embedding representation and session embedding representation, and uses knowledge The graph serves as side information to find the shortest path to improve recommendation accuracy and personalization.
Significantly improves the accuracy and personalization of recommendations, and enhances user experience and recommendation performance by providing interpretive recommendation results.
Smart Images

Figure CN118568356A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a conversation recommendation method based on knowledge graph popularity analysis and its application. Background Art
[0002] Recommendation systems play a key role in various online platforms, which have successfully alleviated the problem of information overload by recommending content that users may be interested in. However, traditional recommendation methods rely on user information and long-term historical interactions. Highly mobile users who are not logged in or have limited historical information may not be able to fully obtain the recommended content of interest. In recent years, session-based recommendation systems have attracted the attention of researchers, mainly using deep learning methods to learn the embedded representation of items in the session to provide personalized recommendations. Although these systems have been successful in many fields, they still have problems with internal sequence relationships, neighbor connections, and item popularity, resulting in low recommendation accuracy and personalization. Summary of the invention
[0003] To solve the above problems, the purpose of the present invention is to provide a conversation recommendation method based on knowledge graph popularity analysis, which can solve the problems of low recommendation accuracy and personalization in the prior art.
[0004] The objective of the present invention is achieved through the following technical solutions: In a first aspect, the present invention provides a conversation recommendation method based on knowledge graph popularity analysis, comprising the following steps: Step S1, the item representation learning layer comprehensively learns the item embedding representation in the conversation recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation; Step S2, the conversation representation learning layer uses historical interactions, conversation context, and item location information to represent the learned conversation embedding; Step S3: The recommendation explanation layer uses the softmax layer to combine the project embedding representation and the session embedding representation to obtain the project recommendation score, and introduces the knowledge graph as side information to find the shortest path from the session project to the target recommended project as the recommendation explanation.
[0005] Further, according to step S1 to step S3, a conversation recommendation model is generated, and the conversation recommendation model is trained using a cross entropy function.
[0006] Furthermore, by considering the structure and content of the knowledge graph, the interpretability of the recommendation results is evaluated, and the recommendation process is adjusted to improve the similarity associated with user interests and the knowledge graph.
[0007] Furthermore, the step S1 includes: Step S11: The global graph-level project representation is constructed based on the architecture of the graph convolutional network, and the attention network is used to generate attention weights according to the importance of each connection; by repeatedly propagating and aggregating information, the embedded representation of the project on the global graph is learned; ; in: v i and v j Indicates two adjacent items; N vi g Represents v in the session graph i The g-order neighbor set of ; h vj Represents the items v generated at the first level of aggregation j The representation vector of π(v i ,v j ) represents the importance weights of different neighbors, π(v i ,v j ) is calculated as: ; in represents the element-wise product, represents concatenation, LeakyRelu is the activation function, represents the weight of the edge in the global graph, W I and is a trainable parameter, S is the feature of the current session, and the calculation formula is: ; Use the softmax function to compare with v i The weight coefficients of all connected neighbors are normalized, and the calculation formula is: ; Use graph convolutional networks to represent items h v And its field project representation Aggregation, the calculation formula of the aggregation method is: ; Among them, relu is the activation function, is the item interaction weight; The embedding representation h of the item v It depends on its own representation and the representation of neighboring nodes; by trying high-order aggregation, it gradually expands from a single layer to a multi-layer aggregation, aggregates the relevant information of the current session into the project representation, and the calculation formula for the k-th aggregated project aggregation process is: ; in, For The representation vector of the items generated when the layer is aggregated; Step S12: By using the attention mechanism, the importance of the neighbor nodes of the learning project in the conversation graph is expressed by a weight coefficient, and the weight coefficient calculation process is as follows: ; in For Node About the Project The importance weight of is the activation function, for and The relationship between is the weight vector; For different types of relationships between nodes, four weight vectors are trained, namely a in 、a out 、a in-out and a self , use the softmax function to normalize the attention weights, and the calculation formula for the normalization process is: ; Different neighbor nodes of a project have different attention weight coefficients for the embedding vector representation of the project. The linear combination of the feature representations corresponding to the weight coefficients is calculated to obtain the feature representation vector of the project node at the session graph level. The calculation formula is: ; Step S13: Based on the technical regression model, the popularity of a project is measured by the number of times the project is clicked or visited. The calculation formula for the popularity of a project is: ; in, For project v i The popularity score of For project v i The number of interactions in the jth session, n is the total number of interactions in the dataset; Use the embedding method in neural network to realize popularity vectorization, pre-define the embedding dimension and The same dimension, the calculation formula is: ; Step S14: Item comprehensive representation learning obtains its vector representation by combining global context, session context and item popularity, and calculates its final vector embedding representation by summarizing and pooling method. The calculation formula is: ; in, The final vector embedding representation for the item.
[0008] Furthermore, the step S2 includes: The session item representation matrix consists of all items in session S , and at the same time, according to different position numbers, learn a position embedding matrix ,in is the position vector of position i, and the session neighbor representation matrix is composed of the 12 neighbors with the most interactions for each item in the session The item itself, location information and item neighbor information are integrated through splicing and nonlinear transformation, and the calculation formula is: ; in, and is a trainable parameter; Calculate the average of the items in the session to get , learn the corresponding weights through soft attention , the calculation formula is: ; Among them, W4 and W5 , is a trainable parameter; The session representation consists of all the items, location information, and neighbor information that make up the session. The contribution of each item is not only related to the information in the session graph, but also to the click order and related neighbors. The representation of a session can be obtained by linearly combining the items and their weights. The calculation formula is: .
[0009] Furthermore, the step S3 includes: According to the item representation and session representation obtained in step S1 and step S2, the score of the candidate item being recommended in the context of the session is calculated, and then normalized using to generate a session recommendation model; the normalization formula is as follows: .
[0010] Furthermore, the method of evaluating the interpretability of recommendation results by considering the structure and content of the knowledge graph and adjusting the recommendation process to improve the similarity associated with the user's interests and the knowledge graph includes: The first assessment of the coverage of the recommendation results is performed through the recall rate; By performing a second evaluation of the highest ranked items in the recommendation list; Based on the results of the first and second evaluations, adjustments were made to the recommendation process to improve the response rate.
[0011] In a second aspect, the present invention provides a conversation recommendation device based on knowledge graph popularity analysis, comprising: The first module is used for the item representation learning layer to comprehensively learn the item embedding representation in the conversational recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation learning; The second module is used to learn the session embedding representation in the session representation learning layer by considering the historical interactions, session context, and the position information of the items in the session; The third module is used for the recommendation explanation layer. It uses the Softmax layer to generate item recommendation scores for the embedded representation of items and sessions, and introduces the knowledge graph as side information to find the shortest path from the session item to the target recommended item as the recommendation explanation. The fourth module is used to evaluate the interpretability of recommendation results by considering the structure and content of the knowledge graph, and adjust the recommendation process to improve the similarity associated with user interests and the knowledge graph.
[0012] In a third aspect, the present invention provides an electronic device, comprising the above-mentioned conversation recommendation device based on knowledge graph popularity analysis.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium storing a program, which, when executed, implements the conversation recommendation method based on knowledge graph popularity analysis as described above.
[0014] The conversation recommendation method based on knowledge graph popularity analysis of the present invention expands the scope of comparative learning and considers the neighbors with the highest frequency of interaction between each item to more comprehensively understand the item relevance. At the same time, the popularity of the item is comprehensively considered, and its embedded representation is spliced with the embedding of the global graph and the conversation graph to improve the accuracy and personalization of the recommendation. By utilizing the semantics and association relationships of the knowledge graph, this method not only provides explanations while giving the recommendation results, but also significantly improves the recommendation performance and user experience in experiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A process diagram of the conversation recommendation method based on knowledge graph popularity analysis of the present invention. DETAILED DESCRIPTION
[0016] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0017] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0018] The conversation recommendation method based on knowledge graph popularity analysis of the present invention comprises the following steps: Step S1, the item representation learning layer comprehensively learns the item embedding representation in the conversation recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation.
[0019] Furthermore, step S1 includes: Step S11: The global graph-level project representation is constructed based on the architecture of the graph convolutional network, and the attention network is used to generate attention weights according to the importance of each connection. By repeatedly propagating and aggregating information, the embedded representation of the project on the global graph is learned.
[0020] An item may appear in multiple sessions. Through these session relations, we can understand the information related to the preceding click sequence between useful items. In order to obtain the feature information of the order neighbors of the items, we use the session-aware attention mechanism to distinguish the importance of items in the order neighbors. Each item is linearly combined according to the session-aware attention weight, and the calculation formula is: Formula (1) in: v i and v j Indicates two adjacent items; N vi g Represents v in the session graph i The g-order neighbor set of ; h vj Represents the items v generated at the first level of aggregation j The representation vector of π(v i ,v j ) represents the importance weights of different neighbors. The closer an item is to the preference of a session, the more important it is. Specifically, π(vi ,v j ) learning process, the calculation formula is: Formula (2) in represents the element-wise product, represents concatenation, LeakyRelu is the activation function, represents the weight of the edge in the global graph, W I and is a trainable parameter, S is the feature of the current session, and the feature representation of the current session is obtained by calculating the average embedding representation of the items in the current session, so that the propagation of information depends on S and v j The matching degree between them makes the neighbor nodes that are more matching with the current session more popular. The calculation formula is: Formula (3) Then use the softmax function to compare with v i The weight coefficients of all connected neighbors are normalized, and the final attention weight can measure which neighbor node is more important. The calculation formula is: Formula (4) Next, we use a graph convolutional network to represent the items h v And its field project representation Aggregation, the calculation formula of the aggregation method is: Formula (5) In formula (5), relu is the activation function, is the item interaction weight.
[0021] In the above single-layer aggregation process, the embedding representation of the item h v It depends on its own representation and the representation of neighboring nodes. By trying high-order aggregation and gradually expanding from a single layer to a multi-layer aggregation, more relevant information of the current session can be aggregated into the project representation. The calculation formula for the k-th aggregated project aggregation process is: Formula (6) In formula (6), For The representation vectors of the items produced when the layer is aggregated.
[0022] Step S12: By using the attention mechanism, the importance of the neighbor nodes of the project in the conversation graph can be learned. The importance is represented by a weight coefficient, which can be learned by the product of the corresponding elements and nonlinear transformation. The calculation formula of the learning process is: Formula (7) in For Node About the Project The importance weight of is the activation function, for and The relationship between is the weight vector.
[0023] For different types of relationships between nodes, four weight vectors are trained, namely a in 、a out 、a in-out and a self In order to make the weight coefficients comparable between different nodes, the softmax function is used to normalize the attention weights. The calculation formula of the normalization process is: Formula (8) Different neighbor nodes of a project have different attention weight coefficients for the embedding vector representation of the project. By calculating the linear combination of the feature representations corresponding to the weight coefficients, the feature representation vector of the project node at the conversation graph level can be obtained. The calculation formula is: Formula (9) Step S13: Calculation of project popularity: Based on the technical regression model, the popularity of a project is measured by the number of times the project is clicked or visited. The more times a project is clicked, the higher the popularity of the project. The calculation formula for project popularity is: Formula (10) In formula (10), For project v i The popularity score of For project v i The number of interactions in the jth session, n is the total number of interactions in the dataset.
[0024] Use the embedding method in neural network to realize popularity vectorization, pre-define the embedding dimension and The same dimension, the calculation formula is: Formula (11) Step S14: Item comprehensive representation learning obtains its vector representation by combining global context, session context and item popularity, and calculates its final vector embedding representation by summarizing and pooling method. The calculation formula is: Formula (12) In formula (12), The final vector embedding representation for the item.
[0025] Step S2: The conversation representation learning layer uses historical interactions, conversation context, and item location information to represent the learned conversation embedding.
[0026] Further, step S2 includes: From the item representation vector, we can further learn the session representation vector. Contrastive learning is applied to each item in the session sequence and its 12 most frequently interacting neighbors. This improvement helps to more comprehensively understand and consider the relevance between items. All items in the session sequence jointly construct the generated session representation vector. Since items at different positions contribute differently to the recommended items, items at the later stage of the session may have a stronger impact on the predicted items.
[0027] The session item representation matrix consists of all items in session S , and at the same time, according to different position numbers, learn a position embedding matrix ,in is the position vector of position i, and the session neighbor representation matrix is composed of the 12 neighbors with the most interactions for each item in the session The item itself, location information and item neighbor information are integrated through splicing and nonlinear transformation, and the calculation formula is: Formula (13) In formula (13), and is a trainable parameter.
[0028] Calculate the average of the items in the session to get , learn the corresponding weights through soft attention , the calculation formula is: Formula (14) In formula (14), W4 and W5 , is a trainable parameter.
[0029] Finally, the session representation consists of all the items, location information, and neighbor information that make up the session, where the contribution of each item is not only related to the information in the session graph, but also to the click order and related neighbors. The representation of a session can be obtained by linearly combining the items and their weights, and the calculation formula is: Formula (15) Step S3: The recommendation explanation layer embeds the items and sessions and obtains the item recommendation score through the softmax layer after clicking. The knowledge graph is introduced as side information to find the shortest path from the session item to the target recommended item as the recommendation explanation.
[0030] Further, step S3 includes: Step S31: Based on the item representation and session representation obtained in step S1 and step S2, the score of the candidate item being recommended in the session is calculated, and then normalized using to generate the session recommendation model PENCER-KG. The normalization formula is as follows: Formula (16) The PENCER-KG model uses knowledge in the external knowledge graph as side information to provide post-hoc explanations for recommended items. By finding the shortest path between the conversation item and the recommended item in the knowledge graph as the recommendation explanation, with the help of external information, it provides users with explanations from a new perspective. This enriches the information source and explores more possibilities.
[0031] Step S4: Use the cross entropy function to train the PENCER-KG model. The calculation formula is: Formula (17) Step S5: Evaluate the interpretability of the recommendation results by considering the structure and content of the knowledge graph, and adjust the recommendation process to improve the similarity associated with user interests and the knowledge graph.
[0032] Further, step S5 includes: The first assessment of the coverage of the recommendation results is performed through the recall rate; By performing a second evaluation of the highest ranked items in the recommendation list; Based on the results of the first and second evaluations, the recommendation process was adjusted to improve the feedback rate. This enabled the recommendation algorithm to play a greater role in meeting user interests and providing high-quality recommendations.
[0033] A. Recall: The recall rate in a recommendation system is usually defined as the ratio of the number of accurate recommended items to the number of all actual items. The higher the recall, the higher the proportion of recommended correct items, indicating better recommendation performance.
[0034] B. Mean Reciprocal Rank (MRR): MRR is a commonly used indicator for evaluating recommendation systems. It is calculated based on the ranking of items. The larger the MRR, the more likely the recommendation system is to rank relevant items in a higher position than the user, indicating a higher ranking quality.
[0035] The algorithm of the present invention is compared with the conversation recommendation results of NARM, STAMP, SR-GNN, TAGNN, GCE-GNN and HyperS2RecE algorithms, as shown in Table 1. As can be seen from Table 1, the algorithm of the present invention can obtain the best results in most evaluation indicators.
[0036] Table 1 In summary, the present invention proposes an interpretable conversation recommendation method based on popularity enhancement and neighborhood domain comparison of knowledge graph, using the PENCER-KG model, which successfully improves the accuracy and personalization of conversation recommendations by comprehensively utilizing the information of knowledge graph, item popularity, item neighborhood relationship, and conversation sequence. In addition, through the recommendation explanation layer, PENCER-KG also provides users with explanations of recommendation results, enriching the user experience.
[0037] The present invention also provides a conversation recommendation device based on knowledge graph popularity analysis, comprising: The first module is used for the item representation learning layer to comprehensively learn the item embedding representation in the conversational recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation learning; The second module is used to learn the session embedding representation in the session representation learning layer by considering the historical interactions, session context, and the position information of the items in the session; The third module is used for the recommendation explanation layer. It uses the Softmax layer to generate item recommendation scores for the embedded representation of items and sessions, and introduces the knowledge graph as side information to find the shortest path from the session item to the target recommended item as the recommendation explanation. The fourth module is used to evaluate the interpretability of recommendation results by considering the structure and content of the knowledge graph, and adjust the recommendation process to improve the similarity associated with user interests and the knowledge graph.
[0038] An embodiment of the present invention provides an electronic device, including a memory and a processor; the memory stores a program; and the processor executes the program to implement the method described above.
[0039] On the other hand, the embodiment of the present invention further provides a control computer storage medium, in which programs are stored, and a processor executes these programs to implement the conversation recommendation method as described above.
[0040] The embodiment of the present invention also discloses a computer program, which includes instructions stored in a computer auxiliary medium. A computer processor of a computer device can read these instructions from the computer auxiliary medium, and then the processor executes these instructions, so that the computer device executes the above method.
[0041] The above is only for explaining the implementation mode of the present invention and is not intended to limit the present invention. For those skilled in the art, any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention without creative work should be included in the protection scope of the present invention.
Claims
1. Conversation recommendation method based on knowledge graph popularity analysis, It is characterized in that The following steps are involved: Step S1, the item representation learning layer comprehensively learns the item embedding representation in the conversation recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation; Step S2, the conversation representation learning layer uses historical interactions, conversation context, and item location information to represent the learned conversation embedding; Step S3: The recommendation explanation layer uses the softmax layer to combine the project embedding representation and the session embedding representation to obtain the project recommendation score, and introduces the knowledge graph as side information to find the shortest path from the session project to the target recommended project as the recommendation explanation.
2. According to claim 1, the conversation recommendation method based on knowledge graph popularity analysis, It is characterized in that According to step S1 to step S3, a conversation recommendation model is generated, and the conversation recommendation model is trained using a cross entropy function.
3. According to claim 2, the conversation recommendation method based on knowledge graph popularity analysis, It is characterized in that By considering the structure and content of the knowledge graph, the interpretability of the recommendation results is evaluated, and the recommendation process is adjusted to improve the similarity associated with user interests and the knowledge graph.
4. The conversation recommendation method based on knowledge graph popularity analysis according to claim 1, It is characterized in that The step S1 comprises: Step S11: The global graph-level project representation is constructed based on the architecture of the graph convolutional network, and the attention network is used to generate attention weights according to the importance of each connection; by repeatedly propagating and aggregating information, the embedded representation of the project on the global graph is learned; ; in: v i and v j Indicates two adjacent items; N vi g Represents v in the session graph i The g-order neighbor set of ; h vj Represents the items v generated at the first level of aggregation j The representation vector of π(v i ,v j ) represents the importance weights of different neighbors, π(v i ,v j ) is calculated as: ; in represents the element-wise product, represents concatenation, LeakyRelu is the activation function, represents the weight of the edge in the global graph, W I and is a trainable parameter, S is the feature of the current session, and the calculation formula is: ; Use the softmax function to compare with v i The weight coefficients of all connected neighbors are normalized, and the calculation formula is: ; Use graph convolutional networks to represent items h v And its field project representation Aggregation, the calculation formula of the aggregation method is: ; Among them, relu is the activation function, is the item interaction weight; The embedding representation h of the item v It depends on its own representation and the representation of neighboring nodes; by trying high-order aggregation, it gradually expands from a single layer to a multi-layer aggregation, aggregates the relevant information of the current session into the project representation, and the calculation formula for the k-th aggregated project aggregation process is: ; in, For The representation vector of the items generated when the layer is aggregated; Step S12: By using the attention mechanism, the importance of the neighbor nodes of the learning project in the conversation graph is expressed by a weight coefficient, and the weight coefficient calculation process is as follows: ; in For Node About the Project The importance weight of is the activation function, for and The relationship between is the weight vector; For different types of relationships between nodes, four weight vectors are trained, namely a in 、a out 、a in-out and a self , use the softmax function to normalize the attention weights, and the calculation formula for the normalization process is: ; Different neighbor nodes of a project have different attention weight coefficients for the embedding vector representation of the project. The linear combination of the feature representations corresponding to the weight coefficients is calculated to obtain the feature representation vector of the project node at the session graph level. The calculation formula is: ; Step S13: Based on the technical regression model, the popularity of a project is measured by the number of times the project is clicked or visited. The calculation formula for the popularity of a project is: ; in, For project v i The popularity score of For project v i The number of interactions in the jth session, n is the total number of interactions in the dataset; Use the embedding method in neural network to realize popularity vectorization, pre-define the embedding dimension and The same dimension, the calculation formula is: ; Step S14: Item comprehensive representation learning obtains its vector representation by combining global context, session context and item popularity, and calculates its final vector embedding representation by summarizing and pooling method. The calculation formula is: ; in, The final vector embedding representation for the item.
5. The conversation recommendation method based on knowledge graph popularity analysis according to claim 1, It is characterized in that The step S2 comprises: The session item representation matrix consists of all items in session S , and at the same time, according to different position numbers, learn a position embedding matrix ,in is the position vector of position i, and the session neighbor representation matrix is composed of the 12 neighbors with the most interactions for each item in the session The item itself, location information and item neighbor information are integrated through splicing and nonlinear transformation, and the calculation formula is: ; in, and is a trainable parameter; Calculate the average of the items in the session to get , learn the corresponding weights through soft attention , the calculation formula is: ; Among them, W 4 and W 5 , is a trainable parameter; The session representation consists of all the items, location information, and neighbor information that make up the session. The contribution of each item is not only related to the information in the session graph, but also to the click order and related neighbors. The representation of a session can be obtained by linearly combining the items and their weights. The calculation formula is: 。 6. The conversation recommendation method based on knowledge graph popularity analysis according to claim 4, It is characterized in that The step S3 comprises: According to the item representation and session representation obtained in step S1 and step S2, the score of the candidate item being recommended in the context of the session is calculated, and then normalized using to generate a session recommendation model; the normalization formula is as follows: 。 7. The conversation recommendation method based on knowledge graph popularity analysis according to claim 3, It is characterized in that The method of evaluating the interpretability of recommendation results by considering the structure and content of the knowledge graph and adjusting the recommendation process to improve the similarity associated with user interests and the knowledge graph includes: The first assessment of the coverage of the recommendation results is performed through the recall rate; By performing a second evaluation of the highest ranked items in the recommendation list; Based on the results of the first and second evaluations, adjustments were made to the recommendation process to improve the response rate.
8. Conversation recommendation device based on knowledge graph popularity analysis, It is characterized in that include: The first module is used for the item representation learning layer to comprehensively learn the item embedding representation in the conversational recommendation task, including learning the global graph-level item representation, the conversation graph-level item representation, the item popularity, and the item comprehensive representation learning; The second module is used to learn the session embedding representation in the session representation learning layer by considering the historical interactions, session context, and the position information of the items in the session; The third module is used for the recommendation explanation layer. It uses the Softmax layer to generate item recommendation scores for the embedded representation of items and sessions, and introduces the knowledge graph as side information to find the shortest path from the session item to the target recommended item as the recommendation explanation. The fourth module is used to evaluate the interpretability of recommendation results by considering the structure and content of the knowledge graph, and adjust the recommendation process to improve the similarity associated with user interests and the knowledge graph.
9. An electronic device, It is characterized in that Including the conversation recommendation device based on knowledge graph popularity analysis as described in claim 8.
10. A computer-readable storage medium, It is characterized in that The storage medium stores a program, and when the program is executed, the conversation recommendation method based on knowledge graph popularity analysis as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Intranet Web application identification method, device and equipment based on behavior pattern
CN120433968A
