Multi-layer information interaction recommendation method based on gated graph neural network

Through a multi-layer information interaction recommendation method based on gated graph neural network, combined with the interaction, social relationship and correlation between users and items, the data sparsity and cold start problems in the existing technology are solved, and the accuracy and accuracy of the recommendation system are improved. Personalization enhances the generalization ability of recommendations.

CN118568340AActive Publication Date: 2024-08-30HEFEI UNIV OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410615592.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30
Estimated Expiration
2044-05-17

AI Technical Summary

Technical Problem

Existing recommendation methods based on graph neural networks suffer from data sparsity and cold start problems in social networks, and fail to effectively capture user preferences and item characteristics, affecting recommendation effects.

Method used

A multi-layer information interaction recommendation method based on gated graph neural network is adopted. By constructing user-item interaction graph, user social relationship graph and project-related relationship graph, it combines the embedding layer, interaction graph information dissemination layer, relationship graph information dissemination layer and gate The control layer integrates the characteristic information of users and items, and uses the BPR loss function and Adam algorithm to optimize the model.

Benefits of technology

It improves the accuracy and personalization of the recommendation system, overcomes the problems of data sparseness and cold start, can capture the characteristics of users and items more comprehensively, and enhances the generalization ability and practical application value of recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568340A
    Figure CN118568340A
Patent Text Reader

Abstract

The invention discloses a multi-layer information interaction recommendation method based on a gated graph neural network. The method comprises the following steps: 1, collecting three two-tuple data sets including users, groups and items from an online social platform; 2, constructing the following three network diagrams: a user social relation diagram, a project correlation diagram and a user-project interaction diagram; 3, constructing a multi-layer information interaction gating graph neural network, and optimizing model parameters; and 4, selecting the first H items with the highest prediction score and recommending the items to the user. According to the method, the weighted graph neural network can be constructed by using the user social relation and the project correlation in the group, so that the problem of data scarcity can be relieved, the recommendation precision and the individuation degree can be improved, and the method can be used for project recommendation in various social network sites, is high in generalization ability and wide in application range, and has higher application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of recommendation systems, and in particular relates to a multi-layer information interaction recommendation method based on a gated graph neural network. Background Art

[0002] With the increasing popularity of social networking sites and the booming development of information technology, people are facing serious information overload problems while enjoying these conveniences. Recommendation systems can effectively alleviate the problem of information overload, and many recommendation methods have been proposed to help users find items they may be interested in. Existing recommendation methods are mainly divided into traditional methods and deep learning methods. Deep learning methods have attracted much attention from researchers due to their powerful representation learning capabilities and their ability to overcome the limitations of many traditional methods. Among them, graph neural networks have made remarkable achievements in analyzing graph data, and user-item interactions can be naturally constructed as graph data. Therefore, the application of graph neural networks provides unprecedented challenges for solving recommendation problems.

[0003] However, existing recommendation methods based on graph neural networks still have shortcomings in solving recommendation problems in social networks:

[0004] (1) Most existing recommendation methods only consider the interaction information between users and items, which results in data sparsity and cold start problems. Currently, there are a large number of interest groups on social networking sites that can be used to mine the social influence relationships between users and the similarity relationships between items. Using this information can further improve the accuracy and personalization of the recommendation system.

[0005] (2) Some recommendation methods based on graph neural networks take into account friend relationships or similarity between items when making recommendations. However, these methods do not consider the influence between users or the degree of similarity between items when constructing graph neural networks. Ignoring the above differences will fail to effectively capture user preferences and item features, ultimately affecting the recommendation effect. Summary of the invention

[0006] In order to solve the above problems existing in the prior art, the present invention provides a multi-layer information interaction recommendation method based on a gated graph neural network, in order to extract different user preferences and project features from different aspects, and integrate them through a gating mechanism, so as to better improve the recommendation effect.

