Hierarchical Diffusion Attention Network

Zhitao Wang, Wenjie Li

Introduction

Predicting how information spreads across social networks—a process known as information diffusion—is critical for understanding public opinion, viral marketing, and the spread of misinformation. Traditionally, these diffusion "cascades" have been modeled as sequences, similar to sentences in natural language processing. However, this approach often fails to capture the complex, non-linear reality of social influence.

The Problem: Flaws in the Sequential Assumption

Most existing models rely on Recurrent Neural Networks (RNNs) to predict the next user in a cascade. This assumes a sequential dependency: that each user is primarily influenced by the user immediately preceding them.

In reality, information diffusion is governed by an underlying social graph where dependencies are often non-sequential. For instance, a user might be directly influenced by the original poster (the root of the cascade) even if several other users have shared the content in the interim. Standard RNNs struggle with this because they compress the entire history into a single hidden state, causing direct, long-range dependencies to be diluted or lost. Furthermore, the influence of a past user naturally decays over time, a factor that simple sequential models often overlook.

Contrasting the sequential assumption of traditional models with the complex, non-sequential dependencies found in real-world information diffusion.

Methodology: Hierarchical Attention

The Hierarchical Diffusion Attention Network (HiDAN) addresses these limitations by moving away from recurrence in favor of a two-level hierarchical attention mechanism. This architecture allows the model to "reach back" to any point in a cascade's history without information loss.

1. User-Level Dependency Attention

This layer identifies which previous users in a cascade likely influenced the current user. By using an attention mask to maintain causality, the model evaluates all prior participants simultaneously. A fusion gate then combines the user's individual characteristics with this "dependency context" to create a robust representation of the current state.

2. Cascade-Level Time-Aware Influence Attention

To account for the temporal nature of influence, HiDAN incorporates a learned time-decay component. Instead of using a fixed mathematical decay function (like exponential decay), HiDAN discretizes time intervals into vectors. This allows the model to learn complex, non-linear decay patterns specific to the platform or content type directly from the data.

The HiDAN architecture, highlighting its two-level hierarchical attention mechanism for modeling user dependencies and time-aware influence.

Because HiDAN avoids the step-by-step bottleneck of RNNs, it can process entire cascades in parallel, leading to significant gains in computational efficiency.

Experimental Results

HiDAN was evaluated against state-of-the-art models (including LSTM and CYAN-RNN) on three diverse real-world datasets: Memes (news/blogs), Weibo (microblogging), and Twitter (hashtags).

  • Superior Accuracy: On the Twitter dataset, HiDAN achieved a Mean Reciprocal Rank (MRR) of 5.74, more than doubling the performance of the best LSTM-based baseline (2.73).
  • Enhanced Efficiency: The model demonstrated a massive speedup in training. For the Memes dataset, HiDAN required only 12 seconds per epoch, compared to 38 seconds for Att-LSTM and over 22 seconds for CYAN-RNN.
  • Interpretability: Case studies on synthetic data confirmed that HiDAN's attention weights closely align with "ground truth" diffusion paths, proving the model successfully learns the underlying social dependencies.

Conclusion

HiDAN represents a significant shift in diffusion modeling by replacing sequential recurrence with hierarchical attention. By explicitly modeling non-sequential dependencies and learning platform-specific time decay, it provides a faster, more accurate, and more interpretable framework for predicting how information travels through social networks. Future work may involve integrating explicit social graph data and content-based features to further refine these predictions.

Summary updated

BibTeX
@inproceedings{wang2019hierarchical,
  author = {Zhitao Wang and Wenjie Li},
  title = {{Hierarchical Diffusion Attention Network}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/531},
}
Figure