Cold start recommendation method and system based on adaptive aggregation neighbor graph

Learning high-order features through SENet and MLP networks, combined with variational autoencoders and attribute graph attention networks, solves the problem of complex relationship mining in sparse features, achieves accurate recommendations in cold start environments, and improves the performance of recommendation systems. Expressiveness and accuracy.

CN118733879AActive Publication Date: 2024-10-01Chinese People's Liberation Army Cyberspace Force Information Engineering University
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410858865.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing recommendation systems are difficult to fully mine complex relationships and information from sparse features in a cold-start environment, resulting in inaccurate characterization of user preferences, and feature interaction methods ignore high-order information and useless cross-combinations, affecting model expression capabilities.

Method used

SENet is used to learn the relative importance of second-order feature interactions, high-order attribute features are obtained through the MLP network, the extended variational autoencoder is used to reconstruct user preferences, combined with the attribute graph attention network to aggregate neighbor information, and a bilinear aggregator is introduced Model the interaction between neighbors, perform nonlinear interaction through MLP and inner product, and generate user ratings of items.

Benefits of technology

It improves the accuracy and expression ability of the model in describing user preferences, enhances the accuracy of recommendations in cold start environments, effectively selects important feature interactions, fully captures graph structure information, and improves the quality of personalized recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733879A_ABST
    Figure CN118733879A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of recommendation systems, in particular to a cold start recommendation method and system based on an adaptive aggregation neighbor graph, firstly, SENet is adopted to learn relative importance of second-order feature interaction, then high-order attribute feature representation of a user / article is obtained through an MLP network, and an attribute feature vector of the user / article is obtained; reconfiguring missing user preference / article characteristics from the user / article attribute characteristics by using an extended variational auto-encoder; respectively aggregating neighbor information of the user / article and interaction information between neighbors by adopting an attribute graph attention network to obtain a final vector representation of the user / article; and finally, nonlinear interaction between the user and the article features is introduced through the MLP and the inner product, and the score of the user on the article is obtained. The invention aims to fully mine the complex relationship between the user / article by using the graph structure so as to realize more accurate recommendation in the cold start environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of recommendation systems, and in particular to a cold start recommendation method and system based on an adaptive aggregated neighbor graph. Background Art

[0002] Recommendation systems have been widely used in online business communities such as e-commerce platforms and news platforms, aiming to reduce the burden of information overload for users and thus improve the productivity of the platform. Its main goal is to analyze user preferences through explicit or implicit user feedback data, and predict users' potential needs based on this to provide personalized recommendation services. Although there have been many studies devoted to developing reliable and efficient recommendation algorithms, these existing works still face the challenge of the cold start problem.

[0003] Typically, historical interactions between users and items are crucial to inferring a user's interest in a particular item, but it is quite common to have new users or items without any historical records. In this case, traditional recommendation methods based on historical interaction records are no longer able to make effective recommendations.

[0004] In the strict cold-start recommendation problem without any historical information, many studies are devoted to using auxiliary information to alleviate the lack of user preferences. These studies regard the cold-start problem as incomplete user preference data and try to reconstruct user preferences using this auxiliary information. Therefore, how to fully characterize user preferences and item characteristics is considered to be an urgent problem to be solved.

[0005] The current challenge is how to effectively mine the complex relationships and information from sparse features to accurately characterize user preferences.

[0006] The first question is how to overcome the limitations of simple feature interaction methods. Feature interaction is not just a simple linear sum relationship, but involves more complex nonlinear relationships. Simple second-order feature interactions usually only consider the pairwise combination between features, which may ignore higher-order interaction information, resulting in information loss and insufficient model expression ability.

[0007] The second question is how to reflect the importance of the interaction of different features. Feature interaction will learn all cross-features, including useless cross-combinations. Useless cross-features will introduce noise and reduce the performance of the model. Therefore, it is necessary to select the most important cross-features from many features. For example, if the application scenario is to predict the possibility of a male user buying a keyboard, then the cross-feature of "gender = male" and "purchase history includes mouse" is likely to be more important than the cross-feature of "gender = male" and "age = 30", and the model should pay more "attention" to the former feature.

[0008] The third question is how to fully mine and aggregate neighbor information. The widely used Graph Attention Network (GAT) gradually aggregates neighbor node features to generate node embedding representations. It usually assumes that adjacent nodes are independent of each other and ignores the mutual influence between potential neighbor nodes. This leads to insufficient capture of the global graph structure during information propagation, limiting the model's ability to learn node representations. Summary of the invention

[0009] The purpose of the present invention is to solve the problem of how to fully mine user features and their complex relationships in a strict cold start environment, and propose a cold start recommendation method and system based on an adaptive aggregated neighbor graph, referred to as A-GAR, which mainly aims to fully mine the complex relationships between users / items by utilizing the graph structure to achieve more accurate recommendations in a cold start environment.

[0010] In order to achieve the above object, the present invention adopts the following technical solutions:

[0011] A cold start recommendation method based on adaptive aggregated neighbor graph, comprising:

[0012] First, SENet is used to learn the relative importance of second-order feature interactions, and then the high-order attribute feature representation of users / items is obtained through the MLP network to obtain the attribute feature vector of users / items;

[0013] Then use the extended variational autoencoder to reconstruct the missing user preferences / item characteristics from the user / item attribute features;

[0014] Then, the attribute graph attention network is used to aggregate the neighbor information of users / items and the interaction information between neighbors to obtain the final vector representation of users / items;

[0015] Finally, the nonlinear interaction between user and item features is introduced through MLP and inner product to obtain the user's rating of the item.

[0016] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, the process of obtaining the attribute feature vector of the user / item is as follows:

[0017] First, the embedding layer is used to learn the original attributes and convert them into embedded representations; the second-order interaction vector of the attributes is extracted through feature learning;

[0018] Next, the attention mechanism of SENet is introduced to perform weighted fusion on the second-order interaction vectors;

[0019] Finally, the linear combination vector is combined with the second-order interaction fusion vector through a multi-layer perceptron model to obtain the attribute feature vector of the user / item.

[0020] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, the attention mechanism of SENet is further introduced to perform weighted fusion on the second-order interaction vector, including:

[0021] First, a compression operation is performed, and a value is obtained by globally averaging the K-dimensional second-order interaction vector:

[0022]

[0023] Where h = [1, 1, …, 1], is the second-order interaction vector between the ith attribute and the jth attribute, Represents the second-order interaction vector for user u The compressed value, z u represents the set of compressed values ​​of the second-order interaction vector of user u,

[0024] Next, a two-layer MLP network is used to learn the importance of the second-order interaction vector of user u:

[0025] τ u =Sigmod(W t LeakyReLU(W z z u ))

[0026] Among them, Sigmod and LeakyReLU are activation functions, W t , W z is the weight vector, τ u Represented as the second-order interaction vector weight set of user u;

[0027] Finally, the weighted operation of important interaction features is completed by multiplying the corresponding weights by the second-order interaction vector of user u, and the weighted second-order interaction fusion vector υ of user u is obtained. u .

[0028] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, the interactive operation of the linear combination vector and the second-order interactive fusion vector is expressed as follows:

[0029]

[0030] χ u =LeakyReLU(W v υ u +W k κ u +b)

[0031] Among them, W v , W kis the weight matrix, b is the bias vector, LeakyReLU is the activation function, κ u represents the linear combination vector of user u, represents the attribute characteristics of user u, Represents the value of the i-th attribute of user u.

[0032] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, reconstructing the missing user preference / item characteristics from the user / item attribute features using an extended variational autoencoder includes:

[0033] The variational autoencoder is extended by introducing the constraint of reconstructing features to approximate preference vectors, thereby deriving an effective representation of user preference / item characteristic features; finally, the attribute features and preference features / item characteristics are combined to form a fused feature.

[0034] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, the attribute graph attention network is used to respectively aggregate the neighbor information of the user / item and the interaction information between the neighbors to obtain the final vector representation of the user / item, including:

[0035] First, a user / item graph is constructed using the attribute information of users / items;

[0036] Then, a two-line aggregator is used to model the interaction between neighbors in the graph, and the graph attention network is combined to aggregate neighbor information;

[0037] Finally, the final vector representation of the user / item is obtained.

[0038] According to the cold start recommendation method based on adaptive aggregated neighbor graph of the present invention, further, the graph attention network aggregates neighbor information including: using the graph attention model GAT to capture the complex relationship between nodes in the user / item graph structure, using the attention mechanism to dynamically learn the importance between nodes, and weighting and aggregating neighbor nodes according to the importance of their neighbor nodes to generate a new vector representation;

[0039] The interaction between neighbors in the graph is modeled by a two-line aggregator. The formula is as follows:

[0040]

[0041] Among them, ⊙ represents the corresponding multiplication of elements, Represents user u i Neighbor interaction feature vector of user u i Neighbor node u m and u n Belongs to the collection Represents user u i Neighbor node u m 、u n The attribute feature vector of represents the target node u i The corresponding number of associations, d i =|N(u i )| represents user u i The node degree, W m , W n is the weight matrix.

[0042] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, the final vector representation of the user / item is as follows:

[0043]

[0044] in, Is user u i The final vector represents that β is a hyperparameter, Is user u i The neighbor aggregation feature vector of Is user u i The feature vector of .

[0045] According to the cold start recommendation method based on the adaptive aggregated neighbor graph of the present invention, further, the predicted rating of user u for item v is modeled as:

[0046]

[0047] Among them, p u is the final feature representation of user u, q v is the final feature representation of item v, b u ,b v ,μ represent user bias, item bias and global bias respectively.

[0048] Furthermore, the present invention also proposes a cold start recommendation system based on an adaptive aggregated neighbor graph, which is used to implement the cold start recommendation method based on an adaptive aggregated neighbor graph as described above, comprising:

[0049] The attribute fusion module is used to learn the relative importance of second-order feature interactions using SENet, and then obtain the high-order attribute feature representation of users / items through the MLP network to obtain the attribute feature vector of users / items;

[0050] Preference generation module, which is used to reconstruct missing user preferences / item characteristics from user / item attribute features using extended variational autoencoders;

[0051] The neighbor aggregation module is used to aggregate the neighbor information of users / items and the interaction information between neighbors using the attribute graph attention network to obtain the final vector representation of users / items;

[0052] The rating prediction module is used to introduce nonlinear interactions between user and item features through MLP and inner product to obtain the user's rating of the item.

[0053] Compared with the prior art, the present invention has the following advantages:

[0054] The present invention proposes a cold start recommendation method based on adaptive aggregation neighbor graph, aiming to solve the problem of fully gathering various information from sparse attributes, so as to comprehensively and accurately characterize user preferences, improve model expression ability and prediction accuracy. First, the channel attention mechanism (Squeeze-and-Excitation Network, SENet) and MLP network are introduced to obtain the high-order attribute feature representation of users / items, wherein the channel attention mechanism flexibly captures the importance of different feature interactions, assigns different weights to each feature interaction, improves the mining ability of implicit feature relationships, and enhances the generalization expression ability of linear regression models. Then, the extended variational autoencoder is used to reconstruct the missing user preferences / item characteristics from the user / item attribute features. Secondly, the attribute graph attention network is used to aggregate the neighbor information of users / items and the interaction information between neighbors. The present invention extends the graph attention network (Graph Attention Networks, GAT) and introduces a bilinear aggregator (Bilinear Aggregator, BA) to model the interaction relationship between neighbors, fully considers the interaction between neighbor nodes, integrates it into the embedding representation of the target node, and effectively improves the embedding representation quality of the target node. The present invention uses high-quality node embedding representation to generate accurate personalized recommendation results for cold start users. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 It is a flowchart of a cold start recommendation method based on an adaptive aggregated neighbor graph according to an embodiment of the present invention;

[0057] Figure 2 It is an overall framework diagram of a cold start recommendation method based on an adaptive aggregated neighbor graph according to an embodiment of the present invention;

[0058] Figure 3 is an example diagram of user graph construction according to an embodiment of the present invention;

[0059] Figure 4 4 is a diagram of the analysis results of an ablation experiment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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.

[0061] This case solution focuses on strict cold start recommendation, that is, new users and items do not have any historical data, and solves the cold start recommendation problem through their attribute auxiliary information. Assume that there are two types of entities in a recommendation system, namely users and items, and the user set is represented as The item set is represented as in and Represent the number of users and items respectively. Taking the cold start user u as an example, for any user The attribute set is represented as Where k is the number of attributes of the user, is the value of the i-th attribute of user u.

[0062] The cold start scenario that this case solution focuses on is the recommendation problem for newly registered users or newly introduced items. It aims to solve how to effectively recommend items to new users and effectively recommend new items to users who may like the items. In this scenario, the test data includes new users and new items, and the training data includes the attribute information of old users and items and historical interaction information.

[0063] like Figure 1 and Figure 2 As shown, this embodiment proposes a cold start recommendation method based on an adaptive aggregated neighbor graph, comprising the following steps:

[0064] Step S101: SENet (Squeeze-and-Excitation Network) is used to learn the relative importance of second-order feature interactions, and then the high-order attribute feature representation of the user / item is obtained through the MLP (Multilayer Perceptron) network to obtain the attribute feature vector of the user / item.

[0065] Specifically, we first use the embedding layer to learn the original attributes and convert them into embedded representations; and extract the second-order interaction vectors of the attributes through feature learning. Then, we introduce the attention mechanism of SENet to perform weighted fusion on the second-order interaction vectors. Finally, through the multi-layer perceptron (MLP) model, we combine the linear combination vector with the second-order interaction fusion vector to obtain a more representative and comprehensive user / item attribute feature vector.

[0066] Attribute fusion aims to learn the relationship between sparse attributes to fully obtain useful information and realize the learning of cross-combinations of two or more attributes. First, the sparse encoding of each attribute of the user is mapped into a low-dimensional, dense real-valued vector through the embedding layer. The i-th attribute of user u The embedding vector is represented as Where K is the dimension of the attribute embedding vector. The attribute embedding set of user u is expressed as Then, the second-order interaction between the attributes of user u is introduced through the Hadamard product, and the operation is expressed as:

[0067]

[0068]

[0069] Among them, ⊙ represents the corresponding multiplication of elements. Users have k attributes in total, and the interaction between them can be obtained A second-order interaction vector. is the second-order interaction vector between the ith attribute and the jth attribute, e u represents the set of attribute second-order interaction vectors,

