Optimizing the order of actions in contact tracing

Michela Meister, Jon Kleinberg · DOI

Abstract: Contact tracing is a key tool for managing epidemic diseases like HIV, tuberculosis, and COVID-19. Manual investigations by human contact tracers remain a dominant way in which this is carried out. This process is limited by the number of contact tracers available, who are often overburdened during an outbreak or epidemic. As a result, a crucial decision in any contact tracing strategy is, given a set of contacts, which person should a tracer trace next? In this work, we develop a formal model that articulates these questions and provides a framework for comparing contact tracing strategies. Through analyzing our model, we give provably optimal prioritization policies via a clean connection to a tool from operations research called a "branching bandit". Examining these policies gives qualitative insight into trade-offs in contact tracing applications.

Introduction: The Contact Tracing Dilemma

Manual contact tracing is a cornerstone of public health, essential for controlling the spread of infectious diseases. However, the process is inherently resource-constrained. Human tracers often face a backlog of contacts, forcing them to make critical decisions: given a list of potentially infected individuals, whom should they call first?

This challenge can be viewed as a search on a hidden tree of infections. When an "index case" is identified, they reveal a set of contacts. Each contact, if infected, represents a new branch in the tree, potentially leading to further cases. The tracer must decide whether to prioritize "recency"—calling those exposed most recently to maximize treatment efficacy—or "branching potential"—calling those exposed earlier who may have already infected a larger cluster of people.

Figure 1: A representation of a contact tree where an index case (A) leads to multiple potential infection branches (B, C) and subsequent generations (D-H).

Modeling Tracing as a Branching Bandit

To address this, researchers Michela Meister and Jon Kleinberg propose a formal mathematical framework that maps contact tracing to the "branching bandit" problem from operations research. In a traditional multi-armed bandit problem, an agent chooses which "arm" to pull to maximize a reward. In the branching version, pulling an arm (querying a contact) not only provides a potential reward (finding and treating an infected person) but also generates new arms (revealing that person's contacts).

The authors model the process in two distinct phases. Phase 1 involves the stochastic spread of the infection through a population. In Phase 2, this process is "frozen," and the tracer begins querying the "frontier" of known contacts. By reducing the tracing problem to a branching bandit, the researchers can derive "index policies." These policies assign a priority value to each contact based on their attributes, such as the time since exposure. The optimal strategy is then simple: always trace the contact with the highest index.

Figure 2: A branching bandit model where nodes represent contacts with associated exposure times (t) and infection probabilities (p).

Key Theoretical Insights

The analysis yields several provably optimal strategies for different epidemiological scenarios:

  • The Optimality of Recency (Basic Model): If the probability of infection is constant regardless of when the exposure occurred, the optimal policy is "Last-In, First-Out" (LIFO). Tracers should always prioritize the most recent contacts. The immediate benefit of early intervention outweighs the potential discovery of larger, older clusters.
  • The Interleaving Property (Univariate Model): When the probability of infection decays over time, the optimal strategy becomes more complex. The authors prove an "interleaving property": the tracer should always choose either the most recent or the least recent contact, but never a middle-ground option. This suggests that compromising between recency and branching potential is mathematically suboptimal.
  • The Role of Span (Bivariate Model): By introducing "span"—the duration between a parent's infection and a child's exposure—the model shows that for contacts with identical recency, those with the shortest span should be prioritized.
  • Generalizability: The framework is robust enough to incorporate various categorical data, such as age or profession, provided these factors influence infection probability or the expected number of contacts.

Conclusion and Future Directions

This work provides a rigorous foundation for optimizing manual contact tracing, moving beyond heuristic "rules of thumb." By proving the optimality of specific prioritization policies, it offers qualitative insights that can inform public health guidelines.

However, the model currently assumes a "two-phase" structure where the infection stops spreading before tracing begins. Real-world tracing is dynamic, occurring while the disease is still active. Future research aims to extend these branching bandit models to dynamic settings and incorporate "backward tracing" to identify superspreader events. Additionally, while this model optimizes for successful treatments, future iterations could focus on minimizing the total number of future infections, a more complex but vital public health objective.

Summary updated

BibTeX
@misc{meister2021optimizing,
  author = {Michela Meister and Jon Kleinberg},
  title = {{Optimizing the order of actions in contact tracing}},
  year = {2021},
  eprint = {2107.09803},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.09803},
}
Figure