Graph neural network multi-modal recommendation method and system based on feature redundancy removal

By using the graph neural network method of feature redundancy removal in the multi-modal recommendation system, combined with interactive and modal collaborative filtering and feature filters, the problem of feature redundancy and noise in the graph neural network is solved, and the recommendation performance and accuracy are improved. Rate.

CN118760804AActive Publication Date: 2024-10-11HUNAN NORMAL UNIVERSITY

Patent Information

Application Number
CN202411245353.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-10-11
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

Existing multi-modal recommendation systems have feature redundancy and over-fitting problems in graph neural networks, which lead to reduced recommendation performance and noise that affects the modeling of user preferences.

Method used

The graph neural network multi-modal recommendation method based on feature redundancy removal is adopted, collaborative filtering based on interaction and modality is performed through the graph neural network encoder, combined with feature filters to filter noise, and generate local and global embedding vectors of users and items. And optimize the model through Bayesian personalized ranking loss and cross-modal contrastive loss.

Benefits of technology

Effectively remove redundant features, improve the multi-modal recommendation performance of graph neural networks, improve the model's expressive ability and recommendation accuracy, and reduce the impact of feature redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760804A_ABST
    Figure CN118760804A_ABST
Patent Text Reader

Abstract

The invention discloses a graph neural network multi-modal recommendation method and system based on feature redundancy removal, and the method comprises the steps: carrying out the recommendation of interaction data of a user and a project through a graph neural network multi-modal recommendation model: extracting multi-modal features from the interaction data of the user and the project, carrying out interaction-based collaborative filtering by utilizing a graph neural network encoder, and carrying out modal-based collaborative filtering and fusion to obtain local embedded vectors of the user and the project; filtering the multi-modal features by using a feature filter to generate a global embedded vector; and fusing the local embedded vector and the global embedded vector to obtain a final embedded vector of the user and the project, calculating a preference score of the user to the project, and generating a recommendation result. According to the method, efficient fusion of user behaviors and multi-modal content information is realized, redundant features are removed, and cooperative signals are reserved to improve the expression ability, so that the multi-modal recommendation performance of the graph neural network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing and recommendation systems, and in particular to a graph neural network multimodal recommendation method and system based on feature redundancy removal. Background Art

[0002] Multimodal recommendation (MRs) refers to combining information from multiple modalities (text, visual, etc.) to make recommendations, which is more accurate than single-modal information. The existing mainstream multimodal recommendation (MRs) is based on traditional collaborative filtering, adding multimodal signals (text signals, visual signals, etc.) to collaborative signals to better capture user interests and achieve recommendations that are more in line with user needs. The existing multimodal recommendation mainly consists of three steps: multimodal information fusion, collaborative filtering, and prediction. Since the number of modal information provided in various scenarios is different, the existing MRs can generally be divided into single-modal recommendation and multimodal recommendation. Some early MRs studies usually linearly fuse single-modal signals into collaborative signals to establish user and item representation models. These methods only work on low-order user-item interactions, but ignore the modeling of high-order relationships (for example: the relationship between two users who have purchased the same product). At the same time, for users, different users have different preferences for different modalities (for example: for a video I, user A likes to watch picture information, while user B pays more attention to text information).

[0003] In the field of recommender systems (RS), collaborative filtering (CF) based on graph neural networks (GNNs) has become a general trend. Unlike traditional matrix factorization (MF) methods, GNN-based CF utilizes the inherent high-order connections in user historical interaction information to enhance representation performance. In the early stages, some studies directly inherited the information propagation mechanism of ordinary GNNs and represented users and items by aggregating high-order neighbor information. Although existing multimodal recommendation models have achieved good performance, there are still some shortcomings, such as: as the number of GNN layers continues to increase, feature redundancy will lead to performance degradation. In addition, the existing models directly map the embedding to a smaller dimension after pre-training the multimodal information, resulting in the loss of a large amount of modal information that will affect the quality of the embedding, thereby affecting the representation of user preferences.

[0004] In multimodal recommendation scenarios, many models use GNN for feature extraction. However, the proliferation of GNN layers will bring two problems: feature oversmoothing and feature redundancy. Oversmoothing will lead to highly similar node representations, making it difficult to distinguish between nodes. Overcorrelation will lead to redundant information between the obtained feature representations. Both of these problems will lead to overfitting of the model, thus affecting the final recommendation performance. Secondly, multimodal data itself has noise. When globally modeling multimodal data, this noise will affect the model's modeling of user preferences, resulting in suboptimal recommendations. Summary of the invention

