CN113807616B - Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network - Google Patents

Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network Download PDF

Info

Publication number
CN113807616B
CN113807616B CN202111235561.6A CN202111235561A CN113807616B CN 113807616 B CN113807616 B CN 113807616B CN 202111235561 A CN202111235561 A CN 202111235561A CN 113807616 B CN113807616 B CN 113807616B
Authority
CN
China
Prior art keywords
user
prediction
information
diffusion
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111235561.6A
Other languages
Chinese (zh)
Other versions
CN113807616A (en
Inventor
刘小洋
苗琛香
高绿苑
张子扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Technology
Original Assignee
Chongqing University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing University of Technology filed Critical Chongqing University of Technology
Priority to CN202111235561.6A priority Critical patent/CN113807616B/en
Publication of CN113807616A publication Critical patent/CN113807616A/en
Application granted granted Critical
Publication of CN113807616B publication Critical patent/CN113807616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • General Business, Economics & Management (AREA)
  • Biomedical Technology (AREA)
  • Tourism & Hospitality (AREA)
  • Molecular Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an information diffusion prediction system based on space-time attention and a heterogeneous graph convolution network, which comprises a data representation fusion module, an embedded prediction module, a prediction diffusion module and a data optimization module; the data output end of the data representation fusion module is connected with the data input end of the embedded prediction module, the data output end of the embedded prediction module is connected with the data input end of the prediction diffusion module, and the data output end of the prediction diffusion module is connected with the data input end of the data optimization module; the data representation fusion module is used for learning the end user representation of the behavior diagram and the influence diagram structure by using a multi-layer diagram convolution network and fusing the learned user representation; the embedded prediction module is used for predicting information in real time and embedding the time sequence into the heterogeneous graph; and the prediction diffusion module performs information diffusion prediction by using a multi-head attention network mechanism. The invention improves the efficiency of encoding, learning and capturing context dependent information for the user context and effectively improves the information diffusion prediction precision.

Description

Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network
Technical Field
The invention relates to the field of information propagation, in particular to an information diffusion prediction system based on space-time attention and a heterogeneous graph convolution network.
Background
Social networks are now an indispensable part of people's daily lives, and their presence makes communication between people more convenient, and people can more easily publish or transfer certain information. The rapid development of wireless communication technology and internet and the convenience and intellectualization of communication equipment greatly promote information dissemination and information interaction to become faster and more convenient. Online social network predictive dissemination plays a significant role in practical applications.
Information prediction is to study how information is spread among people, and accordingly, the development trend of the next information is judged, people adopt certain measures to promote spreading or inhibit according to the development trend, and the best prediction is realized in the shortest time, which is the optimal state of information prediction. Information diffusion prediction is an important and challenging task that aims to predict future properties or behavior of information cascades, such as predicting the size of the spread or predicting the next infected user. The applications of information diffusion predictive research are also widespread today, including epidemiology, viral marketing, media advertising, and dissemination of news. The information prediction analysis modeling is beneficial to finding out the characteristics and the evolution rule of information propagation in the social network and knowing the evolution trend of information propagation in the social network or virus-type marketing, so that the information is effectively intervened and controlled in real time.
For the research of information diffusion prediction, some scholars mainly use social relationship networks among users, namely social influence to perform information diffusion prediction, and some scholars mainly use the past diffusion behaviors of the users to learn user representation and provide some models related to diffusion paths to perform prediction. The latest interesting topics and attention objects of the user can be seen from the diffusion behavior diagram of the user, people often have greater forwarding possibility for the interesting things, and whether the user is interested in the information can be analyzed by analyzing the diffusion behavior of the user, so that the accuracy of predicting the information is greatly improved. The former diffusion behavior path can reflect the propagation path trend of the information within a certain time, so that the models can well predict the user diffusion sequence to a certain extent, the accuracy of information diffusion propagation is greatly improved according to the tracing of the diffusion sequence, and the information can be well determined to be propagated or inhibited after the propagation trend of the information is known.
In addition to the diffusion prediction of information based on the past diffusion behavior of the user, some scholars also use the influence of the user to predict information. Based on user homogeneity, it is generally easier for similar individuals to have the same hobbies and to take similar actions in the same situation. According to the principle of "things-by-things and people-by-groups", researchers in the same field can easily establish social relationships and participate in the same academic reports, conferences and the like, and have a higher possibility of becoming friends in the same way. According to the influence of users, social relations influence individual characteristics, influence ranges are different according to different influences, therefore, predicted information transmission sequences are different, obtained information transmission trends are different, and according to the assumption, many researches learn the homogeneity and influence among users by using social networks among users to improve the prediction performance. In addition, time has an effect on the diffusion of information, information occurring in the recent past often makes people memorize deeply, information occurring in the long term may be ignored, for example, information in a hot search is more likely to be noticed or forwarded, and after the time period, the hot search slowly fades out of sight of people, so that the message may be obscured many years later, and the influence of the message is slight. Information is time-sensitive, so time is also important to improve information propagation prediction accuracy when information prediction is considered.
Most researchers in the past focused on the traditional relational model, and early research work assumed that a prior diffusion model, such as an independent cascade model or a linear threshold model, existed in the information diffusion process. Although these models fit well the influence relationships between users, noise, partial relationship features are inevitably introduced, and these relationships are often unable to learn complex, deep relationship features. The social network of users in real life all involves complex dependency relationships among instances, the effectiveness of the methods depends on the assumption of an a priori information diffusion model, but the assumption is difficult to verify in practice, so that the accuracy of information prediction is low.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly provides an information diffusion prediction system based on space-time attention and a heterogeneous graph convolution network.
In order to achieve the above object, the present invention provides an information diffusion prediction system based on spatio-temporal attention and heterogeneous graph convolution network, comprising a data representation fusion module, an embedded prediction module, a prediction diffusion module and a data optimization module;
the data output end of the data representation fusion module is connected with the data input end of the embedded prediction module, the data output end of the embedded prediction module is connected with the data input end of the prediction diffusion module, and the data output end of the prediction diffusion module is connected with the data input end of the data optimization module;
the data representation fusion module is used for learning the end user representation of the behavior diagram and the influence diagram structure by using a multi-layer diagram convolution network and fusing the learned user representation;
the embedded prediction module is used for predicting information in real time and embedding the time sequence into the heterogeneous graph;
and the prediction diffusion module performs information diffusion prediction by using a multi-head attention network mechanism.
Further, the mechanism of learning in the data representation fusion module includes:
Figure BDA0003317560180000021
Figure BDA0003317560180000022
wherein,
Figure BDA0003317560180000031
is a user representation of the (n + 1) th layer user attention relationship;
σ (-) is the activation function;
F A an adjacency matrix representing a relationship of interest in the influence diagram;
X (n) a user representation representing an nth layer;
Figure BDA0003317560180000032
is a learnable parameter of the attention relationship of the nth layer of users;
Figure BDA0003317560180000033
is the user representation of the (n + 1) th layer user forwarding relation;
Figure BDA0003317560180000034
denotes t i An adjacency matrix of forwarding relationships at times;
t i is the time interval of the user's heterogeneous network;
Figure BDA0003317560180000035
is a learnable parameter of the nth layer user forwarding relationship.
Further, the user representation fusion in the data representation fusion module comprises:
S-A, calculating node v i The weight between the concern relationship in the influence and the forwarding relationship in the behavior diagram;
and S-B, learning the characteristics of the nodes by adopting an attention network, and performing Hadamard product on the obtained weight matrix and user relation expression to obtain final user expression.
Further, the method of time series embedding in the embedding prediction module comprises:
an approximation strategy or attention mechanism strategy;
the attention mechanism strategy includes:
t'=mixTogether(t i ) (6)
Figure BDA0003317560180000038
Figure BDA0003317560180000036
wherein t' is the result representation after converting the time interval into time embedding;
mixTogether (. Cndot.) is a function of embedding time intervals;
α i is a weight coefficient;
softmax (·) is a normalization function;
Figure BDA0003317560180000037
represents t i A user representation of a time of day;
k i is a mask matrix;
v' final user representation;
t represents a total of T times.
Further, the formula of the information diffusion prediction in the prediction diffusion module is as follows:
Figure BDA0003317560180000041
Figure BDA0003317560180000042
wherein softmax (·) is a normalization function;
v' represents a diffusion sequence;
· T represents a transpose of a matrix;
d r d/G, d being the dimension of the user-embedded representation, G being the number of heads of multi-head attention;
C ij is a mask matrix;
m represents the final predicted user representation;
Figure BDA0003317560180000043
represents a pair b h To be spliced, b h Indicates the h-th head attention, b h ∈[b 1 ,b 2 ,...,b G ];
Figure BDA0003317560180000044
It is the parameter that can be learned that,
Figure BDA0003317560180000045
is expressed as d × d r Real number of dimensions;
after obtaining the predicted M, calculating the probability of information diffusion by using two layers of fully-connected neural networks as follows:
p=W'σ(W”M T1 )+λ 2 (11)
wherein p represents the probability of information diffusion;
w', W "are learnable parameters,
Figure BDA0003317560180000046
Figure BDA0003317560180000047
a real number representing dimension | V | × d;
Figure BDA0003317560180000048
a real number representing dimension d × d;
d is the dimension of the user-embedded representation;
| V | represents the number of users;
λ 1 is the first learnable parameter, λ 2 Is a second learnable parameter, λ 1 、λ 2 Are all constants;
· T representing a matrix transposition.
The data input end of the embedded prediction module is connected with the data input end of the prediction diffusion module, and the data output end of the prediction diffusion module is connected with the data input end of the data optimization module;
the data representation fusion module is used for learning the end user representation of the behavior diagram and the influence diagram structure by using a multi-layer diagram convolution network and fusing the learned user representation;
the embedded prediction module is used for predicting information in real time and embedding the time sequence into the heterogeneous graph;
the prediction diffusion module carries out information diffusion prediction by utilizing a multi-head attention network mechanism;
the data optimization module is used for optimizing the prediction diffusion module.
Further, the method for optimizing in the data optimization module comprises:
Figure BDA0003317560180000051
wherein N represents the number of diffusion time intervals;
l V represents the number of users;
p ik denotes v i And v k Probability of forwarding action occurring between, v i Denotes the ith user, v k Represents the kth user;
log (-) is a logarithmic function;
Figure BDA0003317560180000052
represents p ik An estimated value of (d);
χ represents a learnable parameter, namely all parameters needing to be learnt in the model;
the optimizer calculation is as follows:
Figure BDA0003317560180000053
Figure BDA0003317560180000054
θ t+1 =θ t +Δx (16)
wherein l t A second moment representing a gradient h (t);
β 2 represents the introduced second moment attenuation parameter and is a constant;
Figure BDA0003317560180000055
represents the parameter beta 2 Results taken into the L infinite paradigm;
V t-2 represents the sum of the squared gradients at the first t-2 time;
h (t) is the gradient of the parameter at time t;
|h(t)| represents the result of bringing the parameter | h (t) | into the L infinite normal form;
epsilon is a sliding term parameter;
η represents the correction of the first moment of the gradient h (t);
θ t+1 the optimization result at the moment of t +1, namely the final optimization result is shown;
θ t showing the optimization result at the time t.
The data display system further comprises a display module, wherein the data output end of the data representation fusion module is connected with the data input end of the embedded prediction module, the data output end of the embedded prediction module is connected with the data input end of the prediction diffusion module, the data output end of the prediction diffusion module is connected with the data input end of the data optimization module, and the data output end of the data optimization module is connected with the data input end of the display module. The display module is used for displaying the diffusion prediction information. In order to prevent the propagation of the false information, a prompt is sent to a user aiming at the false information.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
(1) The GCN is used for learning the structural features of the user attention relationship and the forwarding relationship in the heterogeneous network, and a novel social network user representation fusion method is provided in order to effectively use an attention mechanism to fuse the learned user representations together.
(2) To improve the efficiency of encoding, learning, and capturing context-dependent information for a user's context, a multi-headed Attention mechanism with MASK Attention is proposed.
(3) In order to effectively improve the information diffusion prediction precision, an ASTHGCN model based on a space-time attention mechanism heterogeneous graph convolution network is constructed. The proposed ASTHGCN model utilizes an attention mechanism and a graph convolution neural network to fuse the influences of spatial factors such as time factors, influence, diffusion behaviors and the like.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram of an information diffusion process.
Fig. 2 is a frame diagram of the ASTHGCN model proposed by the present invention.
FIG. 3 shows the present invention t i And (4) storing schematic diagrams of matrixes of users at the moment.
Fig. 4 is a schematic diagram of the information diffusion process of the present invention.
FIG. 5 is a diagram illustrating a user attention relationship for graph convolution learning according to the present invention.
FIG. 6 is a diagram illustrating MSLE metrics on a double, memetracker, twitter dataset according to the present invention.
FIG. 7 is a schematic diagram of an ablation experiment performed by the present invention in modules such as a heterogeneous graph, behavioral relationships, social networks, temporal attention mechanism, heuristic fusion mechanism, etc.
FIG. 8 is a schematic diagram of the comparative analysis of the performance indexes of the ASTHGCN model at different time intervals.
FIG. 9 is a schematic diagram of comparative analysis of performance indexes of ASTHGCN models of different head numbers.
FIG. 10 is a schematic diagram of the comparative analysis of performance indicators of different dimensions according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention and are not to be construed as limiting the present invention.
1 related work
There are two methods for the research work of the existing social network information diffusion prediction. One is based on the study of user behavior and thus information prediction, and the other is based on the influence relationship of the user.
1.1 methods based on user behavior
The user behavior-based approach learns the interpersonal relationships of users according to a behavior diffusion sequence of a given user, thereby performing information dissemination prediction. The user behavior reflects the interest degree of the user behavior in the information and the information propagation trend to a certain extent, and the publishing behavior, the attention behavior and the forwarding behavior of the user are generally used for quantification. Past researchers often employed traditional models built on a priori models, such as independent cascade models and linear threshold models. In conventional relationship model research, the conventional propagation model is more suitable for a uniform network and cannot be effectively applied to a real (non-uniform scale-free) social network because it cannot learn complex deep relationship features. Although these models can also fit the relationships between users, some noise and partial relationship features are introduced, the real social diffusion network is complicated, the effectiveness of the methods depends on the assumption of the information diffusion model, and the authenticity and the effectiveness of the assumption are not easy to verify. The conventional model needs to be imported with enough parameters in advance, for example, the IC model must be specified with the probability of diffusion of each link in the network in advance, and the probability of diffusion through the link on any real network cannot be known in advance in reality, so that the method has certain limitations.
In recent years, the application of deep learning technology in the fields of computer vision and the like is more and more skillful. Some studies employ deep learning to diffuse behavior predictions from past users. For example, deep cas proposes for the first time to convert a cascade graph into a node sequence by random walk, and provides an algorithm for learning cascade graph representation in an end-to-end mode for prediction. The DeepHawkes ignores the structural information in the cascade graph, converts the cascade graph into a diffusion path describing the information propagation process between users, and predicts the information cascade information by using the predicting force of end-to-end deep learning. Topo-LSTM expands the original LSTM model, considers diffusion time and the diffusion process of the complex structure of the diffusion time, takes dynamic directed acyclic graph DAG as input, and generates topology perception embedding for each node in the DAG as output to learn the chain structure of the information diffusion sequence. The CYAN-RNN and the DeepDiffuse take time stamps into consideration to conduct information propagation prediction, the CYAN-RNN corresponds a chain structure to a diffusion tree, and an attention-based RNN model is provided to capture cross dependence in cascade to conduct information prediction. There are also some models based on attention mechanisms, such as DAN, hi-DAN, NDM. The diffusion behavior of the user is beneficial to learning the social relationship of the user and knowing the interest degree of the user in the message, and further determining whether the user performs the operations of closing notes or forwarding and the like on similar messages, so that the diffusion sequence of the user can be well predicted by the models, and the propagation trend of the information is predicted.
The existing method based on the user behavior integrates the problem into a sequence prediction task, and explores how the time sequence influences future information diffusion according to the existing user diffusion behavior sequence. However, social relationships among users and influence thereof are also great influence factors influencing information diffusion, so that the accuracy of the method for not considering the influence of the users is poor, and the diffusion trend of the information cannot be accurately judged.
1.2 user influence-based model
And determining an influence probability parameter of the model through the characteristics of information propagation based on the user influence model to carry out information diffusion prediction. Similar individuals are more likely to have the same hobbies and to take similar actions on similar information, based on user homogeneity. In the social network model, social influence among different individuals is different, for example, influence of tremble large V, microblog large V, common users and famous stars is different, generated information prediction sequences are different, the higher the popularity is, the higher the influence is, the higher the information diffusion probability is, and the more favorable the diffusion of information is. Therefore, information prediction according to user influence is based. Some existing studies are information prediction methods based on user influence, for example, coupledGNN uses two coupled graph neural networks to capture the interaction between nodes, and uses information initiators and social network relationships to predict information dissemination. The HDGNN expands the heterogeneous GNNs, combines the characteristic of time evolution, and combines the complex relation among nodes to dynamically predict information. DyHGCN proposes a heterogeneous graph convolution network to consider social networks and diffusion path networks for information prediction. The HDD utilizes a meta-path representation learning method to carry out information diffusion on codes of a heterogeneous network, chen et al provides a semi-supervision method of CasCN under an end-to-end deep learning framework, the method combines the cascade directivity and time attenuation effect to avoid complex characteristics, only learns structural characteristics and time sequence characteristics to predict information diffusion, so that the prediction performance is further improved, and an author populates the method to other scene applications.
In daily life, research work based on user influence is very necessary, in order to enable commodities to be better publicized, merchants earn higher profits in real life, influential stars are often invited to carry out introduction, the influential stars can enable fans of the merchants to see the commodities, and when the exposure rate of the commodities reaches a certain amount, sales volume can also rise, namely, the larger the propagation probability of the commodities recommended by the stars is, the more benefits the merchants can obtain. However, this method only considers the influence of the user, does not consider the user behavior or the time-dependent factors of the information, cannot capture the global relationship, cannot simulate the complexity of the diffusion sequence well, and also reduces the accuracy of information prediction.
2 preliminary introduction
The section mainly visualizes the diffusion problem and provides a convolution network model based on a space-time attention heterogeneous graph for information propagation prediction. Firstly, the model adopts a multilayer graph convolution neural network to learn the diffusion behavior and the influence structure diagram of a user, then the results are fused to be used as user representation, a time sequence is embedded into the abnormal graph, and finally a multi-head attention mechanism is proposed to carry out information propagation prediction.
Given a set of users (set of nodes) V = { V = } 1 ,v 2 ,v 3 ,...v N } and a set of information M = { M 1 ,m 2 ,m 3 ,...m K Where N refers to the number of users, K refers to the number of information, and suppose that information m k Propagating between nodes V. The invention treats each piece of information as a file, namely information m k Propagation between users can be seen as a process in which nodes are constantly activated. The diffusion process of the information can be recorded as
Figure BDA0003317560180000081
Wherein
Figure BDA0003317560180000082
Representing user v 3 In that
Figure BDA0003317560180000083
Information m is forwarded or issued at any moment k
Figure BDA0003317560180000084
Representing a user
Figure BDA0003317560180000085
In that
Figure BDA0003317560180000086
Information m is forwarded or issued at any moment k ,N m Represents a message m K The number of cascade of (2) and the maximum length of the diffusion sequence.
Figure BDA0003317560180000087
Indicating a certain subscriber forwarding information d k Is at a time t c Forwarding sets
Figure BDA0003317560180000088
Is a tuple representing user v c In that
Figure BDA0003317560180000089
Information m is forwarded or issued at any moment k Wherein
Figure BDA00033175601800000810
Representing user v c Forwarding information m k ,v c Indicating the c-th user. To consider the time series in information prediction, assuming that a certain node can only be activated once, the information diffusion process is as shown in fig. 1.
In FIG. 1, the left side is information m 1 ,m 2 ,m 3 Is a propagation process of message m 1 Can be expressed as
Figure BDA0003317560180000091
I.e. user v 1 In that
Figure BDA0003317560180000092
Time of day forwarding information m 1 User v 2 In that
Figure BDA0003317560180000093
Time of day forwarding information m 1 User v 3 In that
Figure BDA0003317560180000094
Time of day forwarding information m 1 . The social relationship influence force diagram of the user is arranged on the upper right side of the figure 1, the user diffusion behavior diagram is arranged on the lower side of the figure 1, and the behavior of a certain user or the propagation trend of certain information is predicted according to the existing behavior diagram and influence force diagram. The solid black line represents the user's behavior at time t, and the dashed red line depicts the user v 5 And on the basis of the information of the time t, the forwarding behavior possibly occurring at the time t' and the possibly infected user nodes.
The information diffusion prediction is to predict the information diffusion situation at the t +1 moment according to the diffusion situation at the t moment and by combining other factors. The invention discloses a method for predicting the behavior of a user at the time t +1 according to a propagation behavior diagram of information at the time t among users and the distribution condition of social relationship influence diagrams of the users, and judging when the information is forwarded to which users along a certain path.
As shown in fig. 1, the information diffusion process delivers many information, such as when the user forwards the information, which information is forwarded, and so on. The invention carefully analyzes the factors of information propagation, mainly considers the factors of influence of users, diffusion behavior of users and time, and researches the information prediction problem. In the right-hand side of FIG. 1, the impact diagram and the behavior diagram both provide the basis for information propagation, e.g., assume user v at time t 5 Where the information is received, then is the information propagated at time t + 1? From the figure it can be seen that no user is from v 5 Forwarding information so that all users have the same probability of becoming the next activated user, but it can be seen from the impact force diagram that v 2 ,v 6 For v 5 Regarding injection behavior, and because each node has only one activation opportunity, there is a greater likelihood that information will propagate to v at the next time 2 ,v 6 Making it the next activated node. And because of v 3 Forwards v twice 2 Is known from the influence diagram 3 Attention v 6 Therefore, the information may also pass through v 2 Or v 6 Is propagated to v 3 . Therefore, the influence and the user diffusion behavior are comprehensively considered, so that the possible diffusion path of the user can be comprehensively considered, and the accuracy of information prediction is greatly improved.
3 the model
S1, constructing a heterogeneous network with a forwarding relation and an attention relation, modeling a behavior diagram and an influence diagram of a user by using GCN to obtain better user structure learning, and fusing the learned user representation by using an attention mechanism.
And S2, embedding the time into the heterogeneous network by using methods such as a time attention mechanism and the like to obtain more accurate user representation.
And S3, finally learning the context information by adopting a multi-head Attention mechanism with MASK Attention so as to realize the information diffusion prediction, and simultaneously solving the context dependence problem of the current diffusion path.
3.1 model architecture
The invention patent uses the ASTHGCN framework for information prediction based on deep learning as shown in FIG. 2. The framework mainly comprises three parts, and information is predicted in real time by combining an influence diagram, a behavior diagram and a time factor of a user. Firstly, the end user representation of a behavior diagram and an influence diagram structure are learned by using a multi-layer diagram convolution network and fused, secondly, in order to predict information in real time, a time sequence is embedded into a heterogeneous diagram, so that the user representation is more comprehensive and complete, and finally, a multi-head attention network mechanism is adopted to predict information and solve the problem of context dependence.
3.2 learning user representations
In a colloquial language, "class by class, group by group", people with the same quality often have similar interests, and if a micro blogger V or a famous star forwards a micro blog, the fan of the user has a very high possibility to forward the micro blog, so that the influence of one person is very favorable for predicting whether the user forwards or releases the information. In addition, if a user has forwarded similar information indicating that the user is interested in such content or the user, it is possible to forward or publish the information or the user at a later time, so that the user's past forwarding or publishing behavior is also beneficial to the prediction of the information. Therefore, the invention learns the representation of the user by combining the influence relationship and the behavior relationship of the user so as to accurately predict the information in real time.
The network employed by the present patent is a heterogeneous network, which has one node (user) and two types of relationships (attention relationship and forwarding relationship) as shown in fig. 1. At a certain time t i ,i∈[1,n]Using a contiguous matrix
Figure BDA0003317560180000101
Representing various information of the anomaly map, as shown in FIG. 3, wherein F A ∈R |V|×|V| A adjacency matrix representing the relationship of interest in the influence diagram,
Figure BDA0003317560180000102
represents t i An adjacency matrix of the forwarding relation at the time, | V | represents the number of users. The invention stores the influence relation among the users into a directed and unweighted influence diagram, and simultaneously stores the forwarding condition of the users at each moment into a directed weighted behavior diagram. In order to better represent the process of information diffusion, the invention patent uses each time interval t i The heterogeneous diffusion map representation of the user is shown in fig. 4.
After an information structure is constructed, the invention adopts a multilayer graph convolution neural network to carry out structure learning on spatial factors such as influence, diffusion behavior and the like of information, learns the structural characteristics of a user and fuses the structural characteristics into a new abnormal graph. The research on the influence and the diffusion behavior is in the spatial dimension, the influence of the mutual relation among different users is complex, is subtly hidden and is a large factor influencing the accuracy of information prediction, the influence of the users can directly influence the information diffusion extent, the diffusion behavior of the users can learn the social relation of the users according to the diffusion sequence, the influence relation is analyzed for diffusion, the message is forwarded as far as possible or recommended to the users with large influence for forwarding, and the message is quickly propagated. As shown in FIG. 5, the invention uses a multi-layer graph volume network to adaptively capture dynamic social relations and forwarding relations between users, and learns the characteristics of more users by adopting the graph volume network according to the existing social relation situation, so as to obtain more complete user structure representation.
And learning the user structure representation by respectively adopting a multi-layer graph convolution network to learn the attention relationship in the influence diagram and the forwarding relationship in the behavior diagram, and forming a new user structure representation of the attention relationship and the forwarding relationship with all characteristics, wherein the learning mechanism is as follows.
Figure BDA0003317560180000103
Figure BDA0003317560180000104
Wherein, X (n) A user representation representing the nth layer,
Figure BDA0003317560180000105
it is the parameter that can be learned that,
Figure BDA0003317560180000106
is a learnable parameter of the nth level user's concern,
Figure BDA0003317560180000111
is a learnable parameter of the nth layer user forwarding relationship. t is t i ∈R d Is the time interval of the user's heterogeneous network, d is the dimension of the user's embedded representation, n represents the number of layers of the GCN,
Figure BDA0003317560180000112
is a user representation of the nth level user attention relationship,
Figure BDA0003317560180000113
is a user representation of a layer n user forwarding relationship, X (0) ∈R |V|×d Is normally distributed randomly initialized user embedding. σ (-) adopts the ReLU activation function, which is better than other activation functions, overcomes the problem of gradient disappearance, and trains quickly.
3.3 user representation fusion mechanism
Deriving attention relationships from impact force diagrams
Figure BDA0003317560180000114
And deriving forwarding relations from the behavior graph
Figure BDA0003317560180000115
After obtaining the two important factors of the user attention relationship and the forwarding relationship, how to merge the two relationships will be discussed next. Taking the microblog big V as an example, the content forwarded by the big V can enable more peopleIt is seen that its impact may be trending more spotters about or forward this event. Second, how does the information make these large influential and forwardable large V see? If the large V has a user who has forwarded a similar article, video or pays attention to the topic before, the user can see again at the moment that the user has a higher possibility of performing secondary forwarding, and therefore, the attention relationship and the forwarding relationship are very important. In order to better fuse the two factors and generate more accurate output, the invention adopts attention and user relation combination to realize the aim of the node v i Firstly, calculating the weight between the attention relation in the influence and the forwarding relation in the behavior diagram, adopting the attention network to carry out the feature learning of the node, and carrying out the Hadamard product on the obtained weight matrix and the user relation expression to obtain the final user expression.
e ij =a(Wh i ||Wh j ),j∈X T (3)
α ij =softmax(e ij ) (4)
Figure BDA0003317560180000116
Where a (-) denotes mapping high-dimensional node features to real numbers, wh i ||Wh j Represents the pair Wh i And Wh j Splicing is carried out, h i 、h j Is a characteristic matrix of a user attention relation and a forwarding relation, W is a learnable parameter and is a constant; alpha (alpha) ("alpha") ij And expressing an attention weight coefficient between the attention relation and the forwarding relation, wherein softmax (·) is a normalization function, exp (·) is an exponential function with a natural constant e as a base, and LeakReLU (·) is a leakage correction linear unit. Wherein, u is a hadamard product,
Figure BDA0003317560180000117
represents t i User representation at level n +1 of the moment, α iA Representing user v i Is given by the attention relation weight magnitude, alpha iT Representing a user v i The forwarding relation weight size of (2); x T Representing the obtained forwarding relation;
Figure BDA0003317560180000118
is a user representation of the (n + 1) th level user attention relationship,
Figure BDA0003317560180000119
is a user representation of a layer n +1 user forwarding relationship. The algorithm for learning user representations from different heterogeneous dynamics graphs is shown as algorithm 1 below.
Figure BDA00033175601800001110
Figure BDA0003317560180000121
In the algorithm 1, an attention relation matrix and a forwarding relation matrix F are constructed from an influence diagram and a behavior diagram A And
Figure BDA0003317560180000122
and performing feature learning on the attention relationship and the forwarding relationship by using a multi-layer graph convolution network, calculating a weight by using an attention mechanism, fusing the weight into a new user representation, dividing time into a plurality of time intervals, fusing the new user representation learned in each time interval into a new heterogeneous graph by using the attention mechanism, and obtaining the user representations at all the moments.
3.4 time embedding strategy
After the influence relation and the behavior relation are fused to obtain user expression, time is embedded into information for real-time information prediction, and two different time embedding strategies are adopted. Where the behavioral relationships are diffusion behaviors.
3.4.1 approximation strategy
The approximate strategy is that for each user in diffusion, the behavior relation graph of the user in each time interval is different, but the attention points andsince the interest does not change instantaneously and the time is continuous, when predicting a diffusion map at a certain time, the diffusion map at the latest certain time (the previous time is used in this text) is directly specified as the final user representation of the user. For example, when predicting t ∈ [ t ] 7 ,t 8 ) Can be based on t 7 The information propagation of the time is used for predicting the information propagation trend at the time t.
3.4.2 attention mechanism strategy
The approximate strategy only designates the user representation at a certain moment as the final user representation, and the user behavior in the period of time cannot be fully utilized to carry out more accurate user representation learning on the t-th moment, so the invention patent adopts an attention mechanism to estimate the user representation at the t-th moment from the user representations at all moments in the time sequence. The purpose of the graph attention mechanism is to aggregate the node feature representation of each time point to the central vertex to learn a new node feature expression.
From the above steps, given a user v, a user representation in all time intervals of the user learned by the multi-layer graph convolution network can be obtained
Figure BDA0003317560180000123
Figure BDA0003317560180000124
A user representation obtained by convolution of the ith layer graph representing the tl time; obtaining a user representation
Figure BDA0003317560180000125
Figure BDA0003317560180000126
If the user is at a certain moment t i Forwarding the message for a time t i ,t i+1 ) When considering the previous t i The action influence of the user before the moment, and the time embedding method based on the attention mechanism is designed as follows.
t'=mixTogether(t i ) (6)
Figure BDA0003317560180000131
Figure BDA0003317560180000132
Wherein t' is the result representation after converting the time interval into time embedding, alpha i Is the weight coefficient calculated by equation 7, and T represents a total of T time instants. v' is the final user representation, i.e. the user representation after time embedding;
in the above formula
Figure BDA0003317560180000133
Is a mask matrix, when t' < t i When is k i = infinity, meaning that the softmax function is zero weight, turning attention off over a time frame. The mixtogetherer function is the embedding of time intervals, which is initialized by the normal distribution. The end-user representation v' is obtained by multiplying the embedded weights with the user over time. The algorithm for final time embedding is as follows.
Figure BDA0003317560180000134
In the algorithm 2, the mixtogetherer function is used for embedding the user time before the moment, the user embedding weight at each moment is generated, whether the user embedding at the moment is effective or not is judged through the mask matrix k, and the user representation obtained through the weight calculated in the way is more suitable for the state of the user forwarding moment, so that the information can be predicted in the next step.
3.5 information propagation prediction
After obtaining the user node representation, in order to better perform information prediction and capture context dependent information, the obtained user representation may be constructed as a diffusion sequence V '= { V' 1 ,v' 2 ,...,v' N }, attention networks use a linear mapping of a shared parameter to nodesAnd performing dimension increase, and executing Mask Attention operation to combine the obtained user node representation with the Attention mechanism, wherein the Mask Attention means that the operation of the Attention mechanism is only operated on the nodes meeting the condition, and not all the nodes are operated. The formula of information prediction is as follows:
Figure BDA0003317560180000141
Figure BDA0003317560180000142
wherein · - T Representing the transpose of the matrix, M representing the user representation of the final prediction, b representing a matrix. Matrix C in the above formula ij
Figure BDA0003317560180000143
Is a mask matrix when i>When j is, i.e. C ij = infinity, meaning that the softmax function is a zero weight, turning attention off over a time horizon, so that only eligible nodes are operated, wherein
Figure BDA0003317560180000144
Is a learnable parameter, d r d/G, G is the number of heads of multi-head attention.
After obtaining the predicted M, calculating the probability of information diffusion by using a two-layer fully-connected neural network
p=W'σ(W”M T1 )+λ 2 (11)
In the above formula, the first and second carbon atoms are,
Figure BDA0003317560180000145
representing the probability of information diffusion, W', W "are learnable parameters,
Figure BDA0003317560180000146
λ 1 ,λ 2 are learnable parameters, all of which are constants; with V representing the userThe number, d is the dimension of the user embedded representation, σ (-) is the activation function, and the patent of the invention adopts the ReLU activation function. A means of T Representing a matrix transpose.
The loss function adopted by the invention is a cross entropy loss function as an objective function, and the formula is shown as follows.
Figure BDA0003317560180000147
Wherein | V | represents the number of users, p ik Denotes v i And v k The probability of a forwarding action occurring in-between,
Figure BDA0003317560180000148
represents p ik An estimate of (d). When p is ik =0, it means that no information diffusion occurs, and when p ik And =1, the vocal spread behavior is represented, and χ represents a parameter which can be learned, namely all parameters which need to be learned in the model, and is updated by an Adamax optimizer, and the calculation formula of the optimizer is as follows.
Figure BDA0003317560180000149
l t =max(β 2 *V t-1 ,|h(t)|) (14)
Figure BDA00033175601800001410
θ t+1 =θ t +Δx (16)
Wherein l t The coefficient representing the update rule of the optimizer, max (·,) represents taking the maximum of the two, β 2 Denotes the introduced parameter,/ t The value of (C) can be obtained by the following equations (13) and (14), (14) is a simplified version of (13),
Figure BDA00033175601800001411
to representL infinite form of expression
Figure BDA00033175601800001412
h (t) is the parameter gradient at time t, the second order momentum V (t) is the sum of the squared gradients, ε is a smoothing parameter for the denominator of 0, β 2 ∈[0.9,0.999],ε=10 -9 。θ t+1 And represents the optimization result at the time t +1, namely the final optimization result.
4 Experimental and results analysis
In this section, the data sets used in the experiments, the advanced deep diffuse reference model, the ablation experiments, and the parameter tuning experiments are mainly presented. This will be compared with the ASTHGCN model proposed by the patent of the present invention, and further introduces an evaluation index for evaluating the performance of the ASTHGCN model.
4.1 preparation of the experiment
The invention adopts three public data sets of double, twitter and Memetracker. The statistical data of the number of three data sets is shown in table 1 below, where User represents the number of users, link represents the number of User attention relationships, cascades represents the number of User forwarding sequences, and avg.
TABLE 1 data set
Database Douban Twitter Memetracker
user 23123 12627 4709
Link 348280 309631 NULL
Cascades 10602 3442 12661
Avg.length 2714 3260 1624
Twitter is a social media network providing micro-blog service, 12627 users in 10 months 2010 and tweets with attention relations and diffusion sequences are extracted from a Twitter data set, wherein the tweets comprise URLs of message bodies, each URL is a unique mark of information, and the influence relation of the users is the attention relation on tweets.
Memetracker1 contains a lot of online mainstream social media activities, the data set adopted by the patent is that millions of news stories and blog articles are collected from an online network, the URL of each website or blog is regarded as a user, the application of each common quotation and phrase among the users is tracked, and the data set has no social graph.
The double is a social service network platform which can share the content of books or movies, each book or movie is regarded as one piece of information, when a user reads the book, the user is activated, and when two or more users activate the same book or movie more than 20 times, the two users are considered to be homogeneous persons.
Following the previous experimental setup, 80% of the data was randomly sampled for training, 10% for validation and 10% for testing.
4.2 reference method
The present patent lists several most advanced baseline methods, compared to the ASTHGCN model proposed by the present patent.
DeepDiffuse: is an LSTM-based model that utilizes node sequences and attention mechanisms and considers user activation time stamps, and can predict when a user is activated based on previous concatenation sequences.
Topo-LSTM: is a model based on LSTM heuristic information diffusion using a Directed Acyclic Graph (DAG) structure that takes a dynamic DAG as input to the LSTM model and the probability computed by the embedding function as the probability of infection at each time to generate an embedding with topology perception as output.
NDM is a model which does not need a diffusion graph and adopts a convolution network and self-attention mechanism modeling to relieve the problem of long-term dependence.
SNIDSA is a novel sequential neural network with structural attention, which not only utilizes a recurrent neural network to model sequence information, but also utilizes a gating mechanism to capture structural dependence among users.
FOREST: the method is a multi-scale diffusion prediction model for predicting the popularity of information under the guidance of reinforcement learning. The model extracts potential social graph information and integrates macroscopic prediction by means of reinforcement learning.
DyHGCN: the model is a model for carrying out dynamic information prediction by adopting GCN learning user social graph and diffusion graph structure characteristics, and the model time adopts a hard selection strategy model (DyHGCN-H) or a soft selection strategy model (DyHGCN-S) to carry out information prediction.
The patent method of the invention (ASTHGCN _ A, ASTHGCN _ T): ASTHGCN _ A is a method for embedding time by adopting an approximate strategy time embedding strategy and ASTHGCN _ T is a method for embedding time by adopting a time attention mechanism.
4.3 evaluation index and Experimental settings
From previous studies, there may be any number of potential candidates and information diffusion prediction may be considered the next infected user's retrieval task. Because both SNIDSA and TopolSTM model datasets require a potential social graph, whereas Memetracker datasets do not have a social graph, they are not taken into account in the Memetracker dataset comparison experiments.
The patent of the invention adopts an intuitive evaluation method, namely, ranking indexes in information retrieval are utilized. The uninfected nodes are ranked according to infection probability, and the performance of the ASTHGCN model is evaluated by using two widely popular evaluation methods, hits @ N and MAP @ N, and MSLE mean square logarithm error indexes. The experimental setup N =10, 50, 100 was evaluated.
The method adopts a GPU (GeForceRTX 3060) and a PyTorch1.9.1 framework to carry out experiment realization, uses an Adamax optimizer to carry out gradient descent updating parameters in small batches, and carries out test evaluation on a test set to the performance of the ASTHGCN model, wherein the selected parameter setting is shown in a table 2.
TABLE 2 parameter settings
Parameters Value
Batch Size
16
Learning Rate 0.001
β β∈[0.9,0.999]
Dropout Rate 0.1
Optimizer Adamax
Num Epoch
50
kernel size 128
d_model 64
time_step 8
n_heads 14
4.4 Experimental results and parameter settings experiments
In this section, a comparison test is set, and the results of the experiments of the respective models such as DeepDiffuse are compared, and an analysis comparison test for setting parameters is performed.
4.4.1 results of the experiment
The experimental results of the ASTHGCN model and the reference model on the three data sets of double and the like are respectively presented in tables 3, 4 and 5. The evaluation indexes of all models are shown in the table, the superiority of the ASTHGCN model can be seen in hits @ N and map @ N indexes, and the result shows that the ASTHGCN model can successfully carry out information propagation prediction.
As can be seen from tables 3, 4, and 5, dyHGCN was the most advanced model before the ASTHGCN experiment was not submitted. From the results it can be seen that the ASTHGCN is always superior to the most advanced methods, leading to the following conclusions:
table 3 experimental results on the Douban dataset
Figure BDA0003317560180000171
Table 4 experimental results on the memitracker dataset
Figure BDA0003317560180000172
TABLE 5 Experimental results on the Twitter data set
Figure BDA0003317560180000173
(1) Compared with models based on user influence research, such as SNIDSA and FOREST, the ASTHGCN-A model has nearly 5% of promotion on hits @10 index, and the ASTHGCN model has 11% of absolute promotion on hits @50 and hits @100 index on Twitter and Douban datA sets. There was an absolute boost of 4% for map @10 over all three datasets. SNIDSA and FOREST only consider influence of users, and carry out information prediction according to social relations of the users, but do not consider influence of diffusion behaviors of the users.
(2) Compared with DeepDiffuse, topolSt and NDM models based on user diffusion behavior research, the ASTHGCN model has 10% of absolute improvement on hits @10 index, 17% of improvement on hit @50 and 20% of absolute improvement on hit @100 in double and Twitter data sets. The evaluation index of map @ is improved by 7% in absolute terms. The DeepDiffuse, topolSTM and NDM models predict information according to the previous diffusion behaviors of users without considering factors such as influence of the users, the influence of the users can reflect the information propagation capacity and speed, and experiments prove that the factors of the influence of the users are very important for researching information prediction.
(3) Compared with the most advanced DyHGCN model, the ASTHGCN-T model has 5% absolute promotion on hits @ index and 3% promotion on map @ index. The DyHGCN model and the ASTHGCN model consider the forwarding relation, the attention relation and the time factor of a user at the same time, however, the ASTHGCN model considers the dependency relation of the user context when learning and fusing the user relation structure, the user representation is learned by adopting a method of combining the attention mechanism and the graph convolution, so that the information prediction performance is further improved, and experiments prove that the influence of the user context dependency relation on the information prediction performance is very obvious.
Next, the Mean Square Log Error (MSLE) indicator of the three data sets was tested, and the results are shown in the following radar fig. 6 for convenience of comparison.
The experimental results on the three datasets of Douban et al, MSLE, the lower the score the better. Since the TopolSTM model has a score greater than 10, significantly higher than the other models, and is not shown for easier viewing, SNIDSA is not applicable to the dataset because there is no social graph in the Memetracker model, and the MSLE value is set to 0. In the above description, the ASTHGCN model considers spatial factors and time factors such as behavior relation and influence relation of users, and uses an attention mechanism to relate the application of model ideas such as fusion of user representations together, thereby showing the effectiveness and accuracy of the ASTHGCN model.
4.4.2 ablation experiments
In order to study the effectiveness of each factor in the ASTHGCN model, the invention patent performs some additional ablation experiments on the basis of the DYHGCN model to verify the performance of each factor. The patent of the invention carries out ablation experiments from the following aspects:
the isomerism graph: the encoding modules in the heteromorphic graph are removed and the user representation is studied using only homogeneous networks.
The behavior relationship: and removing the behavior relation in the abnormal graph, removing the convolution operation which represents learning by the user, and only considering the diffusion behavior relation of the user.
Social networking: and removing the social influence relationship in the abnormal graph and removing the convolution operation of the user representation learning, wherein only the influence relationship of the user is considered.
Time attention mechanism embedding: when considering the time attention mechanism, an approximation strategy can be considered for time embedding.
User representation fusion method: when the user attention fusion mechanism is considered, heuristic strategy fusion can be adopted.
The ablation experiments of various modules such as ASTHGCN model differential graphs and the like are performed on the Twitter and double data sets, and the experimental results are shown in FIG. 7. As can be seen from fig. 7, the application of each module in the ASTHGCN is necessary, and each module is improved to some extent. First, when the coding module in the heterogeneous graph is removed, the performance is significantly lower than that of the ASTHGCN when the homogeneous network is only used for researching the user representation for information prediction, and the ASTHGCN model is improved by 7 points on a Twitter data set and is improved by ten points on a Douban data set. This indicates that heterogeneous networks have a promoting role in information prediction. Secondly, in experiments that a behavior relation, a social relation, a time attention mechanism embedding time factor and the like are respectively lacked, the three can improve the information prediction performance on the original basis, however, the performance is obviously insufficient compared with the ASTHGCN model performance, and the performance of information prediction can be obviously improved only by combining and considering all the influencing factors. Finally, the model indexes after the heuristic fusion mechanism are remarkably reduced by 6 points compared with the model indexes adopting the time attention mechanism, the advantages of the fusion adopting the time attention mechanism are fully shown, and the time attention mechanism can more comprehensively perform user representation fusion, so that the model performance is improved. In conclusion, each module of the ASTHGCN model improves the whole information prediction performance, and the research of the ASTHGCN model is very meaningful.
4.4.3 parameter tuning experiment
In this section, different selections of parameter settings and performance analysis thereof are performed using the Twitter data set, and the number of attention heads and the number of time division intervals are mainly tested to verify the optimal parameter settings.
Influence of the number of time intervals: the invention considers the time factor of information transmission, divides the diffusion time sequence into the number of time intervals, and probably influences the ASTHGCN model performance more or less directly or indirectly. As the number of time intervals increases, the user can learn finer-grained representation, so that the learned user representation is more comprehensive, but the parameter tuning experiment is carried out because the setting of the parameters influences the final performance. The results of the experiment are shown in FIG. 8.
As can be seen from fig. 8, the performance of the ASTHGCN model increases with the number of time interval divisions, but when the time interval increases to 8, the performance of the ASTHGCN model starts to dip and then has a limited change in performance with the number of time interval divisions. This is because the larger the number of intervals dividing the user time series is, the more comprehensive the user represents, the more comprehensive the learned user characteristics will be, and when the number of intervals is larger, the learned performance change is limited, so that the performance index change in the whole information dissemination process is also limited, so the number of the selected time intervals in the invention is 8.
The multi-head attention mechanism influences the number of heads: the ASTHGCN model utilizes a multi-head attention mechanism to obtain more characteristics through different projections when different heads are calculated, so that the prediction performance of information propagation is influenced. The performance index of the model is influenced by the arrangement of the number of heads of the multi-head attention machine, so that the patent of the invention carries out a parameter tuning experiment, and the experimental result is shown in fig. 9.
It can be seen that as the number of attention-driven heads increases, the performance of the ASTHGCN model is improved continuously, because as the number of heads increases, the captured information is more comprehensive and more accurate. The performance of the ASTHGCN model is optimal when the number of attention heads reaches 14, and begins to dip as the number of heads continues to be larger. This is because when the number of attention-driven heads is excessive, the model over-trained fits result in degraded performance.
Influence of model dimensions: the invention patent researches how the representation of the dimension of the node V influences the performance of the model. When D is equal to {16,32,64,128}, the performance of the ASTHGCN model method is verified. The experimental results are shown in fig. 10, and the performance is enhanced continuously with the increase of the dimension. However, it can be seen on the Douban dataset that the ASTHGCN model performs best when the dimension is 64, and performance degrades significantly when the dimension increases, possibly due to the dataset being too large to be over-fit. However, on the Memetracker data set, the performance is converged when the dimensionality is 128, the performance increase is gradually gentle, and probably because the Memetracker data set has a larger data set, and the ASTHGCN model dimensionality is set to be 64 by combining the performance results on the three data sets.
5 conclusion
The invention researches the influence of space factors such as the influence relation, the diffusion behavior relation and the like of a heterogeneous network and the influence of time factors on information propagation diffusion, and designs an information prediction model of a convolutional network based on a space-time attention machine diagram. The ASTHGCN model comprehensively considers influence, diffusion behavior and time factors and applies an Attention mechanism fusion algorithm, so that user fusion and user representation are more comprehensive and more accurate, the accuracy of information prediction is improved, and in addition, the multi-head Attention mechanism with MASK Attention solves the problems of timestamp information prediction and information context dependence. Experimental results on three data sets showed that the performance of the ASTHGCN model is optimal compared to other reference models. The main conclusions are as follows: (1) Through research on the heterogeneous network with influence and diffusion behavior, user characteristics are learned and fused into the heterogeneous graph, the learned user representation is more consistent with real life, and a user sample of information prediction research is effectively provided. (2) In the user structure learning process, the dependency relationship of user context is fused, and the user representation is learned by adopting a method of combining an attention mechanism and graph convolution, so that the information prediction performance is further and completely improved, more accurate user output is achieved, and the aim of higher information prediction accuracy is fulfilled.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (5)

