Lightweight graph convolution collaborative filtering recommendation method fusing high-order social relationship

By integrating high-order social relationships with a lightweight graph convolutional collaborative filtering method, we build a user-friend social graph and a user-item-friend high-order connection graph, and combine it with a graph convolutional neural network and attention mechanism to solve the problems in recommendation algorithms. Cold start and data sparsity issues improve the accuracy of recommendations and the generalization ability of the model.

CN118747246APending Publication Date: 2024-10-08LIAONING TECHNICAL UNIVERSITY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410893430.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing recommendation algorithms face cold start and data sparsity problems, making it difficult to efficiently and accurately make personalized recommendations. In particular, there are challenges in high-quality historical interaction information mining and data enrichment between users and items.

Method used

It adopts a lightweight graph convolutional collaborative filtering recommendation method that integrates high-order social relationships. By constructing a user-friend social graph and a user-project-friend high-order connection graph, combined with a graph convolutional neural network and an attention mechanism, it captures the relationship between users and High-order interactive information between items simplifies the design of graph convolution layers, reduces model complexity, and improves recommendation accuracy and generalization capabilities.

Benefits of technology

It improves the accuracy of recommendations and the interpretability of the model, solves the problem of data sparsity and cold start, enhances the generalization ability of the model, enables more accurate personalized recommendations, and reduces the time complexity of training and inference. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747246A_ABST
    Figure CN118747246A_ABST
Patent Text Reader

Abstract

The invention discloses a lightweight graph convolution collaborative filtering recommendation method fusing a high-order social relationship, and the method comprises the steps: firstly mapping user, project and friend information to a low-dimensional dense vector space in a model embedding layer through a graph embedding technology, and relieving the negative influence of data sparsity on a model recommendation result; secondly, a topological structure of a user social relation graph is learned by stacking three layers of graph convolution layers on a graph convolution layer, high-order connection information among users, items and friends is learned, a series of indirect feedback is generated from implicit negative feedback, and the implicit negative feedback is indirectly captured by analyzing user behaviors and friend intimacy, so that the utilization rate of the implicit negative feedback is increased; in addition, a graph attention network is fused to measure contribution values of neighbors, weights are adaptively and dynamically distributed to the neighbors, noise neighbors can be filtered to enable the neighbors to have robustness, and the model is endowed with certain interpretability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of artificial intelligence, and in particular relates to a lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships. Background Art

[0002] In the era of the Internet society, mobile Internet has become a common way for people to obtain information due to its timeliness, convenience, privacy and effectiveness. According to statistics from the my country Internet Information Center, the current domestic Internet service penetration rate has reached more than 70%. With the widespread application of mobile Internet, human society has also entered the era of information explosion. While the massive amount of data meets the user's demand for information, it also brings problems such as information overload, making it difficult for users to express and accurately obtain the information they are interested in when facing a large amount of network information, resulting in problems such as low information utilization rate. Personalized recommendation has also emerged with the development of mobile Internet. Personalized recommendation can also be called social filtering. It infers the information that specific users are interested in through recommendation algorithms, thereby exploring the user's potential needs and helping users make decisions. The purpose of recommendation is to establish a relationship between people and things, and to associate people and things through technical means to obtain things that interest them. In addition, the diversity of recommendation results can not only recommend items with low similarity to users, but also stimulate users' potential interests, broaden users' horizons, and even enable users to discover more novel items.

[0003] The recommendation system can obtain the relationship between users or items by analyzing the user's historical behavior records, and recommend to users based on the similarity between the relationships. It has been widely used in various network services, such as video sharing platforms (YouTube, TikTok), lifestyle platforms (Yelp, Meituan), etc. Most of the current recommendation platforms infer user preferences by obtaining users' purchase and browsing records, and then recommend products that may be of interest to users through the recommendation system. In real life, people mostly pay more attention to items with high purchase rates or attention, and ignore those with low purchase rates or attention. The long tail theory proves that items in the long tail position provide an unlimited space market. The existence of the recommendation system can provide nearly equal exposure opportunities for all items, thereby increasing the chances of items in the long tail position being recommended, so as to tap the potential profits of items with low exposure.

