Group video recommendation system and method fusing multi-modal information and interest similarity

By combining multi-modal information and interest similarity, the group video recommendation method uses graph neural network and BERT model to dynamically update user interests, solves the problem of insufficient multi-modal feature mining in the existing technology, and achieves more accurate and Personalized video recommendation effects.

CN118690037AActive Publication Date: 2024-09-24NANJING UNIV OF POSTS & TELECOMM

Patent Information

Application Number
CN202410458950.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-09-24
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing group video recommendation systems have deficiencies in mining multi-modal features and fail to fully consider social influence and dynamic changes in behavioral sequences, resulting in poor recommendation results.

Method used

A group video recommendation method that integrates multi-modal information and interest similarity is adopted. Through data preprocessing, user interest division and group construction, video multi-modal information fusion and representation, dynamic update of user interests and user dynamic interest representation extraction, Combined with graph neural network and BERT model, multi-modal knowledge graph and attention mechanism are used to dynamically update user interests and make video recommendations.

Benefits of technology

It improves the accuracy and interpretability of video recommendations, can more accurately meet users' personalized needs, and provides users with a rich and attractive viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690037A
    Figure CN118690037A
Patent Text Reader

Abstract

The invention discloses a group video recommendation system and method fusing multi-modal information and interest similarity. The system comprises a data preprocessing unit, a user interest division and group construction unit, a video multi-modal information fusion and representation unit, a user interest dynamic update unit, a user dynamic interest representation extraction unit and a prediction result representation unit, groups are divided according to user interests, and interaction behaviors among users are learned by using a social network; video multi-modal information is mined, and semantic information is enriched, so that the information richness of a recommendation system is improved; the historical behavior sequence of the user is analyzed, and the latest interest of the user is obtained, so that the user demand is more accurately understood; a bidirectional attention mechanism is used for aggregating preferences of group members, so that embedded representations of groups and tasks are obtained, and top-K task recommendation is generated for the groups by utilizing a multi-layer perceptron. According to the invention, the accuracy and interpretability of the video recommendation system are improved, and personalized recommendation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of group video recommendation, and in particular to a group video recommendation system and method integrating multimodal information and interest similarity. Background Art

[0002] With the development of emerging technologies such as 5G and cloud computing, group video recommendations are showing a trend of diversification and personalization. According to statistics, by the end of 2022, the global video application downloads will reach 255 billion times, and the total time spent on social applications will exceed 20 trillion hours. Video platforms provide relevant content to group users based on their social networks, interest preferences, and multimodal information in videos. Using these characteristics, video platforms can obtain video content from multiple perspectives and obtain potential preferences from social relationships, thereby capturing diverse and personalized group interests. For example, when Bob and his friends traveled in Nanjing, the video platform analyzed the text and visual information in the content they watched. Based on this analysis, the platform believes that they may be interested in the image modality in the video, and then recommends local features that match their preferences. However, when Bob returned to school, he and his classmates participated in an artificial intelligence project. The video platform may infer that they prefer text modality and recommend machine learning courses accordingly.

[0003] From this example, we can see that the group video recommendation system should not only use multimodal information to extract user preference representations, but also consider the dynamic changes of user interests to adapt to different scenarios and needs. Existing methods introduce knowledge graphs to process video information to enrich user preference representations, but these methods are insufficient in mining multimodal features. In addition, some researchers use social network and behavior sequence analysis to update user interests, but these works do not fully consider the dynamic changes of social influence and behavior sequence. Therefore, the group video recommendation model must fully consider the different roles of multimodal features, social influence, and behavior sequence. Summary of the invention

[0004] Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a group video recommendation system and method that integrates multimodal information and interest similarity, thereby achieving top-k recommendations that best match the interests of group members.

[0005] Technical solution: To achieve the above purpose, the technical solution adopted by the present invention is:

[0006] A group video recommendation method integrating multimodal information and interest similarity comprises the following steps:

[0007] Step 1: Data preprocessing

[0008] The initial group video data is preprocessed to obtain preprocessed group video data.

[0009] Step 2: Divide user interests and build groups

[0010] The user interest similarity is obtained based on the preprocessed group video data, and then a social interest similarity graph is constructed. If the user interest similarity exceeds the specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions.

[0011] Step 3: Fusion and representation of multimodal video information

[0012] The multimodal knowledge graph is used to fuse and represent the multimodal information of the video based on the social interest similarity graph. First, the multimodal information of the video is extracted, and the modalities of all entities are unified into the same dimension to obtain the initial embedding vector. After obtaining the initial embedding vector, recursive information propagation is performed on the nodes in the graph, and different weights are assigned to different nodes using the attention mechanism.

[0013] Step 4: Dynamically update user interests

[0014] The interest update module based on the BERT model is used to recommend videos that match the user's current interests. The interest update module based on the BERT model includes an embedding layer and two or more identical transformer layers. The goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer. The transformer layer learns the high-level interactions of the entire user behavior sequence based on the input to obtain the user's final preference representation.

[0015] Step 5: Extraction of user dynamic interest representation

