Multimodal social media popularity prediction method based on hypergraph retrieval enhancement

Through hypergraph retrieval enhancement and bootstrapping hypergraph transformer, combined with the user-perceived attention fusion module, the problem of low multi-modal social media popularity prediction accuracy in the existing technology is solved, and more accurate popularity prediction is achieved.

CN118690069APending Publication Date: 2024-09-24UNIV OF ELECTRONICS SCI & TECH OF CHINA +1

Patent Information

Application Number
CN202410902540.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-07
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing multi-modal social media popularity prediction methods rely on manual feature engineering or egocentric representation learning, resulting in low prediction accuracy and failure to effectively utilize the relevant knowledge between UGC.

Method used

A method based on hypergraph retrieval enhancement is used to retrieve relevant UGC instances through attribute information, construct a hypergraph, use a bootstrapped hypergraph transformer for intra-modal and inter-modal propagation, and combine the user-perceived attention fusion module for popularity prediction.

Benefits of technology

It improves the accuracy of popularity prediction, effectively utilizes the high-order relationships and attribute information between UGC, enhances multi-modal representation, and improves prediction performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690069A
    Figure CN118690069A
Patent Text Reader

Abstract

The invention belongs to the technical field of big data processing, and discloses a hypergraph retrieval enhancement-based multi-modal social media popularity prediction method, which comprises the following steps of: firstly, constructing a UGC (User Generated Content) memory bank containing image content, text content and UGC attribute information; retrieving a plurality of instances related to the target UGC from the memory bank to generate an instance set; the generated instance set is converted into a hypergraph with the target UGC as the center, intra-modal propagation and inter-modal propagation of a visual modal and a text modal are carried out, and updated visual modal and text modal representation is obtained; and cascading the target UGC with the updated visual modality and text modality representation, processing through a cross attention mechanism to obtain a enriched UGC representation, and obtaining a popularity prediction value based on the enriched UGC representation. According to the method, the instance is retrieved and enhanced based on attribute perception, and multi-modal representation is effectively learned through intra-modal propagation and inter-modal propagation, so that representation of the target UGC is enriched, and social media popularity prediction tasks are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of big data processing, and relates to popularity prediction, and in particular to a multimodal social media popularity prediction method based on hypergraph retrieval enhancement. Firstly, relevant multimedia instances are retrieved from a large number of multimodal user-generated content (UGC) corpora through attribute information, and an attribute-enhanced hypergraph based on the retrieved relevant instances is constructed to capture meaningful contextual information between UGCs. Then, a novel bootstrapped hypergraph transformer for strengthening cross-modal UGC representation is used to effectively diffuse information between nodes and edges through a customized propagation algorithm. Finally, a user-aware attention fusion module is used to perform popularity prediction on the enriched UGC representation. Background Art

[0002] With the massive increase in multimodal user-generated content such as images, texts, and short videos on social media platforms such as TikTok, Triller, and Instagram, predicting the popularity of UGC has become critical for many real-world application systems. For example, recommendation systems can use popularity prediction to develop effective marketing strategies; governments can use popularity prediction to identify potential public opinion crises and resolve them in advance to avoid reputation and economic losses, etc. From helping users deal with information overload to improving downstream applications such as online advertising, social recommendation systems, and rumor detection, predicting the popularity of multimodal social media can bring various conveniences to society.

[0003] As an important application, multimodal social media popularity prediction aims to estimate the future popularity of user-generated content based on multimodal features. Previous studies have made great efforts in this field and follow two main paradigms: (1) Feature engineering-based methods, which prioritize hand-crafted UGC features, including features extracted from user profiles, images, and time series, and directly predict popularity through carefully designed functions; however, these methods have a major limitation, that is, they rely on time-consuming and expertise-required manual feature engineering, which greatly limits the applicability of this method. (2) Deep learning-based methods, which directly extract useful information from UGC without extensive engineering design and achieve significant performance improvements; although previous studies have achieved certain results, previous studies have only explored representation learning about egocentric user-generated content (UGC), ignoring the relevant knowledge that can be utilized from related UGC, resulting in low prediction accuracy. Summary of the invention

[0004] In order to solve the problem of low popularity prediction accuracy caused by not utilizing relevant knowledge in UGC related to the target attributes in previous studies, a multimodal social media popularity prediction method based on hypergraph retrieval enhancement was proposed. The attribute information of UGC (such as category, user information, content topic) and hypergraph were used for multimodal retrieval and knowledge enhancement to improve the popularity prediction accuracy.

[0005] It has been studied that using retrieval methods to obtain relevant information from UGC that is similar to the target attribute information is effective and reasonable for UGC information and auxiliary popularity prediction. However, retrieving relevant UGC from the memory library and then obtaining meaningful knowledge through related instances is a difficult task with two main challenges: (1) calculating the similarity between the target UGC and related instances is complex; (2) the correlation between the target UGC and the retrieved instances is usually high-order.