1. An information diffusion prediction system based on space-time attention and heterogeneous graph convolution network is characterized by comprising a data representation fusion module, an embedded prediction module, a prediction diffusion module and a data optimization module;
the data output end of the data representation fusion module is connected with the data input end of the embedded prediction module, the data output end of the embedded prediction module is connected with the data input end of the prediction diffusion module, and the data output end of the prediction diffusion module is connected with the data input end of the data optimization module;
the data representation fusion module is used for learning the end user representation of the behavior diagram and the influence diagram structure by using a multi-layer diagram convolution network and fusing the learned user representation;
the embedded prediction module is used for predicting information in real time and embedding the time sequence into the heterogeneous graph;
and the prediction diffusion module performs information diffusion prediction by using a multi-head attention network mechanism.
2. The system according to claim 1, wherein the mechanism for learning in the data representation fusion module comprises:
Figure FDA0003848636170000011
Figure FDA0003848636170000012
wherein,
Figure FDA0003848636170000013
is a user representation of the (n + 1) th layer user attention relationship;
σ (-) is an activation function;
F A an adjacency matrix representing a relationship of interest in the influence diagram;
X (n) a user representation representing an nth layer;
Figure FDA0003848636170000014
is a learnable parameter of the nth layer of user attention relationship;
Figure FDA0003848636170000015
is the user representation of the (n + 1) th layer user forwarding relation;
Figure FDA0003848636170000016
represents t i An adjacency matrix of forwarding relationships at times;
t i is the time interval of the user's heterogeneous network;
Figure FDA0003848636170000021
is a learnable parameter of the nth layer user forwarding relationship.
3. The system according to claim 1, wherein the user representation fusion in the data representation fusion module comprises:
S-A, calculating node v i The weight between the concern relationship in the influence and the forwarding relationship in the behavior diagram;
and S-B, performing feature learning of the nodes by adopting an attention network, and performing Hadamard product on the obtained weight matrix and user relation expression to obtain final user expression.
4. The system for predicting information diffusion based on spatio-temporal attention and heterogeneous graph convolution network according to claim 1, wherein the method for embedding the time series in the embedded prediction module comprises:
an approximation strategy or attention mechanism strategy;
the attention mechanism strategy includes:
t'=mixTogether(t i ) (6)
Figure FDA0003848636170000022
Figure FDA0003848636170000023
wherein t' is the result representation after converting the time interval into time embedding;
mixTogether (. Cndot.) is a function of embedding time intervals;
α i is a weight coefficient;
softmax (·) is a normalization function;
v ti represents t i A user representation of a time of day;
k i is a mask matrix;
v' is the final user representation;
t represents a total of T times.
5. The system for predicting information diffusion based on spatio-temporal attention and heterogeneous graph convolution network according to claim 1, wherein a formula of information diffusion prediction in the prediction diffusion module is as follows:
Figure FDA0003848636170000031
Figure FDA0003848636170000032
wherein softmax (·) is a normalization function;
v' represents a diffusion sequence;
· T represents a transpose of a matrix;
d r d/G, d being the dimension of the user-embedded representation, G being the number of heads of multi-head attention;
C ij is a mask matrix;
m represents the final predicted user representation;
Figure FDA0003848636170000033
represents a pair b h Carrying out splicing, b h Denotes the h-th head attention, b h ∈[b 1 ,b 2 ,...,b G ];
W i Q ,W i K ,W i V ,
Figure FDA0003848636170000037
It is the parameter that can be learned that,
Figure FDA0003848636170000038
is expressed as d × d r Real number of dimensions;
after obtaining the predicted M, calculating the probability of information diffusion by using two layers of fully-connected neural networks as follows:
p=W'σ(W”M T1 )+λ 2 (11)
wherein p represents the probability of information diffusion;
w', W "are learnable parameters,
Figure FDA0003848636170000034
Figure FDA0003848636170000035
entity representing dimension | V | × dCounting;
Figure FDA0003848636170000036
a real number representing dimension d × d;
d is the dimension of the user-embedded representation;
| V | represents the number of users;
λ 1 is the first learnable parameter, λ 2 Is a second learnable parameter, λ 1 、λ 2 Are all constants;
· T representing a matrix transposition.
CN202111235561.6A 2021-10-22 2021-10-22 Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network Active CN113807616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111235561.6A CN113807616B (en) 2021-10-22 2021-10-22 Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111235561.6A CN113807616B (en) 2021-10-22 2021-10-22 Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network

