NFT recommendation method based on multi-modal graph attention model

Through the multi-modal graph attention model, combining images, texts, and transaction data, an interactive graph is constructed and an attention mechanism is used, the problem of sparse data and diversified purchasing motivation in the NFT recommendation system is solved, and more accurate users and NFTs are achieved recommend.

CN118887017AActive Publication Date: 2024-11-01ZHEJIANG UNIV

Patent Information

Application Number
CN202411006990.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-01
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

NFT recommendation systems face the problems of data sparseness, anonymity and diversified purchasing motivations, and it is difficult to effectively recommend user preferences, and the existing technology has not fully utilized multimodal data.

Method used

Using the recommended method based on the multimodal graph attention model, users and NFT features are extracted through images, text, and transaction data, interactive graphs are constructed, and high-order connectivity information is obtained using attention mechanism and gate mechanism to generate users and NFTs. Vector representation, performs an internal product operation to predict the match score.

Benefits of technology

It improves the accuracy and personalization of the recommendation system, can process multimodal data more effectively, and provides more accurate recommendation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887017A_ABST
    Figure CN118887017A_ABST
Patent Text Reader

Abstract

The invention discloses an NFT recommendation method based on a multi-modal graph attention model, which optimizes the problem of sparse interaction data between a user and an NFT in an existing model, fully combines information such as images, description texts and transaction data to extract features of the user and the NFT, and trains an attention network model to obtain a recommendation result. Comprising the following steps of firstly obtaining NFT image data, text data, price data and transaction data, obtaining respective initial embedded vectors of a user and the NFT through feature extraction in each data mode, then constructing a graph model to obtain a high-order relation between the user and the NFT, obtaining a final user vector and a final NFT vector in combination with a gating mechanism and an attention mechanism, and finally obtaining a final user model and a final NFT model. The preference value of the user in the given NFT can be obtained through the inner product of the two values, and recommendation results are obtained through ranking from high to low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of recommendation algorithms, and more specifically to an NFT recommendation method based on a multimodal graph attention mechanism. Background Art

[0002] Many fields regard recommendation systems as an important tool to enhance user experience, such as movies, music, and e-commerce. In these fields, recommendation systems have been widely studied to enable users to better find content they may like.

[0003] In recent years, the scale of the NFT (non-fungible token) market has grown rapidly, and the transaction volume has surged, showing broad application prospects in multiple industries such as sports, games, art collections, and music. NFT recommendation algorithms face many challenges in practical applications. First, NFT is exclusive and can only be owned by one user at the same time. In transactions, it can only be transferred from the current holder to another user. Online music, movies, and commodities can be liked and shared by multiple users at the same time, and a large amount of feedback information can be collected; second, NFT transactions are anonymous. NFT runs on the blockchain system, which is an anonymous system. Through encryption, users do not need to directly expose their identity information in transactions. Therefore, it is difficult for us to obtain various user characteristics in the user dimension; finally, users in the NFT market have diverse purchasing motivations. NFT can be purchased as a digital collection or as a purely speculative product. This requires the recommendation system to not only consider its content attributes, but also add asset attributes such as price, number of circulations, and transaction parties as inputs to the system, which brings certain challenges to the recommendation system architecture.

[0004] At present, the scenario of recommendation system suitable for NFT is still relatively blank. The unique characteristics of the NFT market and its increasingly prominent development prospects highlight the importance of developing personalized recommendation systems to meet specific needs. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention provides an NFT recommendation method based on a multimodal graph attention model.

[0006] This invention optimizes the problem of sparse user and NFT interaction data in existing models. It fully combines information such as images, descriptive texts, transaction data, etc. to extract the features of users and NFTs, uses transaction data to build a graph model of users and NFTs, obtains richer information from the high-order connectivity between nodes, and obtains the weights of the influence of nodes on each other based on the attention mechanism. Finally, the vector representation of users and NFTs is obtained, and the inner product of the two is used to obtain the recommendation results.

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

[0008] An NFT recommendation method based on a multimodal attention model is implemented by a recommendation model based on a multimodal attention model. The model includes a data preprocessing module, a feature extraction module, a graph attention learning module and a recommendation generation module. The method includes the following steps:

[0009] Step S1: Obtain an NFT data set, which includes NFT image data, transaction data, price data, and NFT description text data, and pre-process the data;

[0010] Step S2: construct a convolutional neural network model, perform feature extraction on the NFT image data obtained in step S1, and obtain feature representation of NFT in image mode;