[0006] The attribute information of UGC helps to clearly distinguish the relevant relationships between various UGC types, thereby improving retrieval performance. The basic principle is that UGCs with higher similarity usually have more shared attribute information. Hypergraphs can connect more than two vertices through different hyperedges, so they are very suitable for modeling the mutual relationships between related data instances. With this design, hyperedges represent UGC attribute information in an explicit way and directly connect multiple vertices. In addition, different hyperedges share common vertices, making it feasible to model high-order relationships between target UGC and related instances through important shared attributes.

[0007] Therefore, the idea of ​​the present invention is to use the attribute information of UGC (such as categories, user information, content topics) for multimodal retrieval, further introduce hypergraph for knowledge enhancement, and diffuse the information between nodes and edges through a customized propagation algorithm, and finally use the user perception fusion based on the cross-attention mechanism to use the enriched UGC information to predict the popularity of social media.

[0008] Based on the above invention ideas, the present invention proposes a multimodal social media popularity prediction method based on hypergraph retrieval enhancement, which specifically includes the following steps:

[0009] S1, constructing a UGC memory library containing image content, text content and UGC attribute information;

[0010] S2, retrieve several instances related to the target UGC from the memory bank to generate an instance set;

[0011] S3, converting the generated instance set into a hypergraph centered on the target UGC, where each instance forms a node; based on the constructed hypergraph, performing intra-modal propagation and inter-modal propagation of the visual modality and textual modality to obtain updated visual modality and textual modality representations;

[0012] S4, cascade the target UGC with the updated visual modality and text modality representations respectively, and obtain the enriched UGC representation through the cross-attention mechanism; then obtain the popularity prediction value based on the enriched UGC representation.

[0013] In the above step S1, the user-generated content UGC is pre-processed into a triple form of <image, text, attribute>, and all processed triples of the user-generated content UGC constitute a UGC memory library, and each triple represents an instance.

[0014] In the above step S2, for the target triple (i.e., target UGC) to be predicted, K most similar triples are retrieved from the memory library, and their attribute information is used as data enhancement of the target triple. The similarity between each instance in the UGC memory library and the target UGC can be determined by using the similarity value calculated using the attribute information.

[0015] Specifically, use To represent the target UGC c q The attribute information in the query object is represents the characteristic value of the fth field, Indicates the number of feature fields. q When a request is made, the data instance c q Abstracted as a "document", each attribute information of the instance is regarded as a "feature", and then the search engine technology is used to retrieve the closest data instance in the memory library.

[0016] First, a Boolean query operation is performed to retrieve the q Next, for the instances filtered out from the entire data space, calculate the correlation between each instance and the target UGC instance c q Then, the first K instance samples with the highest correlation scores are selected from the sorted instances as the target UGC instance c q The following is a specific similarity calculation process.

[0017] Define the ranking function R(x q , x D )(BM25), used to calculate the query x q and instance x in the UGC memory D Similarity score between:

[0018]

[0019] Where k1 and b are free parameters, and avgdl represents the average document length. The document length is defined as the number of features in the UGC attribute information, so all documents have the same length. Notice, It means x D Medium Features If is a single-valued feature, then according to D Does it exist in The matching decision Is 1 or 0. If With multi-valued features, the Jaccard similarity is calculated as the feature frequency:

[0020]

[0021] Where |·| represents the size of the set, and IDF is defined as:

[0022]

[0023] In the memory bank, represents the number of all instance samples, and Indicates that the fth field in all instances has a characteristic value The number of instances. Common features are less important than rare features in IDF terms. After BM25 retrieval, the top K data instances can be obtained. Each retrieved Each instance is a <image, text, attribute> triple.

[0024] In the above step S3, the target instance c is used q with the retrieved data instance A hypergraph is constructed. When there is a correlation between the target UGC and the retrieved instance, a hyperedge is constructed with the features in each attribute information to connect the retrieved instance. For the constructed hypergraph, intra-modal propagation and inter-modal propagation are performed to obtain the information within and between the instance modalities to enhance the information of the original instance. Finally, a feedforward network is used to merge the text hidden layer state into the visual hidden layer state to prepare enhanced multi-angle instance information for popularity prediction in S4.

[0025] This step uses several layers of bootstrapping hypergraph transformer (BHT) modules to perform intra-modal and inter-modal propagation of the visual modality and textual modality to obtain updated representations of the visual modality and textual modality. BHT learns the multimodal representation of UGC and captures rich intra-modal and cross-modal correlation information. The bootstrapping hypergraph transformer module includes two parts for the visual modality and textual modality respectively, each of which has the same structure, including an attention layer, a feedforward layer, and a normalization layer.

[0026] This step S3 comprises the following sub-steps:

[0027] S31, the generated instance set Convert to target UGCc q Hypergraph Each instance forms a node; each feature in the target UGC attribute information constructs a hyperedge to connect the retrieved related instances; a node has corresponding visual modality and textual modality;

[0028] S32, performing intra-modal propagation on the visual modality and the text modality of the hypergraph respectively to obtain a first visual modality representation and a first text modality representation;

[0029] S33, performing inter-modal propagation between the visual modality and the text modality of the hypergraph to obtain a second visual modality representation and a second text modality representation;

