A Recurrent Neural Cascade-based Model for Continuous-Time Diffusion

Sylvain Lamprier

TL;DR

This paper introduces a recurrent neural model for continuous-time information diffusion that captures the "hidden history" of how content spreads through a network. By treating diffusion as a tree-structured process rather than a simple sequence, the proposed model (recCTIC) successfully infers latent transmission paths and outperforms existing methods in predicting both who will be infected next and when.

What Problem Does This Paper Address?

Predicting how information, viruses, or behaviors spread across a social network is notoriously difficult. Most existing models fall into two camps:

  1. Markovian Cascade Models: These assume the probability of a new "infection" depends only on who is currently infected. They ignore the trajectory—the specific path the content took to get there—which often contains vital clues about the nature of the content itself.
  2. Sequence-based RNNs: These treat diffusion as a linear chronological list of events. However, diffusion isn't a line; it’s a tree (a cascade). Treating it as a sequence mixes up independent branches of spread, leading to "noisy" histories that degrade prediction accuracy.

Furthermore, in the real world, we rarely know the "ground truth" of who infected whom; we only see a list of timestamps of when nodes became active. The challenge is to build a model that can account for the path history while simultaneously inferring what those paths actually were.

Methods

The authors propose a topological recurrent neural model based on the Continuous-Time Independent Cascade (CTIC) framework.

Key technical innovations include:

  • Path-Dependent States: Each infected node is assigned a hidden state ($z$) that embeds the history of the trajectory followed by the content. When node $u$ infects node $v$, $v$’s state is calculated using a recurrent function (like a GRU) of $u$’s state and $v$’s own static embedding.
  • Continuous-Time Modeling: Instead of discrete steps, the model uses exponential distributions to handle the variable delays between infections.
  • Latent Path Inference: Since the actual infector of a node is often unknown, the authors treat the "ancestor sequence" as a latent variable. They use a Bayesian approach, maximizing the Evidence Lower Bound (ELBO).
  • Filtering Inference: To keep the math tractable, they use a "filtering" process where the model samples possible infectors based only on the past, allowing it to learn the most likely diffusion tree structure during training.

Datasets

The model was evaluated on one synthetic and three real-world datasets:

  • Arti: A synthetic scale-free graph (100 nodes) where transmission probabilities were explicitly tied to hidden content features.
  • Digg: Real-world data from the social news platform, focusing on the 100 most active users.
  • Weibo: Retweet cascades from the Chinese microblogging site (4,000 nodes).
  • Memetracker: A massive dataset of blog posts and news articles (500 nodes) used to trace the flow of phrases across the web.

Key Insights and Ideas

  • The Path is the Proxy: In many cases, we don't have access to the actual content being shared (due to privacy or noise). The authors' "aha moment" is realizing that the path the content takes acts as a high-quality proxy for the content's nature. If a specific "hub" node is infected by a tech influencer, it will likely infect different followers than if it were infected by a sports journalist.
  • Trees > Sequences: By constraining the recurrent state to follow specific ancestor branches rather than the entire global history, the model avoids the "noise" of unrelated parallel infections.
  • Learning the Structure: The model doesn't just predict the next infection; it effectively "uncovers" the underlying network dynamics by trying to find the most plausible tree structure that explains the observed timestamps.

Key Results

The proposed model, recCTIC, consistently outperformed baselines like standard CTIC, vanilla RNNs, and attention-based models (CYAN, DAN):

Performance on the Arti dataset
  • Modeling Accuracy: On the Arti dataset, recCTIC achieved a Negative Log-Likelihood (NLL) of 17.39, significantly better than the next best baseline (DAN at 18.71).
  • Path Prediction: In the task of identifying the true infector (INF measure), the model reached 0.90 accuracy on synthetic data, nearly doubling the performance of attention-based neural models.
  • Real-World Robustness: On the Weibo and Digg datasets, the model showed superior generalization, particularly in "long-term" modeling where it had to predict the evolution of a cascade from its very beginning ($\tau_0$).

Limitations and Future Work

The authors acknowledge that their current inference process is a "filtering" approach—it only looks at the past to sample the current infector. They suggest that a "smoothing" approach, which considers the entire diffusion episode (past and future) to infer the infector of a specific node, could be even more powerful.

Additionally, while the model handles the "who" and "when" of diffusion excellently, it still relies on a predefined set of nodes. Scaling this to dynamic networks where nodes join and leave frequently remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{lamprier2019recurrent,
  author = {Sylvain Lamprier},
  title = {{A Recurrent Neural Cascade-based Model for Continuous-Time Diffusion}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure