Introduction
Strategic test allocation is a cornerstone of pandemic management, serving both to reduce transmission by identifying active cases and to track outbreak dynamics for targeted interventions. However, public health officials often face a "resource allocation" nightmare: with limited tests available, who should be prioritized? Standard approaches typically rely on static, rule-based strategies—such as testing only symptomatic individuals or close contacts—which fail to account for individual risk profiles or the evolving state of an epidemic.
In this work, we introduce an Online Super Learner framework for adaptive sequential surveillance. This approach treats testing strategies as "stochastic interventions" and learns to optimize test allocation in real-time, navigating the complexities of social networks and changing disease dynamics without requiring a pre-defined, rigid statistical model.
The Statistical Challenge: Latency and Dependence
Infectious disease data presents unique challenges that violate the standard assumptions of many statistical models. Specifically, we must contend with:
- Network and Temporal Dependence: Individuals are not independent data points; they infect one another through social networks, and the state of the outbreak today is inextricably linked to yesterday. This reduces the entire history of an outbreak to a single, interconnected observation.
- Latent Outcomes: The true status of interest—whether an individual is infectious—is a latent variable. We only observe a positive status if an individual is actually tested.
- Resource Constraints: Testing an entire population regularly is neither feasible nor efficient, necessitating a strategy that maximizes the utility of every available test.
The Online Super Learner Framework
We propose a fully nonparametric approach to adaptive surveillance. Instead of a simple binary decision, we model testing strategies as conditional probability distributions, or stochastic interventions. This allows us to define a causal target parameter: the mean latent outcome (infection rate) we would observe if a specific strategy were applied at the current time step, given the observed past.
To estimate this, we utilize an Online Super Learner (SL). The SL is an ensemble machine learning method that maintains a library of "working models." These models vary in their focus—some might look at long-term history, others at short-term windows, and others specifically at network connections. Rather than committing to a single model, the SL evaluates their performance in real-time and either selects the best-performing model (Discrete SL) or creates an optimal weighted combination of them.
Identification and Selection
A key technical contribution of this work is an identification result. We provide a mathematical proof showing that the target parameter (the latent infection rate) can be identified using only the observed testing data.
To choose the optimal strategy for the next time step, we employ Targeted Minimum Loss Estimation (TMLE). Specifically, we highlight the TMLE-CI selector, which incorporates confidence intervals to account for uncertainty. By picking the strategy with the best "guaranteed" lower bound on performance, the algorithm avoids "chasing noise" and remains robust against the inherent fluctuations of an outbreak.
Experimental Results: University Campus Simulation
We evaluated the Online SL using a sophisticated Agent-Based Model (ABM) simulating a residential university campus (modeled after UC Berkeley). The simulation included 20,000 individuals with realistic age distributions, living arrangements (dorms vs. off-campus), and social networks (classes and random encounters).
We compared the Online SL against several benchmarks, including random testing, a "symptomatic + contact tracing" approach (the current gold standard), and a risk-based Generalized Linear Model (GLM).
Key Findings: * Superior Control: In scenarios where only 1% to 4% of the population could be tested daily, the Online SL consistently achieved the lowest cumulative incidence of infection. * Significant Gains: At a 4% testing capacity, the TMLE-CI selector reduced the final cumulative incidence to approximately 1.9%, compared to 3.6% for the standard symptomatic and contact tracing approach. * Adaptive Intelligence: The algorithm demonstrated "honest" learning. Early in an outbreak, when data was sparse, it favored simpler strategies like contact tracing. As the epidemic evolved and data accumulated, it automatically shifted toward complex risk-based models capable of identifying asymptomatic spreaders.
Conclusion and Future Work
The Online Super Learner provides a robust framework for infectious disease surveillance that adapts to the unique structure of the data—whether that structure is found across samples, through time, or both. By moving away from rigid, rule-based testing, public health officials can more effectively suppress outbreaks even with limited resources.
Future research will focus on extending this framework to include other interventions, such as vaccination and masking, and exploring the use of "convex combinations" of designs to use multiple testing strategies simultaneously. Additionally, we aim to address scenarios where the underlying social network is not fully known, further increasing the method's real-world applicability.
Summary updated