[0030] S34, after the first visual modality representation and the second visual modality representation are merged through a feedforward network, they are normalized with the visual modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer; after the first text modality representation and the second text modality representation are merged through a feedforward network, they are normalized with the text modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer;

[0031] Repeat the above steps S32-S34 several times to obtain the final updated representation of the visual modality and text modality.

[0032] In the above step S31, the instance set generated Converted into target UGCc q Hypergraph Each instance data forms a node, that is ε qRepresents a hyperedge set. When there is a relevant high-order relationship between the target UGC and the retrieved instance, the features in each attribute information construct a hyperedge to connect the related retrieved instances. In addition, for the multimodal content of UGC, the hypergraph Convert to each mode A single-mode hypergraph where t and v represent the visual and textual modalities respectively. For each node q, it has the corresponding single modality feature Visual modality The image information of the node is input into the image encoder to obtain the text mode The text information of the node is input into the text encoder, and the image encoder and the text encoder can be implemented by using conventional settings disclosed in the art.

[0033] In the above step S32, for intra-modal propagation, propagation is performed on a single-modal (visual modality / textual modality) hypergraph to capture the intra-modal neighborhood information, which consists of node-to-hyperedge and hyperedge-to-node propagation. For node-to-hyperedge propagation, given the query UGCc q , visual modality representation and the hypergraph incidence matrix

[0034] For the lth layer of propagation, the F hyperedge visual modality embedding representations are calculated through the attention layer of BHT The formula definition is as follows:

[0035]

[0036] in, represents a learnable parameter, the superscript l represents the number of layers of BHT, and α jk Represents a hyperedge Middle Node n q,k The attention coefficient, Represents node n in the l-1th layer of BHT q,k In order to integrate the intra-modal and inter-modal propagation, the attention coefficient α jk Cross-modal propagation information is injected into , to ensure that only the most influential and informative messages from the v-mode modality can pass through the t-mode modality. The attention score is calculated as follows:

[0037]

[0038] in, is the weight vector, is the average value of the cluster, Represents node n in layer l-1 q,ζ The visual modality representation of Indicates cascade operation, Represents node n in the -1th layer q,ζ ⊙ represents the Hadamard product, and σ represents the LeakyReLU activation function.

[0039] For the propagation of hyperedges to nodes, we use hyperedge embedding to represent Update the visual mode to get the first visual mode representation

[0040]

[0041] in, represents the learnable parameters, Representation Node The update indicates that is the weight vector, β kj Represents the connection node v q,k The super edge e q,j The attention score, represents the ζ-th hyperedge text modality embedding representation.

[0042] Following the same operation as above, perform intra-modal propagation on the text modality to obtain the hyperedge text modality embedding representation of the ,th layer and the first text modal representation Just change "v" in the above formula to "t" and "t" to "v".

[0043] In the above step S33, for cross-modal propagation, BHT reconstructs the information propagation process into prefix-guided multimodal information propagation to reduce modal heterogeneity in advance and capture cross-modal interactions, from the hypergraph under the text modality Extracting textual information into visual modality hypergraph Or from the visual modality hypergraph Extracting image information into hypergraph in textual modality

[0044] For the lth layer of propagation, the text modality hypergraph is obtained through the BHT attention layer Extracting textual information into visual modality hypergraph In the process of propagation, for the propagation from node to hyperedge, calculate Hyperedge embedding representation for:

[0045]

[0046] in, represents the learnable parameter, α′ jk Visual hyperedge Chinese text node Note that the above formula represents the information propagation from text nodes to image hyperedges.

[0047] Then, for the propagation of hyperedges to nodes, we can represent it by embedding hyperedges Update the visual mode to get the second visual mode representation Completed from arrive Information dissemination:

[0048]

[0049] in, represents the learnable parameter, β′ kj The attention coefficient representing the cross-modal interaction. The prefix-guided interaction mechanism uses a scalar factor to reduce the original attention and redistribute the remaining attention to the text modality. This treatment enables the model to reduce modality heterogeneity in advance.

[0050] Following the same operation as above, we transform the visual modality hypergraph through the attention layer Extracting image information into text modality hypergraph Perform inter-modal propagation to obtain the hyperedge embedding representation of the ,th layer and the second text mode representation Just change "v" in the above formula to "t" and "t" to "v".

[0051] In addition, the present invention uses multi-head attention to expand the representation subspace of the model and stabilize the self-attention learning process. In the present invention, the goal is to give BHT the ability to jointly participate in multi-dimensional dependencies between nodes and hyperedges. To achieve this goal, BHT is expanded into a multi-head hypergraph transformer, that is, the attention layer is replaced with a multi-head hypergraph attention layer, and the specific attention operations of each head are performed in parallel. This expansion can be summarized as follows:

[0052] Intra-modal learning in the visual modality:

[0053]

[0054] Cross-modal learning of visual modalities:

[0055]

[0056] In-modal learning in text modality:

[0057]

[0058] Cross-modal learning of text modalities:

[0059]

[0060] where Aggregate(·) represents the concatenation operator, H represents the number of attention heads in BHT, represents the visual hypergraph, Represents text hypergraph, HBT h (·) For specific operations, see steps S32 and S33 given above.

[0061] In the above step S34, taking the visual modality as an example, in order to reduce the differences between different types and obtain a refined representation including internal and cross-modal correlations, this step merges the text hidden layer state into the visual hidden layer state through the th layer BHT feedback layer, and then connects it to the normalization layer with the visual modality representation residual of the th-1 layer to obtain the final visual modality representation output of the th layer.

[0062] FFN calculates FNN(Z v,l ) process is defined as:

[0063]

[0064] Among them, W1, W2, W3 represent learnable weights, b1, b2 represent learnable biases, LN represents layer normalization operation, Denotes the visual modality representation of the ,th layer output. By incorporating text and images into the FFN calculation, the model aligns the two data modalities. The text modality representation of the ,th layer output The calculation process and Same as above, just replace the superscript "v" with "t".

[0065] According to the several layers of bootstrapped hypergraph transformer modules given above, the steps S32-S34 given above are repeated several times to obtain the final updated representations of the visual modality and textual modality.

[0066] The purpose of the above step S4 is that, since different modalities have different importance for predicting popularity, and different users have different preferences in generating specific text and visual information in UGC (even for the same user), the present invention uses a user perception fusion module based on a cross-attention mechanism to automatically select more important and suitable parts from the enriched features of UGC, obtain complementary fusion features and predict media popularity.

[0067] Given the last BHT layer output and First, the attribute information of the target UGC user is one-hot encoded to obtain the user embedding Then, the visual modality representation and text modality representation outputted from step S3 are concatenated with the corresponding target UGC user embedding to obtain textual representation and visual representation: and These two representations contain high-order neighbor information, user information, intra-modal and cross-modal correlations. The two representations T and V are projected into d dimensions through a linear layer as the query, using the cascaded embeddings of T and V as keys and values, and fed into a multi-head cross-attention layer as a user-aware fusion layer:

[0068]

[0069] X=ATT(([V||T]W)W Q , (V T ||T T ) T W K , (V T ||T T ) T W V )(19);

[0070] Y = LN(X + [V ‖ T] W) (20);

[0071] in, represents the learnable parameter matrix, They represent the output of the multi-head cross-attention layer, text and visual representation, LN represents the normalization operation, and Y represents the enriched UGC representation. Q , W K , W v Represent query, key, and value projection matrices respectively. Then, based on the enriched UGC representation, the popularity prediction value is obtained through the fully connected layer, and the mean square error (MSE) is used as the optimization loss function. The fully connected layer in the present invention uses a multi-layer perceptron.

[0072] Thus, the present invention has realized a multimodal social media popularity prediction method based on hypergraph retrieval enhancement.

[0073] Compared with the prior art, the multimodal social media popularity prediction method based on hypergraph retrieval enhancement provided by the present invention has the following beneficial effects:

[0074] (1) The present invention is based on attribute-aware retrieval enhancement examples and constructs an attribute-aware hypergraph based on the retrieved examples. It effectively learns multimodal representations from images and texts through intra-modal propagation and inter-modal propagation to enrich the representation of target UGC and enhance the social media popularity prediction task.

[0075] (2) The present invention utilizes a retrieval framework to enhance the multimodal social media popularity prediction, and effectively utilizes the relevant attribute information of the relevant UGC to retrieve and enhance the initial UGC;

[0076] (3) The present invention utilizes a bootstrapped hypergraph transformer module to aggregate and expand information into multimodal information, models the high-order relationship between the target UGC and related instances through important shared attributes, designs intra-modal and inter-modal propagation to capture cross-modal correlation and fine-grainedness, and enriches the target UGC to improve the popularity prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 A schematic diagram of the process flow of a multimodal social media popularity prediction method based on hypergraph retrieval enhancement provided by the present invention;

[0078] Figure 2 A schematic diagram of the principle of a multimodal social media popularity prediction method based on hypergraph retrieval enhancement provided by the present invention;

[0079] Figure 3 It is a schematic diagram of the instance retrieval process based on attribute information;

[0080] Figure 4 This is the principle block diagram of the bootstrapped hypergraph transformer module;

[0081] Figure 5 This is the principle block diagram of the user perception fusion module based on the cross-attention mechanism.

[0082] Explanation of terms

[0083] Transformer is the abbreviation of Transformer Networks, which means "converter network", which is a neural network framework for processing sequence data. Its implementation method is referenced in [A.Vaswani et al., "Attention is All You Need," in NeurIPS, 2017.]

[0084] Hypergraph is the abbreviation of Hypergraph, which means "supergraph", which is a generalized form of graph in which edges can connect multiple nodes instead of just two nodes. Its application has advantages in processing complex relationships and high-dimensional data. DETAILED DESCRIPTION

[0085] The present invention is further described in conjunction with the accompanying drawings.

[0086] Example

[0087] The multimodal social media popularity prediction method based on hypergraph retrieval enhancement provided in this embodiment is as follows: Figure 1 and Figure 2 As shown, the following steps are included:

[0088] S1, build a UGC memory library containing image content, text content and UGC attribute information.

[0089] For all user generated content UGC (including target UGC), firstly, a text encoder and an image encoder are used to encode and obtain the text information and image information of the UGC. The text encoder and the image encoder can adopt conventional settings in the art.

[0090] At the same time, all user-generated content UGC is processed into the form of <image, text, attribute> triples. The processed triplets of all user-generated content UGC constitute the UGC memory library, and each triplet represents an instance.

[0091] S2, retrieves several instances related to the target UGC from the memory library and generates an instance set.

[0092] This step uses the attribute information in the target UGC to retrieve the attribute from the UGC memory. The retrieval process is shown in the attached figure. Figure 3 As shown, for the target UGC, its attribute information (such as user ID, category, text topic, etc. as shown in the figure) is used to retrieve the attribute information in the memory library, and K UGC instances closest to the target UGC are screened out.

[0093] The similarity between each instance in the UGC memory and the target UGC can be determined by using the similarity value calculated using the attribute information. Specifically, a Boolean query operation is first performed to retrieve at least one instance c that is similar to the target instance c. q Instances with the same feature value. Then according to the ranking function R(x q , x D )(BM25) calculates the query x q and instance x in the UGC memory D Then, the first K instance samples with the highest correlation scores are selected from the sorted instances as the target UGC instance c q An example of retrieval enhancement.

[0094] S3, converts the generated instance set into a hypergraph centered on the target UGC, where each instance forms a node; based on the constructed hypergraph, intra-modal propagation and inter-modal propagation of the visual modality and textual modality are performed to obtain updated representations of the visual modality and textual modality.

[0095] In this step, two layers (L=2) of bootstrapping hypergraph transformer modules (BHT) are used to perform intra-modal propagation and inter-modal propagation of the visual modality and the textual modality to obtain updated representations of the visual modality and the textual modality. The bootstrapping hypergraph transformer module includes two parts for the visual modality and the textual modality respectively, each of which has the same structure, including a multi-head hypergraph attention layer, a feedback layer, and a normalization layer.

[0096] like Figure 2 and Figure 4 , the step S3 comprises the following sub-steps:

[0097] S31, the generated instance set Convert to target UGCc q Hypergraph Each instance forms a node; each feature in the target UGC attribute information constructs a hyperedge to connect the retrieved related instances; a node has corresponding visual modality and textual modality.

[0098] In addition, for the multimodal content of UGC, the hypergraph Convert to each mode A single-mode hypergraph where t and v denote the visual and textual modalities, respectively.

[0099] For each node q, it has a corresponding single modal feature As mentioned earlier, the visual modality The image information of the node is input into the image encoder to obtain the text mode The text information of the node is input into the text encoder.

[0100] S32, the visual modality and the text modality of the hypergraph are respectively subjected to intra-modal propagation to obtain a first visual modality representation and a first text modality representation.

[0101] S33, performing inter-modal propagation between the visual modality and the text modality of the hypergraph to obtain a second visual modality representation and a second text modality representation.

[0102] S34, after the first visual modality representation and the second visual modality representation are merged through a feedforward network, they are normalized with the visual modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer; after the first text modality representation and the second text modality representation are merged through a feedforward network, they are normalized with the text modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer.

[0103] Repeat the above steps S32-S34 several times to obtain the final updated representation of the visual modality and text modality.

[0104] The obtained visual modality hypergraph and text modality hypergraph are input into L-layer bootstrapped hypergraph transformer modules respectively. The structure of each layer of bootstrapped hypergraph transformer module is as shown in the attached figure. Figure 4 shown.

[0105] For the intra-modal propagation of the ,th layer, the multi-head hypergraph attention layer is used to obtain the first visual modality representation and the first text modality representation according to the step S32 given above combined with formulas (12) and (14).

[0106] For the inter-modality propagation of the first layer, the multi-head hypergraph attention layer is used to combine formulas (13) and (15) according to step S33 given above to obtain the second visual modality representation and the second text modality representation.

[0107] Then, according to step S33, the output of the L-th layer BHT is obtained by combining formulas (16) and (17); after L layers of BHT, the final output is obtained. and

[0108] S4, cascade the target UGC with the updated visual modality and text modality representations respectively, and obtain the enriched UGC representation through the cross-attention mechanism; then obtain the popularity prediction value based on the enriched UGC representation.

[0109] This step uses the user-aware fusion module based on the cross-attention mechanism to automatically select more important and appropriate parts from the enriched features of UGC, obtain complementary fusion features and predict media popularity. Figure 5 As shown, the user perception fusion module includes a user perception fusion layer and a normalization layer; in this embodiment, a multi-head cross attention layer is used as the user perception fusion layer.

[0110] Image embedding from L-layer bootstrapped hypergraph transformer module With text embedding Embed with corresponding target UGC users Cascade to get textual representation and visual representation: and The two representations T and V are projected into d dimensions as the query through a linear layer, and the cascaded embedding of T and V is used as the key and value, and fed to the user-aware fusion layer. The output of the multi-head cross-attention layer is obtained according to the formula (19) given above. The output of the user-aware fusion layer is connected with the query Q residual and then passed through the normalization layer to obtain the enriched UGC representation Y, as shown in formula (20). Based on the enriched UGC representation Y, the popularity prediction value is obtained through the fully connected layer, and the mean square error (MSE) is used as the optimization loss function.

[0111] Application Examples

[0112] The multimodal social media popularity prediction method based on hypergraph retrieval enhancement provided by the embodiment is adopted ( RAGTrans ) on three different real datasets (SMPD, ICMP, WeChat). The details of the datasets are shown in Table 1. RAGTrans is compared with 13 benchmark models, which can be divided into three groups: (1) Feature engineering models: SVR, Hyfea, and MFTM. (2) Deep learning methods: DTCN, UHAN, MMVED, MGC, MHF, CBAN, JAB, and MASSL. (3) Hypergraph methods: HGNN, DHGNN. Three widely used evaluation indicators are selected: Spearman rank correlation coefficient (SRC), mean absolute error (MAE), and mean square error (MSE).

[0113] Table 1: Dataset details

[0114]

[0115] The results of comparing RAGTrans with baseline models on the multimodal social media popularity prediction task are shown in Table 2.

[0116] Table 2: Comparison of the performance of RAGTrans and baseline models on three datasets

[0117]

[0118]

[0119] The remaining methods in the table are described as follows:

[0120] SVR: The full name is Support Vector Regression, which is a common machine learning regression algorithm. It is an extension of the support vector machine algorithm on the regression task.

[0121] Hyfea: The full name is "Heterogeneous network representation learning with Fusion Embedding and Attention". It adopts an end-to-end learning framework, fuses different types of network structures and attribute information, and uses the attention mechanism to adaptively learn the importance of each information in the final representation, thereby obtaining a unified representation that can effectively describe various types of nodes in the network. For specific implementation details, please refer to the paper [Lai, Xin, Yihong Zhang, and Wei Zhang. "Hyfea: winning solution to social media popularity prediction for multimedia grand challenge 2020." Proceedings of the 28th ACM International Conference on Multimedia. 2020].

[0122] MFTM: This is a method to improve the performance of machine learning models by optimizing model parameters on high-dimensional manifolds, which enhances the generalization ability of the model by capturing complex data structures. Its implementation process is referenced in [Y.Li, T.Ma, and H.Zhang, "Manifold Fine-Tuning: A Method for Optimizing Models on High-Dimensional Manifolds," in NeurIPS, 2020].

[0123] DTCN: Integrates ResNet and LSTM to jointly extract adjacent temporal context and periodic temporal context in sequential content. For specific implementation details, see the paper [Bo Wu, Wen-Huang Cheng, Yongdong Zhang, Qiushi Huang, Jintao Li, and Tao Mei. 2017. Sequential Prediction of Social Media Popularity with Deep Temporal Context Networks. In International Joint Conference on Artificial Intelligence (IJCAI). 3062–3068].

[0124] UHAN: We designed a user-guided hierarchical attention network consisting of VGGNet and LSTM to merge visual and textual features to predict popularity. The implementation details can be found in the paper [Wei Zhang, Wen Wang, Jun Wang, and Hongyuan Zha. 2018. User-guided hierarchical attention network for multi-modal social image popularity prediction. In The Web Conference (WWW). 1277–1286].

[0125] MMVED: Based on a variational framework, a multimodal variational encoder-decoder is designed for micro-video popularity prediction. For details, see the paper [Jiayi Xie, Yaochen Zhu, and Zhenzhong Chen. 2023. Micro-Video Popularity Prediction Via Multimodal Variational Information Bottleneck. IEEE Transactions on Multimedia 25 (2023), 24–37].

[0126] MGC / MHF: Both use attention-based mechanisms to learn multimodal UGC data. See the paper for specific implementation.

[0127] Article [Yang Qian, Wang Xu, Xiao Liu, Haifeng Ling, Yuanchun Jiang, YidongChai, and Yezheng Liu. 2022. Popularity prediction for marketer-generatedcontent: A text-guided attention neural network for multi-modal featurefusion. Information Processing & Management 59, 4 (2022), 102984].

[0128] CBAN: A convolutional network method based on the attention mechanism, which improves image classification performance by adaptively strengthening important features and suppressing irrelevant features. Its implementation process is referenced in [Tsun-hin Cheung and Kin-manLam.2022.Crossmodal bipolar attention for multimodal classification on socialmedia.Neurocomputing 514(2022),1–12.].

[0129] JAB: A joint attention reinforcement learning method that improves decision accuracy and training efficiency by introducing multi-layer attention modules in the policy network. Its implementation process references [Evan Weissburg, Arya Kumar, and Paramveer SDhillon. 2022. Judging a book by its cover: Predicting the marginal impact of title on Reddit post popularity. In AAAI Conference on Web and Social Media, Vol. 16. 1098–1108.].

[0130] MASSL: A method based on multimodal self-supervised learning, which combines data from multiple modalities for pre-training to improve the performance of the model in downstream tasks. Its implementation process is referenced in [Zhuoran Zhang, Shibiao Xu, Li Guo, and Wenke Lian. 2022. Multi-modal Variational Auto-Encoder Model for Micro-video Popularity Prediction. In International Conference on Communication and Information Processing. 9–16.].

[0131] HGNN: The first work to extend Graph Convolution to Hypergraph to capture high-order correlations. For specific implementation, see the paper [Yifan Feng, Haoxuan You, Zizhao Zhang, Rongrong Ji, and Yue Gao. 2019. Hypergraph neural networks. In AAAI Conference on Artificial Intelligence (AAAI), Vol. 33. 3558–3565].

[0132] DHGNN: Constructs a dynamic hypergraph neural network with two components: dynamic hypergraph creation and Hypergrpah convolution to simulate evolving connections between different nodes within the hypergraph. The specific implementation method can be found in the paper [Jianwen Jiang, Yuxuan Wei, Yifan Feng, Jingxuan Cao, and Yue Gao. 2019. Dynamic Hypergraph Neural Networks. In International Joint Conference on Artificial Intelligence (IJCAI). 2635–2641].

[0133] From Table 2 we can see that:

[0134] (1)RAGTrans consistently outperforms all baseline models under all evaluation metrics on the three datasets. Note that RAGTrans achieves 25.11%, 20.65%, and 22.96% relative gains in MSE, MAE, and SRC on the ICIP dataset, respectively. These experimental results verify the importance of RAGTrans's improvements. Specifically, RAGTrans effectively retrieves relevant UGC instances and captures knowledge from the retrieved instances to guide predictions. The bootstrapped hypergraph transformer captures rich cross-modal high-order relationships between target UGC and retrieved instances, further improving performance.

[0135] (2) The gap between the feature model and other baseline models is relatively small, and in some cases it even outperforms the deep learning model, indicating that the deep learning model is not always better than the feature method. However, its performance is heavily dependent on manually extracted features, which is time-consuming and labor-intensive and difficult to generalize to new fields. RAGTrans of the present invention adopts a deep learning method to avoid the complex and time-consuming feature extraction process. The model determines the importance of each feature and finds the internal connection.

[0136] (3)RAGTrans outperforms deep learning models on all datasets. The inadequate performance of the baseline model is attributed here to the inability to effectively utilize key clues in related UGC to guide target prediction. In addition, HGNN and DHGNN also use hypergraphs to establish cross-modal correlations between multimodal UGC, and bring significant performance improvements, but they ignore the role of attribute information, which can better summarize the characteristics of UGC compared to other information, and has the advantages of both breadth and precision in hypergraph construction and information dissemination. At the same time, the present invention decouples the high-order associations between the target UGC and related instances through attribute-oriented hyperedges, and captures internal and cross-domain correlations through multi-modal mixing, which is also the reason why RAGTrans has a performance advantage over other models.

[0137] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A multimodal social media popularity prediction method based on hypergraph retrieval enhancement, characterized in that: The specific steps include: S1, constructing a UGC memory library containing image content, text content and UGC attribute information; S2, retrieve several instances related to the target UGC from the memory bank to generate an instance set; S3, converting the generated instance set into a hypergraph centered on the target UGC, where each instance forms a node; based on the constructed hypergraph, performing intra-modal propagation and inter-modal propagation of the visual modality and the textual modality to obtain updated representations of the visual modality and the textual modality; S4, cascade the target UGC with the updated visual modality and text modality representations respectively, and obtain the enriched UGC representation through the cross-attention mechanism; then obtain the popularity prediction value based on the enriched UGC representation.

2. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 1 is characterized in that: In step S1, the user-generated content UGC is pre-processed into a triple form of <image, text, attribute>. All processed triples of the user-generated content UGC constitute a UGC memory library, and each triple represents an instance.

3. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 1 is characterized in that: In step S2, a Boolean query operation is performed to retrieve at least one q instances with the same eigenvalues; Next, calculate the difference between each instance and the target UGC instance c q Then, the first K instance samples with the highest correlation scores are selected from the sorted instances as the target UGC instance c q An example of retrieval enhancement.

4. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 3 is characterized in that: Define the ranking function R(x q ,x D )(, used to calculate the query x q and instance x in the UGC memory D Similarity score between: Where k1 and b are free parameters, and avgdl represents the average document length; It means x D Medium Features The characteristic frequency of is a single-valued feature, then according to D Does it exist in The matching decision Is 1 or 0; if With multi-valued features, the Jaccard similarity is calculated as the feature frequency: Where |·| represents the size of the set, and IDF is defined as: In the memory bank, represents the number of all instance samples, and Indicates that the fth field in all instances has a characteristic value The number of instances of .

5. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 1, characterized in that: Step S3 performs intra-modal propagation and inter-modal propagation of the visual modality and the textual modality through several layers of bootstrapped hypergraph transformer modules BHT to obtain updated representations of the visual modality and the textual modality; the bootstrapped hypergraph transformer module includes two parts for the visual modality and the textual modality respectively, each part has the same structure, including an attention layer, a feedback layer and a normalization layer.

6. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 1 or 5, characterized in that: Step S3 includes the following sub-steps: S31, the generated instance set Convert to target UGCc q Hypergraph Each instance forms a node; each feature in the target UGC attribute information constructs a hyperedge to connect the retrieved related instances; a node has corresponding visual modality and textual modality; S32, performing intra-modal propagation on the visual modality and the text modality of the hypergraph respectively to obtain a first visual modality representation and a first text modality representation; S33, performing inter-modal propagation between the visual modality and the text modality of the hypergraph to obtain a second visual modality representation and a second text modality representation; S34, after the first visual modality representation and the second visual modality representation are merged through a feedforward network, they are normalized with the visual modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer; after the first text modality representation and the second text modality representation are merged through a feedforward network, they are normalized with the text modality representation obtained through intra-modality propagation and inter-modality propagation of the previous layer to obtain an updated visual modality representation of the current layer; Repeat the above steps S32-S34 several times to obtain the final updated representation of the visual modality and text modality.

7. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 6, characterized in that: In step S32, for intra-modal propagation, propagation is performed on a unimodal hypergraph to capture the intra-modal neighborhood information, which consists of node-to-hyperedge and hyperedge-to-node propagation; for node-to-hyperedge propagation, given the query UGCc q , visual modality representation and the hypergraph incidence matrix For the lth layer of propagation, calculate Hyperedge embedding representation The formula definition is as follows: in, represents the learnable parameter, α NU Represents a hyperedge Middle Node n q,U The attention coefficient, Represents node n in layer l-1 q,U The visual modality representation of ; the attention score is calculated as follows: in, represents the weight vector, is the average value of the cluster, Represents node n in layer l-1 q,l The visual modality representation of Indicates cascade operation, Represents node n in layer l-1 q,l The text modality representation of , ⊙ represents the Hadamard product, and σ represents the LeakyReLU activation function; For the propagation of hyperedges to nodes, we use hyperedge embedding to represent Update the visual mode to get the first visual mode representation in, represents the learnable parameters, Representation Node The update indicates that is the weight vector, β UN Represents the connection node v q,U The super edge e q,N The attention score, represents the ζ-th hyperedge text modality embedding representation; Following the same operation as above, perform intra-modal propagation on the text modality to obtain the hyperedge embedding representation of the lth layer and the first text modal representation In step S33, for cross-modal propagation, from the hypergraph under the text mode Extracting textual information into a hypergraph in visual modality Or from the hypergraph in visual mode Extracting image information into hypergraph in textual modality For the lth layer of propagation, from the text modality Extract text information to In the process of propagation, for the propagation from node to hyperedge, calculate Hyperedge embedding representation for: in, represents the learnable parameter, α N ~ U Visual hyperedge Chinese text node The attention coefficient; Then, for the propagation of hyperedges to nodes, we can represent it by embedding hyperedges Update the visual mode to get the second visual mode representation Completed from arrive Information dissemination: in, represents the learnable parameter, β ~ UN The attention coefficient representing cross-modal interaction; Following the same steps as above, from the hypergraph in the visual mode Extracting image information into hypergraph in textual modality The propagation between the modes is carried out to obtain the hyperedge embedding representation of the lth layer and the second text mode representation 8. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 6, characterized in that: Expand BHT into a multi-head hypergraph transformer, that is, replace the attention layer with a multi-head hypergraph attention layer.

9. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 6, characterized in that: In step S34, FFN calculates FNN(Z v,l ) process is defined as: Among them, W1, W2, and W3 represent learnable weights, b1, b u represents a learnable bias, LN represents a layer normalization operation, represents the visual modality representation of the output of layer l; represents the textual modality representation of the output of layer l The calculation process and same.

10. The method for predicting the popularity of multimodal social media based on hypergraph retrieval enhancement according to claim 6, characterized in that: In step S4, the visual modality representation and text modality representation output from step S3 are embedded with the corresponding target UGC user Cascade to get textual representation and visual representation: and Project the two representations T and V into d dimensions through a linear layer as the query, use the concatenated embeddings of T and V as keys and values, and feed them into a multi-head cross-attention layer as the user-aware fusion layer: T = LN(X + [V || T] W); in, represents the learnable parameter matrix, represents the enriched UGC representation, W Q ,W G ,W V Represent query, key, and value projection matrices respectively; LN represents the normalization operation, and Y represents the enriched UGC representation; Based on the enriched UGC representation, the popularity prediction value is obtained through the fully connected layer.

Citation Information

Patent Citations

  • Social media image popularity prediction method and system, storage medium and application

    CN112396091A

  • Dynamic propagation feature enhanced multi-modal rumor detection method and system

    CN116383517A

  • Information propagation prediction method based on prototype perception dual-channel graph neural network

    CN117408298A

  • Machine learning using partial order hypergraphs

    US20190325343A1

Cited By

  • News transmission method based on big data

    CN120296174A

  • Micro-video popularity prediction method based on graph prompt enhancement

    CN120472365A

  • User generated content popularity prediction method based on retrieval enhancement prediction

    CN120763406A

  • A method for predicting the popularity of user-generated content based on retrieval enhancement prediction

    CN120763406B

  • User participation degree prediction method based on distillation multi-modal retrieval enhancement

    CN121434461A