[0016] A bidirectional attention mechanism is adopted to capture the group importance of members in the team and their proficiency in video types, while weights are assigned to different users according to their final preference representations, thereby obtaining the final representation of group preferences.

[0017] Step 6, prediction result representation

[0018] The MLP layer is used to make video recommendations to the group based on the final representation of the group’s preferences to predict whether the group will click on the target item.

[0019] Preferably, the user interest similarity in step 2 is calculated as follows:

[0020]

[0021] Among them, s final represents the similarity of user interests, λ1 and λ2 represent the weights of similarity, and u i 、u jIndicates the percentage of each category watched by users in the total number of videos, t i ,t j represents the proportion of the time spent watching each type of video to the total viewing time, i represents user i in group, and j represents user j in group.

[0022] The graph convolution of the L layer of the graph neural network is:

[0023]

[0024] Among them, Q l represents the l-th layer node, D is the adjacency matrix A i The diagonal node degree matrix, A i is the adjacency matrix.

[0025] The embedding of the user in the social similarity graph is obtained through convolution: The user finally represents: in, represents the final representation of the user in the social similarity graph, is the expression of the user in the nth social similarity graph after the Lth layer of convolution.

[0026] Preferably, in step 3, the method of using the attention mechanism to assign different weights to different nodes is:

[0027] Each attention layer consists of a propagation layer and an aggregation layer. The propagation layer obtains the aggregate representation h by calculating the weighted sum of their neighbors. N :

[0028]

[0029] Among them, π′(h, r, t) is the weight of t, the neighbor aggregation representation of h, the weight of neighbor t is related to the relationship r, h represents the head entity in the knowledge graph, r represents the relationship between the head entity and the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, and Ω represents the knowledge graph.

[0030]

[0031] in, is the transformation matrix, represents the initial embedding of entity t, Represents the initial embedding of relation r, and T represents the matrix transpose. Relation r is trained and the weights are normalized using the softmax function:

[0032]

[0033] Another component of the single propagation layer is to update the high-order representation of node h by combining the aggregated representation of its neighbors with its original representation. The general form of this process is:

[0034] h′=f agg (h,h N )

[0035] where h′ is a high-order representation of h, and f agg is an aggregate function. The aggregate functions are as follows:

[0036] f agg =σ(W·concat(h,h N )+b)

[0037] Among them, concat(·,·) is the concatenation operation of two vectors, W∈R 2d×d is the trainable weight matrix and b is the trainable bias.

[0038] High-level information aggregation is performed by stacking a series of propagation layers to further aggregate neighbor information:

[0039]

[0040] in, is the representation of m at the m-1 level, is the normalized weight, and then updates the representation of h in the m layer:

[0041]

[0042] Among them, e m is the final output after the knowledge graph convolution, h( m-1 ) is the representation of h at level m-1.

[0043] Preferably, the method for dynamically updating user interests in step 4 is as follows:

[0044] Given a timestamp x=(e 1 ,e 2 ,...,e m ) sorted behavior sequence, the goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer, and two types of embedding are used to meet the needs of group recommendation: item embedding and position embedding.

[0045] Project Embed: represents the d-dimensional item embedding output of a k-layer multimodal knowledge graph, which is the sequence of interactions with the user at time step t. The item embedding is derived from the weight matrix W V We add a CLS tag after the item sequence in order to obtain the user’s current interest from the behavior sequence.

[0046] Position embedding: Add a position vector p to each item embedding t , which is a vector from the learnable position matrix W p Obtained in.

[0047] The item embedding and position embedding are superimposed together to obtain the fused embedding representation e t As input to the transformer layer:

[0048]

[0049] Among them, e t is the fused embedding representation, is the weight matrix, h t Embed for project, is the weight matrix, p t is the position vector.

[0050] The entire behavior sequence of user u is mapped into a sequence from e0 to e t The embedding sequence.

[0051] The transformer layer learns high-level interactions of the entire user behavior sequence, including a multi-head self-attention layer and a position feed-forward network.

[0052] The dot product in the multi-head self-attention layer is:

[0053]

[0054] Where Q, K, V represent query, key, and value respectively, and d is the dimension. The input of the multi-head self-attention layer is the fusion representation E = {e1, ..., e t}, and then transformed into three matrices through linear projection:

[0055] MH(E)=Concat(head1, head2,..,head n )W O

[0056]

[0057] head h =Attention(Q (h) , K (h) , V (h) )

[0058] The weight matrix of each head is is a learnable parameter, W O is the output projection matrix, MH(E) is the multi-head self-attention, head h is the h-th head of the multi-head self-attention.

[0059] The multi-head self-attention layer is followed by a feed-forward network to further increase the nonlinearity of the model, which is defined as follows:

[0060] S=Concatrow(E+Dropout(MH(E)))

[0061] F=LayerNorm(S+Dropout(Re Lu(SQ (1) +b (1) )Q (2) +b (2) )

[0062] Among them, S is the intermediate layer representation, F is the output layer representation, and W (1) , b (1) , W (2) , b (2) It is a learnable parameter shared by all positions, Concatrow is a technique for connecting vectors by row, LayerNorm is a standard normalization layer, Dropout is a regularization technique for random loss, and ReLu is an activation function.

[0063] Stacking multiple layers of transformers obtains the final output H of the behavior sequence N , where the last position is fed to the intent layer to obtain the user's current point of interest β k :

[0064]

[0065] Among them, W l and b l is the learnable parameter of the intent layer, LeakyReLU is the activation function, is the first vector of user interest after passing through the neural network.

[0066] Get the user's final preference representation: l k The final representation of the user, is the final representation of the user in the social similarity graph, β k is the final representation of the user after dynamic update.

[0067] Preferably, the method for obtaining the final representation of group preference in step 5 is:

[0068] The bidirectional attention mechanism includes the group attention mechanism and the knowledge attention mechanism.

[0069] Group attention mechanism: reflects the relative status and contribution of each member in the group:

[0070]

[0071] in, is the group attention output, G is the group set, k is the user k in the group, g l For groups, n k is the representation of the user’s final preference under the activation function, For X a The transpose of W a ∈R d×d ,X a ∈R d , b a ∈R d are the learnable weight matrices and biases.

[0072] Knowledge attention mechanism: reflects each member’s understanding and mastery of the video type:

[0073]

[0074] in, is the knowledge attention output, e k is the target item embedding vector, l k Indicates g l The preference vector of each member in the group, It is the final representation of other users in the group.

[0075] Through the attention mechanism, the final representation of group preference is as follows:

[0076]

[0077] Among them, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, l k is the final preference of the individual, g is the group, and softmax is the normalization function.

[0078] Preferably, the method of expressing the prediction result in step 6 is as follows:

[0079] The whole process involves connecting the groups and item embeddings, which are then fed into the MLP layer:

[0080]

[0081] in, is the final output of the MLP layer, MLP represents the MLP layer, is a join operation, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, e k Embedding vector for the target item.

[0082] Model the task as a binary classification problem to predict whether the group will click on the target item:

[0083]

[0084] in, Indicates g l Group click candidate items k The probability of W o and b o represents the weights and biases of the prediction layer, and tanh is the activation function.

[0085] The final expression is:

[0086]

[0087] in, Q l represents the l-th layer node in the social similarity graph, e k Embedding vector for the target item.

[0088] Preferably, the method further includes performing loss optimization based on the MSE pairwise ranking loss function:

[0089]

[0090] Among them, L MSE is the MSE loss function, n is the number of users, l is the lth group, k is the kth item, O is the training set, where and g l Group in e k The true score and predicted score on the item.

[0091] Preferably, the preprocessed group video data includes a user set U = {u1, u2, ..., u K}, K is the number of users, and the item set I = {i1,i2,...,i N}, N is the number of items, and the group set G = {g1,g2,...,g L}, L is the number of groups, user-item interaction Y∈R K×N , if user u a and Project i b If there is interaction, then Y(a,b) = 1, otherwise Y(a,b) = 0. Similarly, the user-group interaction is R∈R K×L .

[0092] A group video recommendation system integrating multimodal information and interest similarity adopts the above-mentioned group video recommendation method integrating multimodal information and interest similarity, including a data preprocessing unit, a user interest division and group construction unit, a video multimodal information fusion and representation unit, a dynamic user interest update unit, a user dynamic interest representation extraction unit, and a prediction result representation unit, wherein:

[0093] The data preprocessing unit is used to preprocess the initial group video data to obtain preprocessed group video data.

[0094] The user interest division and group construction unit is used to obtain user interest similarity based on the preprocessed group video data, and then construct a social interest similarity graph. If the user interest similarity exceeds a specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions.

[0095] The fusion and representation unit of the multimodal information of the video is used to fuse and represent the multimodal information of the video according to the social interest similarity graph using the multimodal knowledge graph. First, the multimodal information of the video is extracted, and the modalities of all entities are unified into the same dimension to obtain the initial embedding vector. After obtaining the initial embedding vector, recursive information propagation is performed on the nodes in the graph, and different weights are assigned to different nodes using the attention mechanism.

[0096] The dynamically updated user interest unit is used to recommend videos that match the user's current interests using an interest update module based on a BERT model. The interest update module based on a BERT model includes an embedding layer and two or more identical transformer layers. The goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer. The transformer layer learns the high-level interactions of the entire user behavior sequence based on the input to obtain the user's final preference representation.

[0097] The user dynamic interest representation extraction unit is used to adopt a bidirectional attention mechanism to capture the group importance of members in the team and their proficiency in video types, and at the same time assign weights to different users according to the users' final preference representations, thereby obtaining a final representation of the group preference.

[0098] The prediction result representation unit uses the MLP layer to recommend videos to the group according to the final representation of the group's preferences to predict whether the group will click on the target item.

[0099] Compared with the prior art, the present invention has the following beneficial effects:

[0100] Compared with the prior art, the present invention has higher accuracy and stronger interpretability. The uniqueness of this method lies in the combination of knowledge graph and BERT model to fully mine the multimodal information of the video, while dynamically updating the user's interests and improving the accuracy of the video recommendation system. This novel method can not only recommend videos to groups more accurately, but also understand and meet the personalized interests of users in more detail, providing users with a richer and more attractive viewing experience.

[0101] Figure 1 The figure is an overall schematic diagram of a group video recommendation method integrating multimodal information and interest similarity according to the present invention.

[0102] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these examples are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0103] A group video recommendation method that integrates multimodal information and interest similarity divides groups according to user interests and uses social networks to learn the interactive behaviors between users; mines video multimodal information and enriches semantic information to improve the information richness of the recommendation system; analyzes the user's historical behavior sequence and obtains their latest interests to more accurately understand user needs; designs a bidirectional attention mechanism to aggregate the preferences of group members, thereby obtaining embedded representations of groups and tasks, and uses a multi-layer perceptron to generate top-K task recommendations for the group. Figure 1 As shown, the specific steps include: BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Step 1: Data preprocessing DETAILED DESCRIPTION