[0011] Step S3: construct a word embedding model, perform feature extraction on the NFT description text data obtained in step S1, and obtain the feature representation of NFT in text mode;

[0012] Step S4: Construct a neural network model, process the price data and transaction data obtained in step S1, and extract the feature representation of users and NFTs under the transaction mode;

[0013] Step S5: Use the transaction data obtained in step 1 to build the interaction behavior matrix between users and NFTs. Use the NFT feature vectors obtained in steps S2 and S3 and the feature vectors of users and NFTs under the transaction mode obtained in step S4, combined with the gating mechanism and attention mechanism, to define the aggregation formula of the nodes in the interaction graph.

[0014] Step S6: Information aggregation, using neighbor nodes to update the value of a specific node, aggregating node representations under different modes, and then obtaining vector representations containing high-order connectivity information and combining them into the final node vector.

[0015] Step S7: Based on the vector representations of the user and NFT obtained in step S6, an inner product operation is performed on the two to predict the matching score, and the NFT recommendation sequence for the specific user is obtained by sorting in reverse order according to the matching score;

[0016] Step S8: Construct a loss function and use the AdamW optimizer to train the model.

[0017] As an optional technical solution, step S2 specifically includes:

[0018] Step S21: Adjust the image shape in the NFT image data set obtained in step S1 to a 256*256*3-dimensional vector.

[0019] Step S22: Load the convolutional network model, input the image to be processed into the model, and obtain the vector representation of each image through model training.

[0020] As an optional technical solution, step S3 specifically includes:

[0021] Step S31: Process the text data set in step 1, and convert the text into multiple descriptive words for NFT after word segmentation and stop word processing;

[0022] Step S32: Load the word vector model, convert the words in the text into word vectors of fixed dimension, and then connect the multiple word embeddings corresponding to each NFT. If the number of words is less than 6, fill the remaining values ​​with zeros.

[0023] As an optional technical solution, step S4 specifically includes:

[0024] Step S41: Calculate the average purchase price of each user to indicate the user’s financial ability and willingness to purchase NFTs;

[0025] Step S42: Calculate the average time that the user holds NFT in days to indicate the user's trading frequency in the NFT market. If the value is small, it indicates that the user is more likely to be a speculator rather than a collector in the NFT market.

[0026] Step S43: Calculate the total number of transactions of the user to indicate the user's activity in the market;

[0027] Step S44: Establish a fully connected layer, the input is a vector composed of three values ​​obtained in steps S41, S42 and S43, and the output after passing through the fully connected layer is a user feature vector;

[0028] Step S45: Calculate the average transaction price and transaction times of each NFT;

[0029] Step S46: Establish a fully connected layer. The input is a vector composed of numerical values ​​obtained in step S45. After passing through the fully connected layer, the output is the feature vector of NFT under the transaction mode.

[0030] As an optional technical solution, step S5 specifically includes:

[0031] Step S51: Construct an interaction matrix between users and NFTs to represent implicit feedback information between users and NFTs. An element 1 in the matrix indicates that the corresponding user and NFT have interacted. Construct a multimodal graph based on the interaction matrix, including image modality, text modality, and transaction modality;

[0032] Step S52: Initialize the node vector. For mode m, set both the user vector and the item vector to dm-dimensional vectors. The user vector is obtained by passing the fully connected layer in step S44, and the NFT vector is obtained in steps S2, S3, and S46;

[0033] Step S53: Use the Gated Attention-GNN model, which combines the gating mechanism and the attention mechanism, and uses the relationship between nodes to dynamically select and integrate the node's own features and the features of neighboring nodes to obtain the user and item vectors that integrate the neighboring nodes. Specifically, for node h in the user-NFT interaction matrix, there are directly connected nodes N h ={t|(h,t)∈E}, then the information of h can be represented by neighbor aggregation;

[0034] Step S54: Under mode m, calculate the gate values: 1. Inner product gate, calculate the vector e of node h m,h and its adjacent node vector e m,t The inner product of , and then normalize. 2. Connect the gates, use linear transformation to connect e m,h and e m,t , multiplied by the trainable weight matrix and then normalized. 3. Double interaction gate, combining the inner product gate and the connection gate, combining the outputs of the two, and integrating the inner product-based similarity and connection representation, providing a more flexible and powerful mechanism for information propagation in the model;