[0070] Considering the influence of different feature combinations on the prediction target, this case introduces an attention mechanism, which is used to select the most influential feature combinations from a complex feature set and exclude those irrelevant or less relevant feature combinations. Different from the attention mechanism used in traditional natural language processing models, this case draws on the channel attention mechanism (Squeeze-and-Excitation Networks, SENet) in the image field. This algorithm performs well in image classification tasks, has fewer parameters and less computation, and can automatically learn the importance of attributes to enhance useful attributes that have a significant impact on the results and suppress those attributes that have a small impact on the results.

[0071] The SENet module dynamically determines which attributes are important through interaction. If the weight value is large, it is considered that the importance of the attribute's second-order interaction is high. The module first performs a compression operation, and obtains a value that can represent the summary information of the feature by performing global average pooling on the K-dimensional second-order interaction vector.

[0072]

[0073]

[0074] Where h = [1, 1, …, 1], Represents the second-order interaction vector for user u The compressed value, z u represents the set of compressed values ​​of the second-order interaction vector of user u,

[0075] Next, a two-layer MLP network is used to learn the importance of the second-order interaction vector of user u.

[0076] τ u =Sigmod(W t LeakyReLU(W z z u )) (5)

[0077] Among them, Sigmod and LeakyReLU are activation functions, W t , W z is the weight vector, τ u It is represented as the weight set of the second-order interaction vector of user u. By multiplying the corresponding weight by the second-order interaction vector of user u, the weighted operation of important features is completed. The formal expression is as follows:

[0078]

[0079] Among them, ⊙ represents the corresponding multiplication of elements, is the second-order interaction vector between the i-th and j-th attributes of user u The weight of υ u Represents the weighted second-order interaction fusion vector of user u.

[0080] Finally, a fully connected layer is introduced into the weighted attribute second-order interaction and linear combination to achieve the learning of high-order feature interaction. The interaction operation of the linear combination vector and the second-order interaction fusion vector is expressed as follows:

[0081]

[0082] χ u =LeakyReLU(W v υ u +W k κ u +b) (8)

[0083] Among them, W v , Wk is the weight matrix, b is the bias vector, LeakyReLU is the activation function, κ u represents the linear combination vector of user u, represents the attribute characteristics of user u, Represents the value of the i-th attribute of user u.

[0084] Step S102: Reconstruct missing user preferences / item characteristics from user / item attribute features using an extended variational autoencoder.

[0085] Specifically, the variational autoencoder is expanded by introducing the constraint of reconstructing the feature approximation preference vector, thereby deriving an effective representation of user preference / item characteristic features. Finally, the attribute features and preference features / item characteristics are combined to form a fusion feature.

[0086] The preference generation layer aims to explore how to use attribute features to reconstruct missing preference embeddings. A specific type of user may show interest in similar items, which implies that attribute embeddings and preference embeddings are close to each other in the latent space and have similar distribution characteristics, and vice versa. For example, animation is usually the main form of entertainment for teenagers and children, and users with similar age attributes may have similar hobbies. This solution is dedicated to solving the problem of missing preference information by reconstructing preferences from attribute distributions through a variational autoencoder structure. The structure consists of three parts: reasoning, generation, and approximation. The first two parts are standard VAEs, and the third part is an extension, χ u is the attribute feature vector of user u. In the generation part, the reconstructed preference vector χ u ' is composed of latent variables s u Generated by an MLP network with parameters.

[0087]

[0088] In the inference part, variational inference approximates the latent variable s by introducing an inference network parameterized by θ. u The real intractability of the posteriori.

[0089]

[0090] The purpose of variational inference is to optimize the free variational parameters so that the KL divergence Minimum. Using the reparameterization technique, sample ε~N(0,I) and reset the parameters In this case, the gradient to φ can be obtained by sampling s u Back propagation.

[0091] In the approximation part, the embedding of constrained reconstruction Approximate preference vector. During the training phase, user behavior embedding can be obtained by learning the historical ratings of old users. Therefore, the reconstructed preference vector is required and the learned user behavior vector and attribute characteristics Therefore, the reconstruction loss function in the variational autoencoder is defined as follows:

[0092]

[0093] The first two steps are the same as those in the standard variational autoencoder (VAE), while the last one is an extension of the approximation part. Finally, the user attribute embedding and preference embedding are combined to form the user feature vector. The fused feature of user u is formalized as follows: Where [;] represents the vector concatenation operation.

[0094] Step S103: Use the attribute graph attention network to aggregate the neighbor information of the user / item and the interaction information between neighbors to obtain the final vector representation of the user / item.

[0095] Specifically, a user / item graph is constructed using the attribute information of users / items; then the interaction relationship between neighbors in the graph is modeled through a two-line aggregator, and the neighbor information is aggregated in combination with a graph attention network; finally, the final vector representation of the user / item is obtained.

[0096] S3.1. User graph construction.

[0097] A user graph network is constructed based on user attribute information (such as age, occupation, etc.), such as Figure 3 As shown in Figure 1, it aims to aggregate the information of neighbor users to enhance the embedding representation of the target user. For each type of attribute, users with the same attribute are retrieved to form a user graph network. The user graph construction process is as follows:

[0098] ① Build an index dictionary, where the key is the attribute and the value is the set of users with the attribute, for example, "occupation:1→User1,User2"; "age:50→User2,User3".

[0099] ② For a new user, retrieve its neighbors based on each of its attributes. For example, the attributes of the new user User5 are "occupation:1, age:50". Based on these two attributes, retrieve its neighbors, and the retrieved neighbors are User1, User2, and User3.

[0100] ③ Calculate the similarity score of each neighbor and take the top-N neighbors. We define the score as the number of attributes from which neighbors can be retrieved. For example, User2 has a score of 2 because it can be retrieved from 2 attributes. This step can retain useful neighbors for subsequent processing.

[0101] ④Through the above statistics, we obtain the top-N neighbors corresponding to the target node, and finally obtain the user graph G of the target node.

[0102] S3.2 Neighborhood aggregation.

[0103] In the graph structure, not only is there a correlation between the target node and its neighbor nodes, but the interaction between neighbor nodes may also send strong signals. In order to enhance the aggregation ability of node information, this scheme extends the Graph Attention Network (GAT) and introduces a bilinear aggregator (BA) to capture the interaction relationship between neighbor nodes.

[0104] Defining the User Graph in is a collection of entities including users, items, user attributes and item attributes. A is the neighbor matrix, when the element Represents user node u i With user node u j There is an edge between user u i The attribute feature embedding of Its neighbor set is defined as The extended set of neighbors including itself is defined as User i The node degree is d i =|N(u i )|, its corresponding

[0105] First, the graph attention model GAT is used to capture the complex relationship between nodes in the user / item graph structure. The attention mechanism is used to dynamically learn the importance between nodes and weightedly aggregate neighbor nodes according to the importance of their neighbor nodes to generate a new vector representation:

[0106]

[0107]

[0108] in, Represents user u i The neighbor aggregation feature vector, w ij Represents neighbor node u j For user u iThe importance of W represents a trainable parameter vector used to learn the relative importance between the target node and its neighbors. g , W e is the weight matrix.

[0109] Then, in order to target user u i The interaction between neighbor nodes of the target user u is modeled and a bilinear aggregator (BA) is introduced to process the target user u. i The interaction relationship between neighbor nodes is formally expressed as follows:

[0110]

[0111] Among them, ⊙ represents the corresponding multiplication of elements, Represents user u i Neighbor interaction feature vector of user u i Neighbor node u m and u n Belongs to the collection Represents user u i Neighbor node u m 、u n In order to avoid the noise introduced by self-correlation, u m n Conditional restrictions. represents the target node u i The corresponding number of associations is used to regularize the obtained representation to eliminate the deviation of node degree, W m , W n is the weight matrix.

[0112] In the user graph structure, the graph attention network (GAT) is extended and combined with the bilinear aggregator (BA). This extension fully considers the interactions between neighbor nodes and incorporates these interactions into the feature representation of the target user, which is formalized as follows:

[0113]

[0114] A simple linear combination mechanism is used here. Is user u i The final vector represents that β is a hyperparameter to balance the GAT network and the bilinear aggregator. Is user u i The feature vector of .

[0115] ​Step S104: nonlinear interaction between user and item features is introduced through MLP and inner product to obtain the user's rating of the item.

[0116] Through the above attribute graph attention network model, the final feature representation p of user u is obtained u and the final feature representation q of item v v , the predicted rating of user u for item v is modeled as:

[0117]

[0118] The MLP function is a multi-layer perception implemented with one hidden layer to capture the complex nonlinear interaction between users and items. The second term is the inner product interaction function to obtain the linear interaction relationship between users and items. u ,b v ,μ represent user bias, item bias and global bias respectively.

[0119] The prediction layer contains prediction loss and simulation loss. The overall loss function of training is defined as:

[0120] L=L pred +L recon +λ (17)

[0121] Among them, L pred represents the rating prediction loss for a specific task; L recon Represents the reconstruction function loss. λ is a constant weighting factor. For the rating prediction loss, we use the square loss as the objective function:

[0122]

[0123] The instance set D is divided into training set D train and the test set D test They are used for model training and testing respectively. uv Denotes the training set D train The true rating value in is the predicted rating value.

[0124] Corresponding to the above method, this embodiment also proposes a cold start recommendation system based on an adaptive aggregated neighbor graph, comprising:

[0125] The attribute fusion module is used to learn the relative importance of second-order feature interactions using SENet, and then obtain the high-order attribute feature representation of users / items through the MLP network to obtain the attribute feature vector of users / items.

[0126] Preference generation module for reconstructing missing user preferences / item features from user / item attribute features using an extended variational autoencoder.

[0127] The neighbor aggregation module is used to use the attribute graph attention network to aggregate the neighbor information of users / items and the interaction information between neighbors to obtain the final vector representation of users / items.

[0128] The rating prediction module is used to introduce nonlinear interactions between user and item features through MLP and inner product to obtain the user's rating of the item.

[0129] In order to verify the effectiveness of this solution, the following is a further explanation based on the test data:

[0130] 1.1 Dataset and Experimental Settings

[0131] Three real datasets are used to evaluate the A-GAR model proposed in this case. MovieLens is a widely used movie rating dataset. We use the ML-100K and ML-1M versions. The ML-1M version dataset contains 1 million rating data from 6,000 users on 4,000 movies, covering ratings, user information, and movie information. Among them, movie attributes include information such as category, star, director, writer, and country, and user attributes include information such as gender, age, occupation, and zip code. Given that the original dataset does not provide enough movie attribute information, we expanded the movie attributes by obtaining the movie name and release year from the IMDb2 database, including information such as star, director, writer, and country.

[0132] Yelp used the 2017 version of Yelp data, in which local businesses such as restaurants and hotels were considered as items. Considering the large size and sparseness of the original Yelp data, we preprocessed the data according to existing methods and reduced the complexity of the dataset by removing nodes with less than 20 ratings. These nodes have never been observed before the test phase, similar to newly released movies. We set the item attributes to information such as category, state, and city. Given the lack of user attribute information in Yelp data, each row of the social matrix is ​​encoded as a user attribute, where each dimension of the social vector represents different attribute values. The statistical results of the dataset are shown in Table 1.

[0133] Table 1 Statistical results of the data set

[0134]

[0135] 2. Evaluation indicators

[0136] The root mean square error (RMSE) and mean absolute error (MAE) are used as evaluation metrics, both of which are widely used in rating prediction tasks. The definitions of RMSE and MAE are as follows:

[0137]

[0138] (III) Settings

[0139] The model performance is evaluated on cold-start users and cold-start items. On the three datasets, 20% of users or items are randomly selected as the test set, and the remaining users or items and their historical interactions are used as the training set. The parameters in the FINI paper with the best performance were fine-tuned, and the experimental settings were batch size (batch size) = 128, LeakyReLU = 0.01, and initial learning rate = 0.0005. The Adam optimizer is used for optimization with an adaptive learning rate, where the embedding dimension K = 40 and the threshold p for the candidate attribute set for graph construction = 5. For the baseline model, if the hyperparameters have been reported by the authors of the paper, the same hyperparameter settings are followed; if the hyperparameters are not reported, fine-tuning is performed to ensure consistent model performance.

[0140] (IV) Comparative method

[0141] Several state-of-the-art cold-start recommendation methods are selected as comparison baselines to verify the performance of our model. All baseline models use the same attribute information as our model.

[0142] NFM is a method that combines decomposers and neural networks for rating prediction under sparse conditions. This method maps the attributes of users and items into dense vectors and then uses a multi-layer neural network to model feature interactions.

[0143] DANSER is a method based on Graph Attention Network (GAT) to integrate multi-faceted social relations. This method models users' social relations as a user-user graph and constructs an item-item graph using the similarity coefficients between items clicked by the same user.

[0144] DiffNet fuses user and item features with node embeddings. It contains a layer-by-layer diffusion process similar to GCN to simulate dynamic diffusion on user-user social graphs for recommendation.

[0145] GCMC uses user and item attribute vectors as auxiliary information and combines these attribute vectors into node embedding representations. This method applies the graph convolutional network (GCN) framework to the matrix completion task of user-item graphs.

[0146] The STAR-GCN (Stacked Graph Convolutional Network) method implements a hierarchical approach on the user-item interaction graph using stacked GCN layers. By integrating attribute embedding and free embedding to represent individual nodes, this technique enhances information propagation and feature acquisition, thereby improving the overall effect of learning and propagating relevant information.

[0147] DropoutNet integrates content and preference information in the DNN architecture and introduces a dropout mechanism to address the challenges posed by strict cold start scenarios.

[0148] MetaEmb is a meta-learning method designed to solve the strict cold-start problem. It trains an embedding generator to generate embeddings for new IDs through gradient-based meta-learning.

[0149] The AGNN method represents the nodes and edges in the graph structure data as a graph, and uses the neural network model to learn and infer the nodes in the graph. By introducing the attention mechanism, AGNN can pay more attention to important nodes and edges during the learning process, thereby improving the model's expressiveness and performance.

[0150] The FINI method is a graph neural network that considers feature importance and neighbor node interactions, and adopts a global-local contextual attention mechanism to dynamically learn the feature weights of each node. This mechanism can simultaneously emphasize global public information and local personalized information. The framework aims to improve the quality of attribute embedding and approximate preference embedding.

[0151] (V) Experimental results

[0152] Table 2 Performance comparison results of different models

[0153]

[0154] This section summarizes the recommendation effects of the model in this case on the MovieLens and Yelp datasets. For the sake of comparison, the table shows the performance improvement of A-GAR's RMSE and MAE relative to each benchmark method, quantified by Improvement, and the best result for each dataset is underlined. By analyzing the experimental results, the following conclusions can be drawn:

[0155] (1) The A-GAR model proposed in our study performs better than the optimal baseline FINI in the cold start scenario. The A-GAR method shows the best performance in various data sets, which is better than the optimal baseline FINI model. This result is mainly due to the fact that A-GAR has improved on the basis of FINI, combining the advantages of the original method, using the channel attention mechanism, and obtaining the importance of each feature channel through adaptive learning. Compared with other baseline methods, this method can improve the accuracy of the model to a certain extent.

[0156] (2) Our proposed model performs well on all three datasets, significantly surpassing all baseline methods. On the MovieLens dataset, our model improves RMSE and MAE by 1.38% and 2.79% respectively on item cold start compared to the optimal baseline FINI. On the Yelp dataset, the corresponding RMSE and MAE on user cold start also improve by 1.23% and 2.72%. These results clearly show that the introduction of attribute fusion importance enables the model to better distinguish the influence of different features, thereby improving the model's expressiveness. At the same time, the graph attention network (GAT) is expanded by modeling the interaction between neighbors through a two-line aggregator to improve the model's prediction accuracy.

[0157] (VI) Ablation experiment

[0158] Through ablation experiments, we analyze the impact of several important modules of A-GAR on the recommendation performance to verify the rationality of the network model design. Four A-GAR related variants are designed for comparison to prove the necessity of all modules in A-GAR: (1) the complete A-GAR model; (2) A-GAR with attribute fusion but no attention mechanism (named A-GAR~AT1); (3) A-GAR with neighbor aggregation but no attention mechanism (named A-GAR~AT2); (4) A-GAR without neighbor aggregation (named A-GAR~GAT).

[0159] Table 3 Comparison of A-GAR and its variant models

[0160]

[0161] Figure 4 The model is shown on the ML-100K and Yelp versions of the MovieLens dataset. The following conclusions can be drawn from the bar charts in the figure:

[0162] ①Attention mechanism module

[0163] The proposed method A-GAR uses the attention mechanism in two different modules, including attribute fusion and neighbor aggregation. In order to analyze the impact of the attention mechanism on the recommendation performance, this section compares A-GAR with the following three method variants:

[0164] A-GAR~AT1: This method is a variant of A-GAR that removes the SEnet attention mechanism for the second-order interactions. Specifically, by setting the weight τ in formula (6) to 1, this variant treats any attribute combination equally during the attribute fusion process.

[0165] A-GAR~AT2: This method is a variant of A-GAR that removes the attention mechanism of neighbor aggregation. Specifically, by replacing the graph attention neural network GAT in formula (15) with the graph neural network GNN, this variant aggregates information from its neighbor nodes equally for users and updates their own information accordingly.

[0166] Comparison of the recommendation performance of the proposed method A-GAR and the above two variants on two datasets Figure 4 (a)(b) As shown in the experimental results, when different attention mechanisms are removed, the performance of A-GAR on the two datasets will decrease to varying degrees. These experimental results prove that the introduction of attention mechanisms in attribute fusion and neighbor aggregation has a positive impact on cold start recommendations.

[0167] ②Neighborhood aggregation module

[0168] In the process of neighbor aggregation, the A-GAR model in this paper considers the potential relationship between the target node and its neighbor nodes, and adopts a bilinear aggregator to effectively capture the interaction between neighbors. Next, we compare A-GAR with a model that does not include neighbor node information:

[0169] A-GAR~BA: This method is a variant of A-GAR, which removes the interaction between neighbor nodes. This variant only aggregates neighbor node information and updates the feature representation of the node, while ignoring the association between neighbor nodes. Specifically, by removing the two-line aggregator (BA) in formula (14).

[0170] The recommendation performance comparison of the proposed method A-GAR and its variants on two datasets is shown in Figure 4 As shown in (c)(d), from the experimental results, we can see that when the interaction relationship between neighbor nodes is deleted, the prediction performance of A-GAR on the three datasets will decrease to varying degrees. The results prove the effectiveness and importance of considering the relationship between neighbor nodes to improve the expression ability of node embedding.

[0171] Unless otherwise specifically stated, the relative steps, numerical expressions and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present invention.

[0172] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0173] The units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation is not considered to be beyond the scope of the present invention.

[0174] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits, and accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of software function modules. The present invention is not limited to any specific form of combination of hardware and software.

[0175] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A cold start recommendation method based on adaptive aggregated neighbor graph, characterized in that: Include: First, SENet is used to learn the relative importance of second-order feature interactions, and then the high-order attribute feature representation of users / items is obtained through the MLP network to obtain the attribute feature vector of users / items; Then use the extended variational autoencoder to reconstruct the missing user preferences / item characteristics from the user / item attribute features; Then, the attribute graph attention network is used to aggregate the neighbor information of users / items and the interaction information between neighbors to obtain the final vector representation of users / items; Finally, the nonlinear interaction between user and item features is introduced through MLP and inner product to obtain the user's rating of the item.

2. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 1, characterized in that: The process of obtaining the attribute feature vector of the user / item is as follows: First, the embedding layer is used to learn the original attributes and convert them into embedded representations; the second-order interaction vector of the attributes is extracted through feature learning; Next, the attention mechanism of SENet is introduced to perform weighted fusion on the second-order interaction vectors; Finally, the linear combination vector is combined with the second-order interaction fusion vector through a multi-layer perceptron model to obtain the attribute feature vector of the user / item.

3. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 2, characterized in that: Introducing SENet’s attention mechanism, weighted fusion of the second-order interaction vectors includes: First, a compression operation is performed, and a value is obtained by globally averaging the K-dimensional second-order interaction vector: in, is the second-order interaction vector between the ith attribute and the jth attribute, Represents the second-order interaction vector for user u The compressed value, z u represents the set of compressed values ​​of the second-order interaction vector of user u, Next, a two-layer MLP network is used to learn the importance of the second-order interaction vector of user u: τ u =Sigmod(W t LeakyReLU(W z With u )) Among them, Sigmod and LeakyReLU are activation functions, W t , W z is the weight vector, τ u Represented as the second-order interaction vector weight set of user u; Finally, the weighted operation of important interaction features is completed by multiplying the corresponding weights by the second-order interaction vector of user u, and the weighted second-order interaction fusion vector υ of user u is obtained. u .

4. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 3, characterized in that: The interactive operation of the linear combination vector and the second-order interactive fusion vector is expressed as follows: Among them, W v , W k is the weight matrix, b is the bias vector, LeakyReLU is the activation function, κ u represents the linear combination vector of user u, represents the attribute characteristics of user u, Represents the value of the i-th attribute of user u.

5. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 1, characterized in that: Reconstructing missing user preferences / item features from user / item attribute features using an extended variational autoencoder includes: The variational autoencoder is extended by introducing the constraint of reconstructing features to approximate preference vectors, thereby deriving an effective representation of user preference / item characteristic features; finally, the attribute features and preference features / item characteristics are combined to form a fused feature.

6. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 1, characterized in that: The attribute graph attention network is used to aggregate the neighbor information of users / items and the interaction information between neighbors to obtain the final vector representation of users / items, including: First, a user / item graph is constructed using the attribute information of users / items; Then, a two-line aggregator is used to model the interaction between neighbors in the graph, and the graph attention network is combined to aggregate neighbor information; Finally, the final vector representation of the user / item is obtained.

7. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 6, characterized in that: The graph attention network aggregates neighbor information, including: using the graph attention model GAT to capture the complex relationship between nodes in the user / item graph structure, using the attention mechanism to dynamically learn the importance between nodes, and weighting and aggregating neighbor nodes according to the importance of their neighbor nodes to generate a new vector representation; The interaction between neighbors in the graph is modeled by a two-line aggregator. The formula is as follows: Among them, ⊙ represents the corresponding multiplication of elements, Represents user u i Neighbor interaction feature vector of user u i Neighbor node u m and u n Belongs to the collection Represents user u i Neighbor node u m 、u n The attribute feature vector of represents the target node u i The corresponding number of associations, d i =|N(u i )| represents user u i The node degree, W m , W n is the weight matrix.

8. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 7, characterized in that: The final vector representation of users / items is as follows: in, Is user u i The final vector represents that β is a hyperparameter, Is user u i The neighbor aggregation feature vector of Is user u i The feature vector of .

9. The cold start recommendation method based on adaptive aggregated neighbor graph according to claim 1, characterized in that: The predicted rating of user u for item v is modeled as: Among them, p u is the final feature representation of user u, q v is the final feature representation of item v, b u ,b v ,μ represent user bias, item bias and global bias respectively.

10. A cold start recommendation system based on adaptive aggregated neighbor graph, characterized in that: The method for implementing the cold start recommendation method based on the adaptive aggregated neighbor graph according to any one of claims 1 to 9 comprises: The attribute fusion module is used to learn the relative importance of second-order feature interactions using SENet, and then obtain the high-order attribute feature representation of users / items through the MLP network to obtain the attribute feature vector of users / items; Preference generation module, which is used to reconstruct missing user preferences / item characteristics from user / item attribute features using extended variational autoencoders; The neighbor aggregation module is used to aggregate the neighbor information of users / items and the interaction information between neighbors using the attribute graph attention network to obtain the final vector representation of users / items; The rating prediction module is used to introduce nonlinear interactions between user and item features through MLP and inner product to obtain the user's rating of the item.

Citation Information

Patent Citations

  • Commodity recommendation method and system based on neighbor perception interaction

    CN115170243A

  • Sequence recommendation method and system based on interactive graph attention network

    CN115221413A

  • Recommendation system and method for cold start based on meta-learning graph neural network

    CN115905687A

  • Cold start recommendation method fusing knowledge graph and relation perception comparative learning

    CN115905722A