[0005] Technical problem to be solved by the present invention: In view of the above-mentioned problems of the prior art, a graph neural network multimodal recommendation method and system based on feature redundancy removal are provided. The present invention aims to achieve efficient fusion of user behavior and multimodal content information, remove redundant features while retaining collaborative signals to enhance expression capabilities, thereby improving the multimodal recommendation performance of graph neural networks.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: A graph neural network multimodal recommendation method based on feature redundancy removal includes using the graph neural network multimodal recommendation model to obtain the user's recommendation results based on the following steps using the interaction data between the user and the project: S1, extracting user embedding features, project embedding features and multimodal features of the project from the interaction data between the user and the project, wherein the multimodal features of the project include text embedding features and image embedding features; S2: The user embedding features, project embedding features, text embedding features and image embedding features are used to perform interaction-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder and then fused to obtain local embedding vectors of users and projects; the project embedding features, text embedding features and image embedding features are used to filter noise using feature filters, and the global embedding vectors of users and projects are generated by combining learnable transformation vectors and adjacency matrices; S3, fuse the user's local embedding vector and the global embedding vector to obtain the user's final embedding vector, and fuse the item's local embedding vector and the global embedding vector to obtain the item's final embedding vector; S4, calculate the user's preference score for the project based on the user's final embedding vector and the project's final embedding vector, sort the preference scores of all projects, and select a specified number K of projects with the highest preference scores as the user's recommendation result output.

[0007] Optionally, in step S2, the user embedding features, item embedding features, text embedding features and image embedding features are subjected to interaction-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder, and then the function expression of the local embedding vectors of the user and item is obtained: , in, are local embedding vectors for users and items, is the local co-embedding vector of users and items, is the normalization function, is a visual modal or a text modal, For visual mode and text modal A collection of is the local modality embedding vector of the user and the item; the acquisition of the local collaborative embedding vector of the user and the item includes: 1) Construct the interaction matrix R of users and projects based on the interaction data between users and projects. The behavior of the interaction matrix R is user ID, and the column is project ID. When user u interacts with project i, the corresponding position is 1, otherwise the corresponding position is 0; convert the interaction matrix R into an interaction graph G in the form of a bipartite graph, and construct the interaction matrix of users and projects under each mode based on the interaction data between users and projects and convert it into an interaction graph in the form of a bipartite graph to generate a modality-based interaction graph; convert the initial embedding matrix Set to ,in To embed features for users, we use the message propagation mechanism on the interaction graph G to capture the high-order connections between users and items. The functional expression of the collaborative graph propagation function of the layer is: , in, For the The embedding matrix of the output of the layer, It is a lightweight convolutional neural network. For the The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of Every diagonal element of Represents the adjacency matrix No. The number of non-zero elements in the row; 2) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Indicates combination; The acquisition of the local modality embedding vectors of the user and the item includes: 1) Convert the item embedding features into low-dimensional modal features of the item and low-dimensional modal features of the user according to the following formulas: , , in, is the low-dimensional modal feature of the i-th item obtained after conversion, is the conversion function, is the item embedding feature of the i-th item, is the transformation matrix, is the low-dimensional modal feature of user u after conversion, For users Interaction diagram between users and items The set of neighbors in The size of For user collection, Is visual modal or text modal; 2) Combine the low-dimensional modal features of the project and the low-dimensional modal features of the user into combined features: , in, ~ are the users obtained after conversion ~ The low-dimensional modal features of ~ They are the items obtained after conversion ~ Low-dimensional modal features of 3) Embed the initial matrix Set to , using the message propagation mechanism on the modal interaction graph to capture the high-order connections between users and items, any The functional expression of the modal graph propagation function of the +1 layer is: , in, is the first The embedding matrix of the output of layer +1, It is a lightweight convolutional neural network. is the first The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of 4) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Indicates a combination.

[0008] Optionally, in step S2, the project embedding features, the text embedding features, and the image embedding features are filtered using a feature filter, and combined with a learnable transformation vector and an adjacency matrix to generate a global embedding vector for the user and the project, including: 1) Map the item embedding features to a medium dimension and convert them into high-order features according to the following formula: , in, is a high-order feature, is the trainable transformation matrix, The dimension is ,in is the dimension of the final embedding vector, is the dimension of modal feature embedding, is the trainable bias vector, , Is visual modal or text modal; 2) Map the high-order features to a low-dimensional space to filter out some noise according to the feature filter shown in the following formula: , in, is the feature after being mapped to the low-dimensional space, is the gating function, Embed features for users, is a high-order feature, represents element-wise product, for Activation function, is the trainable transformation matrix, is a trainable bias vector; 3) Introduce a learnable transformation vector of dimension B , where any learnable transformation vector of dimension a , the features after mapping to the low-dimensional space According to the following fusion formula, the item representation information containing modal features is obtained : , in, is a matrix of B-dimensional learnable transformation vectors; 4) Represent information of items containing modal features An interaction matrix with data from users' interactions with items The adjacency matrix constructed in According to the following formula, feature-level fusion is performed to obtain user representation information containing modal features: : ; 5) Represent information of items containing modal features User representation information with modal features Reparameterize the Gumbel-Softmax activation function according to the following formula to obtain the enhanced project attribute dependency matrix and enhanced user attribute relationship matrix : , , in, Enhanced project properties dependency matrix The i-th row vector of The result of the reparameterization is is the Gumbel-Softmax activation function, is the noise vector, the noise vector Any j-th value in Follow the distribution , is the temperature hyperparameter, Enhanced User Attribute Relationship Matrix The i-th row vector of The result of reparameterization of ; 6) Enhanced project attribute dependency matrix and enhanced user attribute relationship matrix The global embedding vectors of users and items are calculated according to the following formula : , , , , in, For Project In the +1 level Embedding under modality, Dropout is a random dropout layer, which is used to prevent overfitting of the neural network by randomly dropping some neurons. For Project In the Layer Embedding under modality, For users In the +1 level Embedding under modality, For Project In the +1 level Embedding under modality, For in modal The lower concatenation of the final embedding of the user and the final embedding of the item, the superscript Represents the first layer, For in modal Connect users Finally embedded, For in modal Next series project Finally embedded, For visual or textual modality, For visual mode and text modal A collection of .

[0009] Optionally, in step S3, the local embedding vector of the user is fused with the global embedding vector to obtain the final embedding vector of the user, and the local embedding vector of the project is fused with the global embedding vector to obtain the final embedding vector of the project. The function expression is: , in, is the final embedding vector of the user or item, is the local embedding vector of the user or item, For visual or textual modality, For visual mode and text modal A collection of is an adjustable parameter, is the normalization function, are the global embedding vectors for users and items.

[0010] Optionally, in step S4, the function expression for calculating the user's preference score for the project based on the final embedding vector of the user and the final embedding vector of the project is: , in, For users About Project The preference score of For users The final embedding vector of For Project The final embedding vector of Represents a transpose operation.

[0011] Optionally, the loss function used in the training of the graph neural network multimodal recommendation model is The function expression is: , in, A hyperparameter that weights the loss term, is a hyperparameter used to adjust the relative magnitude of the dynamic feature redundancy removal loss, is the Bayesian personalized ranking loss, is the cross-modal contrast loss on the user side, is the cross-modal contrast loss on the project side, is the loss of interaction-based collaborative filtering, is the loss of modality-based collaborative filtering.

[0012] Optionally, a Bayesian personalized ranking loss The calculation function expression is: , in, is a triple in the training set R, and there is , For users ,project and Projects , A collection of items that users interact with. is the sigmoid function, For users About Project The preference score of For users About Project The preference score of and denote the regularization coefficient and model parameter respectively; Cross-modal contrast loss on the user side The calculation function expression is: , in, is a user in the user set U, is the cosine similarity function, is the temperature hyperparameter, For users Final embedding after graph convolution in visual modality, For users Final embedding after graph convolution in text modality; Cross-modal contrastive loss on the item side The calculation function expression is: , in, For project collection Items in For Project Final embedding after graph convolution in visual modality, For Project Final embedding after graph convolution in text modality; Loss for interaction-based collaborative filtering The calculation function expression is: , in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For local modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For local modeling Layer item embedding; Modality-based collaborative filtering loss The calculation function expression is: ; in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For global modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For global modeling Layer item embedding.

[0013] In addition, the present invention also provides a graph neural network multimodal recommendation system based on feature redundancy removal, comprising an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal.

[0014] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program or instruction, and the computer program or instruction is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal through a processor.

[0015] In addition, the present invention also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal through a processor.

[0016] Compared with the prior art, the present invention mainly has the following advantages: 1. The present invention uses a graph neural network encoder to perform interaction-based collaborative filtering and modality-based collaborative filtering on user embedding features, project embedding features, text embedding features and image embedding features, and then fuses them to obtain local embedding vectors of users and projects, so that user behavior and multimodal content information can be efficiently integrated.

[0017] 2. The present invention uses feature filters to filter noise from project embedding features, text embedding features and image embedding features, and combines learnable transformation vectors and adjacency matrices to generate global embedding vectors for users and projects. Feature filters are used to guide the filtering of modal features that are not related to user preferences based on project information, thereby improving the expressiveness of the model.

[0018] 3. The present invention can adaptively penalize the correlation between feature dimensions in the output representation of each layer of the graph neural network, thereby reducing the impact of feature redundancy while retaining collaborative signals, thereby improving the performance of the graph neural network multimodal recommendation model. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 Schematic diagram of the basic flow of the method of the embodiment of the present invention.

[0020] Figure 2 Schematic diagram of the structure of the neural network multimodal recommendation model in an embodiment of the present invention.

[0021] Figure 3 This is a comparison chart of various models trained based on the Amazon Baby dataset in an embodiment of the present invention.

[0022] Figure 4 This is a comparison chart of various models trained based on the Amazon Video dataset in an embodiment of the present invention.

[0023] Figure 5 This is a comparison chart of various models trained based on the Amazon Beauty dataset in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] like Figure 1 As shown, the graph neural network multimodal recommendation method based on feature redundancy removal in this embodiment includes using the graph neural network multimodal recommendation model to obtain the user's recommendation results based on the following steps using the interaction data between the user and the project: S1, extracting user embedding features, item (recommended item) embedding features and item multimodal features from the interaction data between the user and the item, wherein the item multimodal features include text embedding features and image embedding features; S2: The user embedding features, project embedding features, text embedding features and image embedding features are used to perform interactive (UI)-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder and then fused to obtain local embedding vectors of users and projects; the project embedding features, text embedding features and image embedding features are used to filter noise using feature filters, and the global embedding vectors of users and projects are generated by combining learnable transformation vectors and adjacency matrices; S3, fuse the user's local embedding vector and the global embedding vector to obtain the user's final embedding vector, and fuse the item's local embedding vector and the global embedding vector to obtain the item's final embedding vector; S4, calculate the user's preference score for the project based on the user's final embedding vector and the project's final embedding vector, sort the preference scores of all projects, and select a specified number K of projects with the highest preference scores as the user's recommendation result output.

[0025] In this embodiment, step S1 extracts user embedding features, item (recommended item) embedding features, and item multimodal features from the interaction data between the user and the item, including: S1.1, clean the raw data and divide the data set; S1.2, use the lightweight graph convolutional network (LightGCN) to extract the embedding vectors of users and items as user embedding features and item embedding features, which are then input into the graph neural network GNN for encoding.

[0026] S1.3, use the processing method provided by the multimodal model of recommendation system (MMRec) to extract the modal features of the project to obtain text embedding features and image embedding features, which are then input into the graph neural network GNN for encoding.

[0027] In step S2 of this embodiment, the user embedding features, project embedding features, text embedding features and image embedding features are subjected to interactive-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder, and then the function expression of the local embedding vectors of users and projects is obtained: , in, are local embedding vectors for users and items, is the local co-embedding vector of users and items, is the normalization function, is a visual modal or a text modal, For visual mode and text modal A collection of Local modality embedding vectors for users and items.

[0028] like Figure 2 As shown, in this embodiment, obtaining the local collaborative embedding vectors of users and items includes: 1) Construct the user-project interaction matrix R based on the interaction data between users and projects (usually stored in csv format). The behavior of the interaction matrix R is user ID, and the column is project ID. When user u interacts with project i (such as purchase, click, browse, etc.), the corresponding position is 1, otherwise the corresponding position is 0; convert the interaction matrix R into an interaction graph G in the form of a bipartite graph, and construct the interaction matrix of users and projects under each mode based on the interaction data between users and projects and convert it into an interaction graph in the form of a bipartite graph to generate a modality-based interaction graph; convert the initial embedding matrix Set to ,in To embed features for users, we use the message propagation mechanism on the interaction graph G to capture the high-order connections between users and items. The functional expression of the collaborative graph propagation function of the layer is: , in, For the The embedding matrix of the output of the layer, It is a lightweight convolutional neural network. For the The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of Every diagonal element of Represents the adjacency matrix No. The number of non-zero elements in a row and the adjacency matrix The dimension is , mutual matrix The dimension is ; 2) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Represents a combination, and the dimension is ; The acquisition of the local modality embedding vectors of the user and the item includes: 1) Convert the item embedding features into low-dimensional modal features of the item and low-dimensional modal features of the user according to the following formulas: , , in, is the low-dimensional modal feature of the i-th item obtained after conversion, is the conversion function, is the item embedding feature of the i-th item, is the transformation matrix, is the low-dimensional modal feature of user u after conversion, For users Interaction diagram between users and items The set of neighbors in The size of For user collection, is the visual modality or textual modality; the high-dimensional modal features of each item can be obtained through the above formula Mapping to a unified embedding space , and initialize the user modal features by aggregating the modal features of the items; 2) Combine the low-dimensional modal features of the project and the low-dimensional modal features of the user into combined features: , in, ~ are the users obtained after conversion ~ The low-dimensional modal features of ~ They are the items obtained after conversion ~ Low-dimensional modal features of 3) Embed the initial matrix Set to , using the message propagation mechanism on the modal interaction graph to capture the high-order connections between users and items, any The functional expression of the modal graph propagation function of the +1 layer is: , in, is the first The embedding matrix of the output of layer +1, It is a lightweight convolutional neural network. is the first The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of for modality-related user and item representations; 4) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Indicates a combination.

