TL;DR
Information diffusion is more than just a sequence of events; it is a structural flow across a network. This paper introduces Topo-LSTM, a novel recurrent neural network designed to predict the next node in a diffusion cascade by explicitly modeling the "diffusion topology"—the dynamic, directed acyclic graph (DAG) formed as information spreads. By capturing these complex structural dependencies, Topo-LSTM outperforms state-of-the-art baselines by up to 56% in prediction accuracy.
Introduction
Predicting how information, such as a viral tweet or a news story, spreads through a social network is a classic problem with applications in marketing, public health, and social science. The core task is diffusion prediction: given a set of nodes that have already "activated" (e.g., shared a link), which inactive node is most likely to activate next?
Most existing deep learning approaches treat a cascade as a simple chronological sequence ($Node A \to Node B \to Node C$). However, this ignores the underlying "social fabric." If Node A and Node B are both friends with Node C, Node C’s activation might be a result of combined influence from both. Existing models that consider graph structure often oversimplify it into random walks or static embeddings. The authors argue that a cascade has a rich, evolving diffusion topology that standard Recurrent Neural Networks (RNNs) are unequipped to handle.
Methods
The authors propose Topo-LSTM, an extension of the Long Short-Term Memory (LSTM) architecture specifically tailored for dynamic DAGs.
Diffusion Topology as a Data Model
Instead of a sequence, the authors define a "diffusion topology" at each time step. This is a DAG where edges represent possible activation attempts based on the underlying social graph. As the cascade grows, this topology grows monotonically.
The Topo-LSTM Architecture
Standard LSTMs process one input at a time. To handle a DAG where a node might have multiple "parents" (precedents), Topo-LSTM introduces two major changes:
- Input Differentiation: It distinguishes between two types of influences: active nodes directly connected to the target node in the social graph (precedents) and other active nodes in the cascade not directly connected.
- Aggregation Gates: Since a node can have multiple precedents, Topo-LSTM uses an aggregation function (like mean pooling) to combine the hidden states and cell states of all influencing nodes before passing them through the LSTM gates.
Sender-Receiver Embeddings
The model learns two roles for every node:
- Sender Embedding: Captures the node's influence and the dynamic context of how the cascade reached it.
- Receiver Embedding: Captures a node's static susceptibility to being activated.
Datasets and Results
The model was evaluated on three diverse real-world datasets: Digg (voting network), Twitter (URL diffusion), and Memes (news website tracking). Topo-LSTM demonstrated significant performance gains across all datasets using Mean Average Precision (MAP) and Hits@k metrics:
- Relative Improvement: It outperformed the best baselines (like DeepCas and Embedded-IC) by 20.1% to 56.6% in MAP.
- Digg Performance: The model saw its highest gains on the Digg dataset, improving MAP@10 from 3.743 (DeepCas) to 5.862.
- Robustness: While simpler models performed well on smaller datasets due to lower parameter counts, Topo-LSTM remained superior in capturing the complex dynamics of larger, more active cascades.
Key Insights
- Structure > Sequence: The path information takes is just as important as the timing. A node activated by three influential neighbors is different from a node activated by one distant acquaintance.
- Dynamic Context: Unlike previous models that used static node embeddings, Topo-LSTM's "sender" embeddings are dynamic, evolving based on the specific topology of the current cascade.
- Handling DAGs in RNNs: By using aggregation functions within the LSTM cell, the authors successfully adapted recurrent units to handle the "many-to-one" nature of network influence.
Limitations and Future Work
The current model relies entirely on network structure and activation order, ignoring the actual content of the diffusion (e.g., tweet text). Future work could incorporate continuous timestamps and interaction frequency (edge weights) to further refine prediction precision.
Summary updated