[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:

[0008] The present invention provides a multi-layer information interactive recommendation method based on a gated graph neural network, which comprises the following steps:

[0009] Step 1: Collect the user set U = {u1,u2,…,um ,…,u M}、Item set V={v1,v2,…,v n ,…,v N} and group collections Among them, u m represents the mth user, v n represents the nth item, represents the kth group, M represents the number of users, N represents the number of projects, and K represents the number of groups; in the group set G, each group is a set consisting of a certain number of users and projects;

[0010] Step 2: Build three network diagrams, including: user-project interaction diagram, user social relationship diagram, and project correlation diagram:

[0011] Step 2.1: Construct the user-item interaction graph G based on the direct interaction relationship between users and items. t (U∪V,E), where E represents the edge set of the user-item interaction relationship. If the mth user u m With the nth item v n If interaction occurs, then the mth user u m and the nth item v n There is an edge between them;

[0012] Step 2.2: Construct the user social relationship graph G based on the social relationships between users in the user set U. u (U,S,X), where represents the mth user u m and the cth user u c Whether they belong to the kth group The social relationship of X represents the weighted neighbor matrix, and the element X in the mth row and cth column of X is obtained by formula (1): mc :

[0013]

[0014] In formula (1), and Respectively represent the mth user u m The set of groups joined and the cth user u c The collection of groups you have joined.

[0015] Step 2.3: Construct a project correlation graph G based on the correlation between each project in the project set V. v (V,C,Y), where represents the sth item v s and the tth item v tWhether it is shared in the kth group , Y represents the weighted neighbor matrix, and the element Y in the sth row and tth column of Y is obtained by formula (2): st :

[0016]

[0017] In formula (2), and Respectively represent the shared s-th project v s The set of groups and the tth item v t A collection of groups,

[0018] Step 3: Build a multi-layer information interaction gated graph neural network, including: embedding layer, interaction graph information propagation layer, relationship graph information propagation layer, gating layer, and prediction layer:

[0019] Step 3.1: The embedding layer is used for the mth user u m and the nth item n n Perform preprocessing to obtain the mth user u m The initial user embedding vector and the nth item v n The initial item embedding vector

[0020] Step 3.2: The interactive graph information propagation layer is respectively and G t (U∪V,E) and and G t (U∪V,E) is processed and the mth user u is obtained accordingly m In G t The user interaction information aggregation embedding at layer l in (U∪V,E) and the nth item v n In G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E)

[0021] Step 3.3, the relationship graph information propagation layer is respectively and G u (U,S,X) and and G v (V, C, Y) is processed and the mth user u is obtained accordingly. m In G u The user relationship information aggregation embedding of the lth layer in (U, S, X) and the nth item v n In the project correlation diagram G vThe aggregate embedding of item relationship information at the lth layer in (V,C,Y)

[0022] Step 3.4, the gating layer and Perform fusion to obtain the mth user u m The l-th layer user embedding vector and the nth item v n The l-th layer item embedding vector

[0023] Step 3.5: Follow the process from step 3.2 to step 3.4 to get the mth user u m The L-th layer user embedding vector and the nth item v n The Lth layer of project embedding vector layer So as to predict the mth user u m For the nth item v n Preference score

[0024] Step 3.6, with the goal of minimizing the BPR loss function Loss, the parameters of the gated graph neural network for multi-layer information interaction are optimized and updated through the back propagation algorithm and the Adam algorithm until the number of iterations reaches the set upper limit, thereby obtaining the optimal multi-layer information interaction model after training;

[0025] Step 4: Input the new user set and item set to be recommended into the optimal multi-layer information interaction model for processing, and output the preference score of each user for each item, so as to select the top H items with the highest predicted score for each user and without interaction to form each recommendation list and recommend them to the corresponding users.

[0026] The multi-layer information interactive recommendation method based on gated graph neural network described in the present invention is also characterized in that step 3.2 includes the following steps:

[0027] Step 3.2.1, use formula (3) to calculate the mth user u m To its neighbor project node v b The attention coefficient of the lth layer

[0028]

[0029] In formula (3), is the mth user u m In G t Neighboring item nodes in (U∪V,E), N t (u m ) represents G tThe mth user u in (U∪V,E) m The set of neighbor project nodes, and Respectively represent the mth user u m and v b In G t The user embedding vector and item embedding vector at layer l-1 in (U∪V,E), Indicates that in G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m The importance of f represents a single-layer feedforward neural network. Represents G u The shared weight matrix of the lth layer in (U, S, X), [·||·] represents the concatenation operation;