[0004] However, most existing recommendation algorithms still have problems such as data sparsity caused by cold start and too little effective data. How to mine high-quality historical interaction information between users and projects, how to enrich training data, and how to efficiently and accurately complete personalized recommendations automatically to meet the ever-increasing user needs are major challenges faced by existing recommendation algorithms. The emergence of deep learning provides new possibilities for improving the accuracy of recommendation algorithms. It simulates human thinking, uses different neural network structures, and combines the powerful CPU / GPU of machine equipment to model and solve complex problems, thereby effectively extracting information features, and has achieved extraordinary achievements in the field of recommendation. In the field of recommendation systems, the complex and high-order potential feature information extracted from unstructured data by deep neural networks can be used to mine deeper nonlinear relationships between users and projects, greatly improving the performance of recommendations. Therefore, the recommendation research combined with deep learning has very important practical significance. With the continuous development of deep learning technology, combining deep neural networks to mine explicit and implicit coupling relationships between users and projects for personalized recommendations has become a new research hotspot. Summary of the invention

[0005] Based on the above deficiencies in the prior art, the technical problem to be solved by the present invention is to propose a lightweight graph convolution collaborative filtering recommendation method that integrates high-order social relationships, so as to better improve the recommendation accuracy, model interpretability and model generalization ability.

[0006] In order to realize the above invention, the lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships of the present invention comprises the following steps:

[0007] Step S1: Data collection, data processing, and data set division

[0008] Data collection: The dataset of this invention adopts the Yelp2018 dataset taken from the 2018 version of the Yelp Challenge, and regards the location information such as restaurants and bars as project data. This dataset includes 7958 user data, 23873 user friend data, 40841 project data and 1666869 user-project interaction data.

[0009] Data processing: The collected Euclidean spatial data is constructed into non-Euclidean spatial data, and the interaction data between users and friends and the interaction data between users and projects are constructed into L2L graphs. In order to ensure the quality of the data set, the present invention uses a 10-core setting and discards less than 10 interaction records between users and projects.

[0010] Dataset division: 80% of the historical interactions in the processed dataset are randomly selected as the training set for training the model; the rest are used as the test set to evaluate the recommendation effect of the model; for each dataset, the observable item information that interacts with the user is regarded as a positive sample, and then a negative sampling strategy is implemented to match the negative sample items that the user has not interacted with.

[0011] Step S2: constructing the model.

[0012] Firstly, the user information, user friend information and project information are integrated and modeled. In the embedding layer, the high-order embedding vectors of users / user friends and projects are propagated on the user-friend social graph and the user-project-friend high-order connection graph to model the high-order interaction between users and projects so that they are more effectively embedded. At the same time, the interaction information between users and projects is extended to the embedding layer. Secondly, based on the message passing mechanism of graph convolutional neural network, collaborative signals are captured from graph structure data to refine the embedding vector. The model of the present invention simplifies the standard graph convolution layer, integrates the attention mechanism to learn the importance of neighbor nodes in the propagation aggregation process, and constructs the high-order interaction information between users, projects and friends by learning the topological structure of the user-friend social graph in the graph convolution layer. Finally, the designed hierarchical aggregation function further combines the embedding vectors captured in each layer to form the final vector expression of the user. After the three-layer graph convolution propagation, multiple user / project embedding expressions are obtained, and the final user and project embedding expressions can be obtained.

[0013] Step S3: Model training and project recommendation

[0014] The training set and test set obtained in step S1 are used to train and evaluate the model constructed in step S2, respectively. The model obtains the preference score between users and items through probability calculation, and finally determines whether to recommend the item to the user based on the obtained preference score.

[0015] Furthermore, in step S1, the construction and calculation method is as follows:

[0016] First, download the Yelp2018 dataset, and then perform data preprocessing. The collected Euclidean spatial data is constructed into non-Euclidean spatial data, and the interaction data between users and items is constructed into an L2L graph between users and items. For each observable user-item interaction in the dataset, it is regarded as a positive sample, and then a negative sampling strategy is executed to pair negative samples for items with no user interaction.

[0017] Furthermore, in step S2, the calculation method is as follows:

[0018] S201: construct an embedding layer (input layer): the embedding layer mainly includes three kinds of feature information: user ID embedding vector, user friend ID embedding vector and project ID embedding vector;

[0019] S202: Construct a lightweight graph convolution layer that integrates the attention network: Based on the embedding vector input by the embedding layer, a series of indirect feedback is generated from the implicit negative feedback using the user-friend social graph and the user-item-friend high-order connection graph (i.e., the topological structure of the interaction graph). The attention mechanism is used to capture the different contributions of each layer of embedding propagation layer in reflecting user preferences as the path increases.

[0020] S203: Construct a prediction layer (output layer): predict the preference score between the user and the item.

[0021] Furthermore, in step S3, the calculation method is:

[0022] The embedding vectors learned by the embedding propagation layer are weighted and aggregated into the final embedding vector. The model performs a simple inner product process on the final embedding vector to obtain the preference score between the user and the item for prediction, and recommends items that may be of interest to the end user.

[0023] From the above, the lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships of the present invention has at least the following beneficial effects:

[0024] (1) When constructing the model embedding layer, the present invention integrates user information, user friend information and project information into modeling; constructs a user-project-friend high-order connection graph based on the interaction records and social information between users, user friends and their projects to capture the high-order connectivity between users' social relationships, and expands the interaction information between users and projects into the embedding layer, thereby obtaining more effective embedding and improving the recommendation effect.

[0025] (2) When constructing the graph convolution layer, the present invention sends the low-dimensional dense vector obtained from the embedding layer to a graph convolution network with multiple layers stacked. After normalized summation and Hadamard product, the information interaction flow is constructed in the embedding space, and the user and project embedding is strengthened by learning the user-friend social graph and the user-project-friend high-order connection graph. The fused attention network dynamically assigns weights to neighbor nodes according to their contribution values ​​to strengthen the weights of certain representative data. The design of feature transformation and nonlinear activation in the standard graph convolution model is abandoned, the model training is simplified, the time complexity and space complexity of the model are reduced, and the recommendation performance of the model is improved.

[0026] (3) When constructing the prediction layer, the present invention obtains the embedding vectors of multiple users and items through three layers of graph convolutional layer learning. As the path increases, each layer of graph convolutional layer has different contributions in reflecting user preferences. Therefore, the attention mechanism is introduced to realize that the shorter the path, the greater the impact on the final vector. The embedded vector processed by the attention mechanism is sent to the hierarchical aggregation function to obtain the final embedded vector expression, thereby improving the recommendation accuracy of the model.

[0027] (4) The present invention is a combination of embedding technology and social network graph data recommendation, which can effectively solve the problems of data sparsity and cold start. It uses the attention mechanism to adaptively allocate weights. It can act on any type of neural network input regardless of shape, improve the generalization ability of the model, and select specific inputs to extract more important key information. It can filter noisy neighbors to make it robust, so that the model can make more accurate judgments without incurring additional overhead.

[0028] (5) The present invention uses a graph convolutional neural network to learn the high-order interactive relationships between each dimension in social relationships. Its powerful modeling ability can mine the local / global feature information of the user-friend social graph and the user-project-friend high-order connection graph, and it has fewer parameters, so it is easier to train and generalize.

[0029] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following is a detailed description in combination with the preferred embodiments and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings of the embodiment are briefly introduced below.

[0031] Figure 1 is a user social graph, where (a) is a user-friend social graph and (b) is a user-item-friend high-order connection graph;

[0032] Figure 2 It is a third-order graph convolution propagation layer;

[0033] Figure 3 This is a model architecture diagram of the lightweight graph convolution collaborative filtering recommendation algorithm integrating high-order social relationships of the present invention;

[0034] Figure 4 Recommended renderings for Top-k. DETAILED DESCRIPTION

[0035] The following is a detailed description of the specific embodiments of the present invention in conjunction with the accompanying drawings, which is a part of this specification and illustrates the principles of the present invention through examples. Other aspects, features and advantages of the present invention will become clear from the detailed description. In the referenced drawings, the same or similar components in different figures are represented by the same reference numerals.

[0036] The lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships of the present invention comprises the following steps:

[0037] Step S1: Data collection, data processing, and data set division

[0038] Data collection: The dataset of this invention adopts the Yelp2018 dataset taken from the 2018 version of the Yelp Challenge, and regards the location information such as restaurants and bars as project data. This dataset includes 7958 user data, 23873 user friend data, 40841 project data and 1666869 user-project interaction data.

[0039] Data processing: The collected Euclidean spatial data is constructed into non-Euclidean spatial data, and the interaction data between users and friends and the interaction data between users and projects are constructed into L2L graphs. In order to ensure the quality of the data set, the present invention uses a 10-core setting and discards less than 10 interaction records between users and projects.

[0040] Dataset division: 80% of the historical interactions in the processed dataset are randomly selected as the training set for training the model; the rest are used as the test set to evaluate the recommendation effect of the model; for each dataset, the observable item information that interacts with the user is regarded as a positive sample, and then a negative sampling strategy is implemented to match the negative sample items that the user has not interacted with.

[0041] Step S2: Model construction

[0042] First, the user information, user friend information and project information are integrated and modeled; secondly, based on the message passing mechanism of graph convolutional neural network, the collaborative signal is captured from the graph structure data to refine the embedding vector; finally, the designed hierarchical aggregation function further combines the embedding vector captured at each layer to obtain the final embedding expression of users and projects. The calculation method is as follows:

[0043] S201: construct an embedding layer (input layer): the embedding layer mainly includes three kinds of feature information: user ID embedding vector, user friend ID embedding vector and project ID embedding vector;

[0044] S202: Construct a lightweight graph convolution layer that integrates the attention network: Based on the embedding vector input by the embedding layer, a series of indirect feedback is generated from the implicit negative feedback using the user-friend social graph and the user-item-friend high-order connection graph (i.e., the topological structure of the interaction graph). The attention mechanism is used to capture the different contributions of each layer of embedding propagation layer in reflecting user preferences as the path increases.

[0045] S203: Construct a prediction layer (output layer): predict the preference score between the user and the item.

[0046] Step S3: Model training and project recommendation

[0047] The training set and test set obtained in step S1 are used to train and evaluate the model constructed in step S2, respectively. The model obtains the preference score between users and items through probability calculation. Finally, the preference score is used to determine whether to recommend the item to the user. The calculation method is:

[0048] The embedding vectors learned by the embedding propagation layer are weighted and aggregated into the final embedding vector. The model performs a simple inner product process on the final embedding vector to obtain the preference score between the user and the item for prediction, and recommends items that may be of interest to the end user.

[0049] The specific algorithm of the model architecture diagram (called for F-LightGCCF) is as follows:

[0050] The user behavior of the present invention includes five features: user information, point of interest information, spatial information, time information and location information (in the entire user trajectory). These five types of feature information are embedded to obtain the potential representation of each user.

[0051] 1. Building the Embedding Layer of the Model

[0052] The model embeds the user's social graph (such as Figure 1 According to the graph embedding model, the embedding vector of a user u (friend f or item i) is represented as e u ∈R d (e f ∈R d or e i ∈R d ), where d represents the dimension of the embedding vector. Then the parameter matrix composed of the initial embedding vectors composed of the embedding vectors of users, user friends, and projects is used as the initial embedding vector lookup table, as shown in the following formula:

[0053] E m =[e u1 ,e u2 ,...,euM ,e f1 ,e f2 ,...,e fL ,e i1 ,e i2 ,...e iN ] (1)

[0054] Among them, M represents the number of users, N is the number of projects, L is the number of user friends, and the interaction between users and projects constitutes the interaction matrix, denoted by R m×n ,The embedding lookup table is used as the initial state of the embedding vectors of users, users’ friends, and items, which are delivered and optimized in an end-to-end manner through graph embedding technology.

[0055] 2. Constructing the graph convolutional layer of the model

[0056] Based on the message passing mechanism of graph convolutional neural network, collaborative signals are captured from graph structure data and embedded vectors are refined. The present invention designs a graph convolution layer consisting of message construction and message aggregation. In the graph convolution layer, the high-order interaction information between users, projects and friends is constructed by learning the topological structure of the user-friend social graph.

[0057] 1. Message construction

[0058] The model constructs an embedding propagation layer by stacking multiple layers of graph convolution layers to better construct high-order propagation. In the real world, the items that users interact with directly reflect their preferences. In the constructed third-order graph convolution layer, when modeling the first-order graph convolution layer, L = 1 connects the user-item pair (u, i). The message transmission from item i to user u is defined as:

[0059]

[0060] Among them, u←i represents the transmission of interactive information from the project to the user, m is the embedding vector representing the transmitted message; f() is a message encoding function, and the input is the embedding vector e of user u and project i in the user-project node pair u and e i , and the correlation coefficient p ui The correlation coefficient p is used to control the attenuation factor of each propagation on the (u, i) edge.

[0061] According to the principle of classic graph convolution recommendation technology, the correlation coefficient p can be defined as the Laplace norm:

[0062]

[0063] Among them, N u and N i denote the set of items interacted with user u and the set of users interacted with item i, respectively.

[0064] In order to better model the interaction information between users and items, the graph convolution layer of the present invention uses the Hadamard product (e i ⊙e u ) encodes the interaction between users and items into the message passing mechanism, which not only considers the influence of ei, but also models the u and e i The interactive information between them makes the model rely on e when passing messages. u and e i The intimacy value between them means that similar users / items can pass more messages. In addition, the fusion attention mechanism adaptively assigns weights to neighbor nodes to capture the importance of neighbor nodes. Therefore, the message encoding function f() can be defined as:

[0065]

[0066] Among them, α ui is the attention weight, and ⊙ represents element-wise multiplication.

[0067] Traditional aggregation functions cannot distinguish the importance of neighbors. When updating nodes, all neighbors are assigned a "static" weight. Therefore, the present invention uses a graph attention network to measure the contribution value of neighbors. It also makes the model update the weight of neighboring nodes only rely on the feature expression between nodes, independent of the specific graph structure, and improves the generalization ability of the model.

[0068] According to the principle of graph attention network, the influence of neighbor node i on target node u can be expressed by the attention-related score:

[0069] eui=LeakyRelu(eu||ei) (5)

[0070] In which, || represents the concatenation of vectors. In order to obtain the corresponding attention weight, the model uses the softmax function to calculate all neighbor information of the target user u, normalizes the contribution value of each neighbor node, and obtains the weight of each neighbor node i. The calculation method is as follows:

[0071]

[0072] Among them, β1 is a smoothing coefficient with a value range of [0,1]. Its main function is to prevent the activation function from excessively punishing active users.

[0073] Similarly, when modeling the second graph convolutional layer, L = 2, there is a connected item-user friend pair (i, f), and the message transmission from user friend f to user direct interaction item i can be defined as m (2) i←f =f(e f ,ei ,p if ), captures the intimacy between users and friends, and uses the attention mechanism to adaptively assign weights to the intimacy between users and friends to model the impact of user intimacy on user decision-making. When L = 3, there is a connected user friend-item pair (f, i), and the message transmission from user uninteracted item i to user friend f can be defined as m (3) f←i =f(ei,ef,pfi), a series of indirect feedback is generated from implicit negative feedback to explore the user's hidden preferences. At the same time, the attention mechanism is introduced to learn more representative items that the user has not interacted with, so as to improve the accuracy of recommendations and the diversity of recommendation results. Figure 2 The process of capturing the third-order graph convolution propagation of the target user u1 is shown. The interactive information of the third-order path i5→f2 / f3→i2→u1 propagated through the model is captured by the model. Analysis Figure 1 (b) It can be seen that f2 and f3 have a higher intimacy with the target user u1 and are assigned a higher weight. From the observation of path L = 3, it can be seen that i5 is a common interaction project between f2 and f3, which better represents the common interest between f2 and f3. As the saying goes, "Birds of a feather flock together", it can also be inferred that i5 can arouse u1's interest more, so that the information on i5 is encoded into e (3) u1 Thus, by stacking three layers of graph convolutional layers, the implicit negative feedback information (i.e., indirect feedback) is captured by leveraging social relationships, so that the high-order interaction information between users, items, and friends is captured in the process of embedding propagation.

[0074] 2. Message aggregation

[0075] After three layers of graph convolution propagation, three different embedding vector expressions of user u are obtained, which have different effects on user preferences. The embedding expression of user u is updated by aggregating all neighbor node features of target user u. u , the aggregate function can be defined as:

