Learn to Vaccinate: Combining Structure Learning and Effective Vaccination for Epidemic and Outbreak Control

Sepehr Elahi, Paula Mürmann, Patrick Thiran

Introduction

Public health officials often face a "blindness" problem during infectious disease outbreaks. While they can track infections, the underlying social or environmental contact network is rarely known. Most optimal vaccination models assume a known network, but real-world interventions must often proceed with incomplete data. "Learn to Vaccinate" proposes a two-stage framework: first, learning the hidden contact network from infection data, and second, deploying vaccination strategies based on that learned structure.

The SIS Model and the Importance of Spectral Radius

The study focuses on the Susceptible-Infected-Susceptible (SIS) model, where individuals can be repeatedly infected. The primary goal is to minimize the extinction time—the duration until zero infections remain. A critical theoretical insight is that the disease's stability depends on the relationship between the infection probability ($p_{\text{inf}}$), recovery probability ($p_{\text{rec}}$), and the network's spectral radius ($\rho(\mathcal{G})$).

Figure 1: Heatmap showing time steps to meta-stability as a function of infection and recovery probabilities. The dashed line represents the theoretical threshold $\rho(\mathcal{G}) < p_{\text{rec}}/p_{\text{inf}}$ for disease extinction.

As shown in Figure 1, when the spectral radius is reduced below the threshold defined by the ratio of recovery to infection probabilities, the system moves toward extinction. This makes spectral radius minimization (SRM) a powerful lever for epidemic control.

Methodology

The authors' framework consists of two distinct phases:

1. Structure Learning (SISLearn)

The SISLearn algorithm reconstructs the network using an inclusion-exclusion approach. It first identifies candidate edges based on infection correlations and then prunes false positives by analyzing conditional influence. This allows the model to infer the underlying graph from observed infection cascades.

2. Vaccination Strategy

Once the graph is estimated, the goal is to reduce its spectral radius by vaccinating (removing) specific nodes. The authors propose two methods:

  • Exact Dynamic Programming (DP): Mathematically optimal for graphs with bounded treewidth.
  • Greedy Heuristic: A scalable approach for large, complex networks.
Figure 3: The Greedy vaccination algorithm iteratively selects and removes nodes that result in the greatest reduction of the network's spectral radius.

The greedy approach (Algorithm 4) provides a practical way to implement SRM in real-world scenarios where the exact DP might be computationally prohibitive.

Key Results and Insights

The framework was evaluated on synthetic Erdős-Rényi graphs and real-world outbreak data (e.g., Beijing 2009 Influenza, Pennsylvania 2009 H1N1). Key findings include:

  • Robustness to Imperfect Learning: Vaccination strategies remained highly effective even when the network was only partially recovered. The efficacy of vaccination plateaus early, suggesting that officials can act effectively before achieving a perfect model.
  • Superior Performance: The proposed DP and Greedy strategies consistently outperformed standard baselines like "Largest Degree" or random vaccination in terms of reducing infection rates and accelerating extinction.
  • Efficiency: SISLearn is highly scalable, processing graphs with 10,000 nodes in under ten minutes.

Conclusion

"Learn to Vaccinate" bridges the gap between network structure learning and epidemic control. By focusing on spectral radius minimization, the framework provides a robust path to managing outbreaks even under uncertainty. Future work will explore the "learning-acting trade-off," aiming to balance the time spent gathering data with the urgency of intervention.

Full Paper Citation: Sepehr Elahi, Paula Mürmann, and Patrick Thiran. "Learn to Vaccinate: Combining Structure Learning and Effective Vaccination for Epidemic and Outbreak Control." Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025.

Summary updated

BibTeX
@inproceedings{elahi2025learn,
  author = {Sepehr Elahi and Paula Mürmann and Patrick Thiran},
  title = {{Learn to Vaccinate: Combining Structure Learning and Effective Vaccination for Epidemic and Outbreak Control}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=5t2TWcPCvS},
}
Figure