A hybrid tag recommendation method based on multi-source additional information enhancement

By constructing multi-source additional information and MAVAE network, integrating item content and social information, the problem of interaction sparsity and cold start in the tag recommendation system is solved, and more accurate tag recommendation is achieved.

CN114491290BActive Publication Date: 2024-08-27WUHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210031666.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-08-27
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

Existing tag recommendation systems are ineffective in dealing with item-tag interaction sparsity and cold start problems, and content-based recommendations rely on feature engineering and lack methods to utilize multi-source additional information on items, resulting in unsatisfactory recommendation results.

Method used

Propose a hybrid tag recommendation method based on multi-source additional information enhancement. By constructing multi-source additional information of items, defining a probabilistic graph model, using the MAVAE network combined with the block coordinate lifting algorithm to learn the potential collaborative variables of items, integrating content information and social interaction information to generate tag recommendations.

Benefits of technology

Effective use of multi-source information of items for label recommendation improves recommendation accuracy and cold start capabilities, solves the problems of sparse interaction and feature engineering dependence, and achieves better label recommendation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114491290B
    Figure CN114491290B
Patent Text Reader

Abstract

The present invention relates to a hybrid tag recommendation method based on multi-source additional information enhancement. By constructing multi-source additional information of items, defining a probabilistic graph model for tag recommendation, obtaining the joint distribution of latent variables and observed variables, then constructing a MAVAE network, using a block coordinate lifting algorithm to solve the posterior distribution of latent variables, and then randomly initializing network parameters, training the MAVAE network, and finally using the parameters obtained by training the MAVAE network to recommend tags for items. The present invention integrates multi-source additional information of items into the modeling of collaborative information, and can then use multi-source auxiliary information of items to make better tag recommendations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field related to hybrid recommendation systems, and in particular relates to a hybrid tag recommendation method based on multi-source additional information enhancement. Background Art

[0002] The act of users annotating items (such as movies and articles) with some keywords is called tagging. Appropriate tags can facilitate content organization, retrieval, consumption, etc. Tag recommendation systems aim to recommend appropriate tags for items to help users tag more easily, while also promoting the dissemination of items by creating convenient annotations. Therefore, recommending appropriate tags for items is very important, especially in the Internet era containing a large number of items.

[0003] Tag recommendation systems assist the tagging process by leveraging historical tag interactions between items and tags provided by online users. The collaborative information contained in item-tag interactions reflects users' collaborative perception of products and has been proven to be very effective in tag recommendation systems. However, the sparsity of item-tag interactions and the cold start problem in tag recommendation make it difficult to implement systems that only use collaborative information. Content-based tag recommendation systems recommend tags that match the content of items by modeling the content information of items (such as text content or image content). They do not require item-tag interactions for recommendation and are therefore widely studied. However, content-based recommendations do not consider other users' collaborative views on items and rely on the quality of feature engineering, so poor recommendation results may occur. Based on the above considerations, it is worth studying hybrid tag recommendations that combine collaborative information and content information, but such hybrid recommendation methods are rarely explored.

[0004] How to couple the content information of items and collaborative information is a challenge. In addition to content information such as images and text, items also contain social information that links between items. Making full use of the multi-source additional information of items, namely content information and social information, can maximize the tag recommendation process. Using the Bayesian probability model, multi-source additional information can be coupled with collaborative information by defining a probability generation process, and good results have been achieved in the recommendation system. Taking into account the flexibility of the Bayesian probability generation process for integrating different information and the powerful feature learning ability of deep neural networks, the present invention proposes to use a deep generative model to learn the potential collaborative variables of items, and couple collaborative information and multi-source additional information of items by defining a probability generation process. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention provides a hybrid tag recommendation method based on multi-source additional information enhancement, comprising the following steps:

[0006] Step 1: Construct multi-source additional information of items, including content information and social information;

[0007] Step 2: Define the probabilistic graphical model for label recommendation and obtain the joint distribution of latent variables and observed variables;

[0008] Step 3: Build a MAVAE network and use the block coordinate lifting algorithm to solve the posterior distribution of latent variables;

[0009] Step 4: Randomly initialize network parameters and train the MAVAE network;

[0010] Step 5: Use the parameters obtained by training the MAVAE network to recommend item labels.

[0011] Moreover, the multi-source additional information in step 1 includes the content information and social information of the item. The item content information includes the description information of the item, and features are extracted through word frequency-inverse document frequency, so as to give each item a content feature. The item social information describes the link relationship between items. Items in different fields have their own link relationship. The common interaction relationship between users and items is also used to describe the link relationship between items. By defining specific link conditions, the social network of items can be constructed. The constructed multi-source additional information plus the item-label interaction matrix are used as observation data to train the model, so as to achieve label recommendation for items.

[0012] Moreover, the generation process of the probability map in step 2 is defined as follows: Sample the potential item content variable c in the K-dimensional potential low-dimensional space from a normal distribution i and potential item social variables s i , the content of the item is determined by its latent content variable c i The social graph of items is generated by the generative network of variational autoencoders, and the latent social variables s of the sampled subgraphs are i Generated via a generative network of a variational graph autoencoder.

[0013] In order to comprehensively utilize the additional information of multiple sources of items, the multi-head product principle is used to fuse the additional variables of multiple sources, and then the item collaborative variables v are sampled from the product distribution of multiple distributions. i , through the nonlinear function parameterized by the neural network, the item collaborative variable v i Perform the transformation to generate a probability distribution over J labels.

[0014] The interactions of items are sampled from a multinomial distribution as:

[0015] π(r i )∝Softmax{NN(v i ;θ)} (1)

[0016] ri ~Multinomial(N i ,π(r i )) (2)

[0017] In the formula, π(r i ) is composed of neural network NN(v i ; θ) output, and the output is standardized by the Softmax function; v i is the item co-variable; θ is the training weight of the deep neural network; N i is the total number of interactions of item i; Multinomial() represents the multinomial distribution function; r i Sample from a parameterized multinomial distribution.