[0105] The initial group video data is preprocessed to obtain preprocessed group video data. The preprocessed group video data includes a user set U = {u1, u2, ..., u K}, K is the number of users, and the item set I = {i1,i2,...,i N}, N is the number of items, and the group set G = {g1,g2,...,g L}, L is the number of groups, user-item interaction Y∈R K×N , if user u a and Project i b If there is interaction, then Y(a,b) = 1, otherwise Y(a,b) = 0. Similarly, the user-group interaction is R∈R K×L .

[0106] Step 2: Divide user interests and build groups

[0107] The user interest similarity is obtained according to the video types and viewing time of users in the preprocessed group video data, and a social interest similarity graph is constructed based on the user interest similarity. If the user interest similarity exceeds the specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions.

[0108] The present invention groups users according to their interest similarity, and believes that user interest similarity is determined by two aspects: type preference and effective duration. The former is calculated based on the type of video watched by the user, and the latter is calculated based on the user's viewing time. The two aspects are calculated by using cosine similarity, and they are weighted to obtain the final interest similarity. This method uses cosine similarity to calculate the two:

[0109]

[0110] where u i ∈U and u j ∈U represents the percentage of each category watched by the user in the total videos, i represents user i in the group, and j represents user j in the group.

[0111]

[0112] where t i and t j Indicates the proportion of total viewing time spent watching each type of video.

[0113] In order to obtain the final interest similarity between user a and user b, the user interest similarity based on type preference and effective duration is calculated as follows:

[0114]

[0115] Among them, s final represents the similarity of user interests, λ1 and λ2 represent the weights of similarity, 0≤λ1,λ2≤1,λ1+λ2=1,u i 、u j Indicates the percentage of each category watched by users in the total number of videos, t i ,t j represents the proportion of the time spent watching each type of video to the total viewing time, i represents user i in group, and j represents user j in group.

[0116] After obtaining the final similarity representation, we start to build a social interest similarity graph. If it exceeds the specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions. According to the graph convolutional network, the graph convolution of the L layer of the graph neural network is:

[0117]

[0118] Among them, Q l represents the l-th layer node, D is the adjacency matrix A i The diagonal node degree matrix, A i is the adjacency matrix.

[0119] The embedding of the user in the social similarity graph is obtained through convolution: The user finally represents: in, represents the final representation of the user in the social similarity graph, is the expression of the user in the nth social similarity graph after the Lth layer of convolution.

[0120] Step 3: Fusion and representation of multimodal video information

[0121] In order to effectively capture the deep relationships and semantic information in the video content, a multimodal knowledge graph is introduced. The multimodal information of the video is fused and represented according to the social interest similarity graph by using the multimodal knowledge graph. In order to fully construct the knowledge graph, the present invention adopts various modeling methods to convert multimodal data into vectors. First, the multimodal information of the video is extracted. For the image modality, the fc7 layer features of each frame are aggregated into a feature vector using a pre-trained CNN model. For the text modality, the semantic features of the text are extracted through a multi-layer bidirectional Transformer encoder, and finally the modalities of all entities are unified to the same dimension to obtain the initial embedding vector.

[0122] After obtaining the initial embedding vector, it is necessary to recursively propagate information to the nodes in the graph and use the attention mechanism to assign different weights to different nodes. Each attention layer includes a propagation layer and an aggregation layer. The propagation layer obtains the aggregate representation h by calculating the weighted sum of their neighbors. N :

[0123]

[0124] Among them, π′(h, r, t) is the weight of t, the neighbor aggregation representation of h, the weight of neighbor t is related to the relationship r, h represents the head entity in the knowledge graph, r represents the relationship between the head entity and the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, and Ω represents the knowledge graph.

[0125] This is achieved through the attention mechanism:

[0126]

[0127] in, is the transformation matrix, represents the initial embedding of entity t, Represents the initial embedding of relation r, and T represents the matrix transpose. If relation r can be trained, the weights are normalized using the softmax function:

[0128]

[0129] Another component of the single propagation layer is to update the high-order representation of node h by combining the aggregated representation of its neighbors with its original representation. The general form of this process is:

[0130] h′=f agg (h,h N )

[0131] where h′ is a high-order representation of h, and f agg is an aggregate function. The aggregate functions are as follows:

[0132] f agg =σ(W·concat(h,h N )+b)

