Information diffusion—the process by which rumors, viral memes, or new technologies propagate through a population—has traditionally been analyzed through a macroscopic lens. Researchers typically focus on aggregate metrics, such as the final size of a cascade. However, this approach fails to address the granular needs of marketers or epidemiologists who require "microscopic" predictions: identifying the specific individuals likely to be infected next.
This paper introduces the Neural Diffusion Model (NDM), a novel framework designed to predict the step-by-step evolution of information cascades, even when the underlying social network is completely unobserved.
The Shift to Microscopic Prediction
Most existing cascade models suffer from two primary limitations. First, they focus on macroscopic outcomes, ignoring the sequential dynamics of user-level infections. Second, they often rely on rigid frameworks like the Independent Cascade (IC) model, which assumes fixed infection probabilities and requires an explicit social graph. In real-world scenarios, such graphs are often hidden; we may see who adopted a product, but not who influenced them.
NDM addresses these challenges by treating cascade prediction as a sequence modeling problem, capturing complex influence patterns without needing a predefined network structure.
The Neural Diffusion Model (NDM) Architecture
NDM employs a two-stage deep learning architecture to model the diffusion process:
- Attention Layer (The "Who Matters" Filter): Recognizing that not all previously infected users are equally influential, NDM uses a Multi-head Attention mechanism. It calculates weights for previous users based on their correlation with the most recently infected individual, allowing the model to focus on relevant influencers while filtering out noise.
- Convolutional Layer (The "When Matters" Filter): To capture temporal dynamics beyond simple exponential decay, NDM utilizes a CNN with a sliding window. This layer learns position-specific weights, modeling how the relative order and timing of infections impact the probability of the next step.
- Termination Handling: To manage cascades of varying lengths, the model includes a virtual "Terminate" user. Predicting this user signals the natural end of a diffusion sequence.
Evaluation Datasets
The model was rigorously evaluated on four diverse, real-world datasets where the underlying social links are unobserved:
- Lastfm: Music streaming histories.
- Irvine: Student forum interactions.
- Memetracker: The spread of quotes across news and blogs.
- Twitter: The propagation of URLs via tweets and retweets.
Key Insights and Ideas
- Learning the Invisible Graph: NDM demonstrates that an explicit social graph is not a prerequisite for accurate prediction. By learning user embeddings directly from infection sequences, the model implicitly reconstructs the underlying social structure. In fact, NDM's learned embeddings were better at predicting actual Twitter followers than models that had access to more explicit information.
- Cumulative Influence: While the most recent infection is often the most predictive, NDM’s CNN weights reveal that earlier users continue to exert significant influence. This highlights the importance of modeling cumulative effects rather than just the "last person" in the chain.
- Computational Efficiency: Unlike traditional graph-based models that struggle with large-scale data, NDM leverages matrix operations optimized for GPUs. On a Twitter dataset with 19 million potential links, NDM converged in just 6 hours, whereas baseline models failed to complete within 72 hours.
Results and Performance
NDM consistently outperformed state-of-the-art baselines, including Netrate, Infopath, and LSTM. Notably, it achieved a 26% relative improvement in Macro-F1 score on the Memetracker dataset. The model is particularly adept at predicting the "first wave" (the initial five users) of a cascade, making it a powerful tool for early-stage viral marketing or rumor containment.
Limitations and Future Work
While highly effective, NDM's user embeddings remain somewhat of a "black box." Future research could focus on making these embeddings more interpretable by linking them to observable user features. Additionally, the current model primarily considers the order of infections; incorporating precise timestamps and the actual content of the information could further enhance prediction accuracy.
Summary updated