Abstract
We present the Small-Coupling Dynamic Cavity (SCDC) method, a novel generalized mean-field approximation for epidemic inference and risk assessment within a fully Bayesian framework. SCDC accounts for non-causal effects of observations and uses a graphical model representation of epidemic processes to derive self-consistent equations for edge probability marginals. A small-coupling expansion yields time-dependent cavity messages capturing individual infection probabilities and observational conditioning. With linear computational cost per iteration in the epidemic duration, SCDC is particularly efficient and valid even for recurrent epidemic processes, where standard methods are exponentially complex. Tested on synthetic networks, it matches Belief Propagation in accuracy and outperforms individual-based mean-field methods. Notably, despite being derived as a small-infectiousness expansion, SCDC maintains good accuracy even for relatively large infection probabilities. While convergence issues may arise on graphs with long-range correlations, SCDC reliably estimates risk. Future extensions include non-Markovian models and higher-order terms in the dynamic cavity framework.
Introduction
Epidemic inference is the critical task of calculating the probability that a specific individual is infected based on limited population testing. This "detective work" is mathematically challenging, particularly for recurrent diseases (like the flu or SIS/SIRS models) where individuals can be reinfected. In these cases, the number of possible infection histories grows exponentially over time, creating a "state-space explosion" that renders standard methods like Belief Propagation (BP) computationally impossible for large-scale use. While simpler mean-field methods exist, they often ignore complex neighbor correlations, leading to significant inaccuracies.
Methodology
The Small-Coupling Dynamic Cavity (SCDC) method bridges the gap between high-accuracy BP and high-speed mean-field approximations. It treats the epidemic as a graphical model where "messages" are passed between nodes. The core innovation is a small-coupling expansion: by assuming the probability of infection between any two individuals is relatively small, the authors truncate complex equations into a simpler first-order form.
Key technical features include:
- Non-Causal Inference: SCDC accounts for "backward" information flow, meaning a positive test result today updates the understanding of who was likely infected in the past.
- Transfer-Matrix Formulation: This approach reduces computational complexity to $O(S^2 |E| T)$, making it linear in the duration of the epidemic ($T$) rather than exponential.
Experimental Evaluation
The method was rigorously tested against several benchmarks, including synthetic networks (Regular trees, Random Regular Graphs, and Proximity Graphs), agent-based models (OpenABM-Covid19 and Covasim), and real-world contact networks (RFID proximity data from offices and schools).
Results and Discussion
SCDC performs on par with Belief Propagation and significantly outperforms standard Individual-Based Mean Field (IBMF) methods across almost all network types.
As shown in Figure 1, SCDC (solid blue line) accurately tracks the ground truth provided by MCMC (dashed red) and BP (dashed green). In contrast, the IBMF method (dotted orange) consistently overestimates the fraction of infected individuals as time progresses. Despite being derived under a "small coupling" assumption, SCDC remains remarkably robust even when infection probabilities are relatively high.
In risk assessment tests (ROC curves), SCDC consistently showed high Area Under the Curve (AUC) values, proving its reliability in ranking individuals by their infection risk. This scalability and accuracy make it feasible for monitoring populations of millions.
Limitations and Future Work
While powerful, SCDC can face convergence issues on networks with many short loops or long-range correlations. Additionally, the current efficient version is constrained to Markovian models, meaning it cannot yet handle "memory" effects like varying incubation periods. Future research will focus on incorporating higher-order terms to improve accuracy in dense networks and extending the framework to non-Markovian processes.
Summary updated