[0035] Step S55: Use the attention mechanism to learn the importance of each neighbor to the node change. Use the vector inner product method to obtain the attention weight to indicate the similarity between two nodes, and then use the softmax function to normalize the weights of all neighbor nodes.

[0036] As an optional technical solution, step S6 specifically includes:

[0037] Step S61: Use neighbor nodes To update the value of node h

[0038]

[0039] Where W m,2 is the transformation matrix, e h It acts as a connection The virtual super node, then and Make a combination

[0040]

[0041] in, represents the representation of node h after first-order connection encoding, Wm,3 is the trainable weight matrix.

[0042] Step S62: Utilize the high-order connectivity between nodes to further represent the nodes. The aggregation formula is defined as:

[0043]

[0044] in, is the result after the l-1th propagation, storing the information from the lth order, is the initial embedding vector e m,h After updating the representation of the nodes in a specific modality m, the representations of different modalities are combined into a new representation by averaging;

[0045] Step S63: Concatenate the multi-order vectors of the user and NFT to obtain their respective final representations, the order of which is 3.

[0046] As an optional technical solution, step S8 specifically includes:

[0047] Use Bayesian personalized recommendation to optimize model parameters as follows

[0048]

[0049] Among them, O∈{(u,i,j)|(u,i)∈R + ,(u,j)∈R -} represents the training set, R + represents a dataset containing observed interactions between user u and item i, and R - represents the unobserved. δ(.) is the sigmoid function, λ is the decay factor, and θ is the parameter used in the model.

[0050] The working principle of the present invention is:

[0051] First, the present invention makes full use of the information of the NFT recommendation market, obtains the data of NFTs and users in different modes, and weakens the impact of data sparsity on the effect of the recommendation model; secondly, the present invention utilizes the properties of the interaction graph to extract high-order interaction information between users and NFTs, and can obtain a wider range of recommended content; finally, the present invention utilizes the attention mechanism and the gating mechanism to obtain the influence weight of different modal data on a given node and the influence weight of different nodes on it, so that the recommendation effect is more accurate.

[0052] The advantages of the present invention are:

[0053] This invention makes full use of various data from the NFT recommendation market, constructs a recommendation model based on the multimodal graph attention mechanism, and achieves better results than the baseline model under the basic measurement standards of the recommendation algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a model structure diagram of the method of the present invention.

[0055] Figure 2 is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0056] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0057] This embodiment relates to an NFT recommendation method based on a multimodal graph attention model, which optimizes the problem of sparse user and NFT interaction data in the existing model, fully combines information such as images, description texts, and transaction data to extract features of users and NFTs, trains an attention network model, and obtains recommendation results. The present invention includes the following steps: first, obtain NFT image data, text data, price data, transaction data, and user data, obtain their respective initial embedding vectors through feature extraction, and then construct a graph model to obtain a more accurate vector representation of users and NFTs, and then obtain the final user vector and NFT vector through the attention network model. The dot product of the two can obtain the user's preference value for a given NFT, and the recommendation results are obtained by sorting from high to low.

[0058] like Figure 1 , Figure 2 , the specific steps of the present invention include:

[0059] Step S1: This example selects several of the most popular NFT sets from the opensea NFT trading website for implementation, including 500,000 transaction data, 24,000 NFT images, and 24,000 NFT text description information, focusing on the field of art collections. NFT text descriptions exist in the form of multiple key-value pairs, such as {Hat:'M1 Beanie'; Mouth:'M1 Bored'}. The transaction types of transaction data include transfer and sale, which can be expressed in four tuples (u i ,u j ,k,p) describes a transaction, indicating that user u i NFT k Transaction to user u j , p represents the transaction price. If the transaction type is transfer, p = 0. To avoid the training data being too sparse, users and NFTs with more than 5 interaction data are intercepted, of which 80% are used as training sets and 20% as test sets.

[0060] Step S2: First, adjust the image shape in the NFT image dataset obtained in step 1 to a vector of 256*256*3 dimensions. Load the pre-trained CAE (Convolutional Auto-Encoder) model, which includes an encoder and a decoder, both of which are composed of 8 fully connected layers. The encoder uses a 3*3 convolution kernel and a 2*2 maximum pooling kernel, while the decoder uses a 3*3 convolution kernel and a 2*2 upsampling. All nonlinear functions in the model are implemented by the ReLU activation function. Input the image to be processed into the CAE model, and obtain the vector representation of each image through model training.

