DeepCas: An End-to-end Predictor of Information Cascades

Cheng Li, Jiaqi Ma, Xiaoxiao Guo, Qiaozhu Mei

Abstract

Predicting the future size of information cascades—such as viral social media posts or academic citations—is a critical task for understanding social dynamics. Traditional approaches rely heavily on manual feature engineering, which is often domain-specific and fails to capture complex structural patterns. We present DeepCas, an end-to-end deep learning framework that bypasses human feature engineering by representing cascade graphs as collections of adaptive random walk paths. By processing these paths through a Bi-directional Gated Recurrent Unit (GRU) with a novel attention mechanism, DeepCas automatically learns optimal representations for prediction. Our evaluation on real-world Twitter and citation datasets demonstrates that DeepCas significantly outperforms existing state-of-the-art methods.

Introduction

Information cascades dictate the spread of ideas, rumors, and products across networks. Predicting whether a piece of information will go viral is highly valuable for marketers, policymakers, and platform administrators. Historically, researchers have tackled this by manually engineering structural features like node centrality or community boundaries. However, this approach is fundamentally limited by arbitrary algorithmic choices and risks missing hidden structural patterns. DeepCas addresses these limitations by directly ingesting the graph structure and learning the necessary representations end-to-end.

Methodology

DeepCas treats a cascade graph through an analogy to natural language processing: nodes are words, random walk paths are sentences, and the cascade graph itself is a document. The architecture follows a four-step pipeline:

  1. Random Walk Sampling: Unlike standard fixed-length methods, DeepCas uses transition and jumping probabilities that allow walkers to explore both local neighborhoods and global structural holes.
  2. Sequence Encoding: Sampled node sequences are fed into a Bi-directional GRU to capture the sequential flow of information and update node representations based on their context within the diffusion path.
  3. Attention Mechanism: To handle varying cascade complexities, a novel attention mechanism dynamically learns how to assemble these sequences into a unified graph representation, adaptively deciding when enough paths have been sampled.
  4. Prediction: The final representation is passed through a Multi-Layer Perceptron (MLP) to predict the log-scaled increment of the cascade's future size.
The end-to-end architecture of DeepCas, illustrating the flow from graph sampling to size prediction.

Experimental Results

DeepCas was evaluated on two distinct datasets: a collection of Twitter retweet cascades and an academic citation network from Aminer (DBLP). In both cases, the model was tasked with observing a cascade for a set period and predicting its growth over a future time horizon.

Performance and Implicit Learning

DeepCas consistently outperformed eight strong baselines, including feature-based models and graph kernels, across all time-horizon configurations. A key finding was that the model implicitly learned classical network properties without human prompting. When learned embeddings were visualized using t-SNE, they clustered according to sociological concepts like community count, triangle closure, and edge density.

t-SNE visualizations demonstrating that DeepCas implicitly learns classical network properties like community structure and edge density.

Conclusion

DeepCas demonstrates that end-to-end deep learning can effectively replace manual feature engineering in cascade prediction. By leveraging adaptive random walks and attention mechanisms, the model captures the structural power of diffusion paths more accurately than traditional methods. Future work may involve incorporating content modalities (e.g., text) and temporal dynamics to further refine prediction accuracy.

Summary updated

BibTeX
@inproceedings{li2016deepcas,
  author = {Cheng Li and Jiaqi Ma and Xiaoxiao Guo and Qiaozhu Mei},
  title = {{DeepCas: An End-to-end Predictor of Information Cascades}},
  booktitle = {The Web Conference},
  year = {2016},
  doi = {10.1145/3038912.3052643},
}
Figure