Disclosure of Invention
Therefore, the invention provides a topic perception information forwarding prediction method and a topic perception information forwarding prediction system based on a shielding self-attention network, aiming at predicting user forwarding behaviors in a social network by fusing hot topics in information propagation, user propagation context perception and user propagation history perception.
According to an aspect of the present invention, there is provided a topic perception information forwarding prediction method based on a masked self-attention network, the method including the steps of:
Step one, modeling user-topic dependence, comprising: extracting topic representations in the message, and fusing the topic representations with user embedding to obtain user-topic dependent representations;
Step two, user-context dependent modeling, comprising: constructing a masked self-attention network comprising a context encoder, a mask generator, and a mask encoder, inputting the user-topic dependent representation into the masked self-attention network, obtaining a user representation of context user dependent perception;
step three, modeling the user-propagation history dependency, which comprises the following steps: calculating the similarity between the target user and the historical infected user list by using an attention mechanism so as to optimize and reconstruct the user representation of the context user dependent perception;
Step four, predicting the next user activation state, which comprises the following steps: acquiring the activation probability of the next user by calculating a likelihood relation between the cascade representation C i corresponding to the optimized and reconstructed user representation and the next user; wherein the cascade representation C i={(u1,t1),(u2,t2),…,(um,tm) represents the observed affected user sequence.
Further, the topic in step one is denoted as Dt i, and the user is embedded asUser-topic dependency representationThe method is calculated according to the following formula:
In the method, in the process of the invention, Representing a weighted representation of a user under an h-th topic, the weighted representation embedded by computing the userSimilarity to topic representation Dt i.
Further, the context encoder in step two is configured to encode the user-topic dependent representation, which includes a stack of multiple identical layers, each layer consisting of a fully connected feed forward network and a multi-headed self-care layer; the multi-head attention layer is obtained by splicing a plurality of point power-up attention mechanisms passing through a linear space; the mask generator is used for generating a mask matrix according to the context user list output by the context encoder and the target user; the mask encoder is configured to multiply each layer of input according to the mask matrix to generate a context-dependent perceived user representation.
Further, in the second step, the generation mask matrix according to the context user list and the target user output by the context encoder is expressed as follows:
Wherein σ represents a sigmoid activation function; w 1 represents a trainable weight matrix; The user list except the user u j is represented and consists of a predecessor user and a successor user of the user u j; d represents the dimension of the vector representation.
Further, the specific steps of the third step include: calculating the attention score of the context user dependence perception user corresponding to the target user and the historical infected user; obtaining the attention weight of the two according to the attention score calculationIntroducing a time decay factor, dividing the continuous time into discrete time intervals, and assigning a learnable weight to each time intervalWeighting the attention weightAnd the learnable weightSumming to obtain historical infected user weightsObtaining the optimized reconstructed user representation according to the historical infection user weight as follows:
In the method, in the process of the invention, Representing contextual user-dependent perceived user representations; Representing that the contextual user infects the user in dependence on perceived history.
Further, the contextual user corresponding to the target user relies on perceived user representations and attention scores of historically infected usersThe calculation formula of (2) is as follows:
In the method, in the process of the invention, User representations that respectively represent contextual user-dependent awarenessHistorical infected users with context user dependent awarenessIs a non-linear mapping of (2);
the calculation formula for obtaining the attention weights of the two according to the attention score calculation is as follows:
In the method, in the process of the invention, Representing the attention score of user u j corresponding to any of the historically infected users u 1,u2…,uj-1, n representing the count used to traverse.
Further, the specific steps of the fourth step include:
Using a location feed forward network, using a ReLU as an activation function, a subject cascade representation is obtained And generating a multi-topic cascade representationThe final goal is to calculate the next userThe probability of forwarding message m i is obtained by maximizing the similarity training of the user and the cascade embedding:
Where Θ represents a set of parameters that can be learned, the target is further translated into a negative log likelihood for the above formula minimization formula:
The motivation of a user by a particular topic is considered in the training of the objective function, thus maximizing the similarity between user embedding and topic embedding:
Thus, the additional training objective translates into the above-described minimization likelihood problem:
the overall goal of model training is:
where ζ is the equilibrium coefficient of the model.
According to another aspect of the present invention, there is provided a topic awareness information forwarding prediction system based on a masked self-attention network, the system comprising:
The user-topic dependence modeling module is configured to extract topic representations in the message, and fuse the topic representations with user embedments to obtain user-topic dependence representations;
A user-context dependent modeling module configured to construct a masked self-attention network comprising a context encoder, a mask generator, a mask encoder, input the user-topic dependent representation into the masked self-attention network, obtain a contextual user-dependent perceived user representation;
A user-propagation history dependency modeling module configured to calculate a similarity of a target user to a list of historically infected users using an attention mechanism to optimally reconstruct a representation of users that are perceived as contextual users;
an activation state prediction module configured to obtain an activation probability for a next user by calculating a likelihood relationship between a cascade representation C i corresponding to the optimized reconstructed user representation and the next user; wherein the cascade representation C i={(u1,t1),(u2,t2),…,(um,tm) represents the observed affected user sequence.
Further, the topic in the user-topic dependency modeling module is denoted as Dt i, and the user is embedded asUser-topic dependency representationThe method is calculated according to the following formula:
In the method, in the process of the invention, Representing a weighted representation of a user under an h-th topic, the weighted representation embedded by computing the userSimilarity with topic representation Dt i;
The context encoder in the user-context dependent modeling module is configured to encode the user-topic dependent representation, comprising a stack of multiple identical layers, each layer consisting of a fully connected feed forward network and a multi-headed self-care layer; the multi-head attention layer is obtained by splicing a plurality of point power-up attention mechanisms passing through a linear space; the mask generator is used for generating a mask matrix according to the context user list output by the context encoder and the target user; the mask encoder is configured to multiply each layer of input according to the mask matrix to generate a context-dependent perceived user representation.
Further, the specific steps of the user-propagation history dependency modeling module for performing an optimal reconstruction of the contextual user-dependent perceived user representation include: calculating the attention score of the context user dependence perception user corresponding to the target user and the historical infected user; obtaining the attention weight of the two according to the attention score calculationIntroducing a time decay factor, dividing the continuous time into discrete time intervals, and assigning a learnable weight to each time intervalWeighting the attention weightAnd the learnable weightSumming to obtain historical infected user weightsObtaining the optimized reconstructed user representation according to the historical infection user weight as follows:
In the method, in the process of the invention, Representing contextual user-dependent perceived user representations; Representing that the contextual user infects the user in dependence on perceived history.
The beneficial technical effects of the invention are as follows:
The invention provides a topic perception information forwarding prediction method and a topic perception information forwarding prediction system based on a shielding self-attention network, which comprise an end-to-end topic perception forwarding prediction model based on the shielding self-attention network, and are used for fully expressing and establishing a cascade structure in information propagation and diffusion so as to solve the problem that whether a given target information prediction target user can execute forwarding operation or not. The invention uses BERT to encode hot topic semantic information in the current propagation information, obtains the similarity of topic text embedding and target user embedding to capture user-topic perception dependence; a masked self-attention network is designed to extract the effects of predecessor node users and successor node users while emphasizing the importance of historically infected users, which are modeled to reconstruct and enhance the final user embedded characterization.
Experiments are carried out on three real application scenes, and the model performance is compared with the existing model, so that the invention is obviously superior to the existing information forwarding behavior prediction model in two indexes of MRR and A@k. The invention can provide valuable decision-making auxiliary support for public opinion research, personalized recommendation, hot topic identification and other applications.
Detailed Description
In order that those skilled in the art will better understand the present invention, exemplary embodiments or examples of the present invention will be described below with reference to the accompanying drawings. It is apparent that the described embodiments or examples are only implementations or examples of a part of the invention, not all. All other embodiments or examples, which may be made by one of ordinary skill in the art without undue burden, are intended to be within the scope of the present invention based on the embodiments or examples herein.
Formalization of the information forwarding behavior prediction problem is defined as: assuming that the ith message m i in the online social platform is spread at time t 0, the formed cascade is c i={(u1,t1),(u2,t2),…,(um,tm), and the text content, namely the topic, is expressed as Dt i. Where the doublet (u j,tj) represents the propagation that user u j is activated to participate in the cascade at time t j. The size of the cascade is |c i |=m, representing the total number of users participating in this piece of information propagation. The task of information propagation forwarding behavior prediction is: knowing the user list U, the concatenation information c i, for each concatenation c i, the next affected user U m+1 is predicted by a conditional probability p (U m+1|ci) from the observed affected user sequence { { (U 1,t1),(u2,t2)…(um,tm) }, wherein U i epsilon U. The invention provides an end-to-end framework based on a neural network, which predicts the next infected user U m+1 through given c i, U and Dt i, and the main idea is to integrate topic information, contextual environment user information and historical infected user information deep modeling information cascade embedded representation, The similarity between the user embedding and the cascade embedding is used for predicting whether the next user is activated.
The embodiment of the invention provides a topic perception information forwarding prediction method based on a shielding self-attention network, which mainly comprises four parts as shown in fig. 1: (1) user-topic dependency modeling; (2) user-context dependent modeling; (3) user-propagation history dependency modeling; (4) next user activation state prediction.
(1) User-topic dependency modeling: extracting topic representations in message m i Using topic representation Dt i with user embeddingFusion representation to get user-topic dependency representationTo perceive the user's dependence on topics in the currently propagating text.
According to the embodiment of the invention, topic semantic messages in the current propagation message are added for acquiring the dependence between the current user and the specific topic. First, the currently propagated text information is modeled using BERT, obtaining a topic representation Dt i. For user embedding in cascade c i For the h topic, by calculating the userSimilarity with a specific topic Dt i to perceive the dependency relationship between the two, and the weight of the user under the h topic is expressed as follows:
The user representation is pooled with the weighting addition to obtain a user-topic dependency representation
(2) User-context dependent modeling: providing a masked self-attention network of context encoder, mask generator, mask encoder to generate a user representation of context user dependent awarenessTo capture the dependency between the user and the predecessor and successor activation nodes in the cascade.
Given a message m i, concatenated to c i={(u1,t1),(u2,t2),…,(um,tm), user u j forms a propagation path with its predecessor { u 1,u2,…,uj-1 } and successor { u j+1,uj+2,…,um }, in accordance with an embodiment of the present invention. When user u j browses his own homepage, the content published by the following user of the predecessor user appears, and the content contains the current hot topics or the preferences of users. These contents will have an impact on the decision of user u j on whether or not message m i is forwarded. On the other hand, user u j forwards message m i to other people, including his subsequent users, to consider the tastes and preferences of catering to these users. Thus, a masked self-attention network is proposed to capture the interactions between user u j and its predecessor and successor users. The shielded self-attention network consists of three parts: 1) a context encoder, 2) a mask generator, 3) a mask encoder.
1) Context encoder: a stack of several identical layers, each layer consisting of a fully connected feed forward network and a multi-headed self-care layer. The multi-head attention layer is formed by splicing H point power-up attention mechanisms passing through a linear space:
Wherein the method comprises the steps of D < d' represents a parameter matrix,Representing the variance vector. ReLU is a nonlinear activation function. The context encoder layer i is expressed as:
Wherein the method comprises the steps of Is initialized by the predecessor node and successor node of user u j.
2) Mask generator: the mask is a list of contextual usersAnd target user u j to generate a Mask (Mask) matrix M a, in particular by computingAnd each userWherein sigma represents a sigmoid activation function,Each user representation is derived from the output of the last layer of the generic encoder.
3) Mask encoder: the composition of the mask encoder is the same as that of the generic encoder, except that the inputs of each layer of the mask encoder are multiplied by a mask matrix to perceive trending topics:
finally, a context user dependent perceived user representation is generated:
(3) User-propagation history dependency modeling: the final representation of the node is reconstructed and optimized using an attention mechanism to calculate the similarity relationship of the user to the list of historically infected users. The history infected user list is a list formed from the initial time t 1 to the time t j,u1,u2…,uj-1 of participation of the target user.
In general, not all users in the cascade will have an impact on the target user u j, but only a subset will have an impact on the users, according to an embodiment of the invention. In the flooding sequence, these historical forwarding user lists that have forwarded message m i can influence the perspective of user u j on message m i, and thus whether it is forwarded or not. The correlation between the two is modeled using the attention mechanism. Specifically, the user is first calculatedAnd its precursor nodeIs a fraction of the attention of (2):
Wherein, Respectively usersAnd a precursor nodeIs used for the non-linear mapping of (a). The attention weight between the two is:
In the method, in the process of the invention, The attention score corresponding to any one of the user u j and the history infected user u 1,u2…,uj-1 is represented, and n represents the count used for traversal.
In addition, these historical user-to-userIs attenuated over time, thus introducing a time attenuation factor. For a given user cascade sequenceThe continuous time between t 1 and t m is divided into discrete time intervals:
Assigning a learnable weight to each time interval And further obtaining the total historical infection user weight:
thus, the user after the historical infection user correlation fusion is finally expressed as:
(4) The next user activation state prediction: the activation probability of u m+1 is obtained by calculating the likelihood relationship between the finally obtained user perceived cascade representation C i and the next user u m+1.
According to an embodiment of the invention, a topic cascade representation is obtained using a location feed forward network (Position Feedforward Network, PFN), using a ReLU as an activation functionAnd generating a multi-topic cascade representationThe final goal is to calculate the next userThe probability of forwarding message m i is obtained by maximizing the similarity training of the user and the cascade embedding:
Where Θ represents a set of parameters that can be learned, the target is further translated into a negative log likelihood for the above formula minimization formula:
Furthermore, the motivation of a user by a particular topic is considered in the training of the objective function, thus maximizing the similarity between user embedding and topic embedding:
Thus, the additional training objective translates into the above-described minimization likelihood problem:
the overall goal of model training is:
where ζ is the equilibrium coefficient of the model.
The pseudo code of the topic aware forwarding prediction method based on the masked self-attention network is as shown in algorithm 1:
another embodiment of the present invention provides a topic awareness information forwarding prediction system based on a masked self-attention network, the system comprising:
The user-topic dependence modeling module is configured to extract topic representations in the message, and fuse the topic representations with user embedments to obtain user-topic dependence representations;
A user-context dependent modeling module configured to construct a masked self-attention network comprising a context encoder, a mask generator, a mask encoder, input the user-topic dependent representation into the masked self-attention network, obtain a contextual user-dependent perceived user representation;
A user-propagation history dependency modeling module configured to calculate a similarity of a target user to a list of historically infected users using an attention mechanism to optimally reconstruct a representation of users that are perceived as contextual users;
an activation state prediction module configured to obtain an activation probability for a next user by calculating a likelihood relationship between a cascade representation C i corresponding to the optimized reconstructed user representation and the next user; wherein the cascade representation C i={(u1,t1),(u2,t2),…,(um,tm) represents the observed affected user sequence.
In this embodiment, preferably, the topic in the user-topic dependency modeling module is represented as Dt i, and the user is embedded asUser-topic dependency representationThe method is calculated according to the following formula:
In the method, in the process of the invention, Representing a weighted representation of a user under an h-th topic, the weighted representation embedded by computing the userSimilarity with topic representation Dt i;
In this embodiment, preferably, the context encoder in the user-context dependent modeling module is configured to encode the user-topic dependent representation, and includes a stack of multiple identical layers, each layer being composed of a fully connected feed-forward network and a multi-headed self-care layer; the multi-head attention layer is obtained by splicing a plurality of point power-up attention mechanisms passing through a linear space; the mask generator is used for generating a mask matrix according to the context user list output by the context encoder and the target user; the mask encoder is configured to multiply each layer of input according to the mask matrix to generate a context-dependent perceived user representation.
In this embodiment, preferably, the specific step of performing, in the user-propagation history dependency modeling module, optimal reconstruction of the context user-dependent perceived user representation includes: calculating the attention score of the context user dependence perception user corresponding to the target user and the historical infected user; obtaining the attention weight of the two according to the attention score calculationIntroducing a time decay factor, dividing the continuous time into discrete time intervals, and assigning a learnable weight to each time intervalWeighting the attention weightAnd the learnable weightSumming to obtain historical infected user weightsObtaining the optimized reconstructed user representation according to the historical infection user weight as follows:
In the method, in the process of the invention, Representing contextual user-dependent perceived user representations; Representing that the contextual user infects the user in dependence on perceived history.
In this embodiment, preferably, the specific process of obtaining the activation probability of the next user in the activation state prediction module includes: using a location feed forward network, using a ReLU as an activation function, a subject cascade representation is obtainedAnd generating a multi-topic cascade representationThe final goal is to calculate the next userThe probability of forwarding message m i is obtained by maximizing the similarity training of the user and the cascade embedding:
Where Θ represents a set of parameters that can be learned, the target is further translated into a negative log likelihood for the above formula minimization formula:
The motivation of a user by a particular topic is considered in the training of the objective function, thus maximizing the similarity between user embedding and topic embedding:
Thus, the additional training objective translates into the above-described minimization likelihood problem:
the overall goal of model training is:
where ζ is the equilibrium coefficient of the model.
The function of the topic sensing information forwarding prediction system based on the masked self-attention network according to the embodiment of the present invention may be described by the topic sensing information forwarding prediction method based on the masked self-attention network, so that the system embodiment is not described in detail, and reference may be made to the above method embodiment, which is not described herein.
Further experiments prove the technical effect of the invention.
For model training, the batch size is 32, the learning rate is 0.001, and the user embedding dimension is 60. The topic number h is set to 5, and the specific topic embedding dimension is d=60/h=12. For the user-context aware modulo module, the context encoder and mask encoder stack numbers are both set to 6. For the user-history infection dependency module, 6 layers are also stacked. All experiments were performed on a single NVIDIAGeForce GTX 3080Ti graphic card. To verify the versatility and effectiveness of the model, experiments were performed in three different application scenarios, model factors (MEMETRACKER), DBLP, and Douban, respectively. The statistics of the dataset are summarized in table 1.
Table 1 data set statistics
MEMETRACKER: popular web popularity and phrases are used as model factors (Meme), including 9600 tens of thousands of model factors on news and web blogs. Each meme is considered a piece of information and the URL of a blog or news is considered an active user. And acquiring the user and time information thereof. The URLs with the former 5000 module numbers are picked out. The concatenation sequence is obtained from all the modular genes of the 5000 URLs and the concatenation sequence with the length smaller than 3 is eliminated. 80% of the modular genes are classified as training sets, 10% as validation sets and the remainder as test sets.
DBLP (DataBase SYSTEMS AND Logic Programming): is a database system of computer English literature. The dataset contains information of the title, author, year, etc. of the paper. The data set can be used for paper influence study, paper influence sorting, paper topic modeling analysis and the like. The method and the device treat authors of documents as nodes in cascade propagation sequences, treat one citation of papers as one activation to establish cascade sequences, and extract topics by taking titles of the papers as text information of the cascade sequences. The invention firstly builds a directed graph taking the user as a node, and if the paper of the user A refers to the paper of the user B, a directed edge from B to A is formed. And randomly extracting a cascade sequence with the length of 3 or more from the cascade graph to construct a data set. As with MEMETRACKER dataset, 80 was taken as training set, 10% as validation set and 10% as test set.
Douban: is a platform for users to share their personal experiences with accessed movies, books, music, etc. The bean cotyledon user can pay attention to others, and can be paid attention to by others, so that the cascade scale can be increased. Taking a movie as an example, a movie is regarded as one type of information. When the user joins the movie, he/she is activated in the movie cascade. Similar to the two data sets described above, 80% of the bean data was used as the training set, and the remainder was split equally to the test set and the validation set.
Experiments and evaluations were performed on three datasets, MEMETRACKER, DBLP and Douban, of the ICP-TMAN algorithm proposed by the present invention. For information propagation transfer issue to be a predictive problem, the invention uses four indexes of MRR, A@10, A@50 and A@100. Wherein A@k denotes the accuracy of the first k predictors.
Comparing ICP-TMAN with the following classical information transmission forwarding prediction methods, the ICP-TMAN is mainly distributed in three types of prediction methods: (1) a propagation model-based method, (2) a propagation path-based method, and (3) a propagation topology-based method. Specifically, the following is described.
Propagation model-based method: netRate is a method based on an independent cascading model that uses a propagation model of a continuous timing structure to predict the edges between two nodes and predict the dynamics of the underlying network structure on which it depends.
Propagation path-based methods: CYAN-RNN is a cyclic neural network based approach. The model takes into account the time steps of the cascading sequence, using the attention mechanism to model when users will be activated and the dependencies between users. This approach predicts not only who the next infected user is, but also when it will be infected; deepDiffuse is a model based on LSTM, which considers the order of user-specific infections in the information propagation cascade sequence, and uses the attention mechanism to obtain the dependency relationship between these users and the next infected user; DNM is a deep learning technique that uses convolutional neural networks and multi-headed attention mechanisms to obtain the dependencies between users. Using a self-attention mechanism to acquire an active user and predict the next infected user; TAN is a technique that uses deep learning, taking into account cascading sequence information and specific topic information. The method uses an attention mechanism to fuse the user and topics to acquire the dependency relationship between the user and the topics, so as to predict the next activated user; hiDAN is to design a non-sequential framework to model the cascading tree, use two layers of attention mechanisms to capture dependencies between users without direct correlation, and predict the interdependence of this node in the future.
The method based on the propagation topological graph comprises the following steps: topo-LSTM is a model based on LSTM, and modeling is performed by using Lattice-LSTM in consideration of structural information in a social network, and the situation that cascading sequences are not adjacent but adjacent in the social network structure is considered mainly, so that the next user participating in propagation can be effectively predicted.
Table 2 results of experiments comparing the Baseline method at MEMETRACKER, DBLP and Douban
Table 2 summarizes performance of the ICP-TMAN model with the seven baseline models on three datasets MEMETRACKER, DBLP and Douban. Where sub-optimal results are underlined. As can be seen from the table, the ICP-TMAN of the present invention was significantly higher than the seven baseline models in the performance of the three data sets on MRR, A@10, A@50, A@100. In particular, ICP-TMAN models were 15.98%,14.01,8.87%,5.95% improved over sub-optimal results in MRR, A@10, A@50, A@100, respectively. The ICP-TMAN model fully excavates user-topics, user-propagation context and deep embedded representation of user-infection history, and the fusion of the three effectively improves the performance of information forwarding behavior prediction. Furthermore, it can be seen from the table that model NetRate does not perform well because the traditional independent cascade-based approach relies heavily on static models of the underlying assumptions and, at the same time, gives nodes a probability of activation of the assumptions, with a certain gap from the true propagation structure. The suboptimal model HiDAN considers non-sequence dependency in the propagation cascade sequence, proves that influence exists between two users without direct information transmission, and also laterally verifies the effectiveness of modeling the influence of each preceding node and subsequent nodes on a target node in the invention, so that the performance of information propagation forwarding prediction is greatly improved, but topics are not considered, and a shielding self-attention network is not adopted to sense the dependence between users, so that the prediction performance is inferior to that of an ICP-TMAN model.
To verify the effectiveness of each module in the ICP-TMAN model, the present invention further conducted an ablation experiment.
ICP-TMAN -Inf: and removing text and topic information in the information propagation text to verify the improvement degree of the propagation mode under a specific topic and the traditional uniform propagation mode on the model prediction performance.
ICP-TMAN -Tim: the importance of the timing factor is verified by removing the module that the influence in information propagation is attenuated by the increase of time.
ICP-TMAN -Mas: and modeling the dependency relationship between the target user and the context user is removed, so that the importance degree of the factor of influence of the precursor node and the subsequent node of the setting user is observed.
Table 3 experimental results comparing variant methods on MEMETRACKER, DBLP and Douban datasets
The results of the ablation experiments on the microblog dataset and the APS dataset are shown in table 3, from which it can be seen that ICP-TMAN performed optimally compared to the other variants. The predictive performance is reduced to different extents after the three modules are removed. In particular, when the user and user context dependent representation of the masked attention network module is removed (i.e., ICP-TMAN -Mas), MRR, A@10, A@50, A@100 drop sharply across both MEMETRACKER, DBLP and Douban datasets. Fully described, in the cascade propagation list of modeling information of the model, the indispensable influence of the predecessor user and the successor user of the target user is included, so that the significant contribution of the user-context dependent representation to the model is described. Meanwhile, the topic information module and the time sequence attenuation module (namely ICP-TMAN -Inf and ICP-TMAN -Tim) are removed, ICP-TMAN prediction performance is obviously reduced on three data sets, prediction of next user activation in information cascade is illustrated, and the superiority of information transmission under specific topics in consideration of only uniform transmission in comparison with the traditional method is considered. While also verifying the necessity of taking into account time factors.
A comparison experiment is also performed on the selection of part of the parameters, and the comparison analysis is performed on the user-context dependent representation module stacking layers (Mas-layers) and the user-transmission history dependent stacking layers (His-layers). Fig. 2-4 show the variation of MRR, a@10, a@50, a@100 as the number of stacked layers increases. For MEMATRACKER datasets, as shown in FIG. 2, the four metrics reach their highest values when the number of user context-dependent stack layers, user propagation history-dependent stack layers, is 4 and 5, respectively. For DBLP datasets, as shown in FIG. 3, the predictive performance of the model is best when the number of user context-dependent stack layers and the number of user propagation history-dependent stack layers are both 8. For DouBan datasets, as shown in fig. 4, the ICP-TMAN model forwarding prediction performance is optimal when the number of user context dependent stack layers and the number of user propagation history dependent stack layers are 3 and 5, respectively.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.