Publications (2)

Publication Number Publication Date
CN113807616A CN113807616A (en) 2021-12-17
CN113807616B true CN113807616B (en) 2022-11-04

Family

ID=78898132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111235561.6A Active CN113807616B (en) 2021-10-22 2021-10-22 Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network

Country Status (1)

Country Link
CN (1) CN113807616B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114519932B (en) * 2022-01-10 2023-06-20 中国科学院深圳先进技术研究院 Regional traffic condition integrated prediction method based on space-time relation extraction
CN115080870B (en) * 2022-07-12 2023-04-07 黑龙江大学 Information propagation prediction method based on Skip-gram
CN115470994B (en) * 2022-09-15 2023-07-11 苏州大学 Information popularity prediction method and system based on explicit time and cascade attention
CN115878907B (en) * 2022-12-28 2023-08-11 人民网股份有限公司 Social network forwarding behavior prediction method and device based on user dependency relationship
CN116049769B (en) * 2023-04-03 2023-06-20 湖南大学 Discrete object data relevance prediction method and system and storage medium
CN116523118A (en) * 2023-04-13 2023-08-01 苏州大学 Heterogeneous graph neural network-based multi-source information propagation prediction method and system
CN116596025A (en) * 2023-04-17 2023-08-15 苏州大学 Information popularity prediction method and system based on cascade relation diversity
CN117668743A (en) * 2023-10-26 2024-03-08 长江信达软件技术(武汉)有限责任公司 Time sequence data prediction method of association time-space relation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682770A (en) * 2016-12-14 2017-05-17 重庆邮电大学 Friend circle-based dynamic microblog forwarding behavior prediction system and method
CN107169873A (en) * 2017-06-16 2017-09-15 北京信息科技大学 A kind of microblog users authority evaluation method of multiple features fusion
CN112182424A (en) * 2020-11-11 2021-01-05 重庆邮电大学 Social recommendation method based on integration of heterogeneous information and isomorphic information networks
CN112256981A (en) * 2020-11-13 2021-01-22 北京理工大学 Rumor detection method based on linear and nonlinear propagation
CN113450568A (en) * 2021-06-30 2021-09-28 兰州理工大学 Convolutional network traffic flow prediction method based on space-time attention mechanism

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130173485A1 (en) * 2011-12-29 2013-07-04 Telefonica, S.A. Computer-implemented method to characterise social influence and predict behaviour of a user
KR102036068B1 (en) * 2017-09-06 2019-10-24 경희대학교 산학협력단 Method of modelling channel and transmitting molecule in molecular communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682770A (en) * 2016-12-14 2017-05-17 重庆邮电大学 Friend circle-based dynamic microblog forwarding behavior prediction system and method
CN107169873A (en) * 2017-06-16 2017-09-15 北京信息科技大学 A kind of microblog users authority evaluation method of multiple features fusion
CN112182424A (en) * 2020-11-11 2021-01-05 重庆邮电大学 Social recommendation method based on integration of heterogeneous information and isomorphic information networks
CN112256981A (en) * 2020-11-13 2021-01-22 北京理工大学 Rumor detection method based on linear and nonlinear propagation
CN113450568A (en) * 2021-06-30 2021-09-28 兰州理工大学 Convolutional network traffic flow prediction method based on space-time attention mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于时空注意力的社交网络信息级联预测模型;刘超等;《中文信息学报》;20210831;第35卷(第8期);第117-126页 *