[0133] Among them, concat(·,·) is the concatenation operation of two vectors, W∈R 2d×d is the trainable weight matrix and b is the trainable bias.

[0134] However, the ability of a single propagation layer to propagate information along the edge is limited. To overcome this shortcoming, another embodiment of the present invention performs high-order information aggregation by stacking a series of propagation layers to further aggregate neighbor information:

[0135]

[0136] in, is the representation of m at the m-1 level, is the normalized weight, and then updates the representation of h in the m layer:

[0137]

[0138] Among them, e m is the final output after the knowledge graph convolution, h (m-1) It is the representation of h at the m-1 level.

[0139] Step 4: Dynamically update user interests

[0140] In order to recommend videos that match the user’s current interests, an interest update module based on the BERT model is used to recommend videos that match the user’s current interests. The interest update module based on the BERT model includes an embedding layer and two or more identical transformer layers, which can learn high-order interactions from behavior sequences.

[0141] Given a timestamp x=(e 1 ,e 2 ,...,e m ) sorted behavior sequence, the goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer, and two types of embedding are used to meet the needs of group recommendation: item embedding and position embedding.

[0142] Project Embed: represents the d-dimensional item embedding output of a k-layer multimodal knowledge graph, which is the sequence of interactions with the user at time step t. The item embedding is derived from the weight matrix W V We add a CLS tag after the item sequence in order to obtain the user’s current interest from the behavior sequence.

[0143] Position embedding: To better capture contextual information, a position vector p is added to each item embedding t , which is a vector from the learnable position matrix W p Obtained in.

[0144] The item embedding and position embedding are superimposed together to obtain the fused embedding representation e t As input to the transformer layer:

[0145]

[0146] Among them, e t is the fused embedding representation, is the weight matrix, h t Embed for project, is the weight matrix, p t is the position vector.

[0147] In this way, the entire behavior sequence of user u is mapped into a sequence from e0 to e t The embedding sequence.

[0148] The transformer layer learns high-level interactions of the entire user behavior sequence, including a multi-head self-attention layer and a position feed-forward network.

[0149] The dot product in the multi-head self-attention layer is:

[0150]

[0151] Where Q, K, V represent query, key, and value respectively, and d is the dimension. The input of the multi-head self-attention layer is the fusion representation E = {e1, ..., e t}, and then transformed into three matrices through linear projection:

[0152] MH(E)=Concat(head1, head2, .., head n )W O

[0153]

[0154] head h =Attention(Q (h) , K (h) , V (h) )

[0155] The weight matrix of each head is is a learnable parameter, W O is the output projection matrix, MH(E) is the multi-head self-attention, head h is the h-th head of the multi-head self-attention.

[0156] The multi-head self-attention layer is followed by a feed-forward network to further increase the nonlinearity of the model, which is defined as follows:

[0157] S=Concatrow(E+Dropout(MH(E)))

[0158] F=LayerNorm(S+Dropout(ReLu(SQ (1) +b (1) )Q (2) )+b (2) )

[0159] Among them, S is the intermediate layer representation, F is the output layer representation, and W( 1 ), b( 1 ), W( 2 ),W( 2 ) is a learnable parameter shared by all positions, Concatrow is a technique for connecting vectors by row, LayerNorm is a standard normalization layer, Dropout is a regularization technique for random loss, and ReLu is an activation function.

[0160] In order to better learn the evolution of interest, another embodiment of the present invention stacks multiple layers of transformers to obtain the final output H of the behavior sequence N , where the last position is fed to the intent layer to obtain the user's current point of interest β k :

[0161]

[0162] Among them, W l and b lis the learnable parameter of the intent layer, Leaky ReLU is the activation function, is the first vector of user interest after passing through the neural network.

[0163] Get the user's final preference representation: l k The final representation of the user, is the final representation of the user in the social similarity graph, β k is the final representation of the user after dynamic update.

[0164] Step 5: Extraction of user dynamic interest representation

[0165] After obtaining the final preference representation of the user, it is necessary to assign weights to different users to obtain the group preference representation. The embodiment of the present invention assumes that the weight of the members depends on two factors: the group importance of their members in the team and their proficiency in the video type. Therefore, the embodiment of the present invention introduces a two-way attention mechanism to capture these two factors, specifically referred to as the group attention mechanism and the knowledge attention mechanism. That is, the two-way attention mechanism is used to capture the group importance of the members in the team and their proficiency in the video type, and then assign weights to different users. The two-way attention mechanism includes a group attention mechanism and a knowledge attention mechanism.

[0166] The group attention mechanism reflects the relative status and contribution of each member in the group, and obtains The knowledge attention mechanism reflects each member’s understanding and mastery of the video type, and obtains The attention mechanism is used to assign weights to group members and obtain the final representation of group preference g l .

[0167] Group attention mechanism: reflects the relative status and contribution of each member in the group:

[0168]

[0169] in, is the group attention output, G is the group set, k is the user k in the group, g l For groups, n k is the representation of the user’s final preference under the activation function, For X a The transpose of W a ∈R d×d ,X a ∈R d , b a ∈R d are the learnable weight matrices and biases.

[0170] Knowledge attention mechanism: reflects each member’s understanding and mastery of the video type:

[0171]

[0172] in, is the knowledge attention output, e k is the target item embedding vector, l k Indicates g l The preference vector of each member in the group, It is the final representation of other users in the group.

[0173] Through the attention mechanism, the final representation of group preference is as follows:

[0174]

[0175] Among them, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, l k is the final preference of the individual, g is the group, and softmax is the normalization function.

[0176] Step 6, prediction result representation

[0177] In order to make video recommendations for groups more accurately, an MLP layer is used to make video recommendations for groups. The whole process includes connecting group and item embeddings, and then feeding them into the MLP layer:

[0178]

[0179] in, is the final output of the MLP layer, MLP represents the MLP layer, is a join operation, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, e k Embedding vector for the target item.

[0180] Model the task as a binary classification problem to predict whether the group will click on the target item:

[0181]

[0182] in, Indicates g l Group click candidate items k The probability of W o and b o represents the weights and biases of the prediction layer, and tanh is the activation function.

[0183] The final expression is:

[0184]

[0185] in, Q l represents the l-th layer node in the social similarity graph, e k Embedding vector for the target item.

[0186] Step 7, loss optimization

[0187] In another embodiment of the present invention, a pairwise ranking loss function based on MSE is designed for optimization:

[0188]

[0189] Among them, I MSE is the MSE loss function, n is the number of users, l is the lth group, k is the kth item, O is the training set, where and g l Group in e k The true score and predicted score on the item.

[0190] A group video recommendation system integrating multimodal information and interest similarity adopts the above-mentioned group video recommendation method integrating multimodal information and interest similarity, including a data preprocessing unit, a user interest division and group construction unit, a video multimodal information fusion and representation unit, a dynamic user interest update unit, a user dynamic interest representation extraction unit, and a prediction result representation unit, wherein:

[0191] The data preprocessing unit is used to preprocess the initial group video data to obtain preprocessed group video data.

[0192] The user interest division and group construction unit is used to obtain user interest similarity based on the preprocessed group video data, and then construct a social interest similarity graph. If the user interest similarity exceeds a specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions.

[0193] The fusion and representation unit of the multimodal information of the video is used to fuse and represent the multimodal information of the video according to the social interest similarity graph using the multimodal knowledge graph. First, the multimodal information of the video is extracted, and the modalities of all entities are unified into the same dimension to obtain the initial embedding vector. After obtaining the initial embedding vector, recursive information propagation is performed on the nodes in the graph, and different weights are assigned to different nodes using the attention mechanism.

[0194] The dynamically updated user interest unit is used to recommend videos that match the user's current interests using an interest update module based on a BERT model. The interest update module based on a BERT model includes an embedding layer and two or more identical transformer layers. The goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer. The transformer layer learns the high-level interactions of the entire user behavior sequence based on the input to obtain the user's final preference representation.

[0201] The user dynamic interest representation extraction unit is used to adopt a bidirectional attention mechanism to capture the group importance of members in the team and their proficiency in video types, and at the same time assign weights to different users according to the users' final preference representations, thereby obtaining a final representation of the group preference.

[0202] The prediction result representation unit uses the MLP layer to recommend videos to the group according to the final representation of the group's preferences to predict whether the group will click on the target item.

[0203] The present invention improves the accuracy and interpretability of the video recommendation system, combines the knowledge graph with the BERT model, mines the multimodal information of the video, dynamically updates user interests, and realizes personalized recommendations.

[0204] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A group video recommendation method integrating multimodal information and interest similarity, characterized in that: The following steps are involved: Step 1, data preprocessing; Preprocessing the initial group video data to obtain preprocessed group video data; Step 2: Division of user interests and construction of groups; The user interest similarity is obtained based on the preprocessed group video data, and then a social interest similarity graph is constructed. If the user interest similarity exceeds the specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions. Step 3: Fusion and representation of video multimodal information; The multimodal knowledge graph is used to fuse and represent the multimodal information of the video according to the social interest similarity graph. First, the multimodal information of the video is extracted, and the modalities of all entities are unified into the same dimension to obtain the initial embedding vector. After obtaining the initial embedding vector, recursive information propagation is performed on the nodes in the graph, and different weights are assigned to different nodes using the attention mechanism; Step 4, dynamically update user interests; The interest update module based on the BERT model is used to recommend videos that match the user's current interests. The interest update module based on the BERT model includes an embedding layer and two or more identical transformer layers. The goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer; the transformer layer learns the high-level interactions of the entire user behavior sequence based on the input to obtain the user's final preference representation; Step 5, extracting user dynamic interest representation; A bidirectional attention mechanism is used to capture the group importance of members in the team and their proficiency in video types. At the same time, weights are assigned to different users according to their final preference representations, thereby obtaining the final representation of group preferences. Step 6, prediction result presentation; The MLP layer is used to make video recommendations to the group based on the final representation of the group’s preferences to predict whether the group will click on the target item.

