Higher-order Interaction Matters: Dynamic Hypergraph Neural Networks for Epidemic Modeling

Songyuan Liu, Shengbo Gong, Tianning Feng, Zewen Liu, Max S. Y. Lau, Wei JinarXiv 2025 · DOI

TL;DR

This paper introduces EpiDHGNN, a novel dynamic hypergraph neural network that models human contact networks to improve epidemic modeling. By leveraging hypergraphs to capture higher-order interactions (groups of people interacting simultaneously), EpiDHGNN significantly outperforms traditional graph-based methods in tasks like identifying epidemic sources and forecasting future infections.

What Problem Does This Paper Address?

Accurately modeling the spread of infectious diseases is crucial for public health. Traditional epidemiological models, like SIR, often rely on simplified assumptions. While graph neural networks (GNNs) have advanced epidemic modeling by representing spatial relationships (e.g., mobility between locations), they primarily focus on pairwise interactions. This overlooks the reality of human contact, where multiple individuals interact simultaneously in shared spaces like workplaces or public transport. These "higher-order interactions" are vital for understanding disease transmission dynamics but are not well-captured by standard graph structures. This gap limits the predictive power and accuracy of existing models.

Methods

The core innovation is the use of dynamic hypergraphs to represent human contact networks. In this framework:

  • Nodes represent individuals.
  • Hyperedges represent locations or events where multiple individuals interact. This explicitly models higher-order interactions, unlike standard graphs where such groups would be represented by artificial cliques.

The proposed model, EpiDHGNN, is a dynamic hypergraph neural network designed for epidemic modeling. It comprises:

  1. Spatio-Temporal Encoder: This component uses hypergraph convolutional operators to aggregate information from high-order neighbors (individuals within the same hyperedge) and then applies 1D convolutions across time to capture temporal dependencies. This allows the model to learn both spatial relationships and how these interactions evolve over time.
  2. Contact Pattern Awareness Module: This is a novel self-supervised module designed to predict human interactions. It learns to reconstruct contact patterns from past hypergraphs, injecting a "human-contact-aware inductive bias" into the node embeddings. This helps the model better understand typical interaction probabilities (e.g., frequent contact with family vs. less frequent contact with club members).

The overall loss function combines a task-specific loss (for source detection and forecasting) with the self-supervised contact pattern loss, balanced by a hyperparameter $\alpha$.

Datasets

The authors evaluated EpiDHGNN on two datasets:

  • UVA Dataset: A real-world dataset derived from Electronic Healthcare Records (EHRs) at the University of Virginia hospital, documenting patient and healthcare worker encounters.
  • EpiSim Dataset: A synthetic dataset generated by the Mobility Intervention of Epidemic's Simulator, which models human movement and disease transmission with simulated contact patterns.

Key Insights and Ideas

  • Hypergraphs are a natural fit for modeling human contact: The paper convincingly argues that hypergraphs, with their ability to represent group interactions directly, are superior to standard graphs for capturing the complexity of human contact networks relevant to epidemic spread.
  • Higher-order interactions matter: The experimental results strongly suggest that explicitly modeling these group interactions leads to significant improvements in epidemic modeling tasks.
  • Contact patterns are crucial for accurate prediction: The self-supervised contact pattern awareness module demonstrably improves performance, indicating that understanding typical interaction behaviors is key to robust epidemic forecasting and source detection.
  • Dynamic modeling is essential: The use of dynamic hypergraphs allows the model to adapt to changing interaction patterns over time, which is critical for real-world epidemic dynamics.

Key Results

  • Superior Performance: EpiDHGNN consistently outperforms baseline graph-based models (STGCN, ASTGCN, MSTGCN) on both source detection and infection forecasting tasks across both UVA and EpiSim datasets.
  • Source Detection: For example, on the UVA dataset with a hidden timestep of 5, EpiDHGNN achieved an MRR of 0.704, significantly higher than the best baseline (MSTGCN) at 0.618.
  • Infection Forecasting: Similarly, for UVA with a prediction horizon of 5, EpiDHGNN achieved an F1 score of 0.721, outperforming the best baseline (MSTGCN) at 0.721 (though EpiDHGNN's result is slightly higher with a smaller standard deviation).
  • Ablation Study: Removing the contact pattern awareness module led to a noticeable decline in performance, confirming its importance.
  • Generalizability: The model accurately captures short-term population-level infection dynamics and tracks broader fluctuations at longer time steps, albeit with reduced precision.

Limitations and Future Work

  • Hyperparameter Tuning: While the hyperparameter $\alpha$ (balancing task loss and pattern loss) showed little correlation with final performance in some settings, its influence on specific tasks or datasets might warrant further investigation.
  • Model Selection: The authors suggest exploring alternative model architectures within the EpiDHGNN framework and investigating advanced hypergraph-based learning techniques for further improvements.
  • Realistic Synthetic Data: Developing more realistic synthetic algorithms that capture social clustering, geographic mobility, and temporal dynamics is crucial for overcoming privacy concerns and data scarcity in real-world simulations. This would provide stronger benchmarks for epidemic modeling.
  • Long-Horizon Forecasting: While the model shows promise, the paper notes that precision decreases at longer time steps, suggesting room for improvement in long-term forecasting.

Summary updated

BibTeX
@misc{liu2025higher,
  author = {Songyuan Liu and Shengbo Gong and Tianning Feng and Zewen Liu and Max S. Y. Lau and Wei Jin},
  title = {{Higher-order Interaction Matters: Dynamic Hypergraph Neural Networks for Epidemic Modeling}},
  year = {2025},
  eprint = {2503.20114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.20114},
}
Figure