[0029] like Figure 2 As shown, in step S2 of this embodiment, the project embedding features, text embedding features and image embedding features are filtered using feature filters, and the global embedding vectors of users and projects are generated by combining the learnable transformation vectors and the adjacency matrix, including: 1) Map the item embedding features to a medium dimension and convert them into high-order features according to the following formula: , in, is a high-order feature, is the trainable transformation matrix, The dimension is ,in is the dimension of the final embedding vector, is the dimension of modal feature embedding, is a trainable bias vector, , Is visual modal or text modal; 2) Map the high-order features to a low-dimensional space to filter out some noise according to the feature filter shown in the following formula: , in, is the feature after being mapped to the low-dimensional space, is the gating function, Embed features for users, is a high-order feature, represents element-wise product, for Activation function, is the trainable transformation matrix, is a trainable bias vector; 3) Introduce a learnable transformation vector of dimension B , where any learnable transformation vector of dimension a , the features after mapping to the low-dimensional space According to the following fusion formula, the item representation information containing modal features is obtained : , in, is a matrix of B-dimensional learnable transformation vectors; 4) Represent information of items containing modal features An interaction matrix with data from users' interactions with items The adjacency matrix constructed in According to the following formula, feature-level fusion is performed to obtain user representation information containing modal features: : ; 5) Represent information of items containing modal features User representation information with modal features Reparameterize the Gumbel-Softmax activation function according to the following formula to obtain the enhanced project attribute dependency matrix and enhanced user attribute relationship matrix : , , in, Enhanced project properties dependency matrix The i-th row vector of The result of the reparameterization is is the Gumbel-Softmax activation function, is the noise vector, the noise vector Any j-th value in Follow the distribution , is the temperature hyperparameter, Enhanced User Attribute Relationship Matrix The i-th row vector of The result of reparameterization of ; 6) Enhanced project attribute dependency matrix and enhanced user attribute relationship matrix The global embedding vectors of users and items are calculated according to the following formula : , , , , in, For Project In the +1 level Embedding under modality, Dropout is a random dropout layer, which is used to prevent overfitting of the neural network by randomly dropping some neurons. For Project In the Layer Embedding under modality, For users In the +1 level Embedding under modality, For Project In the +1 level Embedding under modality, For in modal The lower concatenation of the final embedding of the user and the final embedding of the item, the superscript Represents the first layer, For in modal Connect users Finally embedded, For in modal Next series project Finally embedded, For visual or textual modality, For visual mode and text modal On this basis, the cross-modal contrast loss on the user side can be calculated And the cross-modal contrast loss on the project side , where the cross-modal contrast loss on the user side is The calculation function expression is: , in, is a user in the user set U, is the cosine similarity function, is the temperature hyperparameter, For users Final embedding after graph convolution in visual modality, For users Final embedding after graph convolution in text modality; cross-modal contrastive loss on item side The calculation function expression is: , in, For project collection Items in For Project Final embedding after graph convolution in visual modality, For Project Final embedding after graph convolution in text modality.

[0030] In step S3 of this embodiment, the local embedding vector of the user and the global embedding vector are fused to obtain the final embedding vector of the user, and the local embedding vector of the project and the global embedding vector are fused to obtain the final embedding vector of the project. The function expression is: , in, is the final embedding vector of the user or item, is the local embedding vector of the user or item, For visual or textual modality, For visual mode and text modal A collection of is an adjustable parameter, is the normalization function, are the global embedding vectors for users and items.

[0031] In step S4 of this embodiment, the function expression for calculating the user's preference score for the project based on the final embedding vector of the user and the final embedding vector of the project is: , in, For users About Project The preference score of For users The final embedding vector of For Project The final embedding vector of Represents a transpose operation.

[0032] The loss function used in the training of the neural network multimodal recommendation model in this embodiment is The function expression is: , in, A hyperparameter that weights the loss term, is a hyperparameter used to adjust the relative magnitude of the dynamic feature redundancy removal loss, is the Bayesian personalized ranking loss, is the cross-modal contrast loss on the user side, is the cross-modal contrast loss on the project side, is the loss of interaction-based collaborative filtering, is the loss of modality-based collaborative filtering.

[0033] Use Bayesian personalized ranking loss as the basic optimization function, Bayesian personalized ranking loss The calculation function expression is: , in, is a triple in the training set R, and there is , For users ,project and Projects , A collection of items that users interact with. is the sigmoid function, For users About Project The preference score of For users About Project The preference score of and denote the regularization coefficient and model parameter respectively; Use the loss of correlation between constrained features to alleviate the high correlation between the feature dimensions of user and item representations learned by the model, and the loss of collaborative filtering based on interaction The calculation function expression is: , in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For local modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For local modeling The items of the layer are embedded and have: , , Column correlation of a matrix The calculation function expression is: , in, yes The identity matrix of is a column correlation coefficient matrix that satisfies: , in, is the column correlation coefficient matrix The element in row i and column j in Represents the covariance matrix between the column vectors of the matrix, and has: , in, Indicated by A matrix with the mean values ​​of each column.

[0034] Similarly, the loss of modality-based collaborative filtering can be obtained The calculation function expression is: ; in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For global modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For global modeling Layer item embedding.