[0018] The joint distribution of each variable can be expressed as:

[0019] p θ (V,C,S,R,X,G)=p θ (X|C)p(C)p θ (G|S)p(S)p(V|C,S)p θ (R|V) (3)

[0020] Where {R, X, G} is the set of all observed variables, representing the item interaction matrix, item content matrix, and item social graph network respectively; {V, C, S} is the set of all latent variables that need to be inferred, representing the item latent collaborative variable matrix, item latent content variable matrix, and item latent social variable matrix respectively; p θ (X|C)p(C) means that the observed variable X of the item content is the prior p(C) of the latent variable C of the item content multiplied by its probability of generating the item content p θ (X|C) generates; p θ (G|S)p(S) represents the observed variable G of the item social graph network, which is the prior p(S) of the item social latent variable S multiplied by its generation probability p for the item social graph. θ (G|S)Generate; p(V|C,S)p θ (R|V) represents the generation process of the item interaction matrix observation variable R by the item potential collaborative variable p(V|C,S) multiplied by its generation probability p for the item interaction matrix θ (R|V)Generate; p θ (X|C), p θ (G|S) and p θ The generation process of (R|V) is modeled by a generative network, and θ is the parameter of the generative network.

[0021] The joint distribution p of each variable is obtained through the defined probability generation process θ(V, C, S, R, X, G), since the generation process of potential co-variables and multiple additional variables is nonlinear, the idea of ​​variational inference is used to set an approximate posterior distribution q for each variable φ (V,C,S|R,X,G), and minimize the relative entropy between the approximate posterior and the true posterior. It has been verified that minimizing this relative entropy is equivalent to maximizing the evidence lower bound ELBO.

[0022] The representation of ELBO is as follows:

[0023]

[0024] Substituting the joint distribution formula of formula (3) into formula (4), we get:

[0025]