[0061] Step S3: Process the text dataset in step 1 and convert the text into multiple words describing the NFT. Load the pre-trained Glove model, convert the words in the text into 300-dimensional word vectors, and then connect the multiple word embeddings corresponding to each NFT. If the number of words is less than 6, fill the remaining values ​​with zeros.

[0062] Step S4: Process the transaction data set in step S1 to extract the user's feature vector, such as steps S41 to S44; obtain the feature vector of the NFT, such as steps S45 to S46;

[0063] Step S41: Calculate the average purchase price of each user to indicate the user’s financial ability and willingness to purchase NFTs;

[0064] Step S42: Calculate the average time that the user holds NFT in days to indicate the user's trading frequency in the NFT market. If the value is small, it indicates that the user is more likely to be a speculator in the NFT market rather than a collector.

[0065] Step S43: Calculate the total number of transactions of the user to indicate the user's activeness in the market;

[0066] Step S44: Establish a fully connected layer, the input is a 1*3 dimensional vector composed of three values ​​obtained by S41, S42 and S43, and after passing through two layers of fully connected layers, the output is a user feature vector;

[0067] Step S45: Calculate the average transaction price and transaction times of each NFT;

[0068] Step S46: Establish a fully connected layer. The input is a vector composed of numerical values ​​obtained in step S45. After passing through the fully connected layer, the output is the feature vector of NFT under the transaction mode.

[0069] Step S5: Constructing a multimodal interaction graph between users and NFTs, including the following steps:

[0070] Step S51: U represents the user set, I represents the NFT set, and the interaction matrix Y∈|U|×|I| between users and NFTs represents implicit feedback information, y ui =1 indicates that user u interacts with NFT i, including transfer and purchase, otherwise it is 0. Based on Y, a multimodal graph G can be constructed m , which belongs to the modality set M = {image, text, transaction};

[0071] Step S52: Initialize the node vector. For mode m, set both the user vector and the item vector to dm-dimensional vectors. The user vector is obtained by passing the fully connected layer in step S44, and the NFT vector is obtained in steps S2, S3 and S4.6;

[0072] Step S53: Construct a Gated Attention-GNN model, which combines the gating mechanism and the attention mechanism, and uses the relationship between nodes to dynamically select and integrate the node's own features and the features of neighboring nodes to obtain user and item vectors that integrate neighboring nodes. Specifically, for node h in Y, there are directly connected nodes N h ={t|(h,t)∈E}, then the information of h can be aggregated by its neighbors as

[0073]

[0074] Where m represents the mode, f a (h, t) and f g (h, t) is the propagation gate and attention component in the gated attention network, f g (h, t) is the propagation gate, which is used to determine whether information is propagated from t to h, f a (h, t) is the attention score, which indicates the contribution of t, W m,1 is a trainable weight matrix;

[0075] Step S54: Calculate the gate value between nodes, which is implemented by the following process:

[0076] 1. Inner product gate, calculate e m,h and e m,t The inner product of For regularization

[0077]

[0078] 2. Connect the gates and use linear transformation to connect e m,h and e m,t , || is the concatenation operator, W c It is a trainable right

[0079] Heavy Matrix

[0080]

[0081] 3. Double interactive door, combining the inner product door and the connection door

[0082]

[0083] This gate combines the outputs of the inner product gate and the connection gate, and fuses the inner product-based similarity and connection representations. It provides a more flexible and powerful mechanism for information propagation in the model.

[0084] Step S55: Use the attention mechanism to learn the importance of each neighbor to the node change, as follows:

[0085] f a (h,t)=(W m,h e m,h ) T tanh(W m,t e m,t ) (9)

[0086] Among them, tanh is a nonlinear activation function, W m,h and W m,t is a learnable transformation matrix. The inner product is used to obtain the attention weight, indicating the similarity between two nodes. Then the weights of all neighboring nodes are normalized using the softmax function, as follows

[0087]

[0088] Step S6: Information aggregation, using neighbor nodes To update the value of node h,

[0089]

[0090] Where W m,2 is the transformation matrix, e h It acts as a connection The virtual super node, then and Make a combination

[0091]

[0092] in, represents the representation of node h after first-order connection encoding, W m,3 is the trainable weight matrix.

[0093] The nodes are further represented by using the high-order connectivity between nodes. The node h is defined as:

[0094]