2. The group video recommendation method integrating multimodal information and interest similarity according to claim 1, characterized in that: The user interest similarity in step 2 is calculated as follows: Among them, s final represents the similarity of user interests, λ1 and λ2 represent the weights of similarity, and u i 、u j Indicates the percentage of each category watched by users in the total number of videos, t i ,t j represents the proportion of the time spent watching each type of video to the total viewing time, i represents user i in the group, and j represents user j in the group; The graph convolution of the L layer of the graph neural network is: Among them, Q l represents the l-th layer node, D is the adjacency matrix A i The diagonal node degree matrix, A i is the adjacency matrix; The embedding of the user in the social similarity graph is obtained through convolution: The user finally represents: in, represents the final representation of the user in the social similarity graph, is the expression of the user in the nth social similarity graph after the Lth layer of convolution.

3. The group video recommendation method integrating multimodal information and interest similarity according to claim 2, characterized in that: The method of using the attention mechanism in step 3 to assign different weights to different nodes: Each attention layer consists of a propagation layer and an aggregation layer; the propagation layer obtains the aggregate representation h by calculating the weighted sum of their neighbors N : Among them, π′(h,r,t) is the weight of t, the neighbor aggregation representation of h, the weight of neighbor t is related to the relationship r, h represents the head entity in the knowledge graph, r represents the relationship between the head entity and the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, t represents the tail entity in the knowledge graph, and Ω represents the knowledge graph; in, is the transformation matrix, represents the initial embedding of entity t, Represents the initial embedding of relation r, T represents the matrix transpose; relation r is trained and the weights are normalized using the softmax function: Another component of the single propagation layer is to update the node h by combining the aggregated representation of its neighbors with its original representation. In high-level representation, the general form of this process is: h′=f agg (h,h N ) where h′ is a high-order representation of h, and f agg is an aggregate function; the aggregate functions are as follows: f agg =σ(W·concat(h,h N )+b) Among them, concat(·,·) is the concatenation operation of two vectors, W∈R 2d×d is a trainable weight matrix, and b is a trainable bias; High-level information aggregation is performed by stacking a series of propagation layers to further aggregate neighbor information: in, is the representation of m at the m-1 level, is the normalized weight, and then update Representation at the m layer: Among them, e m is the final output after the knowledge graph convolution, h (m-1) It is the representation of h at the m-1 level.

4. The group video recommendation method integrating multimodal information and interest similarity according to claim 3 is characterized in that: Step 4 The method of dynamically updating user interests is as follows: Given a timestamp x=(e 1 , e 2 , ..., e m ) sorted behavior sequence, the goal of the embedding layer is to project all behaviors into a low-dimensional space as the input of the transformer layer. Two types of embedding are used to meet the needs of group recommendation: item embedding and position embedding; Project Embedding: Represents the d-dimensional item embedding output of a k-layer multimodal knowledge graph, which is the sequence of interactions with the user at time step t; the item embedding is derived from the weight matrix W V We add CLS tags after the item sequence to obtain the user's current interest from the behavior sequence. Position embedding: Add a position vector p to each item embedding t , which is a vector from the learnable position matrix W p Obtained in; The item embedding and position embedding are superimposed together to obtain the fused embedding representation e t As input to the transformer layer: Among them, e t is the fused embedding representation, is the weight matrix, h t Embed for project, is the weight matrix, p t is the position vector; The entire behavior sequence of user u is mapped into a sequence from e0 to e t The embedding sequence of The transformer layer learns high-level interactions of the entire user behavior sequence, including a multi-head self-attention layer and a position feed-forward network; The dot product in the multi-head self-attention layer is: Where Q, K, V represent query, key and value respectively, and d is the dimension; the input of the multi-head self-attention layer is the fusion representation E = {e1, ..., e t }, and then transformed into three matrices through linear projection: MH(E)=Concat(head1,head2,...,head n )W O head h =Attention(Q (h) ,K (h) ,V (h) ) The weight matrix of each head is is a learnable parameter, W O is the output projection matrix, MH(E) is the multi-head self-attention, head h For multi-head self-attention Size; The multi-head self-attention layer is followed by a feed-forward network to further increase the nonlinearity of the model, which is defined as follows: S = Concatrow(E+(MH(E))) F=LayerNorm(S+Dropout(ReLu(SW (1) +B (1) )W (2) +b (2) )) Among them, S is the intermediate layer representation, F is the output layer representation, and W (1) ,b (1) ,W (2) ,b (2) is a learnable parameter shared by all positions, Concatrow is a technique for connecting vectors by row, LayerNorm is a standard normalization layer, Dropout is a regularization technique for random loss, and ReLu is an activation function; Stacking multiple layers of transformers obtains the final output H of the behavior sequence N , where the last position is fed to the intent layer to obtain the user's current point of interest β k : Among them, W l and b l is the learnable parameter of the intent layer, Leaky ReLU is the activation function, is the first vector of user interest after passing through the neural network; Get the user's final preference representation: l k The final representation of the user, is the final representation of the user in the social similarity graph, β k is the final representation of the user after dynamic update.

5. The group video recommendation method integrating multimodal information and interest similarity according to claim 4, characterized in that: The method to obtain the final representation of group preferences in step 5 is: The bidirectional attention mechanism includes the group attention mechanism and the knowledge attention mechanism; Group attention mechanism: reflects the relative status and contribution of each member in the group: in, is the group attention output, G is the group set, k is the user k in the group, g l For groups, n k is the representation of the user’s final preference under the activation function, For X a The transpose of W a ∈R d×d ,X a ∈R d , b a ∈R d are learnable weight matrices and biases; Knowledge attention mechanism: reflects each member’s understanding and mastery of the video type: in, is the knowledge attention output, e k is the target item embedding vector, l k Indicates g l The preference vector of each member in the group, The final representation of other users in the group; Through the attention mechanism, the final representation of group preference is as follows: Among them, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, l k is the final preference of the individual, g is the group, and softmax is the normalization function.

6. The group video recommendation method integrating multimodal information and interest similarity according to claim 5, characterized in that: Step 6 The prediction result is expressed as follows: The whole process involves connecting the groups and item embeddings, which are then fed into the MLP layer: in, is the final output of the MLP layer, MLP represents the MLP layer, is the connection operation, g l Based on group weight and knowledge weight The group representation is formed by summarizing the preferences of its members, e k Embedding vector for target item; Model the task as a binary classification problem to predict whether the group will click on the target item: in, Indicates g l Group click candidate items k The probability of W o and b o Represents the weight and bias of the prediction layer, and tanh is the activation function; The final expression is: in, Q l represents the l-th layer node in the social similarity graph, e k Embedding vector for the target item.

7. The group video recommendation method integrating multimodal information and interest similarity according to claim 6, characterized in that: It also includes loss optimization based on MSE pairwise ranking loss function: Among them, L MSE is the MSE loss function, n is the number of users, l is the lth group, k is the kth item, O is the training set, where and g l Group in e k The true score and predicted score on the item.

8. The group video recommendation method integrating multimodal information and interest similarity according to claim 7, characterized in that: The preprocessed group video data includes the user set U = {u1,u2,...,u K }, K is the number of users, and the item set I = {i1,i2,...,i N }, N is the number of items, and the group set G = {g1,g2,...,g L }, L is the number of groups, user-item interaction Y∈R K×N , if user u a and Project i b If there is interaction, then Y(a,b) = 1, otherwise Y(a,b) = 0. Similarly, the user-group interaction is R∈R K×L .

9. A group video recommendation system integrating multimodal information and interest similarity, characterized in that: The group video recommendation method of integrating multimodal information and interest similarity as claimed in claim 1 comprises a data preprocessing unit, a user interest division and group construction unit, a video multimodal information integration and representation unit, a dynamic user interest update unit, a user dynamic interest representation extraction unit, and a prediction result representation unit, wherein: The data preprocessing unit is used to preprocess the initial group video data to obtain preprocessed group video data; The user interest division and group construction unit is used to obtain user interest similarity based on the preprocessed group video data, and then construct a social interest similarity graph. If the user interest similarity exceeds a specified threshold, an edge is established between users, and a graph neural network is used to capture user interactions; The video multimodal information fusion and representation unit is used to fuse and represent the video multimodal information according to the social interest similarity graph using the multimodal knowledge graph; firstly, the multimodal information of the video is extracted, and the modalities of all entities are unified into the same dimension to obtain an initial embedding vector; after obtaining the initial embedding vector, recursive information propagation is performed on the nodes in the graph, and different weights are assigned to different nodes using the attention mechanism; The dynamically updated user interest unit is used to recommend videos that match the user's current interests by using an interest update module based on a BERT model. The interest update module based on a BERT model includes an embedding layer and two or more identical transformer layers. The goal of the embedding layer is to project all behaviors into a low-dimensional space as input to the transformer layer. The transformer layer learns the high-level interactions of the entire user behavior sequence based on the input to obtain the user's final preference representation. The user dynamic interest representation extraction unit is used to use a bidirectional attention mechanism to capture the group importance of members in the team and their proficiency in video types, and at the same time assign weights to different users according to the user's final preference representation, thereby obtaining a final representation of the group preference; The prediction result representation unit uses the MLP layer to recommend videos to the group according to the final representation of the group's preferences to predict whether the group will click on the target item.

Citation Information

Patent Citations

  • Continuous interest point recommendation method based on social spatio-temporal information and user preference

    CN115422441A

  • Educational resource recommendation method based on multi-modal pre-training model

    CN116049557A

  • Multi-modal information deviation-removing recommendation method for information cocoon house breakthrough

    CN116150487A

  • Learning resource recommendation method fusing space-time multi-granularity interests and related device

    CN116541600A

  • Group recommendation method for feature enhancement based on context of meta-path

    CN116842258A

Cited By

  • Cross-domain recommendation method based on multilayer loop graph convolutional network

    CN118897918A

  • Content recommendation method and system based on semantic recognition

    CN119089398A

  • Scene perception personalized recommendation system and method based on time sequence interest evolution

    CN119337002A

  • Marketing data analysis method based on big data portrait

    CN119417514A

  • Multi-modal industrial product recommendation method and system based on mixed attention mechanism

    CN119537703A