[0030] Step 3.2.2, use formula (4) to get G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m Regularized attention coefficient

[0031]

[0032] In formula (4), Represents G t Another neighboring item node at layer l in (U∪V,E) For the mth user u m The attention coefficient;

[0033] Step 3.2.3, use formula (5) to obtain the mth user u m In the user-item interaction graph G t The user interaction information aggregation embedding at layer l in (U∪V,E)

[0034]

[0035] In formula (5), σ(·) represents the Sigmoid function, Represents the neighbor item node v b In G t The embedding vector of the item at level l-1 in (U∪V,E);

[0036] Step 3.2.4, follow the process from step 3.3.1 to step 3.3.3 to obtain the nth item v n In the user-item interaction graph G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E)

[0037] Step 3.3 includes the following steps:

[0038] Step 3.3.1, use formula (6) to calculate the mth user u m Its neighbor user node u c The normalized edge weight a mc :

[0039]

[0040] In formula (6), represents the mth user u m In the user social relationship graph G u The degree in (U,S,X), represents the mth user u m In the user social relationship graph G u The set of neighbor users in (U,S,X);

[0041] Step 3.3.2, use formula (7) to obtain the mth user u m In the user social relationship graph G u The user relationship information aggregation embedding of the lth layer in (U, S, X)

[0042]

[0043] In formula (7), Represents G u The shared weight matrix of the lth layer in (U, S, X), σ(·) represents the ReLU activation function, b l Represents G u The bias parameter to be learned in the lth layer in (U, S, X), L represents the optimal number of network layers, represents the mth user u m The l-1th layer user embedding vector;

[0044] Step 3.3.3, follow the process of steps 3.2.1-3.2.2 to obtain the nth item v n In the project correlation diagram G v The aggregate embedding of item relationship information at the lth layer in (V,C,Y)

[0045] In step 3.4, equations (8) and (9) are used to calculate and

[0046]

[0047]

[0048] In equations (8) and (9), ω1 and ω2 represent two vectors to be learned, σ(·) represents the Sigmoid function, represents the Hadamard product;

[0049] The BPR loss function Loss is constructed using formula (10) in step 3.6:

[0050]

[0051] In formula (10), represents the mth user u m The sample set consisting of items in the item set V, n + Represents the relationship with the mth user u m Items that have interacted, n - Represents a random sample from the item set V and the mth user u m Items that have not interacted with each other. represents the set of positive samples consisting of user-item interactions, represents a set of negative samples of user-item non-interaction randomly sampled from the user set U and the item set V; σ(·) represents the Sigmoid function, Θ represents all parameters to be trained in the model, and λ is the regularization coefficient.

[0052] An electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the multi-layer information interaction recommendation method, and the processor is configured to execute the program stored in the memory.

[0053] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the characteristic lies in that when the computer program is executed by a processor, the steps of the multi-layer information interaction recommendation method are performed.

[0054] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0055] 1. The present invention not only utilizes the interactive information between users and projects, but also considers the social relationships between users in the group and the correlation between projects to build a model for recommendation. It can overcome the problems of data sparsity and cold start, and also provides a reference for the use of group information in the research of project recommendation.

[0056] 2. The present invention designs a weighted graph neural network to extract the representation of users and projects in the user social relationship graph and the project correlation graph, which can capture the characteristics of users and projects more comprehensively, and is beneficial to improving the accuracy and personalization of the recommendation system.

[0057] 3. The present invention can be used to recommend movies, music, papers and other items in various social networking sites. It has strong generalization ability, a wide range of applications and better practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 It is a schematic diagram of the process of the present invention;

[0059] Figure 2 This is a structural diagram of the multi-layer information interaction recommendation model based on the gated graph neural network of the present invention. DETAILED DESCRIPTION

[0060] In this embodiment, Figure 1 As shown, a multi-layer information interaction recommendation method based on a gated graph neural network can use the user social relationships and project-related relationships in the group to construct a weighted graph neural network to alleviate the data scarcity problem and improve the recommendation accuracy and personalization. It can be used for project recommendation in various social networking sites, has strong generalization ability, a wide range of applications, and has higher application value. Specifically, the method includes the following steps:

