Finding Patient Zero: Learning Contagion Source with Graph Neural Networks

Chintan Shah, Nima Dehmamy, Nicola Perra, Matteo Chinazzi, Albert-László Barabási, Alessandro Vespignani, Rose Yu

Identifying the source of an outbreak, often called "Patient Zero" (P0), is a critical task in epidemiology. Early identification allows for the reconstruction of transmission chains and the strategic deployment of resources to halt a pandemic. However, tracing an epidemic backward is a complex "inverse problem" due to the inherent stochasticity of human interactions and the structural complexity of social networks.

Researchers from Northeastern, Harvard, and UCSD have demonstrated that Graph Neural Networks (GNNs) can identify the source of a contagion significantly faster and more accurately than traditional methods, even without prior knowledge of specific disease parameters.

The Challenge of Inverse Contagion

Traditional approaches to finding Patient Zero typically rely on graph-theoretic centrality measures or Dynamic Message Passing (DMP) algorithms. These methods face two significant hurdles:

  1. Parameter Dependency: They require precise knowledge of disease dynamics, such as infection ($\beta$) and recovery ($\gamma$) rates.
  2. Computational Complexity: They are computationally expensive, often requiring hours to process moderately sized networks—a critical delay during a fast-moving outbreak.

Furthermore, real-world social networks contain many cycles (e.g., triangles of mutual friends), which introduce ambiguity. If an entire cluster is infected, determining the original source becomes mathematically challenging.

GNNs as Reaction-Diffusion Solvers

The researchers' core innovation lies in treating contagion as a Reaction-Diffusion (RD) process. They established a structural equivalence between RD dynamics on a graph and the message-passing architecture of GNNs. This theoretical link suggests that GNNs are naturally suited to learning the patterns of how a disease propagates through a network.

The study evaluated several GNN architectures, including standard Graph Convolutional Networks (GCNs) and Graph Attention Networks (GATs). Crucially, these models are model-agnostic; they do not require explicit infection or recovery rates, instead learning to infer the source directly from the observed state of the graph.

Performance and Efficiency

The GNN models were tested against synthetic graphs (e.g., Barabási-Albert, Erdős-Rényi) and a high-fidelity real-world dataset based on Boston mobility data simulated with a COVID-19 SEIR model.

Performance comparison and inference times across different synthetic graph types.

As shown in the results, GNNs consistently outperformed the state-of-the-art DMP algorithm in accuracy across various graph topologies. More impressively, GNNs achieved an inference speedup of over 100x. While DMP took over 70 hours for certain test sets, GNNs completed the same task in seconds, making them viable for real-time public health response.

Theoretical Limits and the "Ticking Clock"

A key contribution of this work is the derivation of a "Time Horizon" ($t_{max}$). The authors proved that after a certain duration, the "signal" of the source is inevitably lost to the noise of the epidemic's spread.

Empirical accuracy of GNNs compared to theoretical upper bounds over time.

The researchers found that GNN performance closely tracks these theoretical upper bounds. This indicates that GNNs are not merely effective heuristics but are approaching the mathematical limits of what can be inferred from a single snapshot of an epidemic.

Conclusion and Future Directions

While GNNs represent a major leap forward, limitations remain. Current models typically rely on a single snapshot of the network and assume a single source of infection. Future work may involve using temporal GNNs to process sequences of snapshots or adapting the models to handle multiple index cases and partial observability of node states.

By bridging the gap between deep learning and epidemiological theory, this research provides a powerful new tool for "AI-augmented contact tracing," respecting the fundamental mathematical constraints of contagion while delivering unprecedented speed and accuracy.

Summary updated

BibTeX
@misc{shah2020finding,
  author = {Chintan Shah and Nima Dehmamy and Nicola Perra and Matteo Chinazzi and Albert-László Barabási and Alessandro Vespignani and Rose Yu},
  title = {{Finding Patient Zero: Learning Contagion Source with Graph Neural Networks}},
  year = {2020},
  eprint = {2006.11913},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11913},
}
Figure