[0035] In order to verify the method of this embodiment, the experiment in this embodiment uses the Baby, Video, and Beauty datasets selected from the Amazon dataset. During the experiment, each dataset is tuned to meet its optimal settings, and then the recall rate and NDCG indicators are calculated. The graph neural network multimodal recommendation model (AAM) used in the method of this embodiment is compared with two traditional models (relying only on interaction data) BPR and LightGCN and multiple multimodal recommendation methods (using interaction data and multimodal data). For details of BPR, see the literature: Rendle S, Freudenthaler C, Gantner Z,et al. BPR: Bayesian personalized ranking from implicit feedback[J]. arXivpreprint arXiv:1205.2618, 2012.; for details of LightGCN, see the literature: He X, Deng K, Wang X, et al.Lightgcn: Simplifying and powering graph convolution network forrecommendation[C] / / Proceedings of the 43rd International ACM SIGIR conferenceon research and development in Information Retrieval. 2020: 639-648.; for details of VBPR, see the literature: He R, McAuley J. VBPR: visual bayesian personalized ranking fromimplicit feedback[C] / / Proceedings of the AAAI conference on artificialintelligence. 2016, 30(1).; For details on MMGCN, please refer to the literature: Wei Y, Wang 1437-1445.; For details on DualGNN, see the literature: Wang Q, Wei Y, Yin J, et al. 29th ACM international conference on multimedia. 2021:3872-3880.; For details on BM3, please refer to the literature Zhou X, Zhou H, Liu Y, et al. Bootstrap latent representations for multi-modal recommendation[C] / / Proceedings of the ACM WebConference 2023. 2023: 845-854.; The indicators used include Recall@5, Recall@10, NDCG@5 and NDCG@10, where Recall@5 is the proportion of all positive examples in the top five that are correctly predicted, Recall@10 is the proportion of all positive examples in the top ten that are correctly predicted, NDCG@5 is the difference between the top five items in the recommended sorting list and the top five items in the user's real interaction list, and NDCG@10 is the difference between the top ten items in the recommended sorting list and the top ten items in the user's real interaction list. The performance results of the models trained on the three data sets of Baby, Video and Beauty are as follows. Figure 3 , Figure 4 and Figure 5 As shown in Table 1, the performance comparison of each model trained based on the three datasets of Baby, Video, and Beauty is shown.

[0036] Table 1: Performance comparison of models trained on the Baby, Video, and Beauty datasets

[0037] Figure 3 , Figure 4 and Figure 5As can be seen from Table 1, the graph neural network multimodal recommendation model (AAM) adopted by the method of this embodiment is superior to other traditional models and multiple multimodal recommendation methods in terms of recall rate and NDCG indicators.

[0038] In summary, the graph neural network multimodal recommendation method based on feature redundancy removal in this embodiment first processes the interaction data between users and items to obtain the corresponding initial embedding vector and extract the original modal features of the items; (UI) The graph neural network collaborative filtering and modality-based graph neural network collaborative filtering respectively obtain the collaboratively related user and project representations User and item representations related to modality features , weight the results and get local user and item representations with modal features ; Then design a feature filter to filter modal noise and obtain global user and project representation , embedding users and items locally and global embedding Fusion to obtain the final representation ; Then, the final user and item representations are updated by combining the Bayesian personalized ranking loss with the cross-modal contrast loss and the correlation loss between the constrained features, and the adaptive moment estimation optimization algorithm is used to update the model parameters and optimize the model; finally, the user feature embedding vector is separated from the final representation of the optimized model and item feature embedding vector , the inner product of the two is used as the user's preference score for the project and sorted, and the top K projects are selected as the set of recommendation lists. The graph neural network multimodal recommendation method based on feature redundancy removal in this embodiment can solve the feature redundancy problem existing in GNN-based multimodal recommendation, filter multimodal features that can better represent user interests, and improve the accuracy of recommending projects to users. It can be widely used in various multimodal recommendation scenarios.

[0039] In addition, this embodiment also provides a graph neural network multimodal recommendation system based on feature redundancy removal, including an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal.

[0040] In addition, this embodiment also provides a computer-readable storage medium, which stores a computer program or instruction, and the computer program or instruction is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal through a processor.

[0041] In addition, this embodiment also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal through a processor.

[0042] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0043] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A graph neural network multimodal recommendation method based on feature redundancy removal, characterized in that: This includes using the graph neural network multimodal recommendation model to obtain the user's recommendation results based on the following steps using the interaction data between the user and the project: S1, extracting user embedding features, project embedding features and multimodal features of the project from the interaction data between the user and the project, wherein the multimodal features of the project include text embedding features and image embedding features; S2: The user embedding features, project embedding features, text embedding features and image embedding features are used to perform interaction-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder and then fused to obtain local embedding vectors of users and projects; the project embedding features, text embedding features and image embedding features are used to filter noise using feature filters, and the global embedding vectors of users and projects are generated by combining learnable transformation vectors and adjacency matrices; S3, fuse the user's local embedding vector and the global embedding vector to obtain the user's final embedding vector, and fuse the item's local embedding vector and the global embedding vector to obtain the item's final embedding vector; S4, calculate the user's preference score for the project based on the user's final embedding vector and the project's final embedding vector, sort the preference scores of all projects, and select a specified number K of projects with the highest preference scores as the user's recommendation result output.