[0076]

[0077] Among them, || represents the concatenation operation.

[0078] 3. Constructing the prediction layer of the model

[0079] Similarly, the three different project embedding expressions are obtained after three layers of graph convolution propagation. Figure 3Analysis shows that the embedding vectors obtained at different embedding layers have different effects on user preferences. Therefore, the present invention designs a hierarchical aggregation function to further combine the embedding vectors captured at each layer to form the user's final vector expression. After three layers of graph convolution propagation, multiple user / item embedding expressions are obtained. The final user and item embedding expressions are shown as follows:

[0080]

[0081] Among them, γ l ≥0 indicates the importance of the embedding of the lth layer, and this parameter is automatically optimized using the attention mechanism.

[0082] The present invention uses the attention mechanism to measure the importance of the embedding vector generated by the lth layer to the final embedding vector, and its calculation formula is as follows:

[0083] F(p i ,q j )=h T ReLU(w(p i ⊙q j )+b) (10)

[0084] Among them, p i Through graph embedding technology, one-hot sparse vectors are converted into low-dimensional dense vector representation p i ∈R d×1 , d is the embedding vector dimension. j Embedding expression q for each item that the user has interacted with j ∈R d×1 , where j∈R u + , R u + is the collection of items that the user has interacted with. l×d , b d×1 They represent the weight matrix from the input layer to the hidden layer and the bias term to prevent overfitting. T Represents the weight vector from the hidden layer to the input layer. Finally, the output result is normalized using the softmax function:

[0085]

[0086] Among them, β2 is a smoothing coefficient to prevent over-smoothing, and its value range is [0,1].

[0087] Finally, in the model prediction part, the inner product interaction function is used to calculate the association score between users and items:

[0088]

[0089] 4. Model Optimization

[0090] The present invention uses the Bayesian (BPR) loss function

[94] to optimize the model. The main reason is that the Bayesian loss function considers the pairwise preference comparison between observed interactions and unobserved interactions. Specifically, it assumes that observed interactions have a greater impact on user preferences. The present invention also uses the user's social relationships to generate a series of intermediate feedback. Compared with the basic assumption of BPR, this paper assumes that more indirect preferences can be mined from the user's social network in unobserved interactions. The optimization objectives are as follows:

[0091]

[0092] Among them, O={(u,i,j,k)|(u,i)∈R + ,(u,j)∈R - ,(u,k)∈R - +} represents a data set, and each piece of data is a four-tuple. + represents the observed user-item interaction action, R - represents the unobserved user-item interaction action, R - + represents the intermediate feedback mined, and σ() is the sigmoid function. λ||Θ|| 2 is the L2 regularization term, λ is the regularization coefficient, which controls the L2 regularization strength to prevent overfitting, and Θ={E,β} represents all trainable model parameters.

[0093] Dropout strategy: Dropout strategy can effectively prevent overfitting of the model during model training. This paper adopts the node drop method. This method allows the model to randomly freeze some specific nodes during each training so that their messages do not propagate outward. For three-layer high-order propagation, (M+N)p nodes in the Laplace matrix are randomly dropped, where p is the Dropout rate.

[0094] In order to learn the model parameters, the model is first trained according to the training data. The present invention divides the training set S from the data set, and after the model training, predicts the preference scores between users and items. The optimization process of the model is shown in the following algorithm.

[0095]

[0096]

[0097] 5. Experimental Results

[0098] The dataset used in the present invention is the Yelp2018 dataset. For the dataset, the present invention randomly selects 80% of the interaction history of each user to form a training set, and the remaining 20% ​​is used as a test set. Table 1 shows the statistical information of the dataset.

[0099] Table 1 Experimental data information

[0100]

[0101] 1. Comparison of algorithms

[0102] The lightweight graph convolution collaborative filtering recommendation method that integrates high-order social relationships proposed in this paper is compared with the following four advanced recommendation models. These four models are now introduced:

[0103] (1) GRMF: This model uses the graph Laplace regularization operator to smooth the matrix decomposition and introduces additional known information beyond the variables into the recommendation model to bring more ideal prediction results. At the same time, a graph regularized alternating least squares method is designed to optimize the algorithm. The weighted nuclear norm structured matrix decomposition framework is used to significantly improve the recommendation effect of the model.

