Diffusion propagation method based on joint modeling of network characteristics and propagation information
By adopting a joint modeling method based on network characteristics and propagation information in social networks, dynamic node preferences and information attribute characteristics are constructed, which solves the problem of the inability of existing models to accurately propagate information and achieves efficient diffusion of information in social networks.
Patent Information
- Application Number
- CN202410815052.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing information dissemination models ignore user behavior and social relationships in social networks, cannot achieve rapid diffusion of information accurately and effectively, and cannot fully capture the complexity and diversity of information dissemination.
Using a joint modeling method based on network characteristics and propagation information, by abstracting social networks into undirected and unweighted graphs, we train a dynamic node preference model, calculate node similarity, divide node groups, mine information attribute characteristics, and calculate node-information matching degree , build an information dissemination backbone network to achieve efficient diffusion.
It achieves efficient diffusion of information dissemination content in social networks. It divides node groups through dynamic node preferences and graph structures, combines multi-modal information features, calculates node-information matching degrees, builds an information dissemination backbone network, and improves the accuracy of information dissemination. sex and efficiency.
Smart Images

Figure CN118378102B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a diffusion propagation method based on joint modeling of network characteristics and propagation information. Background Art
[0002] Cyberspace is a virtual environment that includes the global information infrastructure, which allows people to exchange information, communicate online, conduct e-commerce, social interaction and other activities. Social networks are built on the basis of cyberspace. Information dissemination in social networks is a complex process. Understanding the laws and mechanisms involved is of great significance for predicting the trend and effect of information diffusion. In the context of social media information dissemination, the existing information dissemination model ignores the impact of user behavior on information dissemination, lacks personalized factors and social relationships, and thus cannot accurately and effectively spread different information quickly in the network.
[0003] Specifically: To spread information in a large and complex social network, the information propagation models proposed in current research work can be divided into the following three categories: First, the information propagation model based on the infectious disease model: the information propagation process is analogous to the propagation process of an infectious disease, and the information propagation process in the network is simulated by describing the state transition process of the node. Second, the information propagation model based on the network structure: considering the influence of the network's topological structure on the information propagation process, the connection relationship between nodes has an important influence on the path and speed of information propagation. Third, the information propagation model based on behavioral rules: the influence of users' behavioral rules on the information propagation process is considered. These rules may include the activity of the node, the popularity of the information, the intimacy between nodes, etc. However, these methods only consider a single factor that affects the spread of information, and cannot fully capture the complexity and diversity of information propagation in social networks. Summary of the invention
[0004] Based on the technical problems existing in the background technology, the present invention proposes a diffusion propagation method based on joint modeling of network characteristics and propagation information, which realizes the efficient diffusion of propagation information content in social networks.
[0005] The diffusion propagation method proposed in the present invention based on joint modeling of network characteristics and propagation information inputs the social network and the propagation information content as input features into the efficient diffusion model to obtain the efficient diffusion results of the propagation information content in the social network;
[0006] The efficient diffusion model processes the input features as follows:
[0007] S1. Abstractly model the information dissemination nodes and the social connection relationships between nodes in the social network into an undirected and unweighted graph;
[0008] S2, input the undirected unweighted graph into the trained dynamic node preference model, and output the dynamic group member preference characteristics;
[0009] S3, calculating the node similarity between different nodes in the undirected unweighted graph based on the dynamic group member preference characteristics, assigning the node similarity as a weight to the edge existing in the undirected unweighted graph, obtaining an undirected weighted graph, and dividing the nodes in the social network into node groups with similar node behaviors and close connections based on the dynamic group member preference characteristics and the undirected weighted graph;
[0010] S4, mining the content of the disseminated information and integrating it based on the self-attention mechanism to obtain the information attribute characteristics;
[0011] S5. Input the node group and information attribute features into the trained information-node matching calculation module, output the node-information matching between each node in the current node group and the information attribute features, and arrange them in descending order. The node corresponding to the first node-information matching is used as the initial propagation node of the current node group. Based on the connection relationship between the nodes in the current node group and the node-information matching, find the node that is directly connected to the initial propagation node and has the largest node-information matching as the secondary node, and so on, to obtain the information propagation branch corresponding to the current node group; repeatedly calculate the information propagation branches corresponding to other node groups, connect the initial propagation nodes in each node group, and obtain the information propagation backbone network to achieve efficient diffusion of propagated information content in social networks.
[0012] Further, in step S1, the undirected unweighted graph is represented as ,in For the picture The vertex set of , For the picture The edge set of , represents the total number of edges in an undirected unweighted graph, Represents the total number of nodes in an undirected unweighted graph;
[0013] For any two nodes in the vertex set The interaction data organized in time order is represented as ,in For The timestamp in A serial number representing a timestamp. is the total timestamp. An interaction graph is constructed based on the interaction data. The vector representation of all nodes in the interaction graph is , represents the feature dimension of the node, The vertex concentration nodes, The vertex concentration nodes.
[0014] Furthermore, in step S2, the continuous propagation and evolution of node preferences over time in an undirected unweighted graph is modeled based on the ordinary differential equation of the dynamic node preference model to establish dynamic node preferences; for the concurrent interactions of nodes at a single time point, the aggregation rule of the analogy graph convolution is used at the corresponding time Discretely update the embedding of nodes to obtain dynamic group member preference characteristics;
[0015] The dynamic node preference model is as follows:
[0016] Define the propagation matrix and use the continuous graph neural network to represent the continuous propagation evolution process of the node. , calculated before the next interaction The value of , express The node feature vector at the moment;
[0017]
[0018]
[0019] in, represents the propagation matrix, represents the identity matrix, Indicates time The interaction matrix, is the speed at which the central node affects its adjacent nodes, and Respectively indicate at time The adjacency matrix and degree matrix on ;
[0020] Combine the current node embedding, the changed adjacency matrix and the weight matrix, and get incremental updates through nonlinear activation functions;
[0021]
[0022] Selectively apply incremental updates to the current node embedding in conjunction with the mask matrix to obtain the updated embedding matrix of the current node;
[0023]
[0024] in, Indicates time Incremental updates of Indicates time The node embedding matrix before represents a nonlinear activation function, and Represent different weight matrices, represents the inverse matrix of the degree matrix, which is used to standardize node features. Indicates time and The change in the adjacency matrix between Indicated by The mask matrix constructed by adding rows of represents the Hadamard product, Indicates time The updated node embedding matrix.
[0025] Furthermore, the loss function of the dynamic node preference model is as follows:
[0026]
[0027]
[0028]
[0029] in, express The step loss at time, express The jump loss of the moment, is a constant used to control the degree of regularization. represents the intensity function, Indicates the node interaction behavior, represents the set of negative pairs, is the squared Frobenius norm.
[0030] Further, in step S3: based on the dynamic group member preference characteristics and the undirected weighted graph, the nodes in the social network are divided into groups of nodes with similar node behaviors and close connections, specifically:
[0031] S31, the first stage of node hierarchical division: assign a community as the initial community to each node in the undirected weighted graph, evaluate the modularity gain when one of the nodes is removed from the community and placed in the community of the neighboring node, and place the node in the community corresponding to the maximum modularity gain; repeatedly remove and place each node in the neighboring node in sequence until the loop termination condition is reached, completing the first stage, and the loop termination condition is: a node is considered multiple times and the local maximum value of modularity is reached;
[0032] S32, the second stage of node hierarchical division: construct a new network, the nodes in the new network have been placed in the corresponding communities in the first stage, the weights of the links between the nodes in the new network are given by the sum of the weights of the links between the nodes in the two communities, and the links between the nodes in the same community make the community self-circulate in the new network, and the two communities are the removal community and the placement community of the current node in the first stage;
[0033] S33. After the second stage is completed, a community is allocated to each node in the new network constructed in the second stage based on the first stage as the initial community, and steps S31 to S32 are repeated. The number of initial communities decreases in each loop transmission until the maximum modularity is reached and the loop is stopped to obtain the node group corresponding to each community.
[0034] Furthermore, in step S31, the modular revenue The calculation is as follows:
[0035]
[0036] in, is a community of an undirected weighted graph The sum of the weights of the links in is a community of an undirected weighted graph The sum of the link weights in is an undirected weighted graph connected to the node The sum of the link weights of is an undirected weighted graph from node To the community The sum of the link weights of the midpoint nodes, is an undirected weighted graph from node To the community The sum of the link weights of the midpoint nodes, is the sum of the weights of all links in an undirected weighted graph, Indicates the community the node belongs to.
[0037] Furthermore, in step S4, specifically:
[0038] Extract features of the disseminated information content to obtain semantic features, image features, video features, and audio features of the information;
[0039] Based on the information exchange of the attention mechanism, a Cross-Transformer layer is defined to calculate the parameters between the semantic features, image features, video features and audio features, and the semantic modal features, image modal features, video modal features and audio modal features are obtained respectively;
[0040] Different projections are used for the obtained semantic modal features, image modal features, video modal features, and audio modal features, and a separate classification label is preset for each modal feature. The information attribute features are obtained through a multi-head attention mechanism.
[0041] Further, in step S5, the information-node matching degree calculation module uses an autoencoder to calculate the Euclidean distance between each node in the current node group and the information attribute feature, and uses the Euclidean distance as the node-information matching degree;
[0042] The autoencoder is trained by minimizing the reconstruction error to map the node features and information attribute features in the node group into the same space.
[0043] The advantages of the diffusion propagation method based on joint modeling of network characteristics and propagation information provided by the present invention are: the diffusion propagation method based on joint modeling of network characteristics and propagation information provided in the structure of the present invention first uses a node dynamic preference calculation module to train a dynamic node preference model through an interaction sequence, and then uses a community discovery algorithm based on node dynamic preferences and graph structures to divide nodes into different levels, and then uses a content mining module to extract features from multimodal information of propagation information content and fuse them to obtain information attribute feature expressions, and then uses an autoencoder to map the node features and information attribute features of the node group to the same space and calculate the node-information matching degree, and finally finds the optimal propagation node (initial propagation node) in each level according to the node-information matching degree to construct an information propagation backbone network; thereby achieving efficient diffusion of propagation information content in social networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of the structure flow of the present invention;
[0045] Figure 2 Schematic diagram of an example of how information content spreads quickly in social networks. DETAILED DESCRIPTION
[0046] Below, the technical solution of the present invention is described in detail through specific embodiments. Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific implementation disclosed below.
[0047] Figure 2An example of the spread of information content in a social network is shown. The information content is spread quickly in the network. It can be seen that in order to make the spread of information content spread quickly in the social network, the topological structure of the social network, the preference of the nodes and the attributes of the information itself have a key impact on the spread of the information content in the network. Specifically, by modeling the propagation information attributes and the propagation preferences of network nodes, a network node identification and behavior prediction method that adapts to information propagation is constructed, and a specific information propagation backbone network is formed. For example, Figure 2 The network formed by nodes 1, 2, 3 and the dotted lines can achieve rapid coverage of disseminated information content in social networks, as described in detail below.
[0048] like Figure 1 and 2 As shown, the diffusion propagation method based on joint modeling of network characteristics and propagation information proposed in the present invention inputs the social network and the propagation information content into the efficient diffusion model to obtain the efficient diffusion result of the propagation information content in the social network;
[0049] The efficient diffusion model includes a node dynamic preference calculation module, a content mining module, a node hierarchical partitioning model, and an information-node matching degree calculation module. The node dynamic preference calculation module continuously propagates and evolves the node preference change mechanism over time on the interaction graph to construct dynamic node preferences. Then, based on the dynamic node preferences, the node hierarchical partitioning model divides the nodes into node groups at different levels. After that, based on the multimodal content analysis of the propagated information, the content mining module analyzes the semantic, topic, interest, and emotional features of the propagated information content, and obtains the information attribute features through the attention mechanism. Finally, the node group and information attribute features are applied to the information-node matching degree calculation module to obtain the nodes with the highest information matching degree in different node groups, thereby forming a specific information propagation backbone network and realizing the efficient propagation and diffusion of the propagated information content in social networks.
[0050] Specifically, the training process of the efficient diffusion model is as follows:
[0051] S1. Abstractly model the information dissemination nodes and the social connection relationships between nodes in the social network into an undirected and unweighted graph;
[0052] The undirected unweighted graph is represented as ,in For the picture The vertex set of , For the picture The edge set of , represents the total number of edges in an undirected unweighted graph, Represents the total number of nodes in an undirected unweighted graph; for any two nodes in the vertex set The interaction data organized in time order is represented as ,in For The timestamp in A serial number representing a timestamp. is the total timestamp. An interaction graph is constructed based on the interaction data. The vector representation of all nodes in the interaction graph is , represents the feature dimension of the node, The vertex concentration nodes, The vertex concentration nodes.
[0053] S2. Node dynamic preference calculation module is based on the ordinary differential equation of the dynamic node preference model to model the continuous propagation and evolution of node preferences over time in an undirected unweighted graph, and establish dynamic node preferences; for concurrent interactions occurring at a single point in time, analogous to the aggregation rules of graph convolution at the corresponding moment Discretely update the embedding of nodes to obtain dynamic group member preference characteristics;
[0054] The goal of the node dynamic preference calculation module is to construct a dynamic group member preference modeling method by studying the mechanism of group member preference changes that continuously propagate and evolve over time on the interaction graph. To this end, firstly, the continuous propagation and evolution of node preferences over time is modeled by ordinary differential equations to establish a dynamic node preference model; secondly, the concurrent interactions that may occur at a single point in time are processed by analogy with the aggregation rules of graph convolution to achieve discrete updates; finally, two loss functions are constructed and trained on the interaction sequence to achieve accurate expression of the dynamic node preference model.
[0055] The construction and training process of the dynamic node preference model is to construct a node preference data set, and train the dynamic node preference model based on the node preference data set and the constructed loss function. For easier description, the training data in the node preference data set of this embodiment is described with the data corresponding to the undirected unweighted graph of step S1. In the actual training process of the dynamic node preference model, another node preference data set is constructed for actual training. The training process is consistent with the process of the undirected unweighted graph of step S1 in this embodiment.
[0056] Ordinary differential equations are used to represent the continuous propagation evolution of nodes, that is, given In the case of The value of , express The node feature vector at the moment;
[0057]
[0058] in, is a Specifically, the nodes evolve as information propagates over time in the interaction graph, so It is very suitable to be represented by continuous graph neural networks (CGNNs) to simulate the continuous propagation and evolution on the interaction graph. First, define the propagation matrix for:
[0059]
[0060] in, and Respectively in The adjacency matrix and degree matrix on , represents the identity matrix, and Then the control center node affects the speed of its adjacent nodes. Then, we can get the following CGNN (Conceptual Graph Neural Network):
[0061]
[0062] in, Indicates time The interaction matrix.
[0063] Compared with traditional graph neural networks, CGNN has the characteristics of propagation with or without feature transformation and nonlinear activation.
[0064] Node Interaction Behavior This will undoubtedly affect the nodes involved. This embodiment intends to focus on the interaction behavior of nodes and adopts aggregation rules similar to graph convolution at the corresponding time. Update the embedding of a node:
[0065]
[0066] in, is a nonlinear activation function, are two different weight matrices, , For Node The number of neighbor nodes, Representation Node At the moment The eigenvalue update amount, Representation Node At the moment The eigenvalue at the previous moment, Represents neighbor nodes At the moment The eigenvalue at the previous moment, Representation Node At the moment The eigenvalue at the next moment is Representation Node At the moment The set of neighbor nodes of Indicates all at the moment There are edges and nodes at time points connected nodes, where Corresponding to the time There is a slave node arrive edge.
[0067] For all nodes, the incremental update is obtained by combining the current node embedding, the changed adjacency matrix and the weight matrix through a nonlinear activation function; the incremental update is selectively applied to the current node embedding in combination with the mask matrix to obtain the updated embedding matrix of the current node; that is, the above discrete update can be re-expressed in a concise matrix form:
[0068]
[0069] in, Indicates time Incremental updates of Indicates time The node embedding matrix before represents a nonlinear activation function, and Represent different weight matrices, Is A degree matrix constructed by adding the rows of Degree matrix The inverse matrix of is used to standardize node features, , Indicates at time The adjacency matrix of Indicates at time The adjacency matrix of Indicates time and The change in the adjacency matrix between and The change in the number of interactions between two nodes, , Indicates time Before and The number of interactions between , Indicated by The mask matrix constructed by adding rows of is used to select which nodes’ embeddings need to be updated, thus achieving finer control, that is, only when the node At the moment Action was taken, The corresponding rows in are all 1, otherwise they are 0. represents the Hadamard product, Indicates time The updated node embedding matrix.
[0070] This method is used to update node embeddings of temporal graphs or dynamic graphs, combining the idea of graph convolution with mask control to achieve better dynamic feature capture.
[0071] Finally, the node dynamic preference calculation module regards the interaction sequence between nodes as a multi-dimensional time-series process, where each dimension represents an event entity. The probability density of an event occurring in continuous time is defined as the intensity function :
[0072]
[0073] in, represents the fully connected layer, Represents a splicing operation, is a unit vector, that is Representation Node The unit vector of Represents neighbor nodes The unit vector of is equivalent to using a nonlinear function such as a neural network to simulate the intensity function. Based on this intensity function, the negative log-likelihood function can be constructed as follows:
[0074]
[0075] By minimizing , which can simultaneously maximize the probability of an event occurring and minimize the probability of an event not occurring. The second part of the formula It is difficult to calculate, so the node dynamic preference calculation module uses noise contrast estimation, where Step loss at time Defined as:
[0076]
[0077] in is the set of negative pairs, express dimensional space, the negative pair set represents the set of node pairs without edges, which is sampled from the node set. When new interactions are observed, the update of node embedding may cause severe distortion of the embedding space, affecting the smoothness of the training process. Therefore, this node dynamic preference calculation module introduces jump loss As a regularization method:
[0078]
[0079] in, is the square Frobenius norm, which is a matrix norm. , the update of node embedding can be constrained so that it will not deviate too much from its original spatial distribution when new information is introduced, thereby maintaining the consistency of the embedding space and the stability of the model.
[0080] At this point, the loss function of the dynamic node preference model is It can be expressed as:
[0081]
[0082] in, is a constant used to control the degree of regularization. The model is trained using truncated time-based backpropagation for the interaction sequence. Specifically, the interaction training is divided into several small blocks. The end block, for Node of time , for Node of time , calculate the total loss within the block and perform backpropagation, then is passed as the initial value to the next block, and the gradient in the next block will not be passed Perform back propagation.
[0083] S3. In the node hierarchy division module, the node similarity between different nodes in the undirected unweighted graph is calculated based on the dynamic group member preference characteristics, and the node similarity is assigned as a weight to the edge existing in the undirected unweighted graph to obtain an undirected weighted graph. Based on the dynamic group member preference characteristics and the undirected weighted graph, the nodes in the social network are divided into node groups with similar node behaviors and close connections.
[0084] The goal of the node hierarchy partitioning module is to use the dynamic preference characteristics of nodes and the network structure characteristics to divide the nodes in the social network into groups of nodes with similar node behaviors and close connections. For this purpose, a node group mining algorithm is designed;
[0085] First, the node dynamic preference calculation module is used to obtain all nodes in the undirected unweighted graph at time Preference features in On this basis, the feature similarity between different nodes is calculated to obtain the node and nodes The node similarity between , Representation Node The characteristic value of Representation Node Based on the original undirected unweighted graph, the node similarity is assigned as the weight to the edge of the undirected unweighted graph, and an undirected weighted graph can be obtained. , Represents weight.
[0086] In the node hierarchy division module, it is divided into two stages for iterative repetition, specifically including steps S31 to S33.
[0087] S31, the first stage of node hierarchical division: assign a community as the initial community to each node in the undirected weighted graph, evaluate the modularity gain when one of the nodes is removed from the community and placed in the community of the neighboring node, and place the node in the community corresponding to the maximum modularity gain; repeatedly remove and place each node in the neighboring node in sequence until the loop termination condition is reached, completing the first stage, and the loop termination condition is: a node is considered multiple times and the local maximum value of modularity is reached;
[0088] Assume that from An undirected weighted graph with nodes Let’s start. First, we assign a different community to each node of the undirected weighted graph. So, in this initial partition, there are as many communities as there are nodes. Then, for each node , consider the node Neighbor nodes , and evaluates by passing the node From its community Remove it from the node and place it on the neighbor node Community Modular benefits arising from , the modularity gain is defined as:
[0089]
[0090] in, is a community of an undirected weighted graph The sum of the weights of the links in is a community of an undirected weighted graph The sum of the link weights in is an undirected weighted graph connected to the node The sum of the link weights of is an undirected weighted graph from node To the community The sum of the link weights of the midpoint nodes, is an undirected weighted graph from node To the community The sum of the link weights of the midpoint nodes, is the sum of the weights of all links in an undirected weighted graph, Indicates the community the node belongs to.
[0091] The node is placed in the community where this gain is greatest (in case of a tie, a break rule is used), but only if this gain is positive. If a positive gain is not possible, the node Stay in the original community. This process is applied to all nodes repeatedly in order until no further improvement can be achieved, and then the first stage is completed. This embodiment sets the loop termination condition according to the following rules: a node may be considered multiple times, and the first stage stops when the local maximum of modularity is reached, that is, when no single move can improve the modularity.
[0092] S32, the second stage of node hierarchical division: construct a new network, the nodes in the new network have been placed in the corresponding communities in the first stage, the weights of the links between the nodes in the new network are given by the sum of the weights of the links between the nodes in the two communities, and the links between the nodes in the same community make the community self-circulate in the new network, and the two communities are the removal community and the placement community of the current node in the first stage;
[0093] S33. After the second stage is completed, a community is allocated to each node in the new network constructed in the second stage based on the first stage as the initial community, and steps S31 to S32 are repeated. The number of initial communities decreases in each loop transmission until the maximum modularity is reached and the loop is stopped to obtain the node group corresponding to each community.
[0094] Through steps S31 to S33, different communities are obtained, each of which has a node group. This community is the community with the largest modularity. By connecting the initial propagation nodes in each community, an information propagation backbone network can be obtained.
[0095] S4, mining the disseminated information content based on the content mining module, and integrating the information attribute features based on the self-attention mechanism;
[0096] The goal of the content mining module is to mine the semantic, topic, interest, and emotional features of the disseminated information content, and obtain the information attribute feature expression through the self-attention mechanism. Since the disseminated information content is generally composed of a combination of different modal information (text, pictures, videos, and audio), this embodiment considers building a multimodal information feature extraction model, and uses the content mining module to obtain the disseminated information attribute feature expression by inputting the text, pictures, videos, and audio content of the information to be disseminated (it can be any combination of them, not necessarily all of them).
[0097] First, this embodiment uses GloVe, CNN, ViViT and MBT as the basic models of the content mining module to extract features of the propagated information content and obtain the semantic features of the information respectively. , picture features , Video Features and audio features , and then define its own dedicated parameters for each mode and , exchanging information through the attention mechanism. To this end, a Cross-Transformer layer is defined to calculate the parameters between different modalities:
[0098]
[0099]
[0100]
[0101]
[0102] in, is the number of Cross-Transformer layers, represents the semantic feature parameter, Represents the image feature parameters, is the video feature parameter, is the audio feature parameter, For the The layer's text modal, For the The layer's image modal, For the The video modality of the layer, For the The audio mode of the layer, For the The total modality of the layer, which includes text modality, picture modality, video modality and audio modality. For the The layer's text modal, For the The layer's image modal, For the The video modality of the layer, For the The Cross-Transformer represents the cross-scale attention mechanism.
[0103] It is a sequence of tokens, and its specific construction method is as follows:
[0104]
[0105] in, is the tokens sequence of the total modality, through Splicing obtained, Respectively represent semantic feature parameters, image feature parameters, video feature parameters and audio feature parameters; Represents a splicing operation, Respectively represent text semantic input, image input, video input and audio input, Represent the embedding matrix of text, the embedding matrix of picture, the embedding matrix of video and the embedding matrix of audio respectively; They represent the classification tokens of text, image, video, and audio respectively.
[0106] The above formula describes a model that integrates information from different modalities (text, images, video, and audio) through Cross-Transformer layers. The Cross-Transformer at each layer uses information from the current modality and information from other modalities to update its own representation. The data from each modality is processed by the Cross-Transformer at each layer to integrate information from different modalities, thereby improving the representation ability of the model. The initial representation of each modality is calculated using input data, embedding matrices, and classification tokens, and is continuously updated and fused at multiple levels to achieve cross-modal information fusion.
[0107] Use different projections for different modal features and And preset a separate classification tag for each modality. Finally, through the multi-head attention mechanism, the final information attribute features are obtained :
[0108]
[0109] in, Represents a multi-channel analysis function; it is used to extract features from the input text semantics, pictures, videos, and voice data, and combine these features to finally return a result .
[0110] S5. Input the node group and information attribute features into the trained information-node matching calculation module, output the node-information matching between each node in the current node group and the information attribute features, and arrange them in descending order. The node corresponding to the first node-information matching is used as the initial propagation node of the current node group. Based on the connection relationship between the nodes in the current node group and the node-information matching, find the node that is directly connected to the initial propagation node and has the largest node-information matching as the secondary node, and so on, to obtain the information propagation branch corresponding to the current node group; repeatedly calculate the information propagation branches corresponding to other node groups, connect the initial propagation nodes in each node group, and obtain the information propagation backbone network to achieve efficient diffusion of propagated information content in social networks.
[0111] The goal of the information-node matching degree calculation module is to calculate the matching degree between the node and the information attribute characteristics, build a backbone network for information dissemination, and form an efficient information diffusion model. To this end, the information-node matching degree calculation module of this embodiment first adopts an autoencoder Map the node features and information attribute features in the node group to the same space, It consists of two parts: encoder and decoder :
[0112]
[0113] in, is a low-dimensional representation, and are the weights and biases of the encoder, respectively. and are the weights and biases of the decoder, is an activation function, such as Sigmoid or ReLU. So the overall output of the autoencoder can be expressed as:
[0114]
[0115] The autoencoder is trained using the loss that minimizes the reconstruction error:
[0116]
[0117] Then, by calculating the node features after the autoencoder Characteristics of information dissemination The Euclidean distance between is the node-information matching degree.
[0118] Finally, in each node group, the node-information matching degree is sorted from large to small. The node with the largest matching degree in each node group is the initial propagation node (first-level node) of the node group. Based on the initial propagation node, the node with the largest matching degree directly connected to the initial node is found as the second-level node according to the node connection relationship and matching degree. Each node group performs the above operation until the termination condition is met (for example, the maximum node level is met or the matching degree threshold is set). Finally, the initial propagation nodes of each node group are connected together to obtain the information propagation backbone network. Information spreads quickly in the social network through this backbone network, for example Figure 2 Node 1, Node 2, and Node 3 in the diagram are the initial propagation nodes in the node group of the corresponding community. By connecting Node 1, Node 2, and Node 3, the connection between the communities can be achieved, thereby realizing the rapid diffusion of information.
[0119] According to steps S1 to S5, in the training process of the efficient diffusion model, the node dynamic preference calculation module is first used to train the dynamic node preference model through the interaction sequence, and then the community discovery algorithm is used to divide the nodes into different levels based on the node dynamic preference and graph structure. Then, the content mining module is used to extract features from the multimodal information of the propagated information content and fuse them to obtain the information attribute feature expression. Then, the autoencoder is used to map the node features and information attribute features of the node group to the same space and calculate the node-information matching degree. Finally, the optimal propagation node (initial propagation node) in each level is found according to the node-information matching degree to construct the information propagation backbone network.
[0120] During the test, the dynamic preference of each node is first calculated on the interaction graph using the trained dynamic node preference model. Then, the nodes are divided into different levels using the community discovery algorithm based on the node preference and graph structure. The content mining module is then used to extract features from multimodal information and fuse them to obtain information attribute feature expressions. The trained autoencoder is then used to map node features and information features to the same space and calculate the node-information matching degree. Finally, the initial propagation node (optimal propagation node) in each level is found according to the node-information matching degree to construct the information propagation backbone network, and the information propagation process is simulated on the backbone network to evaluate the model effect.
[0121] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A diffusion propagation method based on joint modeling of network characteristics and propagation information, characterized in that: The social network and the dissemination information content are input into the efficient diffusion model as input features to obtain the efficient diffusion results of the dissemination information content in the social network; The efficient diffusion model processes the input features as follows: S1. Abstractly model the information dissemination nodes and the social connection relationships between nodes in the social network into an undirected and unweighted graph; S2, input the undirected unweighted graph into the trained dynamic node preference model, and output the dynamic group member preference characteristics; S3, calculating the node similarity between different nodes in the undirected unweighted graph based on the dynamic group member preference characteristics, assigning the node similarity as a weight to the edge existing in the undirected unweighted graph, obtaining an undirected weighted graph, and dividing the nodes in the social network into node groups with similar node behaviors and close connections based on the dynamic group member preference characteristics and the undirected weighted graph; S4, mining the content of the disseminated information and integrating it based on the self-attention mechanism to obtain the information attribute characteristics; S5. Input the node group and information attribute features into the trained information-node matching degree calculation module, output the node-information matching degree between each node in the current node group and the information attribute features, and arrange them in descending order. The node corresponding to the first node-information matching degree is used as the initial propagation node of the current node group. Based on the connection relationship between the nodes in the current node group and the node-information matching degree, find the node that is directly connected to the initial propagation node and has the largest node-information matching degree as the secondary node, and so on, to obtain the information propagation branch corresponding to the current node group; Repeatedly calculate the information propagation branches corresponding to other node groups, connect the initial propagation nodes in each node group, and obtain the information propagation backbone network to achieve efficient diffusion of the propagation information content in the social network; In step S2, the continuous propagation and evolution of node preferences over time in an undirected unweighted graph is modeled based on ordinary differential equations of a dynamic node preference model to establish dynamic node preferences; For concurrent interactions between nodes at a single point in time, analogous to the aggregation rules of graph convolution at the corresponding moment Discretely update the embedding of nodes to obtain dynamic group member preference characteristics; The dynamic node preference model is as follows: Define the propagation matrix and use the continuous graph neural network to represent the continuous propagation evolution process of the node. , calculated before the next interaction The value of , express The node feature vector at the moment; in, represents the propagation matrix, represents the identity matrix, Indicates time The interaction matrix, is the speed at which the central node affects its adjacent nodes, and Respectively indicate at time The adjacency matrix and degree matrix on ; Combine the current node embedding, the changed adjacency matrix and the weight matrix, and get incremental updates through nonlinear activation functions; Selectively apply incremental updates to the current node embedding in conjunction with the mask matrix to obtain the updated embedding matrix of the current node; in, Indicates time Incremental updates of Indicates time The node embedding matrix before represents a nonlinear activation function, and Represent different weight matrices, represents the inverse matrix of the degree matrix, which is used to standardize node features. Indicates time and The change in the adjacency matrix between Indicated by The mask matrix constructed by adding rows of represents the Hadamard product, Indicates time The updated node embedding matrix; Loss function for dynamic node preference model as follows: in, express The step loss at time, express The jump loss of the moment, is a constant used to control the degree of regularization. represents the intensity function, Indicates the node interaction behavior, represents the set of negative pairs, is the squared Frobenius norm.
2. The diffusion propagation method based on joint modeling of network characteristics and propagation information according to claim 1 is characterized in that: In step S1, the undirected unweighted graph is represented as ,in For the picture The vertex set of , For the picture The edge set of , represents the total number of edges in an undirected unweighted graph, Represents the total number of nodes in an undirected unweighted graph; For any two nodes in the vertex set The interaction data organized in time order is represented as ,in For The timestamp in A serial number representing a timestamp. is the total timestamp. An interaction graph is constructed based on the interaction data. The vector representation of all nodes in the interaction graph is , represents the feature dimension of the node, The vertex concentration nodes, The vertex concentration nodes.
3. The diffusion propagation method based on joint modeling of network characteristics and propagation information according to claim 1 is characterized in that: In step S3: based on the dynamic group member preference characteristics and the undirected weighted graph, the nodes in the social network are divided into groups of nodes with similar node behaviors and close connections, specifically: S31, the first stage of node hierarchical division: assign a community as the initial community to each node in the undirected weighted graph, evaluate the modularity gain when one of the nodes is removed from the community and placed in the community of the neighboring node, and place the node in the community corresponding to the maximum modularity gain; repeatedly remove and place each node in the neighboring node in sequence until the loop termination condition is reached, completing the first stage, and the loop termination condition is: a node is considered multiple times and the local maximum value of modularity is reached; S32, the second stage of node hierarchical division: construct a new network, the nodes in the new network have been placed in the corresponding communities in the first stage, the weights of the links between the nodes in the new network are given by the sum of the weights of the links between the nodes in the two communities, and the links between the nodes in the same community make the community self-circulate in the new network, and the two communities are the removal community and the placement community of the current node in the first stage; S33. After the second stage is completed, a community is allocated to each node in the new network constructed in the second stage based on the first stage as the initial community, and steps S31 to S32 are repeated. The number of initial communities decreases in each loop transmission until the maximum modularity is reached and the loop is stopped to obtain the node group corresponding to each community.
4. The diffusion propagation method based on joint modeling of network characteristics and propagation information according to claim 3 is characterized in that: Modularization income in step S31 The calculation is as follows: in, is a community of an undirected weighted graph The sum of the weights of the links in is a community of an undirected weighted graph The sum of the link weights in is an undirected weighted graph connected to the node The sum of the link weights of is an undirected weighted graph from node To the community The sum of the link weights of the midpoint nodes, is the sum of the weights of all links in an undirected weighted graph, Indicates the community the node belongs to.
5. The diffusion propagation method based on joint modeling of network characteristics and propagation information according to claim 1 is characterized in that: In step S4, specifically: Extract features of the disseminated information content to obtain semantic features, image features, video features, and audio features of the information; Based on the information exchange of the attention mechanism, a Cross-Transformer layer is defined to calculate the parameters between the semantic features, image features, video features and audio features, and the semantic modal features, image modal features, video modal features and audio modal features are obtained respectively; Different projections are used for the obtained semantic modal features, image modal features, video modal features, and audio modal features, and a separate classification label is preset for each modal feature. The information attribute features are obtained through a multi-head attention mechanism.
6. The diffusion propagation method based on joint modeling of network characteristics and propagation information according to claim 1 is characterized in that: In step S5, the information-node matching degree calculation module uses an autoencoder to calculate the Euclidean distance between each node in the current node group and the information attribute feature, and uses the Euclidean distance as the node-information matching degree; The autoencoder is trained by minimizing the reconstruction error to map the node features and information attribute features in the node group into the same space.
