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

Cheng Li, Jiaqi Ma, Xiaoxiao Guo, Qiaozhu Mei

TL;DR

DeepCas is the first end-to-end deep learning framework designed to predict the future growth of information cascades, such as viral tweets or scientific citations. By representing cascade graphs as sets of random walk paths and processing them through an attention-based recurrent neural network, it automatically learns complex structural features that previously required manual, platform-specific engineering.

What Problem Does This Paper Address?

Information cascades—the way ideas, rumors, or products spread through a social network—are notoriously difficult to predict. Traditional machine learning approaches rely heavily on "hand-crafted" features, such as node centrality, community density, or "structural holes."

The authors identify three major flaws in this status quo:

  1. Generalizability: Features that work for Facebook photos might not work for Twitter hashtags or academic citations.
  2. Arbitrary Design: There is no common principle for which features to use (e.g., which of the hundreds of community detection algorithms is "correct"?).
  3. Information Loss: Manual feature extraction often discards subtle structural signals that could be vital for prediction.

DeepCas aims to solve this by moving to an end-to-end learning paradigm, where the model learns the best representation of a cascade graph directly from the raw network structure.

Methods

The core innovation of DeepCas is how it transforms a graph into a format suitable for deep learning while preserving both node identities and global structure.

  1. Random Walk Sampling: Instead of treating a cascade as a "bag of nodes," DeepCas samples a set of paths using a specialized Markov chain. This treats nodes like words and paths like sentences, effectively turning a graph into a "document." The Markov chain of random walk.

  2. Bi-directional GRU Encoding: These paths are fed into a Gated Recurrent Unit (GRU) network. The bi-directional nature allows the model to capture how information flows both "downstream" from a source and "upstream" from early adopters.

  3. Attention Mechanism: Not all paths are equally important. DeepCas uses a novel attention mechanism that assumes a geometric distribution over sequences. This allows the model to adaptively decide how many paths and what path lengths are needed to represent a specific cascade's complexity. Attention to assemble the representation of the graph.

  4. End-to-End Pipeline: The entire process—from node embeddings to the final size prediction—is differentiable, meaning the model optimizes its internal representations specifically to minimize prediction error. The end-to-end pipeline of DeepCas.

Figure 2: The Markov chain of random walk.
Figure 3: Attention to assemble the representation of the graph.
Figure 1: The end-to-end pipeline of DeepCas.

Datasets

The authors evaluated DeepCas on two distinct domains to prove its generalizability:

  • TWITTER: A dataset of English tweets from June 2016. The global network was constructed from 354,634 nodes and nearly 28 million edges representing retweets and mentions.
  • AMINER: A citation network of scientific papers (DBLP). The global network includes 131,415 authors and their citation ties from 1992 to 2002.

In both cases, the goal was to predict the increment in cascade size (e.g., new retweets or new citations) after a specific observation window.

Key Insights and Ideas

  • Whole-Graph Representation is Key: The authors found that simple node embeddings (like node2vec) fall short because they don't capture the cascade graph as a unified entity. Learning the representation of the entire cascade structure is critical.
  • "Automatic" Feature Discovery: By visualizing the learned representations using t-SNE, the authors showed that DeepCas automatically "re-discovered" classic network features like closed triangles and community structures without being told to look for them.
  • Node Identities Matter: Unlike some graph kernels or convolutional methods that focus only on topology, DeepCas incorporates node IDs. This allows the model to learn that certain specific users (influencers) or authors are more likely to trigger large cascades.
  • Adaptive Complexity: The attention mechanism effectively learns that more "influential" or complex cascades require more paths and longer sequences to be accurately represented.

Key Results

DeepCas significantly outperformed all baselines, including feature-based linear/deep models, node embedding methods (node2vec), and graph kernels (WL-kernel).

  • Quantitative Performance: On the Twitter dataset, DeepCas achieved a Mean Squared Error (MSE) as low as 0.849, compared to 0.884 for the best feature-based deep model.
  • Robustness: The performance gains were consistent across different prediction horizons (predicting 1, 3, or 5 days/years into the future).
  • Efficiency: Despite its complexity, the model is efficient to train, taking less than 30 minutes for a complete dataset on a single Titan X GPU.

Limitations and Future Work

  • Structural Focus: DeepCas currently only uses network structure and node identities. It does not incorporate the content of the information (e.g., the text of a tweet) or temporal signals (the exact timing of each reshare), which are known to be strong predictors.
  • Static Global Network: The model assumes the underlying global social network is static during the prediction window, which may not hold true for long-term cascades.
  • Future Directions: The authors suggest exploring reinforcement learning to automatically choose the best random walk strategies for different types of networks.

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