Also Published As

Publication number Publication date
CN113807616A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN113807616B (en) Information diffusion prediction system based on space-time attention and heterogeneous graph convolution network
CN113850446B (en) Information diffusion prediction method integrating space-time attention and heterogeneous graph convolution network
CN107341270B (en) Social platform-oriented user emotion influence analysis method
US9031888B2 (en) Predicting influence in social networks
CN108920503A (en) A kind of micro- video personalized recommendation algorithm based on social networks degree of belief
Han et al. Collecting, organizing, and sharing pins in pinterest: interest-driven or social-driven?
CN106651030A (en) Method for predicting user participation behavior of hot topic by improved RBF neural network
Lin et al. An efficient approach to identify social disseminators for timely information diffusion
Kar et al. How to differentiate propagators of information and misinformation–Insights from social media analytics based on bio-inspired computing
Salim et al. Data analytics of social media 3.0: Privacy protection perspectives for integrating social media and Internet of Things (SM-IoT) systems
Wang et al. A multidimensional nonnegative matrix factorization model for retweeting behavior prediction
Yang et al. Recommender system-based diffusion inferring for open social networks
Hoang et al. Microblogging content propagation modeling using topic-specific behavioral factors
Çetinkaya et al. Developing a Twitter bot that can join a discussion using state-of-the-art architectures
Xiao et al. User behavior prediction of social hotspots based on multimessage interaction and neural network
Liu et al. Information propagation prediction based on spatial–temporal attention and heterogeneous graph convolutional networks
Wu et al. Unlocking author power: On the exploitation of auxiliary author-retweeter relations for predicting key retweeters
CN115470991A (en) Network rumor propagation prediction method based on user short-time emotion and evolutionary game
Wei et al. A new evaluation algorithm for the influence of user in social network
Akila et al. Opinion mining on food services using topic modeling and machine learning algorithms
Yang et al. BMP: A blockchain assisted meme prediction method through exploring contextual factors from social networks
Wei et al. Using network flows to identify users sharing extremist content on social media
Li et al. A group behavior prediction model based on sparse representation and complex message interactions
Serrano Smart internet search with random neural networks
Wang et al. Multiscale information diffusion prediction with minimal substitution neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant