Conversation recommendation method, system, device and medium based on multi-aspect global relationship item representation learning

By constructing a session recommendation model that learns multi-faceted global relationship item representation, it solves the problem of session recommendation in anonymous user scenarios, improves recommendation performance, reduces the impact of irrelevant information, and is applicable to all data sets.

CN114330299BActive Publication Date: 2024-08-27HARBIN ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111557961.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2024-08-27
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

Existing conversational recommendation systems are difficult to effectively capture users' true intentions in anonymous user scenarios, and global graph learning based on item co-occurrence relationships risks introducing irrelevant and noisy information, resulting in limited recommendation performance.

Method used

By building a multi-faceted global relationship item representation learning session recommendation model, including building a global base graph, sequential relationship graph, co-occurrence relationship graph and incompatible relationship graph, using different graph aggregation layers to encode relationships, and integrating positive and negative relationships to generate enhanced Conversation Representation,Learning item embeddings in a session-independent,data-driven manner.

Benefits of technology

It improves session recommendation performance, reduces the impact of irrelevant information, enhances the accuracy and robustness of recommendations, and is applicable to all data sets without the need for additional knowledge, such as knowledge graphs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114330299B
    Figure CN114330299B
Patent Text Reader

Abstract

The present invention proposes a conversation recommendation method, system, device and medium based on learning of multi-faceted global relationship project representation. The present invention learns the project representation of multi-faceted global relationships in a data-driven and conversation-independent manner, and constructs a conversation recommendation model based on learning of multi-faceted global relationship project representation. First, a global basic graph is constructed using all the conversation data in a training set. Secondly, a sequential relationship graph, a co-occurrence relationship graph and an incompatible relationship graph are constructed based on the global basic graph. The information propagation process on the corresponding relationship graph is realized through three different aggregation layers. Finally, the current conversation representation is enhanced through positive and negative relationships, thereby greatly improving the conversation recommendation performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of conversation recommendation, and in particular, relates to a conversation recommendation method, system, device and medium based on multi-faceted global relationship item representation learning. Background Art

[0002] Recommendation systems are used in a variety of commercial applications, such as in e-commerce and online streaming services to alleviate information overload. Most traditional recommendation systems assume that they can obtain user profiles and long-term interaction histories of users, and make recommendations based on them. However, in real-world online services, there are more and more cases where user identities are unknown (for example, users log in anonymously) or privacy regulations do not allow cross-session tracking of user interaction records. In these scenarios, only the interaction records generated during the current session can be used for recommendations, which leads to the session recommendation problem.

[0003] Given a set of anonymous sessions, session recommendation aims to identify the next item that is most likely to be interacted with in the current session. Most existing studies focus on generating better session representations based on individual sessions alone. With the development of deep learning technology, a variety of deep models have been used to model the short-term intent of the current session, such as recurrent neural networks, convolutional neural networks, self-attention mechanisms, and graph neural networks. However, the number of interactions in a session is usually limited, and learning independently from short interaction sequences may not be sufficient to reveal the user's true intent. Therefore, some recent research works have begun to explore collaborative information from other sessions.

[0004] One research line is to learn related sessions based on a given session, where the relevance is usually defined heuristically. For example, Wang et al. consider the most recent m sessions as related sessions, while Luo et al. calculate the Jaccard similarity between sessions to introduce related sessions. Although these methods can supplement useful collaborative information, they also introduce some irrelevant information, which affects the recommendation performance. Another recent research method builds a global graph based on all sessions and learns global information through this graph. When two items are adjacent in some sessions, their corresponding nodes in the graph are connected. Compared with the former research line, the latter method is more systematic. However, it still has some shortcomings: (1) The global graph constructed only based on the co-occurrence relationship of items cannot capture other useful global item relationships; (2) Without fine control, learning global item embedding from such a global graph may also introduce irrelevant or even noisy information. Summary of the invention

[0005] The purpose of the present invention is to address the problem of conversation recommendation, overcome the shortcomings of the prior art, learn project representations of multi-faceted global relationships in a data-driven and conversation-independent manner, and propose a conversation recommendation method, system, device and medium based on learning project representations of multi-faceted global relationships.

[0006] The present invention is implemented by the following technical solution. The present invention proposes a conversation recommendation method based on multi-faceted global relationship item representation learning, and the method comprises the following steps:

[0007] Step 1: Obtain anonymous session data and preprocess the data set to divide it into a training set and a test set;

[0008] Step 2: Build a conversational recommendation model based on multi-faceted global relation item representation learning;

[0009] The step 2 comprises the following steps:

[0010] Step 2.1: Obtain the initial embedding representation of the item;

[0011] Step 2.2: Build a global basis graph based on all sessions in the training set;

[0012] Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2;

[0013] Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer and the incompatible graph aggregation layer respectively to obtain the global sequence embedding representation, co-occurrence embedding representation and incompatible embedding representation of the project;

[0014] Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module; first, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items, and finally the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session;

[0015] Step 3: Use the training set to train the conversation recommendation model based on multi-faceted global relationship item representation learning described in step 2;

[0016] Step 4: Input the current session into the conversation recommendation model based on multi-faceted global relationship item representation learning trained in step 3, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

[0017] Furthermore, the step 1 comprises the following steps:

[0018] Step 1.1: Extract the anonymous user's interaction sequence records and project ID information from the anonymous session dataset;

[0019] Step 1.2: Filter out the short sessions and unpopular projects in the dataset;

[0020] Step 1.3: Apply data augmentation techniques to divide each session in the data into multiple subsessions;

[0021] Step 1.4: Divide the data into training and test sets by time.

[0022] Furthermore, the step 3 comprises the following steps:

[0023] Step 3.1: Input the data in the training set into the conversation recommendation model based on multi-aspect global relationship item representation learning described in step 2 to obtain the positive representation and negative representation of the current conversation;

[0024] Step 3.2: Input the positive representation and negative representation of the current session described in step 3.1 and the initial embedding representation of the item described in step 2.1 into the prediction module to obtain the recommendation score of the current session relative to the item;

[0025] Step 3.3: Minimize the cross entropy loss function to train the model.

[0026] The present invention proposes a conversation recommendation system based on multi-faceted global relationship item representation learning, the system comprising:

[0027] Dataset partitioning module: used to obtain anonymous session data and pre-process the data set to divide it into training set and test set;

[0028] Model building module: used to build a conversational recommendation model based on multi-faceted global relationship item representation learning;

[0029] The model construction is specifically as follows:

[0030] Step 2.1: Obtain the initial embedding representation of the item;

[0031] Step 2.2: Build a global basis graph based on all sessions in the training set;

[0032] Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2;

[0033] Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer and the incompatible graph aggregation layer respectively to obtain the global sequence embedding representation, co-occurrence embedding representation and incompatible embedding representation of the project;

[0034] Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module; first, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items, and finally the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session;

[0035] Model training module: used for training the conversation recommendation model based on multi-aspect global relationship item representation learning using a training set;

[0036] Recommendation module: used to input the current session into the trained session recommendation model based on multi-faceted global relationship item representation learning, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

[0037] The present invention also proposes an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the conversation recommendation method based on multi-faceted global relationship item representation learning are implemented.

[0038] The present invention also proposes a computer-readable storage medium for storing computer instructions, which, when executed by a processor, implement the steps of the conversation recommendation method based on multi-faceted global relationship item representation learning.

[0039] Compared with the prior art, the present invention proposes to learn multi-faceted global relationship project representations to improve conversational recommendation performance. The present invention uses a data-driven and session-independent project relationship learning method without any additional knowledge (such as knowledge graphs), making the method more efficient and applicable to all data sets. The present invention identifies three global project relationships that are conducive to improving conversational recommendation performance, and proposes different graph construction methods to effectively extract these relationships, especially the global project negative relationships (such as incompatible relationships) proposed for the first time in the present invention. The present invention proposes a new method based on multi-faceted global relationship project representation learning, which uses different aggregation layers to encode relationships and generates enhanced conversational representations by fusing positive and negative relationships. This method can flexibly adapt to new project relationships and can be integrated with existing single-session recommendation technologies, thereby enhancing the current conversation representation through the global relationships of projects to improve conversational recommendation performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 Flowchart of a conversational recommendation method based on multi-aspect global relationship item representation learning;

[0041] Figure 2 Generate schematic diagrams for global base maps;

[0042] Figure 3 Generate schematic diagrams for three types of global relationship graphs;

[0043] Figure 4 Diagram of the conversational recommendation model framework based on multi-aspect global relationship item representation learning. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings 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.

[0045] like Figures 1 to 4 As shown, the present invention provides a conversation recommendation method based on multi-faceted global relationship item representation learning, which specifically includes the following steps:

[0046] Step 1: Obtain anonymous session data and preprocess the data set to divide it into a training set and a test set;

[0047] The step 1 specifically comprises the following steps:

[0048] Step 1.1: Extract the anonymous user's interaction sequence records and project ID information from the anonymous session dataset;

[0049] Step 1.2: Filter out sessions that are too short and projects that are too unpopular in the dataset, such as session length less than 2 and project interaction times less than 5;

[0050] Step 1.3: Apply data augmentation technology. For each session in the data, divide it into multiple subsessions, where the number of subsessions is the length of the session minus 1. The last item of each subsession is its label. For example, if a session is [v1, v2, v3, v4], the subsessions are ([v1], [v2]), ([v1, v2], [v3]), ([v1, v2, v3], [v4]).

[0051] Step 1.4: Divide the data into training and test sets by time, such as the last week or the most recent 20% of sessions for testing, and the rest of the historical data for training;

[0052] Step 2: Build a conversational recommendation model based on multi-faceted global relation item representation learning;

[0053] The step 2 specifically comprises the following steps:

[0054] Step 2.1: Obtain the initial embedding representation of the item;

[0055] In step 2.1, first use one-hot encoding to obtain each item v i ID code x i , and then through the trainable parameter matrix W h Transform this encoding into a dense item-initial embedding representation:

[0056] h i =x i W h ,

[0057] where h i ∈R d , where d is the dimension of the embedding vector;

[0058] Step 2.2: Build a global basis graph based on all sessions in the training set;

[0059] In step 2.2, the global basic graph is a weighted directed graph, which is described as in and For all projects. If some sessions have v j In v i After being interacted (even if v j With v i are not adjacent), then there is an edge ε ij By v i Point to v j , the edge weight is v in all sessions jIn v i The number of interactions after that is recorded as w ij . Figure 2 The global basis graph constructed when training set sessions S1 to S8 is shown;

[0060] Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2;

[0061] In step 2.3, the sequence relationship graph is a weighted directed graph, denoted as exist There is a line by v i Point to v j side If and only if w ij -w ji >0, The weight is w ij -w ji . Figure 3 Shows the basis Figure 2 A sequential relationship diagram constructed from the global basic graph in ;

[0062] In step 2.3, the co-occurrence relationship graph is a weighted undirected graph, denoted as exist With edge If and only if ε ij ∈ε and ε ij ∈ε, The weight is w ij +w ji . Figure 3 Shows the basis Figure 2 The co-occurrence relationship graph constructed from the global base graph in ;

[0063] In step 2.3, the incompatible relationship graph is a weighted undirected graph, denoted as remember v i exist The set of incoming edge nodes in , v i exist The set of outgoing nodes in . There is an edge If and only if and and and The weight of Figure 3 Shows the basis Figure 2 The incompatible relationship graph constructed from the global basic graph in ;

[0064] In step 2.3, for each type of relationship graph, the adjacency matrix of the sparse graph is sparsely constructed using the top-N threshold method, where N is a hyperparameter, and the sparse adjacency matrix is ​​normalized by rows and columns;

[0065] Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs described in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer, and the incompatible graph aggregation layer, respectively, to obtain the global sequence embedding representation, co-occurrence embedding representation, and incompatible embedding representation of the project;

[0066] In step 2.4, the sequence diagram aggregation layer is recorded. v i exist The set of incoming edge nodes in , v i exist The set of outgoing nodes in v i polymerization and Neighbor information:

[0067]

[0068]

[0069] in and It is the edge and In the sparse The normalized weights.

[0070] Then use the attention mechanism and bilinear function to calculate v i Attention weights for the set of neighbors:

[0071]

[0072]

[0073] Where σ(·) is the ReLU function, is a trainable parameter matrix. Then the weighted neighbor embedding is calculated as,

[0074]

[0075] in,

[0076]

[0077] Then use the convolution operation to obtain dimension perception information without introducing too many parameters, and fuse and the base embedding:

[0078]

[0079] Among them, Conv seq (·) is the convolution operation with a kernel of 2×1 and a sliding step of 1, and ‖ is the connection operation;

[0080] In step 2.4, the sequence graph aggregation layer is recorded as v i exist The neighbor set of In The aggregation process can be expressed as:

[0081]

[0082] in It is the edge In the sparse The normalized weights are then fused using convolution operations. and the base embedding h i ,

[0083]

[0084] Among them, Conv co (·) is the convolution operation with a kernel of 2×1 and a sliding step of 1.

[0085] The incompatible graph aggregation layer in step 2.4 is denoted by v i exist The neighbor set of In The aggregation process can be expressed as:

[0086]

[0087] in It is the edge In the sparse Since there are many isolated nodes in the incompatible graph, average pooling can be used to generate the final incompatible item embedding:

[0088]

[0089] Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module. First, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items. Finally, the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session;

[0090] In the session representation learning module in step 2.5, the global sequential embedding representation and co-occurrence embedding representation of the project are fused with the initial embedding representation of the project to obtain the positive embedding representation of the project:

[0091]

[0092]

[0093]

[0094] Where σ(·) is the sigmoid function, W + ,W∈R d×d is the trainable parameter matrix.

[0095] The session representation learning module in step 2.5 fuses the global incompatible embedding representation of the item with the initial embedding representation of the item to obtain the negative embedding representation of the item:

[0096]

[0097]

[0098]

[0099] Where σ(·) is the sigmoid function, W - ∈R d×d is the trainable parameter matrix.

[0100] The positive session representation learning module in step 2.5 obtains the positive representation of the current session by first constructing the target item ID as the maximum item ID in the data set plus 1, and then obtaining the embedding of the target item Next, let the length of the current session S be |S|, and the item v at position i in S be i The corresponding position number is |S|-i, which is then encoded into a one-hot encoding and generates a reverse position embedding c i ∈R d, specifically, the reverse position embedding of the target item is c0; then the item embedding and the reverse position embedding are integrated to enhance the item representation,

[0101]

[0102]

[0103] Where W c ∈R 2d×d It is a trainable parameter matrix shared by all items; the soft attention mechanism is then used to calculate the relevance weights of the target item and other items, and the weighted sum of each item is weighted according to this weight to obtain the final conversational positive representation:

[0104]

[0105]

[0106] where σ(·) is the sigmoid function,

[0107] The negative session representation learning module in step 2.5 obtains the negative representation of the current session in the following process:

[0108]

[0109]

[0110] where σ(·) is the sigmoid function, is the last item in the current session S,

[0111] Step 3: Training the conversation recommendation model based on multi-aspect global relationship item representation learning described in step 2, specifically including the following steps:

[0112] Step 3.1: Input the data in the training set into the conversation recommendation model based on multi-aspect global relationship item representation learning described in step 2 to obtain the positive representation and negative representation of the current conversation;

[0113] Step 3.2: Input the positive representation and negative representation of the current session described in step 3.1 and the initial embedding representation of the item described in step 2.1 into the prediction module to obtain the recommendation score of the current session relative to the item;

[0114] The process of calculating the recommendation score in step 3.2 is as follows: for each candidate item Calculate its score with the current session:

[0115]

[0116]

[0117] Where σ(·) is the LeakyReLU function with parameter γ;

[0118] Step 3.3: Minimize the cross entropy loss function to train the model;

[0119] The cross entropy loss function in step 3.3 is:

[0120]

[0121] Where y is the one-hot encoding vector of the true value, λ is the L2 regularization coefficient, and Θ is the model parameter set;

[0122] Step 4: Input the current session into the conversation recommendation model based on multi-faceted global relationship item representation learning trained in step 3, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

[0123] In step 4, the project recommendation scores are sorted, and the top K projects with the highest scores are recommended to the user.

[0124] The present invention proposes a conversation recommendation system based on multi-faceted global relationship item representation learning, the system comprising:

[0125] Dataset partitioning module: used to obtain anonymous session data and pre-process the data set to divide it into training set and test set;

[0126] Model building module: used to build a conversational recommendation model based on multi-faceted global relationship item representation learning;

[0127] The model construction is specifically as follows:

[0128] Step 2.1: Obtain the initial embedding representation of the item;

[0129] Step 2.2: Build a global basis graph based on all sessions in the training set;

[0130] Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2;

[0131] Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer and the incompatible graph aggregation layer respectively to obtain the global sequence embedding representation, co-occurrence embedding representation and incompatible embedding representation of the project;

[0132] Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module; first, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items, and finally the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session;

[0133] Model training module: used for training the conversation recommendation model based on multi-aspect global relationship item representation learning using a training set;

[0134] Recommendation module: used to input the current session into the trained session recommendation model based on multi-faceted global relationship item representation learning, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

[0135] The present invention also proposes an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the conversation recommendation method based on multi-faceted global relationship item representation learning are implemented.

[0136] The present invention also proposes a computer-readable storage medium for storing computer instructions, which, when executed by a processor, implement the steps of the conversation recommendation method based on multi-faceted global relationship item representation learning.

[0137] The conversation recommendation method, system, device and medium based on multi-faceted global relationship item representation learning proposed in the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. Conversational recommendation method based on multi-aspect global relation item representation learning, It is characterized in that The method comprises the following steps: Step 1: Obtain anonymous session data and preprocess the data set to divide it into a training set and a test set; Step 2: Build a conversational recommendation model based on multi-faceted global relation item representation learning; The step 2 comprises the following steps: Step 2.1: Obtain the initial embedding representation of the item; Step 2.2: Build a global basis graph based on all sessions in the training set; Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2; Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer and the incompatible graph aggregation layer respectively to obtain the global sequence embedding representation, co-occurrence embedding representation and incompatible embedding representation of the project; Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module; first, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items, and finally the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session; Step 3: Use the training set to train the conversation recommendation model based on multi-faceted global relationship item representation learning described in step 2; Step 4: Input the current session into the conversation recommendation model based on multi-faceted global relationship item representation learning trained in step 3, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

2. The method according to claim 1, It is characterized in that The step 1 comprises the following steps: Step 1.1: Extract anonymous user interaction sequence records and project ID information from the anonymous session dataset; Step 1.2: Filter out the short sessions and unpopular projects in the dataset; Step 1.3: Apply data augmentation techniques to divide each session in the data into multiple subsessions; Step 1.4: Divide the data into training and test sets by time.

3. The method according to claim 1, It is characterized in that The step 3 comprises the following steps: Step 3.1: Input the data in the training set into the conversation recommendation model based on multi-aspect global relationship item representation learning described in step 2 to obtain the positive representation and negative representation of the current conversation; Step 3.2: Input the positive representation and negative representation of the current session described in step 3.1 and the initial embedding representation of the item described in step 2.1 into the prediction module to obtain the recommendation score of the current session relative to the item; Step 3.3: Minimize the cross entropy loss function to train the model.

4. Conversational Recommender System Based on Multi-aspect Global Relation Item Representation Learning, It is characterized in that The system comprises: Dataset partitioning module: used to obtain anonymous session data and pre-process the data set to divide it into training set and test set; Model building module: used to build a conversational recommendation model based on multi-faceted global relationship item representation learning; The model construction is specifically as follows: Step 2.1: Obtain the initial embedding representation of the item; Step 2.2: Build a global basis graph based on all sessions in the training set; Step 2.3: construct a sequential relationship graph, a co-occurrence relationship graph, and an incompatible relationship graph according to the global basic graph described in step 2.2; Step 2.4: Input the initial embedding representation of the project described in step 2.1 and the three relationship graphs in step 2.3 into the sequence graph aggregation layer, the co-occurrence graph aggregation layer and the incompatible graph aggregation layer respectively to obtain the global sequence embedding representation, co-occurrence embedding representation and incompatible embedding representation of the project; Step 2.5: According to the items included in the current session, the global relational embedding representations of the three items described in step 2.4 and the initial embedding representations of the items described in step 2.1 are input into the session representation learning module; first, the global sequential embedding representation and co-occurrence embedding representation of the items are fused with the initial embedding representation of the items to obtain the positive embedding representation of the items, and then the global incompatible embedding representation of the items and the initial embedding representation of the items are fused to obtain the negative embedding representation of the items, and finally the obtained positive embedding representation and negative embedding representation of the items are respectively input into the positive session representation learning module and the negative session representation learning module to obtain the positive representation and negative representation of the current session; Model training module: used for training the conversation recommendation model based on multi-aspect global relationship item representation learning using a training set; Recommendation module: used to input the current session into the trained session recommendation model based on multi-faceted global relationship item representation learning, calculate the recommendation score of the recommended item relative to the current session, and recommend the item to the current user based on the recommendation score.

5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium for storing computer instructions, It is characterized in that When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.