[0061] Step 1: Collect the user set U = {u1,u2,…,u m ,…,u M}、Item set V={v1,v2,…,v n ,…,v N} and group collections Among them, u m represents the mth user, v n represents the nth item, represents the kth group, M represents the number of users, N represents the number of projects, and K represents the number of groups. In the group set G, each group is a set consisting of a certain number of users and projects.

[0062] The dataset of the present invention can obtain the interaction data between users, projects and groups from various existing online social networking sites (such as Douban, Goodreads, and ResearchGate). When preprocessing the bigram data, it is necessary to filter out users or projects with too few interactions, such as users who have too few interactions with projects or have joined too few groups.

[0063] Step 2: Build three network diagrams, including: user-project interaction diagram, user social relationship diagram, and project correlation diagram:

[0064] Step 2.1: Construct the user-item interaction graph G based on the direct interaction relationship between users and items t (U∪V,E), where E represents the edge set of the user-item interaction relationship. If the mth user u mWith the nth item v n If an interaction occurs, then the mth user u m and the nth item v n There is an edge between them.

[0065] Step 2.2: Construct the user social relationship graph G based on the social relationships between users in the user set U u (U,S,X), where represents the mth user u m and the cth user u c Whether they belong to the kth group The social relationship of X represents the weighted neighbor matrix, and the element X in the mth row and cth column of X is obtained by formula (1): mc :

[0066]

[0067] In formula (1), and Respectively represent the mth user u m The set of groups joined and the cth user u c The collection of groups you have joined. X mc Represents the social influence value between two users. The more common groups two users join, the more likely their interests and preferences will be influenced by each other. By calculating this social influence value, we can better capture the changes in user interests and preferences.

[0068] Step 2.3: Construct the project correlation graph G based on the correlation between each project in the project set V v (V,C,Y), where represents the sth item v s and the tth user v t Shared in the kth group , Y represents the weighted neighbor matrix, and the element Y in the sth row and tth column of Y is obtained by formula (2): st :

[0069]

[0070] In formula (2), and Respectively represent the shared s-th project v s The set of groups and the tth item v t A collection of groups, Y stRepresents the correlation value between two items. When two items are always shared in certain groups at the same time, the two items will have a greater degree of correlation. Calculating this correlation value helps recommend items that are more relevant to users.

[0071] Step 3: Build a multi-layer information interaction gated graph neural network, including: embedding layer, interaction graph information propagation layer, relationship graph information propagation layer, gating layer, and prediction layer:

[0072] Step 3.1: The embedding layer performs one-hot encoding on the user set U and the item set V, and passes the encoded user vector and item vector through the multi-layer perceptron to be trained to obtain the mth user u m The initial user embedding vector and the nth item v n The initial item embedding vector

[0073] Step 3.2, since the user-item interaction graph G t It shows the direct interaction between users and items, so the user's preferences can be inferred from the items with which the user has interacted, and the characteristics of the item can be inferred from the users who show interest in the item. and G t (U∪V,E) and and G t (U∪V,E) is processed and the mth user u is obtained accordingly m In G t The user interaction information aggregation embedding at layer l in (U∪V,E) and the nth item v n In G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E)

[0074] Step 3.2.1, in the user-item interaction graph G t When aggregating neighbor node information in , the contribution of each neighbor node is different. In order to capture this difference, we use formula (3) to calculate the neighbor item node v of the lth layer: b For the mth user node u m The attention coefficient

[0075]

[0076] In formula (3), is the mth user u m In G t Neighboring item nodes in (U∪V,E), Nt (u m ) represents G t The mth user u in (U∪V,E) m The set of neighbor project nodes, and Respectively represent the mth user u m and v b In G t The user embedding vector and item embedding vector at layer l-1 in (U∪V,E), Indicates that in G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m The importance of f represents a single-layer feedforward neural network. Represents G u The shared weight matrix of the lth layer in (U, S, X), [·||·] represents the concatenation operation;

[0077] Step 3.2.2, use formula (4) to get G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m Regularized attention coefficient

[0078]