[0095] in, is the result after the l-1th propagation, storing the information from the lth order, is the initial embedding vector e m,h After updating the representation of the nodes in a specific modality m, the representations of different modalities are combined into a new representation as:

[0096]

[0097] The number of information propagation is L (L=3), and the final representation of the node is generated in the following way

[0098]

[0099] Step 7: Perform inner product operation on the vector representation of user and NFT to predict the matching score

[0100]

[0101] Step 8: Use Bayesian personalized recommendation to optimize model parameters as follows:

[0102]

[0103] Among them, O∈{(u,i,j)|(u,i)∈R + ,(u,j)∈... -} represents the training set, ... + represents a dataset containing observed interactions between user u and item i, and R - represents the unobserved. δ(.) is the sigmoid function, λ is the decay factor, and θ is the parameter used in the model.

[0104] Step S9: Using the commonly used Henry measurement indicators Recall@30 and NDCG@30 in the recommendation system, the recommendation effect comparison between this method and the benchmark method is obtained, as shown in Table 1

[0105] Table 1

[0106] Model Recall@30 NDCG@30 LightGCN 0.152 0.061 DeepFM 0.157 0.053 WideDeep 0.185 0.057 MGAT 0.241 0.071 DCN 0.195 0.065 BPR 0.174 0.078 MAGM 0.315 0.094

[0107] As can be seen from the table, the present invention (MAGM: Multi-Attention Graph Model) is significantly better than the existing methods in terms of evaluation criteria. This proves that the present invention makes full use of the data of users and NFTs in various modes, and uses mechanisms such as attention to obtain more accurate vector representations, thereby making the prediction results more accurate.

[0108] The contents described in the embodiments of this specification are merely an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms described in the embodiments. The protection scope of the present invention also extends to equivalent technical means that can be conceived by those skilled in the art based on the inventive concept.

Claims

1. An NFT recommendation method based on a multimodal graph attention model, characterized in that: First, we obtain NFT image data, text data, price data, and transaction data. After feature extraction under each data modality, we obtain the initial embedding vectors of users and NFTs. Then, we build a graph model to obtain the high-order relationship between users and NFTs. We combine the gating mechanism and the attention mechanism to obtain the final user vector and NFT vector. The inner product of the two can obtain the user's preference value for a given NFT, and the recommendation results are obtained by sorting from high to low. The following steps are involved: Step S1: Obtain an NFT data set, which includes NFT image data, transaction data, price data, and NFT description text data, and pre-process the data; Step S2: construct a convolutional neural network model, perform feature extraction on the NFT image data obtained in step S1, and obtain feature representation of NFT in image mode; Step S3: construct a word embedding model, perform feature extraction on the NFT description text data obtained in step S1, and obtain the feature representation of NFT in text mode; Step S4: Construct a neural network model, process the price data and transaction data obtained in step S1, and extract the feature representation of users and NFTs under the transaction mode; Step S5: Use the transaction data obtained in step 1 to build the interaction behavior matrix between users and NFTs. Use the NFT feature vectors obtained in steps S2 and S3 and the feature vectors of users and NFTs under the transaction mode obtained in step S4, combined with the gating mechanism and attention mechanism, to define the aggregation formula of the nodes in the interaction graph. Step S6: Information aggregation, using neighbor nodes to update the value of a specific node, aggregating node representations under different modes, and then obtaining vector representations containing high-order connectivity information and combining them into the final node vector. Step S7: Based on the vector representations of the user and NFT obtained in step S6, an inner product operation is performed on the two to predict the matching score, and the NFT recommendation sequence for the specific user is obtained by sorting in reverse order according to the matching score; Step S8: Construct a loss function and use the AdamW optimizer to train the model.

2. According to the NFT recommendation method of the multimodal graph attention model according to claim 1, it is characterized in that Step S2 specifically includes: Step S21: adjusting the image shape in the NFT image data set obtained in step S1 to a vector of 256*256*3 dimensions; Step S22: Load the convolutional network model, input the image to be processed into the model, and obtain the vector representation of each image through model training.

3. The NFT recommendation method of a multimodal graph attention model according to claim 1, characterized in that: Step S3 specifically includes: Step S31: Process the text data set in step 1, and convert the text into multiple descriptive words for NFT after word segmentation and stop word processing; Step S32: Load the word vector model, convert the words in the text into word vectors of fixed dimension, and then connect the multiple word embeddings corresponding to each NFT. If the number of words is less than 6, fill the remaining values ​​with zeros.

4. The NFT recommendation method of a multimodal graph attention model according to claim 1, characterized in that: Step S4 specifically includes: Step S41: Calculate the average purchase price of each user to indicate the user’s financial ability and willingness to purchase NFTs; Step S42: Calculate the average time that the user holds NFT in days to indicate the user's trading frequency in the NFT market. If the value is small, it indicates that the user is more likely to be a speculator rather than a collector in the NFT market. Step S43: Calculate the total number of transactions of the user to indicate the user's activity in the market; Step S44: Establish a fully connected layer, the input is a vector composed of three values ​​obtained in steps S41, S42 and S43, and the output after passing through the fully connected layer is a user feature vector; Step S45: Calculate the average transaction price and transaction times of each NFT; Step S46: Establish a fully connected layer. The input is a vector composed of numerical values ​​obtained in step S45. After passing through the fully connected layer, the output is the feature vector of NFT under the transaction mode.

5. The NFT recommendation method of a multimodal graph attention model according to claim 1, characterized in that: Step S5 specifically includes: Step S51: Construct an interaction matrix between users and NFTs to represent implicit feedback information between users and NFTs. An element 1 in the matrix indicates that the corresponding user and NFT have interacted. Construct a multimodal graph based on the interaction matrix, including image modality, text modality, and transaction modality; Step S52: Initialize the node vector. For mode m, set both the user vector and the item vector to dm-dimensional vectors. The user vector is obtained by passing the fully connected layer in step S44, and the NFT vector is obtained in steps S2, S3, and S46; Step S53: Use the Gated Attention-GNN model, which combines the gating mechanism and the attention mechanism, and uses the relationship between nodes to dynamically select and integrate the node's own features and the features of neighboring nodes to obtain the user and item vectors that integrate the neighboring nodes. Specifically, for node h in the user-NFT interaction matrix, there are directly connected nodes N h ={t|(h,t)∈E}, the information of h can be represented by neighbor aggregation; Step S54: Under mode m, calculate the gate values:

1. Inner product gate, calculate the vector e of node h m,h and its adjacent node vector e m,t The inner product of , and then normalize.

2. Connect the gates, use linear transformation to connect e m,h and e m,t , multiplied by the trainable weight matrix and then normalized.

3. Double interaction gate, combining the inner product gate and the connection gate, combining the outputs of the two, and integrating the inner product-based similarity and connection representation, providing a more flexible and powerful mechanism for information propagation in the model; Step S55: Use the attention mechanism to learn the importance of each neighbor to the node change. Use the vector inner product method to obtain the attention weight to indicate the similarity between two nodes, and then use the softmax function to normalize the weights of all neighbor nodes.

6. The NFT recommendation method of a multimodal graph attention model according to claim 1, characterized in that: Step S6 specifically includes: Step S61: Use neighbor nodes To update the value of node h, Where W m,2 is the transformation matrix, e h It acts as a connection The virtual super node will then and Make a combination in, represents the representation of node h after first-order connection encoding, W m,3 is a trainable weight matrix; Step S62: Utilize the high-order connectivity between nodes to further represent the nodes. The aggregation formula is defined as: in, is the result after the l-1th propagation, storing the information from the lth order, is the initial embedding vector e m,h After updating the representation of the nodes in a specific modality m, the representations of different modalities are combined into a new representation by averaging; Step S63: Concatenate the multi-order vectors of the user and NFT to obtain their respective final representations.

7. The NFT recommendation method of a multimodal graph attention model according to claim 1, characterized in that: In step S8, Bayesian personalized recommendation is used to optimize model parameters Among them, O∈{(u,i,j)|(u,i)∈R + ,(u,j)∈R - } represents the training set, R + represents a dataset containing observed interactions between user u and item i, and R - represents the unobserved. δ(.) is the sigmoid function, λ is the decay factor, and θ is the parameter used in the model.

Citation Information

Patent Citations

  • Recommendation method based on graph convolutional network and attention mechanism

    CN114579852A

  • Recommendation method and system based on adaptive dynamic knowledge graph in heterogeneous network

    CN115329215A

  • Commodity recommendation method, system and equipment based on graph convolutional network, and medium

    CN117635265A

  • Recommendation method and device based on user behaviors

    CN118365400A

Cited By

  • Article recommendation method based on non-negative sampling attention gating graph convolutional network

    CN120765350A