[0104] (2) Mult-VAE: This model is a neural network generative model with multi-conditional likelihood. It applies a variable autoencoder to the collaborative filtering algorithm of implicit feedback to ensure the integrity of information. It uses a nonlinear probability model to mine implicit feedback between users and items. The use of this type of nonlinear probability function can make the Mult-VAE model have better modeling capabilities than linear models.

[0105] (3) NGCF: This model is an advanced recommendation model based on graph convolutional neural networks. It uses the high-order connection graph between users and items to encode the interaction information between users and items into the embedding process. By constructing k layers of embedding propagation layers to embed and propagate the interaction information, it effectively extends the interaction information to the embedding process in an explicit form, and finally obtains the association score between users and items.

[0106] (4) LightGCN: This model is based on the NGCF model, which simplifies the design of feature transformation and nonlinear activation in the NGCF model, reduces the difficulty of model training, makes it easier to implement and train, and only retains the most important component (neighborhood aggregation) in the graph convolutional neural network for collaborative filtering. At the same time, the model also discusses the different effects of smoothness in the graph convolutional network on the recommendation results.

[0107] 2. Evaluation Metrics

[0108] For each user in the test set, the present invention regards all items that the user has not interacted with as negative samples, and the items that the user has interacted with as positive samples. The model of the present invention and the comparison model selected in the present invention both output the user's preference scores for all items. In order to evaluate the effectiveness of top-k recommendations and preference ranking, this experiment uses top-k recall (Recall@K), precision (Precision@k) and normalized discounted cumulative return (NDCG@K) as evaluation indicators.

[0109] Experimental results analysis

[0110] (1) Overall comparison

[0111] The present invention experiments the model proposed by the present invention and the comparison model on the same data set, and the experimental results are shown in Table 2. From the overall comparison of the model recommendation effect, the performance of the three evaluation indicators of the model proposed by the present invention on the two data sets is significantly better than that of other comparison methods, which illustrates the rationality of the model design and proves the high efficiency and good generalization ability of the present invention.

[0112] Table 2 Overall comparison

[0113]

[0114] (2) Impact of different convolutional layers

[0115] The graph convolution layer plays a decisive role in the recommendation effect of the F-LightGCCF model. The present invention compares the GC-MC graph convolution layer and the Hop-Rec graph convolution layer. The recommendation effect of the model is shown in Table 3. The recommendation effect of the graph convolution layer designed by the present invention is significantly improved compared with the other two designs. The reason is that the design of the graph convolution layer designed by the present invention uses the Hadamard product, which makes the message transmission depend on e i With e u The intimacy value between them is used to explicitly encode the interaction information between users and items in the embedding function to generate a satisfactory CF signal. When aggregating neighbor nodes, each neighbor embedding adopts symmetric normalization, which can ensure the stability of the data during the training process of the model, which can not only make the model perform well, but also improve the performance of the model. In addition, the contribution value of neighbors is measured by the graph attention network, and weights are adaptively and dynamically assigned to them, which can filter out noisy neighbors to make them robust, and at the same time give the graph neural network model a certain degree of interpretability.

[0116] The GC-MC graph convolution layer solves the rating prediction problem in the recommendation system from the perspective of link prediction, proving that learning first-order neighbor information can improve representation learning, but the model fails to fully tap the nonlinear potential features between users and items. The Hop-Rec graph convolution layer introduces high-order connections between users and items in the embedding function, which can achieve better feature representation, but the model only uses high-order neighbors to enrich training data and does not fully model high-order preferences between users and items.

[0117] Table 3 Recommendation effects of different graph convolutional layer models

[0118]

[0119] (3) Top-k recommendations of the model

[0120] The experiment evaluated the top-k recommendation of the model in terms of Recall@k, Precision@k and NDCG@k to verify the effectiveness of the top-k model, where k was set to 20, 40, 60, 80, and 100 respectively. The results are shown in Figure 4 shown.

[0121] The top-k recommendation effect of the model proposed in this invention is significantly improved both globally and locally. The main reason is that the model uses graph embedding technology in the embedding layer to map user, project, and friend information into a low-dimensional dense vector space, which effectively alleviates the negative impact of data sparsity on the recommendation model.

[0122] By stacking three layers of graph convolution layers, the implicit negative feedback information is captured by using social relationships, thereby mining the intermediate feedback that can indirectly reflect user preferences. This not only enriches the training data, but also maps the high-order connection information between users, items, and friends into the embedding propagation to learn satisfactory CF embeddings, fully mining the complex interactive relationship between users and items, and greatly promoting the representation learning of inactive users. In addition, by using the graph attention network to measure and update the contribution value of neighbor nodes, it is possible to filter out noisy neighbors to make them robust, while giving the designed model a certain degree of interpretability. The attention network adaptively assigns weights to neighbor nodes, which can not only capture more representative neighbor influences, but also makes it only rely on the feature expression between nodes when aggregating the feature information of neighbor nodes, making it independent of the graph structure and improving the generalization ability of the model.

[0123] Finally, a hierarchical aggregation function is designed in the model prediction layer, and multiple embedding vectors learned by the graph convolution layer are weighted and aggregated through the hierarchical aggregation mechanism, and an attention mechanism is introduced to measure the importance of the embedding vector generated by the lth layer to the final embedding vector. In summary, the model designed by the present invention effectively improves the recommendation effect of the algorithm.

[0124] The above is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and changes can be made without departing from the principle of the present invention, and these improvements and changes are also regarded as the protection scope of the present invention.

Claims

1. A lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships, characterized in that: The following steps are involved: Step S1: Data collection, data processing, and data set division Data collection; Data processing: The collected Euclidean spatial data is constructed into non-Euclidean spatial data, and the interaction data between users and friends and the interaction data between users and projects are constructed into L2L graphs; Dataset division: 80% of the historical interactions in the processed data set are randomly selected as the training set for training the model; The rest are used as test sets to evaluate the recommendation effect of the model; Step S2: Model construction First, the user information, user friend information and project information are integrated and modeled. In the embedding layer, the high-order embedding vectors of users / user friends and projects are propagated on the user-friend social graph and the user-project-friend high-order connection graph to model the high-order interaction between users and projects for more effective embedding, and extend the interaction information between users and projects to the embedding layer. Secondly, based on the message passing mechanism of graph convolutional neural network, collaborative signals are captured from graph structure data to refine the embedding vector. Step S3: Model training and project recommendation The training set and test set obtained in step S1 are used to train and evaluate the model constructed in step S2, respectively. The model obtains the preference score between users and items through probability calculation, and finally determines whether to recommend the item to the user based on the obtained preference score.

2. The lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships as claimed in claim 1, characterized in that: In step S1, the construction and calculation method is as follows: First, download the Yelp2018 dataset, and then perform data preprocessing. The collected Euclidean spatial data is constructed into non-Euclidean spatial data, and the interaction data between users and items is constructed into an L2L graph between users and items. For each observable user-item interaction in the dataset, it is regarded as a positive sample, and then a negative sampling strategy is executed to pair negative samples for items with no user interaction.

3. The lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships as claimed in claim 1, characterized in that: In step S2, the calculation method is as follows: S201: constructing an embedding layer: the embedding layer mainly includes three kinds of feature information: user ID embedding vector, user friend ID embedding vector and project ID embedding vector; S202: Construct a lightweight graph convolution layer that integrates the attention network: Based on the embedding vector input by the embedding layer, a series of indirect feedbacks are generated from the implicit negative feedback using the user-friend social graph and the user-item-friend high-order connection graph. The attention mechanism is used to capture the different contributions of each layer of embedding propagation layer in reflecting user preferences as the path increases. S203: Construct prediction layer: predict preference scores between users and items.

4. The lightweight graph convolution collaborative filtering recommendation method integrating high-order social relationships as claimed in claim 1, characterized in that: In step S3, the calculation method is: The embedding vectors learned by the embedding propagation layer are weighted and aggregated into the final embedding vector. The model performs a simple inner product process on the final embedding vector to obtain the preference score between the user and the item for prediction, and recommends items that may be of interest to the end user.

Citation Information

Cited By

  • Code retrieval method and device for AI programming and related equipment

    CN121502362A

  • Associated user network data mining method based on multi-information fusion

    CN122019868A