[0026] In the formula, p θ (X|C) represents the process of generating the observed variable X of the item content according to the latent variable C of the item content, p θ (G|S) represents the generation process of generating the item social graph observation variable G according to the item social latent variable S, p(V|S) and p(V|C) represent the generation process of generating the item latent collaborative variable V from the item latent social variable S and the item latent content variable C, respectively. θ (R|V) represents the process of generating the item interaction matrix R based on the item social latent variables, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ (S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. Indicates q φ The entropy of (V|R) is regarded as a constant in the present invention. The inference process of the variational posterior is parameterized by a neural network, and φ is a parameter of the inference network.

[0027] Moreover, in the step 3, a MAVAE network is constructed, and the block coordinate lifting algorithm is used to maximize the evidence lower bound ELBO, that is, by fixing one part of the parameters to obtain another part of the parameters. The evidence lower bound can be divided into Mult-VAE collaborative information network parameter optimization, VAE content information network parameter optimization and VGAE social information network parameter optimization. Through continuous iteration of the three-part optimization, all parameters are obtained through joint training.

[0028] The MAVAE network consists of three parts: the item collaboration Mult-VAE network sub-module, the item content VAE network sub-module, and the item social network VGAE network sub-module. Through the re-parameterization technique, the distribution of latent variables obtained by the encoder can avoid direct sampling. By sampling a ∈ that conforms to the standard normal, the three sub-modules of label recommendation are iteratively optimized, thus forming a tightly coupled hybrid model.

[0029] The Mult-VAE network submodule consists of an encoder and a decoder. The encoder and decoder are symmetrical multi-layer perceptrons (MLPs). The overall architecture is [J->600->64->600->J], where J is the total number of labels. Each layer of the perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU.

[0030] The VAE network submodule consists of an encoder and a decoder. The encoder and decoder are symmetrical two-layer multi-layer perceptrons with an overall architecture of [F->64->64->64->F]. F is the number of dimensions of the input features. Each layer of perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU.

[0031] The VGAE network submodule consists of an encoder and a decoder. The encoder consists of a graph convolutional network and the decoder consists of a dot product decoder. The number of samples of neighbors in each layer is set to 20, and two-order neighbors are aggregated. Neighbor aggregation uses mean aggregation plus nonlinear mapping.

[0032] Since each variable modeled in the present invention is a Gaussian variable, each encoder outputs a 64-dimensional mean vector and a variance vector under the logarithmic function log to parameterize the Gaussian distribution, and potential Gaussian embedding can be obtained by sampling from the mean and variance vectors.

[0033] Moreover, in step 4, each variable is modeled as a Gaussian distribution, and the negative log-likelihood of the Gaussian distribution is the L2 reconstruction loss. The loss function of the MAVAE network can be further expressed as:

[0034]

[0035] In the formula, λ c , s are set as hyperparameters, representing the precision vectors of item content variables and social variables respectively; and They represent the reasoning and generation process of item collaborative information variables, content variables, and social graph variables, specifically in the form of autoencoders, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ(S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. and Represents the potential content variables c of the items i and item latent social variables s i and item potential covariate v i The mean square loss.

[0036] Training the MAVAE network consists of the following sub-steps:

[0037] Step 4.1, fix the parameters related to the item additional variables c and s, and optimize the Mult-VAE network submodule related to the item collaborative variable v.

[0038] The loss function of the multinomial distribution variational autoencoder Mult-VAE associated with the item co-variable v can be expressed as:

[0039]

[0040] In the formula, λ c , s are the precision vectors of item content variables and social variables, respectively, i is the potential synergistic variable of the item, represents the approximate posterior distribution of the collaborative latent variable V, which is sampled from the approximate posterior distribution and generated by the generative process p θ (R|V) reconstructs the collaborative interaction information R, It represents the process of sampling collaborative latent variables and reconstructing the expectation of the likelihood distribution of R, which is the process of reasoning about collaborative latent variables and generating collaborative interactions. is the mean of the item content variables inferred by the inference network of the item VAE network submodule, is the mean of the item social variables inferred by the inference network of the item VGAE network submodule, represents the process of sampling and finding the expectation of the co-latent variables.

[0041] Step 4.2, fix the parameters of the item collaboration variable v and the item social latent variable s, and optimize the VAE network submodule related to the item content variable c.

[0042] Separating the formula related to c, the loss function of the item content VAE network can be expressed as:

[0043]

[0044] In the formula, The term represents the inference and generation process of the item content variable, specifically in the form of an autoencoder, KL(q φThe term (C|X)‖p(C)) represents the degree of deviation between the variational posterior of the item content variable and its prior. is the mean of the item co-variables inferred by the inference network of the Mult-VAE network submodule, represents the approximate posterior distribution of the latent variable C of the item content, is the process of sampling and finding the expectation of the latent variable of the item content from the approximate posterior, λ c is the precision vector of the item content variable, v i is the covariate of the item, c i is the potential content variable of the item.

[0045] Step 4.3, fix the relevant parameters of the item collaboration variable v and the content variable c, and optimize the VGAE network submodule related to the item social variable.

[0046] After separating the terms related to s, the loss function of VGAE can be expressed as:

[0047]

[0048] In the formula, λ s is the precision vector of the item social variables, v i is the item's covariate, s i is the latent social variable of the item, The term represents the reasoning and generation process of the social variables of the item, specifically in the form of an autoencoder, KL(q φ The term (S|G)‖p(S)) describes the degree of deviation between the posterior distribution of the item social latent variable and its prior. is the mean of the item co-variables inferred by the inference network of the Mult-VAE network submodule, represents the approximate posterior distribution of the item social latent variable S, It is the process of sampling and finding the expectation of the social latent variables of items from the approximate posterior.

[0049] The social information VGAE network submodule models the link relationship in the social graph of items, uses the text word frequency-inverse document frequency attribute of items as network node features, and adopts the inner product decoder as the generation process of VGAE. Inspired by the Bayesian personalized ranking (BPR) loss, the decoder of VGAE is expressed as follows:

[0050]

[0051] Where ζ is the activation function that adds nonlinearity, is a set of triplets, v is the target item to be embedded, v + is the low-order neighbor of item v sampled by random walk, v -is a randomly sampled negative term that does not interact with v, s v is the potential social embedding of the target object to be embedded, is the latent social embedding of the low-order neighbors of item v, is the latent social embedding of v that is a negative term that does not interact.

[0052] For the encoder, the mean aggregation function is used to aggregate the features of neighbors, which can be expressed as:

[0053]

[0054] In the formula, is the neighbor of item v in the sampled subgraph, the k-th level social embedding of the item The k-1 level embedding of items With clustered neighbor vectors The k-1 layer embedding of the item itself can be regarded as a residual connection, W is the weight of the linear transformation, ζ is the nonlinear activation function, and MEAN is the mean function.

[0055] Moreover, in step 5, by training the parameters of the MAVAE network, the weights of the inference network and the generation network of the object collaborative Mult-VAE network submodule, the content VAE network submodule, and the social network VGAE network submodule are learned. For the items existing in the training set, the collaborative embedding, content embedding and social embedding of the test item can be obtained through the inference network, and the recommendation score of the item for each label is generated through the generation network of the collaborative Mult-VAE network submodule, and finally the top k labels are generated; for new items that do not exist in the training set, the generation network of the collaborative Mult-VAE network submodule is used to predict the score using the fusion input of the inferred content embedding and social embedding, and recommend the top-k labels.

[0056] For the items in the training set, through model training, we learn the parameters of the inference network and the generation network of the interaction between items and labels, item content and item social graph. The prediction of labels can be expressed as:

[0057]

[0058] Where D is the observed data, E[r|D] is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, and μ R is the mean vector of latent covariates inferred by the encoder of the Mult-VAE network submodule, μ C is the mean vector of the latent content variables inferred by the encoder of the VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule, Calculate the mean vector of the item content variable and the social variable fused through PoE, It indicates that the inferred potential collaborative mean vector generates the scoring probability for each label through the generative network of the Mult-VAE network submodule. The multi-source additional mean vector representing the fusion of items generates the scoring probability for each label through the generative network of the Mult-VAE network sub-module. Finally, the predicted recommendation probability of each label by the MAVAE model is obtained by the comprehensive addition of the collaborative information and the multi-source additional information of the items.

[0059] For new items, the PoE fusion form of item content embedding and social embedding can be obtained by using the inference network of the item content VAE network submodule and the social network VGAE network submodule. The recommendation of each tag is predicted by the decoder of the collaborative Mult-VAE network submodule. The prediction can be expressed as:

[0060]

[0061] Where D is the observed data, E[r|D] is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, and μ C is the mean vector of the latent content variables inferred by the encoder of the VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule, The multi-source additional mean vectors for the items are fused through PoE, and then the scoring probability for each label is generated through the generative network of the Mult-VAE network submodule.

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

[0063] 1) By defining a probabilistic generation process, the multi-source additional information of items (content information and social information) is integrated into the modeling of collaborative information, and then the multi-source additional information of items can be used to make better tag recommendations;

[0064] 2) Use a deep generative model with stronger modeling capabilities to model collaborative information and interactive information, and integrate them into a unified network framework (Multiple Auxiliaryinformation augmented Variational Auto-encoder, MAVAE);

[0065] 3) We propose an inductive variational graph autoencoder that solves the problem of adding new nodes to the graph by using subgraph sampling and neighborhood aggregation methods. As a result, the social graph information and content information of new items can be fully modeled for cold-start tag recommendation.

[0066] 4) For new items without collaborative information, the recommendation probability of each tag is generated by inferring the multi-source additional embedding of the item, thereby solving the tag recommendation problem under cold start, and enhancing the predictive ability of the multi-source additional information of the item for interactive feedback by adding multi-source additional embedding and generating loss through the collaborative decoder. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 The figure is a flowchart of an embodiment of the present invention.

[0068] Figure 2 This is the item content modeling framework and the item social graph modeling framework of the present invention.

[0069] Figure 3 Flowchart of MAVAE network training of the present invention. DETAILED DESCRIPTION

[0070] The present invention provides a hybrid tag recommendation method based on multi-source additional information enhancement. The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0071] like Figure 1 As shown, the process of the embodiment of the present invention includes the following steps:

[0072] Step 1: Build multi-source additional information of items, including content information and social information.

[0073] Item tag recommendation based on collaborative filtering is limited by the sparsity of item-tag interaction and the cold start problem in tag recommendation. The sparsity and cold start problems can be alleviated by using additional information from multiple sources of items. Multi-source additional information includes content information and social information of items. Item content information includes descriptive information about items. Feature extraction is performed through term frequency-inverse document frequency (TF-IDF), thereby assigning a content feature to each item. Item social information describes the link relationship between items. Items in different fields have their own link relationships, such as the citation relationship of articles, the same director and actor relationship of videos, etc. In addition, the common interaction relationship between users and items is also used to describe the link relationship between items. By defining specific link conditions, the social network of items can be constructed. The constructed multi-source additional information plus the item-tag interaction matrix are used as observation data to train the model, thereby realizing the tag recommendation of items.

[0074] Step 2: Define the probabilistic graphical model for label recommendation and obtain the joint distribution of latent variables and observed variables.

[0075] The generation process of the probability graph is defined as follows: the item-label interaction is generated by the item latent co-variable, and the multi-source additional information of the item is generated by different latent variables, that is, the content of the item and the social graph are generated by their latent content variables and social variables through the generative network respectively. In order to couple the item-label interaction information and the multi-source additional information of the item, so as to better enhance the sparse item-label interaction information, the item latent co-variable is generated by the item latent content and social variables, and then the item co-variable is transformed by the nonlinear function parameterized by the neural network to generate the probability distribution on all tags for tag recommendation. By coupling the mixed information into a unified framework, the joint distribution of the latent variable and the observed variable can be represented, so as to further solve the posterior distribution of the latent variable.

[0076] Sample the latent item content variable c in the K-dimensional latent low-dimensional space from a normal distribution i and potential item social variables s i , the content of the item is determined by its latent content variable c i The social graph of items is generated by the generative network of the variational autoencoder, and the latent social variables s of the sampled subgraphs are i Generated via a generative network of a variational graph autoencoder.

[0077] In order to comprehensively utilize the additional information of multiple sources of items, the multi-source additional variables are fused using the Product-of-experts (PoE) principle, and then the item collaborative variables v are sampled from the product distribution of multiple distributions. i , through the nonlinear function parameterized by the neural network, the item collaborative variable v i Perform the transformation to generate a probability distribution over J labels.

[0078] The interactions of items are sampled from a multinomial distribution as:

[0079] π(r i )∝Softmax{NN(v i ;θ)} (1)

[0080] r i ~Multinomial(N i ,π(r i )) (2)

[0081] In the formula, π(r i ) is composed of neural network NN(v i ; θ) output, and the output is standardized by the Softmax function; vi is the item co-variable; θ is the training weight of the deep neural network; N i is the total number of interactions of item i; Multinomial() represents the multinomial distribution function; r i Sample from a parameterized multinomial distribution.

[0082] The multinomial distribution has achieved good performance in modeling implicit feedback data. The model will assign more probability mass to tags that are more likely to be interacted with, making it perform well under top-k ranking loss.

[0083] The joint distribution of each variable can be expressed as:

[0084] p θ (V,C,S,R,X,G)=p θ (X|C)p(C)p θ (G|S)p(S)p(V|C,S)p θ (R|V) (3)

[0085] Where {R, X, G} is the set of all observed variables, representing the item interaction matrix, item content matrix, and item social graph network respectively; {V, C, S} is the set of all latent variables that need to be inferred, representing the item latent collaborative variable matrix, item latent content variable matrix, and item latent social variable matrix respectively; p θ (X|C)p(C) means that the observed variable X of the item content is the prior p(C) of the latent variable C of the item content multiplied by its probability of generating the item content p θ (X|C) generates; p θ (G|S)p(S) represents the observed variable G of the item social graph network, which is the prior p(S) of the item social latent variable S multiplied by its generation probability p for the item social graph. θ (G|S)Generate; p(V|C,S)p θ (R|V) represents the generation process of the item interaction matrix observation variable R by the item potential collaborative variable p(V|C,S) multiplied by its generation probability p for the item interaction matrix θ (R|V)Generate; p θ (X|C), p θ (G|S) and p θ The generation process of (R|V) is modeled by a generative network, and θ is the parameter of the generative network.

[0086] The joint distribution p of each variable is obtained through the defined probability generation process θ(V, C, S, R, X, G), since the generation process of the item potential co-variables and multiple additional variables is nonlinear (parameterized as a deep neural network), the idea of ​​variational inference is used to set an approximate (variational) posterior q for the posterior distribution of each variable φ (V,C,S|R,X,G), and minimize the relative entropy (Kullback-Leibler divergence) between the approximate posterior and the true posterior. It has been proven that minimizing the KL divergence is equivalent to maximizing an evidence lower bound ELBO (Evidence Lower Bound).

[0087] The representation of ELBO is as follows:

[0088]

[0089] Substituting the joint distribution formula of formula (3) into formula (4), we get:

[0090]