[0079] In formula (4), Represents G t Another neighboring item node at layer l in (U∪V,E) For the mth user u m Regularized attention coefficient

[0080] Step 3.2.3, use formula (5) to obtain the mth user u m In the user-item interaction graph G t The user interaction information aggregation embedding at layer l in (U∪V,E)

[0081]

[0082] In formula (5), σ(·) represents the Sigmoid function, Represents the neighbor item node v b In G t The embedding vector of the item at level l-1 in (U∪V,E), Represents the mth user u m Interests and preferences in the project;

[0083] Step 3.2.4, follow the process from step 3.3.1 to step 3.3.3 to obtain the nth item v n In the user-item interaction graph G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E) Represents the nth item v n Features that will be of interest to users;

[0084] Step 3.3, user social relationship graph G u It shows the different strengths of social connections between users mediated by groups, and the user's interest preferences will be affected by the users with whom they have social connections. Therefore, it is necessary to take into account the user preferences affected by social influences. Similarly, the project correlation graph G v The different strengths of correlation between items are shown, and a user is more likely to click or browse items that are more relevant to his historical interaction items. Therefore, the correlation between items needs to be considered to better capture the features that users are interested in. and G u (U,S,X) and and G v (V, C, Y) is processed and the mth user u is obtained accordingly. m In G u The user relationship information aggregation embedding of the lth layer in (U, S, X) and the nth item v n In the project correlation diagram G v The aggregate embedding of item relationship information at the lth layer in (V,C,Y)

[0085] Step 3.3.1: Since the number of groups joined by different users varies greatly, we use formula (6) to calculate the mth user u m Its neighbor user node u c The normalized edge weight a mc :

[0086]

[0087] In formula (6), represents the mth user u m In the user social relationship graph G u The degree in (U,S,X) also represents the degree of the mth user u in the user set U. m The number of users with social connections, Represents the mth user node u m In the user social relationship graph G u The set of neighbor users in (U,S,X), amc Represents neighbor user u c For the mth user u m The social influence weight of

[0088] Step 3.3.2, use formula (7) to obtain the mth user u m In the user social relationship graph G u The user relationship information aggregation embedding of the lth layer in (U, S, X)

[0089]

[0090] In formula (7), Represents G u The shared weight matrix of the lth layer in (U, S, X), σ(·) represents the ReLU activation function, b l Represents G u The bias parameter to be learned in the lth layer in (U, S, X), L represents the optimal number of network layers, represents the mth user u m The l-1th layer user embedding vector, Represents the mth user u m User preference characteristics influenced by social factors.

[0091] Step 3.3.3, follow the process of steps 3.2.1-3.2.2 to obtain the nth item v n In the project correlation diagram G v The aggregate embedding of item relationship information at the lth layer in (V,C,Y) Represents the nth item v considering the correlation between items n Features that will be of interest to the user.

[0092] Step 3.4, the gating layer and Perform fusion to obtain the mth user u m The l-th layer user embedding vector and the nth item v n The l-th layer item embedding vector The calculation method is shown in equations (8) and (9):

[0093]

[0094]

[0095] In equations (8) and (9), ω1 and ω2 represent two vectors to be learned, σ(·) represents the Sigmoid function, represents the Hadamard product;

[0096] Step 3.5: Follow the process from step 3.2 to step 3.4 to get the mth user u m The L-th layer user embedding vector and the nth item v n The Lth layer of project embedding vector layer So as to predict the mth user u m For the nth item v n Preference score

[0097] Step 3.6, use formula (10) to construct the BPR loss function Loss:

[0098]

[0099] In formula (10), represents the mth user u m The sample set consisting of items in the item set V, n + Represents the relationship with the mth user u m Items that have interacted, n - Represents a random sample from the item set V and the mth user u m Items that have not interacted with each other. represents the set of positive samples consisting of user-item interactions, represents a set of negative samples of user-item non-interaction randomly sampled from the user set U and the item set V; σ(·) represents the Sigmoid function, Θ represents all parameters to be trained in the model, and λ is the regularization coefficient.

[0100] With the goal of minimizing the BPR loss function Loss, the parameters of the gated graph neural network for multi-layer information interaction are optimized and updated through the back propagation algorithm and the Adam algorithm until the number of iterations reaches the set upper limit, thereby obtaining the optimal multi-layer information interaction model after training.

[0101] Step 4: Input the new user set and item set to be recommended into the optimal multi-layer information interaction model for processing, and output the preference score of each user for each item, so as to select the top H items with the highest predicted score for each user and without interaction to form each recommendation list and recommend them to the corresponding user.

[0102] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0103] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

Claims

1. A multi-layer information interaction recommendation method based on gated graph neural network, It is characterized in that The following steps are involved: Step 1: Collect user set U = {u 1 ,u 2 ,…,u m ,…,u M }、Item set V={v 1 ,v 2 ,…,v n ,…,v N } and group collection Among them, u m represents the mth user, v n represents the nth item, represents the kth group, M represents the number of users, N represents the number of projects, and K represents the number of groups; in the group set G, each group is a set consisting of a certain number of users and projects; Step 2: Build three network diagrams, including: user-project interaction diagram, user social relationship diagram, and project correlation diagram: Step 2.1: Construct the user-item interaction graph G based on the direct interaction relationship between users and items. t (U∪V,e), where E represents the edge set of the user-item interaction relationship. If the mth user u m With the nth item v n If interaction occurs, then the mth user u m and the nth item v n There is an edge between them; Step 2.2: Construct the user social relationship graph G based on the social relationships between users in the user set U. u (U,S,X), where represents the mth user u m and the cth user u c Whether they belong to the kth group The social relationship of X represents the weighted neighbor matrix, and the element X in the mth row and cth column of X is obtained by formula (1): mc : In formula (1), and Respectively represent the mth user u m The set of groups joined and the cth user u c The collection of groups you have joined. Step 2.3: Construct a project correlation graph G based on the correlation between the projects in the project set V. v (V,C,Y), where represents the sth item v s and the tth item v t Whether it is shared in the kth group , Y represents the weighted neighbor matrix, and the element Y in the sth row and tth column of Y is obtained by formula (2): st : In formula (2), and Respectively represent the shared s-th project v s The set of groups and the tth item v t A collection of groups, Step 3: Build a multi-layer information interaction gated graph neural network, including: embedding layer, interaction graph information propagation layer, relationship graph information propagation layer, gating layer, and prediction layer: Step 3.1: The embedding layer is used for the mth user u m and the nth item v n Perform preprocessing to obtain the mth user u m The initial user embedding vector and the nth item v n The initial item embedding vector Step 3.2: The interactive graph information propagation layer is respectively and G t (U∪V,E) and and G t (U∪V,E) is processed and the mth user u is obtained accordingly m In G t The user interaction information aggregation embedding at layer l in (U∪V,E) and the nth item v n In G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E) Step 3.3, the relationship graph information propagation layer is respectively and G u (U,S,X) and and G v (V, C, Y) is processed and the mth user u is obtained accordingly. m In G u The user relationship information aggregation embedding of the lth layer in (U, S, X) and the nth item v n In the project correlation diagram G v The aggregate embedding of item relationship information at the lth layer in (V,C,Y) Step 3.4, the gating layer and Perform fusion to obtain the mth user u m The l-th layer user embedding vector and the nth item v n The l-th layer item embedding vector Step 3.5: Follow the process from step 3.2 to step 3.4 to get the mth user u m The L-th layer user embedding vector and the nth item v n The Lth layer of project embedding vector layer Thus predicting the mth user u m For the nth item v n Preference score Step 3.6, with the goal of minimizing the BPR loss function Loss, the parameters of the gated graph neural network for multi-layer information interaction are optimized and updated through the back propagation algorithm and the Adam algorithm until the number of iterations reaches the set upper limit, thereby obtaining the optimal multi-layer information interaction model after training; Step 4: Input the new user set and item set to be recommended into the optimal multi-layer information interaction model for processing, and output the preference score of each user for each item, so as to select the top H items with the highest predicted score for each user and without interaction to form each recommendation list and recommend them to the corresponding users.

2. According to claim 1, a multi-layer information interaction recommendation method based on a gated graph neural network, It is characterized in that Step 3.2 includes the following steps: Step 3.2.1, use formula (3) to calculate the mth user u m To its neighbor project node v b The attention coefficient of the lth layer In formula (3), is the mth user u m In G t Neighboring item nodes in (U∪V,E), N t (u m ) represents G t The mth user u in (U∪V,E) m The set of neighbor project nodes, and Respectively represent the mth user u m and v b In G t The user embedding vector and item embedding vector of the l-1th layer in (U∪V,E), Indicates that in G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m The importance of f represents a single-layer feedforward neural network. Represents G u The shared weight matrix of the lth layer in (U, S, X), [·||·] represents the concatenation operation; Step 3.2.2, use formula (4) to get G t The neighboring item node v in the lth layer in (U∪V,E) b For the mth user u m Regularized attention coefficient In formula (4), Represents G t Another neighboring item node at layer l in (U∪V,E) For the mth user u m The attention coefficient; Step 3.2.3, use formula (5) to obtain the mth user u m In the user-item interaction graph G t The user interaction information aggregation embedding at layer l in (U∪V,e) In formula (5), σ(·) represents the Sigmoid function, Represents the neighbor item node v b In G t The embedding vector of the item at level l-1 in (U∪V,E); Step 3.2.4, follow the process from step 3.3.1 to step 3.3.3 to obtain the nth item v n In the user-item interaction graph G t The aggregated embedding of item interaction information at the lth layer in (U∪V,E) 3. According to claim 2, a multi-layer information interaction recommendation method based on a gated graph neural network, It is characterized in that Step 3.3 includes the following steps: Step 3.3.1, use formula (6) to calculate the mth user u m Its neighbor user node u c The normalized edge weight a mc : In formula (6), represents the mth user u m In the user social relationship graph G u The degree in (U,S,X), represents the mth user u m In the user social relationship graph G u The set of neighbor users in (U,S,X); Step 3.3.2, use formula (7) to obtain the mth user u m In the user social relationship graph G u The user relationship information aggregation embedding of the lth layer in (U, S, X) In formula (7), Represents G u The shared weight matrix of the lth layer in (U, S, X), σ(·) represents the ReLU activation function, b l Represents G u The bias parameter to be learned in the lth layer in (U, S, X), L represents the optimal number of network layers, represents the mth user u m The l-1th layer user embedding vector; Step 3.3.3, follow the process of steps 3.2.1-3.2.2 to obtain the nth item v n In the project correlation diagram G v The aggregate embedding of item relationship information at the lth layer in (V,C,Y) 4. According to claim 3, a multi-layer information interaction recommendation method based on a gated graph neural network, It is characterized in that In step 3.4, equations (8) and (9) are used to calculate and In formula (8) and formula (9), ω 1 and ω 2 represents two vectors to be learned, σ(·) represents the Sigmoid function, represents the Hadamard product.

5. According to claim 4, a multi-layer information interaction recommendation method based on a gated graph neural network, It is characterized in that The BPR loss function Loss is constructed using formula (10) in step 3.6: In formula (10), represents the mth user u m The sample set consisting of items in the item set V, n + Represents the relationship with the mth user u m Items that have interacted, n - Represents a random sample from the item set V and the mth user u m Items that have not interacted with each other. represents the set of positive samples consisting of user-item interactions, represents a set of negative samples of user-item non-interaction randomly sampled from the user set U and the item set V; σ(·) represents the Sigmoid function, Θ represents all parameters to be trained in the model, and λ is the regularization coefficient.

6. An electronic device comprising a memory and a processor, It is characterized in that The memory is used to store a program that supports the processor to execute the multi-layer information interaction recommendation method according to any one of claims 1 to 5, and the processor is configured to execute the program stored in the memory.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the multi-layer information interaction recommendation method according to any one of claims 1 to 5 are executed.

Citation Information

Patent Citations

  • Sequence recommendation method for mining long and short term interests of user based on graph neural network

    CN114519145A

  • Social recommendation method and system based on social group influence

    CN115080869A

  • Neural time gate time sequence enhancement session recommendation method based on graph neural network

    CN117556133A

  • Session-based recommendation method and device

    US20220374962A1

  • Social recommendation method based on multi-feature heterogeneous graph neural networks

    US20220414792A1