2. According to claim 1, the graph neural network multimodal recommendation method based on feature redundancy removal is characterized in that: In step S2, the user embedding features, project embedding features, text embedding features and image embedding features are used to perform interactive-based collaborative filtering and modality-based collaborative filtering by using a graph neural network encoder, and then the function expression of the local embedding vectors of users and projects is obtained: , in, are local embedding vectors for users and items, is the local co-embedding vector of users and items, is the normalization function, is a visual modal or a text modal, For visual mode and text modal A collection of is the local modality embedding vector of the user and the item; the acquisition of the local collaborative embedding vector of the user and the item includes: 1) Construct the interaction matrix R of users and projects based on the interaction data between users and projects. The behavior of the interaction matrix R is user ID, and the column is project ID. When user u interacts with project i, the corresponding position is 1, otherwise the corresponding position is 0; convert the interaction matrix R into an interaction graph G in the form of a bipartite graph, and construct the interaction matrix of users and projects under each mode based on the interaction data between users and projects and convert it into an interaction graph in the form of a bipartite graph to generate a modality-based interaction graph; convert the initial embedding matrix Set to ,in To embed features for users, we use the message propagation mechanism on the interaction graph G to capture the high-order connections between users and items. The functional expression of the collaborative graph propagation function of the layer is: , in, For the The embedding matrix of the output of the layer, It is a lightweight convolutional neural network. For the The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of Every diagonal element of Represents the adjacency matrix No. The number of non-zero elements in the row; 2) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Indicates combination; The acquisition of the local modality embedding vectors of the user and the item includes: 1) Convert the item embedding features into low-dimensional modal features of the item and low-dimensional modal features of the user according to the following formulas: , , in, is the low-dimensional modal feature of the i-th item obtained after conversion, is the conversion function, is the item embedding feature of the i-th item, is the transformation matrix, is the low-dimensional modal feature of user u after conversion, For users Interaction diagram between users and items The set of neighbors in The size of For user collection, Is visual modal or text modal; 2) Combine the low-dimensional modal features of the project and the low-dimensional modal features of the user into combined features: , in, ~ are the users obtained after conversion ~ The low-dimensional modal features of ~ They are the items obtained after conversion ~ Low-dimensional modal features of 3) Embed the initial matrix Set to , using the message propagation mechanism on the modal interaction graph to capture the high-order connections between users and items, any The functional expression of the modal graph propagation function of the +1 layer is: , in, is the first The embedding matrix of the output of layer +1, It is a lightweight convolutional neural network. is the first The embedding matrix of the output of the layer, is the interaction matrix from the interaction data between users and items The adjacency matrix constructed in express The degree matrix of 4) Embed the initial matrix The local co-embedding vectors of users and items are obtained by combining the embedding matrices of all outputs according to the following formula: , in, Indicates a combination.

3. The graph neural network multimodal recommendation method based on feature redundancy removal according to claim 1 is characterized in that: In step S2, the project embedding features, text embedding features and image embedding features are filtered using feature filters, and combined with the learnable transformation vector and adjacency matrix to generate global embedding vectors for users and projects, including: 1) Map the item embedding features to a medium dimension and convert them into high-order features according to the following formula: , in, is a high-order feature, is the trainable transformation matrix, The dimension is ,in is the dimension of the final embedding vector, is the dimension of modal feature embedding, is the trainable bias vector, , Is visual modal or text modal; 2) Map the high-order features to a low-dimensional space to filter out some noise according to the feature filter shown in the following formula: , in, is the feature after being mapped to the low-dimensional space, is the gating function, Embed features for users, is a high-order feature, represents element-wise product, for Activation function, is the trainable transformation matrix, is a trainable bias vector; 3) Introduce a learnable transformation vector of dimension B , where any learnable transformation vector of dimension a , the features after mapping to the low-dimensional space According to the following fusion formula, the item representation information containing modal features is obtained : , in, is a matrix of B-dimensional learnable transformation vectors; 4) Represent information of items containing modal features An interaction matrix with data from users' interactions with items The adjacency matrix constructed in According to the following formula, feature-level fusion is performed to obtain user representation information containing modal features: : ; 5) Represent information of items containing modal features User representation information with modal features Reparameterize the Gumbel-Softmax activation function according to the following formula to obtain the enhanced project attribute dependency matrix and enhanced user attribute relationship matrix : , , in, Enhanced project properties dependency matrix The i-th row vector of The result of the reparameterization is is the Gumbel-Softmax activation function, is the noise vector, the noise vector Any j-th value in Follow the distribution , is the temperature hyperparameter, Enhanced User Attribute Relationship Matrix The i-th row vector of The result of reparameterization of ; 6) Enhanced project attribute dependency matrix and enhanced user attribute relationship matrix The global embedding vectors of users and items are calculated according to the following formula : , , , , in, For Project In the +1 level Embedding under modality, Dropout is a random dropout layer, which is used to prevent overfitting of the neural network by randomly dropping some neurons. For Project In the Layer Embedding under modality, For users In the +1 level Embedding under modality, For Project In the +1 level Embedding under modality, For in modal The lower concatenation of the final embedding of the user and the final embedding of the item, the superscript Represents the first layer, For in modal Connect users Finally embedded, For in modal Next series project Finally embedded, For visual or textual modality, For visual mode and text modal A collection of .

4. The graph neural network multimodal recommendation method based on feature redundancy removal according to claim 1 is characterized in that: In step S3, the local embedding vector of the user is fused with the global embedding vector to obtain the final embedding vector of the user, and the local embedding vector of the project is fused with the global embedding vector to obtain the final embedding vector of the project. The function expression is: , in, is the final embedding vector of the user or item, is the local embedding vector of the user or item, For visual or textual modality, For visual mode and text modal A collection of is an adjustable parameter, is the normalization function, are the global embedding vectors for users and items.

5. The graph neural network multimodal recommendation method based on feature redundancy removal according to claim 1 is characterized in that: In step S4, the function expression of the user's preference score for the project is calculated based on the final embedding vector of the user and the final embedding vector of the project: , in, For users About Project The preference score of For users The final embedding vector of For Project The final embedding vector of Represents a transpose operation.

6. The graph neural network multimodal recommendation method based on feature redundancy removal according to claim 1 is characterized in that: The loss function used in the training of the graph neural network multimodal recommendation model The function expression is: , in, A hyperparameter that weights the loss term, is a hyperparameter used to adjust the relative magnitude of the dynamic feature redundancy removal loss, is the Bayesian personalized ranking loss, is the cross-modal contrast loss on the user side, is the cross-modal contrast loss on the item side, is the loss of interaction-based collaborative filtering, is the loss of modality-based collaborative filtering.

7. The graph neural network multimodal recommendation method based on feature redundancy removal according to claim 6 is characterized in that: Bayesian Personalized Ranking Loss The calculation function expression is: , in, is a triple in the training set R, and there is , For users ,project and Projects , A collection of items that users interact with. is the sigmoid function, For users About Project The preference score of For users About Project The preference score of and denote the regularization coefficient and model parameter respectively; Cross-modal contrast loss on the user side The calculation function expression is: , in, is a user in the user set U, is the cosine similarity function, is the temperature hyperparameter, For users Final embedding after graph convolution in visual modality, For users Final embedding after graph convolution in text modality; Cross-modal contrastive loss on the item side The calculation function expression is: , in, For project collection Items in For Project Final embedding after graph convolution in visual modality, For Project Final embedding after graph convolution in text modality; Loss for interaction-based collaborative filtering The calculation function expression is: , in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For local modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For local modeling Layer item embedding; Modality-based collaborative filtering loss The calculation function expression is: ; in, is the total number of convolutional layers required for the graph neural network encoder, For the user's The penalty coefficient of the layer, is the column correlation of the matrix, For global modeling User embedding of layers, The corresponding The penalty coefficient of the layer, For global modeling Layer item embedding.

8. A graph neural network multimodal recommendation system based on feature redundancy removal, comprising a microprocessor and a memory connected to each other, characterized in that: The microprocessor is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal as described in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program or instruction stored therein, characterized in that: The computer program or instruction is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal as described in any one of claims 1 to 7 through a processor.

10. A computer program product comprising a computer program or instructions, characterized in that The computer program or instruction is programmed or configured to execute the graph neural network multimodal recommendation method based on feature redundancy removal as described in any one of claims 1 to 7 through a processor.

Citation Information

Patent Citations

  • Context awareness graph neural network-based session item recommendation method

    CN115292585A

  • Multimodal hierarchical graph-based multimedia recommendation method, electronic equipment and storage medium

    CN116186301A

  • Multi-modal project recommendation method, system and equipment and storage medium

    CN116561446A

  • Multi-modal personalized clothing recommendation method based on graph neural network

    CN118154282A

  • Method for identifying abnormal event pattern and providing guide message in cloud platform and apparatus therefor

    KR1020250140991A

Cited By

  • Multi-modal recommendation method based on information bottleneck principle

    CN119128280A

  • Multi-modal recommendation method and system for enhancing user representation through graph convolutional neural network

    CN119202398A

  • Multimodal recommendation method and system based on spectrogram polynomial filter

    CN119537705A

  • A multimodal recommendation method and system based on spectral polynomial filter

    CN119537705B

  • Multi-modal recommendation method, system and device based on anti-fact comparison pre-training

    CN119939039A