[0091] In the formula, p θ (X|C) represents the process of generating the observed variable X of the item content according to the latent variable C of the item content, p θ (G|S) represents the generation process of generating the item social graph observation variable G according to the item social latent variable S, p(V|S) and p(V|C) represent the generation process of generating the item latent collaborative variable V from the item latent social variable S and the item latent content variable C, respectively. θ (R|V) represents the process of generating the item interaction matrix R based on the item social latent variables, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ (S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. Indicates q φ The entropy of (V|R) is regarded as a constant in the present invention. The inference process of the variational posterior is parameterized by a neural network, and φ is a parameter of the inference network.

[0092] Step 3: Build the MAVAE network and use the block coordinate lifting algorithm to solve the posterior distribution of the latent variables.

[0093] A MAVAE network is constructed, and an expectation maximization-style block coordinate lifting algorithm is used to maximize the evidence lower bound ELBO, that is, by fixing one part of the parameters to find another part of the parameters. The evidence lower bound can be divided into Mult-VAE collaborative information network parameter optimization, VAE content information network parameter optimization, and VGAE social information network parameter optimization. Through continuous iteration of the three-part optimization, all parameters are obtained through joint training.

[0094] The MAVAE network consists of three parts: the item collaboration Mult-VAE (Multimomial variational auto-encoder) network submodule, the item content VAE (variational auto-encoder) network submodule, and the item social network VGAE (variational graph auto-encoder) network submodule. Through the reparameterization technique, the distribution of the latent variables obtained by the encoder can avoid direct sampling. By sampling a standard normal ∈, the three submodules of label recommendation are iteratively optimized to form a tightly coupled hybrid model. Specifically, collaborative information can guide the mapping learning of multi-source additional features of items, and multi-source additional potential representation can further improve the performance of interaction-based Mult-VAE, especially for items with sparse interactions.

[0095] The Mult-VAE network submodule consists of an encoder and a decoder. The encoder and decoder are symmetrical multi-layer perceptrons (MLPs) with an overall architecture of [J->600->64->600->J], where J is the total number of labels. Specifically, each layer of the perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU.

[0096] The VAE network submodule consists of an encoder and a decoder, which are symmetrical two-layer multi-layer perceptrons. The overall architecture is [F->64->64->64->F], where F is the number of dimensions of the input features. Specifically, each layer of perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU.

[0097] The VGAE network submodule consists of an encoder and a decoder, the encoder consists of a graph convolutional network, and the decoder consists of a dot product decoder. The present invention sets the number of samples of each layer of neighbors to 20, and aggregates two-order neighbors. Neighbor aggregation uses mean aggregation plus nonlinear mapping.

[0098] Since each variable modeled in the present invention is a Gaussian variable, each encoder outputs a 64-dimensional mean vector and a variance vector under the logarithmic function log to parameterize the Gaussian distribution, and potential Gaussian embedding can be obtained by sampling from the mean and variance vectors.

[0099] Step 4: Randomly initialize the network parameters and train the MAVAE network.

[0100] Model each variable as a Gaussian distribution, the negative log-likelihood of the Gaussian distribution is the L2 reconstruction loss, and the loss function of the MAVAE network can be expressed as:

[0101]

[0102] In the formula, λ c , s are set as hyperparameters, representing the precision vectors of item content variables and social variables respectively; and They represent the reasoning and generation process of item collaborative information variables, content variables, and social graph variables, specifically in the form of autoencoders, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ (S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. and Represents the potential content variables c of the items i and item latent social variables s i and item potential covariate v i The mean square loss.

[0103] Step 4.1, fix the parameters related to the item additional variables c and s, and optimize the Mult-VAE network submodule related to the item collaborative variable v.

[0104] The loss function of the multinomial distribution variational autoencoder (Mult-VAE) associated with the item co-variable v can be expressed as:

[0105]

[0106] In the formula, λ c , s are the precision vectors of item content variables and social variables, respectively, i is the potential synergistic variable of the item, represents the approximate posterior distribution of the collaborative latent variable V, which is sampled from the approximate posterior distribution and generated by the generative process p θ (R|V) reconstructs the collaborative interaction information R, It represents the process of sampling collaborative latent variables and reconstructing the expectation of the likelihood distribution of R, which is the process of reasoning about collaborative latent variables and generating collaborative interactions. is the mean of the item content variables inferred by the inference network of the item VAE network submodule, is the mean of the item social variables inferred by the inference network of the item VGAE network submodule, represents the process of sampling and finding the expectation of the co-latent variables.

[0107] Step 4.2, fix the parameters of the item collaboration variable v and the item social latent variable s, and optimize the VAE network submodule related to the item content variable c.

[0108] Separating the formula related to c, the loss function of the item content VAE network can be expressed as:

[0109]

[0110] In the formula, The term represents the inference and generation process of the item content variable, specifically in the form of an autoencoder, KL(q φ The term (C|X)‖p(C)) represents the degree of deviation between the variational posterior of the item content variable and its prior. is the mean of the item co-variables inferred by the inference network of the Mult-VAE network submodule, represents the approximate posterior distribution of the latent variable C of the item content, is the process of sampling and finding the expectation of the latent variable of the item content from the approximate posterior, λ c is the precision vector of the item content variable, v i is the covariate of the item, c i is the potential content variable of the item.

[0111] Setting the prior p(C) to a standard Gaussian can limit the item content variable to tend toward a standard normal distribution, thereby preventing too much irrelevant information from being encoded into the item content variable.

[0112] Step 4.3, fix the relevant parameters of the item collaboration variable v and the content variable c, and optimize the VGAE network submodule related to the item social variable.

[0113] After separating the terms related to s, the loss function of VGAE can be expressed as:

[0114]

[0115] In the formula, λ s is the precision vector of the item social variables, v i is the item's covariate, si is the latent social variable of the item, The term represents the reasoning and generation process of the social variables of the item, specifically in the form of an autoencoder, KL(q φ The term (S|G)‖p(S)) describes the degree of deviation between the posterior distribution of the item social latent variable and its prior. is the mean of the item co-variables inferred by the inference network of the item Mult-VAE network submodule, represents the approximate posterior distribution of the item social latent variable S, It is the process of sampling and finding the expectation of the social latent variables of items from the approximate posterior.

[0116] In order to use the multi-source additional information of the items to recommend appropriate labels for newly appeared items, the present invention adds new nodes during testing and expands the variational graph autoencoder to adapt to inductive learning. During the training process, a graph sampler is used to sample the subgraph of the node, and a batch of node embeddings are learned in batch processing. Then, the aggregation function is used to fuse the local neighbor features of the node, and the parameters of the aggregation function can be well learned through mini-batch gradient descent. Therefore, for the node embedding of new nodes that are not in the training set, the learned neighbor aggregation operation function can be used to obtain the embedding of the aggregated neighbors. At the same time, the inductive variational graph autoencoder can be applied to training and reasoning through small batches, and has practical significance in the recommendation system of large graphs such as user-item bipartite graphs.

[0117] The social information VGAE network submodule models the link relationship in the social graph of items, uses the text word frequency-inverse document frequency attribute of items as network node features, and adopts an inner product decoder as the generation process of VGAE. Inspired by the Bayesian personalized ranking (BPR) loss, the decoder of VGAE is expressed as follows:

[0118]

[0119] Where ζ is the activation function that adds nonlinearity, is a set of triplets, v is the target item to be embedded, v + is the low-order neighbor of item v sampled by random walk, v - is a randomly sampled negative term that does not interact with v, s v is the potential social embedding of the target object to be embedded, is the latent social embedding of the low-order neighbors of item v, is the latent social embedding of v that is a negative term that does not interact.

[0120] For the encoder, the mean aggregation function is used to aggregate the features of neighbors, which can be expressed as:

[0121]

[0122] In the formula, is the neighbor of item v in the sampled subgraph, the k-th level social embedding of the item The k-1 level embedding of items With clustered neighbor vectors The k-1 layer embedding of the item itself can be regarded as a residual connection, W is the weight of the linear transformation, ζ is the nonlinear activation function, and MEAN is the mean function.

[0123] Step 5: Use the parameters obtained by training the MAVAE network to recommend item labels.

[0124] By training the parameters of the MAVAE network, the weights of the inference network and the generative network of the item collaborative Mult-VAE network submodule, the content VAE network submodule, and the social network VGAE network submodule are learned. For items that exist in the training set, the collaborative embedding, content embedding, and social embedding of the test item can be obtained through the inference network, and the recommendation score of the item for each label is generated through the generative network of the collaborative Mult-VAE network submodule, and finally the top-k labels are generated. For new items that do not exist in the training set, the generative network of the collaborative Mult-VAE network submodule is used to predict the score using the fusion input of the inferred content embedding and social embedding, and recommend the top-k labels.

[0125] For the items in the training set, through model training, we learn the parameters of the inference network and the generation network of the interaction between items and labels, item content and item social graph. The prediction of labels can be expressed as:

[0126]

[0127] Where D is the observed data, E[r|D] is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, and μ R is the mean vector of latent covariates inferred by the encoder of the Mult-VAE network submodule, μ C is the mean vector of the latent content variables inferred by the encoder of the VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule, Calculate the mean vector of the item content variable and the social variable fused through PoE, It indicates that the inferred potential collaborative mean vector generates the scoring probability for each label through the generative network of the Mult-VAE network submodule. The multi-source additional mean vector representing the fusion of items generates the scoring probability for each label through the generative network of the Mult-VAE network sub-module. Finally, the predicted recommendation probability of each label by the MAVAE model is obtained by the comprehensive addition of the collaborative information and the multi-source additional information of the items.

[0128] For new items, the PoE fusion form of item content embedding and social embedding can be obtained by using the inference network of the item content VAE network submodule and the social network VGAE network submodule. The recommendation of each tag is predicted by the decoder of the collaborative Mult-VAE network submodule. The prediction can be expressed as:

[0129]

[0130] Where D is the observed data, E[r|D] is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, and μ C is the mean vector of the latent content variables inferred by the encoder of the VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule, The multi-source additional mean vectors for the items are fused through PoE, and then the scoring probability for each label is generated through the generative network of the Mult-VAE network submodule.

[0131] During specific implementation, the above process can be automatically operated using computer software technology.

[0132] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

Claims

1. A hybrid tag recommendation method based on multi-source additional information enhancement, characterized in that: The steps include: Step 1: Construct multi-source additional information of items, including content information and social information; Step 2: Define the probabilistic graphical model for label recommendation and obtain the joint distribution of latent variables and observed variables; The generation process of the probability map is defined as follows: Sample the latent item content variable c in the K-dimensional latent low-dimensional space from a normal distribution i and potential item social variables s i , the content of the item is determined by its latent content variable c i The social graph of items is generated by the generative network of the variational autoencoder, and the latent social variables s of the sampled subgraphs are i Generated by the generative network of variational graph autoencoder; Step 3: Build a MAVAE network and use the block coordinate lifting algorithm to solve the posterior distribution of latent variables; The constructed MAVAE network consists of three parts: the item collaboration Mult-VAE network submodule, the item content VAE network submodule, and the item social network VGAE network submodule. All three parts are composed of encoders and decoders. The MAVAE network uses the block coordinate lifting algorithm to maximize the evidence lower bound ELBO, that is, by fixing one part of the parameters to find another part of the parameters. The evidence lower bound can be divided into Mult-VAE collaborative information network parameter optimization, VAE content information network parameter optimization and VGAE social information network parameter optimization. Through continuous iteration of the three-part optimization, all parameters are obtained through joint training. The item collaboration Mult-VAE network submodule consists of the first encoder and the first decoder. The first encoder and the first decoder are symmetrical multi-layer perceptrons MLP, and the overall architecture is [J->600->64->600->J], where J is the total number of labels. Each layer of perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU. The item content VAE network submodule consists of the second encoder and the second decoder. The second encoder and the second decoder are symmetrical two-layer multi-layer perceptrons MLP, and the overall architecture is [F->64->64->64->F]. is the number of dimensions of the input features. Each layer of the perceptron consists of a linear transformation Linear layer, a Dropout layer, and a nonlinear activation function ReLU. The VGAE network submodule of the item social network consists of a third encoder and a third decoder. The third encoder consists of a graph convolutional network, and the third decoder consists of a dot product decoder. The number of samples of neighbors in each layer is set to 20, and two-order neighbors are aggregated. Neighbor aggregation uses mean aggregation plus nonlinear mapping. Each encoder outputs a 64-dimensional mean vector and a variance vector under the logarithmic function log to parameterize the Gaussian distribution. By sampling from the mean and variance vectors, potential Gaussian embedding can be obtained. Through the reparameterization technique, the distribution of the latent variables can avoid direct sampling. By sampling a standard normal ∈, the three sub-modules of label recommendation are iteratively optimized to form a tightly coupled hybrid model; Step 4: Randomly initialize network parameters and train the MAVAE network; Step 5: Use the parameters obtained by training the MAVAE network to recommend item labels.

2. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 1, characterized in that: In step 1, the multi-source additional information includes the content information and social information of the item; the item content information includes the description information of the item, and features are extracted through word frequency-inverse document frequency, so as to give each item a content feature; the item social information describes the link relationship between items. Items in different fields have their own link relationships, and the common interaction relationship between users and items is also used to describe the link relationship between items. By defining specific link conditions, the social network of items can be constructed; the constructed multi-source additional information plus the item-label interaction matrix are used as observation data to train the model, so as to realize the label recommendation for items.

3. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 1, characterized in that: In step 2, in order to comprehensively utilize the multi-source additional information of the item, the multi-head product principle is used to fuse the multi-source additional variables, and then the item collaborative variable v is sampled from the product distribution of multiple distributions. i , through the nonlinear function parameterized by the neural network, the item collaborative variable v i Perform transformation to generate probability distribution on J labels; The interactions of items are sampled from a multinomial distribution as: π(r i )∝Softmax{NN(v i ;i)} (1) r i ~Multinomial(N i ,π(r i )) (2) In the formula, π(r i ) is composed of neural network NN(v i ; θ) output, and the output is standardized by the Softmax function; v i is the item co-variable; θ is the training weight of the deep neural network; N i is the total number of interactions of item i; Multinomial() represents the multinomial distribution function; r i Sampling from a parameterized multinomial distribution; The joint distribution of each variable can be expressed as: p θ (V,C,S,R,X,G)=p θ (X|C)p(C)p θ (G|S)p(S)p(V|C,S)p θ (R|V) (3) Where {R, X, G} is the set of all observed variables, representing the item interaction matrix, item content matrix, and item social graph network respectively; {V, C, S} is the set of all latent variables that need to be inferred, representing the item latent collaborative variable matrix, item latent content variable matrix, and item latent social variable matrix respectively; p θ (X|C)p(C) means that the observed variable X of the item content is the prior p(C) of the latent variable C of the item content multiplied by its probability of generating the item content p θ (X|C) generates; p θ (G|S)p(S) represents the observed variable G of the item social graph network, which is the prior p(S) of the item social latent variable S multiplied by its generation probability p for the item social graph. θ (G|S)Generate; p(V|C,S)p θ (R|V) represents the generation process of the item interaction matrix observation variable R by the item potential collaborative variable p(V|C,S) multiplied by its generation probability p for the item interaction matrix θ (R|V)Generate; p θ (X|C), p θ (G|S) and p θ The generation process of (R|V) is modeled by a generative network, and θ is the parameter of the generative network; The joint distribution p of each variable is obtained through the defined probability generation process θ (V, C, S, R, X, G), since the generation process of potential co-variables and multiple additional variables is nonlinear, the idea of ​​variational inference is used to set an approximate posterior distribution q for each variable φ (V,C,S|R,X,G), and minimize the relative entropy between the approximate posterior and the true posterior. It has been verified that minimizing this relative entropy is equivalent to maximizing the evidence lower bound ELBO; The representation of ELBO is as follows: Substituting the joint distribution formula of formula (3) into formula (4), we get: In the formula, p θ (X|C) represents the process of generating the observed variable X of the item content according to the latent variable C of the item content, p θ (G|S) represents the generation process of generating the item social graph observation variable G according to the item social latent variable S, p(V|S) and p(V|C) represent the generation process of generating the item latent collaborative variable V from the item latent social variable S and the item latent content variable C, respectively. θ (R|V) represents the process of generating the item interaction matrix R based on the item social latent variables, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ (S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. Indicates q φ The entropy of (V|R), the inference process of the variational posterior is parameterized by a neural network, and φ is the parameter of the inference network.

4. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 1, characterized in that: In step 4, each variable is modeled as a Gaussian distribution. The negative log-likelihood of the Gaussian distribution is the L2 reconstruction loss. The loss function of the MAVAE network can be expressed as: In the formula, λ c , s are set as hyperparameters, representing the precision vectors of item content variables and social variables respectively; and They represent the reasoning and generation process of item collaborative information variables, content variables, and social graph variables, specifically in the form of autoencoders, KL(q φ (C|X)||p(C)) represents the degree of deviation between the variational posterior of the latent variable of the item content and its prior, KL(q φ (S|G)||p(S)) represents the degree of deviation between the variational posterior of the item social latent variable and its prior. and Represents the potential content variables c of the items i and item latent social variables s i and item potential covariate v i The mean square loss of Training the MAVAE network consists of the following sub-steps: Step 4.1, fix the parameters related to the item additional variables c and s, and optimize the item collaboration Mult-VAE network submodule related to the item collaboration variable v; Step 4.2, fix the parameters of the item collaboration variable v and the item social latent variable s, and optimize the item content VAE network submodule related to the item content variable c; Step 4.3, fix the relevant parameters of the item collaboration variable v and the content variable c, and optimize the item social network VGAE network submodule related to the item social variable.

5. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 4, characterized in that: The loss function of the multinomial distribution variational autoencoder Mult-VAE associated with the item co-variable v in step 4.1 can be expressed as: In the formula, λ c , s are the precision vectors of item content variables and social variables, respectively, i is the potential synergistic variable of the item, represents the approximate posterior distribution of the collaborative latent variable V, which is sampled from the approximate posterior distribution and generated by the generative process p θ (R|V) reconstructs the collaborative interaction information R, It represents the process of sampling collaborative latent variables and reconstructing the expectation of the likelihood distribution of R, which is the process of reasoning about collaborative latent variables and generating collaborative interactions. is the mean of the item content variables inferred by the inference network of the item content VAE network submodule, is the mean of the item social variables inferred by the inference network of the VGAE network submodule of the item social network, represents the process of sampling and finding the expectation of the co-latent variables.

6. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 4, characterized in that: In step 4.2, the formula related to c is separated, and the loss function of the item content VAE network can be expressed as: In the formula, The term represents the inference and generation process of the item content variable, specifically in the form of an autoencoder. The term represents the degree of deviation between the variational posterior of the item content variable and its prior. is the mean of the item collaboration variables inferred by the inference network of the item collaboration Mult-VAE network submodule, represents the approximate posterior distribution of the latent variable C of the item content, is the process of sampling and finding the expectation of the latent variable of the item content from the approximate posterior, λ c is the precision vector of the item content variable, v i is the covariate of the item, c i is the potential content variable of the item.

7. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 4, characterized in that: After separating the terms related to s in step 4.3, the loss function of VGAE can be expressed as: In the formula, λ s is the precision vector of the item social variables, v i is the item's covariate, s i is the latent social variable of the item, The term represents the reasoning and generation process of the social variables of items, specifically in the form of an autoencoder. The term describes the degree of deviation between the posterior distribution of the item social latent variable and its prior. is the mean of the item collaboration variables inferred by the inference network of the item collaboration Mult-VAE network submodule, represents the approximate posterior distribution of the item social latent variable S, It is the process of sampling and finding the expectation of the social latent variables of items from the approximate posterior; The VGAE network submodule of the item social network models the link relationship in the item social graph, uses the text word frequency-inverse document frequency attribute of the item as the network node feature, and adopts the inner product decoder as the generation process of VGAE. Inspired by the Bayesian personalized ranking BPR loss, the decoder of VGAE is expressed as follows: In the formula, is an activation function that adds nonlinearity, is a set of triplets, v is the target item to be embedded, v + is the low-order neighbor of item v sampled by random walk, v - is a randomly sampled negative term that does not interact with v, s v is the potential social embedding of the target object to be embedded, is the latent social embedding of the low-order neighbors of item v, is the latent social embedding of the negative terms that v does not interact with; For the encoder, the mean aggregation function is used to aggregate the features of neighbors, which can be expressed as: In the formula, is the neighbor of item v in the sampled subgraph, the k-th level social embedding of the item The k-1 level embedding of the item With clustered neighbor vectors The k-1 layer embedding of the item itself can be regarded as a residual connection, W is the weight of the linear transformation, ζ is the nonlinear activation function, and MEAN is the mean function.

8. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 1, characterized in that: In step 5, by training the parameters of the MAVAE network, the weights of the inference network and the generation network of the item collaboration Mult-VAE network submodule, the item content VAE network submodule, and the item social network VGAE network submodule are learned. For items existing in the training set, the collaborative embedding, content embedding, and social embedding of the test item can be obtained through the inference network, and the recommendation score of the item for each label is generated through the generation network of the item collaboration Mult-VAE network submodule, and finally the top k labels are generated; for new items that do not exist in the training set, the fusion of the inferred content embedding and social embedding is used to input the generation network of the item collaboration Mult-VAE network submodule to predict the score and recommend the top-k labels; For the items in the training set, through model training, we learn the parameters of the inference network and the generation network of the interaction between items and labels, item content and item social graph. The prediction of labels can be expressed as: In the formula, D is the observed data, is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, μ R is the mean vector of latent co-variables inferred by the encoder of the item co-variable Mult-VAE network submodule, μ C is the mean vector of the latent content variables inferred by the encoder of the item content VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule of the item social network, Calculate the mean vector of the item content variable and the social variable fused through PoE, It indicates that the inferred potential collaborative mean vector generates the scoring probability of each label through the generative network of the item collaborative Mult-VAE network submodule. The multi-source additional mean vector representing the fusion of items generates the scoring probability for each label through the generative network of the item collaborative Mult-VAE network sub-module. Finally, the predicted recommendation probability of each label by the MAVAE model is obtained by the comprehensive addition of the collaborative information and the multi-source additional information of the items.

9. The hybrid tag recommendation method based on multi-source additional information enhancement as claimed in claim 8, characterized in that: In step 5, for new items, the PoE fusion form of item content embedding and social embedding can be obtained by using the inference network of the item content VAE network submodule and the item social network VGAE network submodule, and the decoder of the item collaborative Mult-VAE network submodule is used to predict the recommendation of each label. The prediction can be expressed as: In the formula, D is the observed data, is the process of obtaining the predicted probability r of each label of the items in the test set based on the observed data D in the training set, μ C is the mean vector of the latent content variables inferred by the encoder of the item content VAE network submodule, μ S is the mean vector of latent social variables inferred by the encoder of the VGAE network submodule of the item social network, The multi-source additional mean vectors of the items are fused through PoE, and then the scoring probability of each label is generated through the generative network of the item collaborative Mult-VAE network submodule.