Inference of causality in epidemics on temporal contact networks

Alfredo Braunstein, Alessandro IngrossoScientific 2016

Abstract

Investigating the past history of an epidemic outbreak is a paramount problem in epidemiology. Based on observations about the state of individuals, knowledge of the network of contacts, and a mathematical model for the epidemic process, the problem consists in describing features of the posterior distribution of unobserved past events, such as the source, potential transmissions, and undetected positive cases. Several methods have been proposed for these inference problems on discrete-time, synchronous epidemic models, including naive Bayes, centrality measures, and Belief Propagation. However, most real networks consist of short-time contacts on continuous time. Discretizing the timeline into identical intervals becomes impractical as precision requirements increase computational costs. We present an extension of the Belief Propagation (BP) method able to deal with continuous-time events without resorting to time discretization, and investigate its effectiveness in reconstructing epidemic history.

Introduction: The Challenge of Retrospective Analysis

When an outbreak occurs, epidemiologists often possess only a "snapshot" of the population's current state—who is infected, who has recovered, and who remains susceptible. To prevent future occurrences and understand disease dynamics, it is critical to look backward: identifying "patient zero" (the index case), timing specific transmissions, and locating undetected infections.

Traditionally, this inference is performed by discretizing time into small bins. This approach introduces a significant trade-off: large bins lose critical timing information, while small bins lead to an explosion in computational complexity. This research introduces a method to bypass this "Goldilocks problem" by utilizing the actual, continuous-time timestamps of human interactions.

Methodology: Semi-Continuous Belief Propagation

The researchers developed a semi-continuous time SIR (Susceptible-Infected-Recovered) model. Unlike discrete models that check for state changes at every clock tick, this model only considers the discrete moments when contacts actually occur within a dataset.

The core of the inference engine is an adaptation of Belief Propagation (BP), a message-passing algorithm. While BP is exact on tree-like structures, it serves as a robust approximation for the complex, loopy "small-world" networks typical of human social structures. Key innovations include:

  • Parameterization: Primary variables are defined as infection times ($t_i$) and recovery durations ($g_i$).
  • Efficient Factorization: The posterior distribution is recast to allow message computation in $O(n^2)$ time relative to contacts per person.
  • Observational Robustness: An "Observational Transition Matrix" accounts for noisy data, such as false negatives in testing.

Experimental Validation

The method was tested on two high-resolution real-world datasets:

  1. Sexual Interaction Network: A proxy for STI pathways based on a Brazilian escort-client interaction website (2002–2008).
  2. High School Contact Network: Face-to-face interactions captured via wireless sensors in a US high school, representing pathways for respiratory diseases.

Key Results and Insights

Identifying Patient Zero

The algorithm demonstrates remarkable precision in identifying the epidemic source. In a network of over 16,000 individuals, the true source was frequently ranked as the top suspect.

Probability distribution of the rank of the true source (i0) across different infection rates (λ). The peak at rank 1 indicates high accuracy in source identification.

As shown in the figure above, the probability of correctly identifying the source ($P(\text{rank } i_0)$) is highest at rank 1 across various infection rates ($\lambda$). Furthermore, the algorithm's performance remains stable even as the size of the outbreak grows.

Average rank of the true source as a function of the total number of infected and recovered individuals (|I|+|R|). The rank remains consistently low, even in large outbreaks.

Causality and Resilience

Beyond identifying the source, the method reconstructs the "causality tree"—the specific chain of transmission—with high reliability, achieving an Area Under the ROC Curve (AUC) of nearly 0.9. The algorithm also proved resilient to information gaps, maintaining accuracy even when 30% of observations were noisy or a significant portion of the population's status was unknown.

Conclusion

By moving away from time discretization, this semi-continuous BP approach provides a more precise and computationally efficient way to trace disease spread. A parallel C++ implementation converged in approximately 11 minutes for a network of 18,000+ individuals, proving its scalability. Future work may expand the model to include latent periods (SEIR) and non-exponential recovery distributions, potentially extending its utility to forensic computer virus tracing or hospital ward monitoring.

Summary updated

BibTeX
@inproceedings{braunstein2016inference,
  author = {Alfredo Braunstein and Alessandro Ingrosso},
  title = {{Inference of causality in epidemics on temporal contact networks}},
  booktitle = {Scientific},
  year = {2016},
  doi = {10.1038/srep27538},
}
Figure