Bayesian group testing with dilution effects

Curtis Tatsuoka, Weicong Chen, Xiaoyi Lu

TL;DR

This paper introduces a Bayesian framework for group testing that explicitly accounts for "dilution effects"—the drop in test sensitivity when samples are pooled. By leveraging lattice-based models and a "Bayesian halving algorithm," the researchers demonstrate how to drastically reduce the number of tests needed for large-scale disease surveillance while maintaining high accuracy, even under noisy conditions.

What Problem Does This Paper Address?

Group testing (or pooling) has been a staple of public health since the 1940s. The idea is simple: combine samples from multiple people and run one test. If it’s negative, everyone in the pool is cleared. If it’s positive, you re-test individuals to find the culprit.

However, two major hurdles often break standard pooling strategies:

  1. Dilution Effects: As you add more negative samples to a pool, the concentration of a positive biomarker (like viral RNA) drops, making it harder for a test to detect. This leads to false negatives.
  2. Dynamic Conditions: Disease prevalence and individual risk levels aren't static; they shift with new variants, vaccination rates, and seasonality.

The authors tackle these challenges by moving away from rigid, "one-size-fits-all" pooling rules toward an adaptive, Bayesian approach that can handle imperfect tests and varying risks.

Methods

The researchers model the problem using Lattice Models. In this setup, every possible combination of positive/negative subjects is a "state" in a partially ordered set (a powerset lattice).

Key algorithmic contributions include:

  • Bayesian Halving Algorithm (BHA): An intuitive rule that selects the next pool to test by finding the one that splits the current "posterior probability mass" as close to 50/50 as possible. This maximizes the information gained from every single test.
  • k-Test Look-ahead Rules: Recognizing that testing one-by-one is slow, the authors developed rules to select $k$ pools simultaneously. This allows labs to trade off a bit of testing efficiency for much faster results (fewer "stages").
  • General Response Distributions: Unlike many models that only look at binary (+/-) results, this framework can incorporate quantitative data, such as viral load or $C_t$ values from PCR tests.

Datasets

The paper primarily evaluates its framework using simulated datasets designed to mimic real-world COVID-19 testing scenarios:

  • Pool Sizes: Simulations were conducted for $N=12$ (standard) and up to $N=25$ subjects.
  • Dilution Parameters: They used a dilution model where sensitivity decreases as the pool size increases, calibrated against recent clinical data on PCR-based pooling (e.g., Bateman et al., 2021).
  • Risk Profiles: They tested various "prior" scenarios, including uniform low risk (2% prevalence), high risk (20%), and "mixed" populations where some individuals are much more likely to be positive than others.

Key Insights and Ideas

  • Optimality in the Face of Noise: The most significant "aha moment" is the proof that the Bayesian halving algorithm achieves optimal convergence rates even when dilution effects are strong. It essentially "learns" the best way to pool as it goes.
  • The Efficiency-Speed Trade-off: There is a fundamental tension between the number of tests and the number of stages. Testing one pool at a time ($k=1$) is the most test-efficient but takes the longest. Simultaneous testing ($k=4$) uses more tests but finishes much faster.
  • Heterogeneity is an Asset: If you know some people are higher risk (e.g., symptomatic vs. asymptomatic), the Bayesian framework uses that information to create smarter pools, further increasing efficiency compared to random pooling.
  • Big Data Scaling: Because the number of possible states grows exponentially ($2^N$), the authors implemented their framework using Apache Spark to handle models with over 33 million classification states.

Key Results

  • Massive Savings: For a pool of 25 people with 2% prevalence, the Bayesian approach required roughly 8.3 times fewer tests than testing everyone individually.
  • High Accuracy: Even with imperfect tests, the system could reduce classification error to any desired threshold (e.g., 0.001), maintaining high sensitivity despite dilution.
  • Robustness: The system performs well even if the initial "guess" (prior probability) of prevalence is slightly off, provided the stopping thresholds are sufficiently strict.
  • Practical Tooling: The authors released a web-based calculator and open-source code to help lab managers decide when and how to pool based on their specific local conditions.

Limitations and Future Work

  • Computational Ceiling: While $N=25$ is a significant achievement, the exponential nature of lattices means that pooling very large groups (e.g., $N=100$) still poses a massive computational challenge.
  • Binary Tooling: Although the theory supports continuous outcomes, the current web-based tool is optimized for binary outcomes.
  • Workflow Integration: The authors note that the next step is embedding these adaptive sequences into high-volume, automated laboratory workflows to reduce the manual burden of multi-stage testing.

Source: Tatsuoka, C., et al. (2021). Bayesian Group Testing with Dilution Effects. medRxiv preprint.

Summary updated

BibTeX
@inproceedings{tatsuoka2022bayesian,
  author = {Curtis Tatsuoka and Weicong Chen and Xiaoyi Lu},
  title = {{Bayesian group testing with dilution effects}},
  booktitle = {Biostatistics},
  year = {2022},
  doi = {10.1093/biostatistics/kxac004},
}
Figure