Group Testing with Random Pools: optimal two-stage algorithms

Marc Mézard, Cristina Toninelli

Abstract

We study the group testing of a set of $N$ items, each of which is defective with probability $p$. We focus on the double limit of small defect probability, $p \ll 1$, and a large number of variables, $N \gg 1$, specifically examining the regimes where $p \to 0$ after $N \to \infty$ or $p = 1/N^\beta$ with $\beta \in (0, 1/2)$. In both settings, the optimal number of tests required to identify defectives with certainty via a two-stage procedure, $\bar{T}(N, p)$, is known to scale as $Np |\log p|$. In this work, we determine the sharp asymptotic value of $\bar{T}(N, p) / (Np |\log p|)$ and construct a class of two-stage algorithms over which this optimal value is attained. This is achieved by selecting a proper bipartite regular graph for the first stage of detection. Furthermore, we prove that this optimal value is attained on average over a random bipartite graph where variables have uniform degrees. Finally, we improve existing upper and lower bounds for the case where $\beta \in [1/2, 1)$.

Introduction

Group testing is a classic combinatorial problem aimed at identifying a small subset of "defective" items within a large population $N$ by pooling items into groups. A single test on a pool returns a positive result if at least one item in the pool is defective and a negative result otherwise. The primary objective is to minimize the total number of tests required to achieve full identification.

While fully adaptive algorithms—where tests are conducted sequentially based on previous results—offer high efficiency, they are often impractical in laboratory settings due to the time required for sequential processing. Two-stage algorithms represent a practical middle ground:

  1. Stage 1: A batch of pre-planned pool tests is conducted in parallel.
  2. Stage 2: Any items that cannot be definitively identified as "clean" (non-defective) in the first stage are tested individually.

Prior research established that the number of tests scales with $Np |\log p|$, but the precise constant governing this scaling for two-stage procedures remained unresolved. This paper identifies that sharp limit and the graph-based architectures required to reach it.

Methodology: Bipartite Graphs and Pooling

The authors model the testing architecture using bipartite graphs, where "variable nodes" represent items and "test nodes" represent pools. An edge exists between an item and a pool if that item is included in that specific test. The study analyzes three primary graph structures:

  • Regular-Regular Graphs: Every item is included in exactly $L$ pools, and every pool contains exactly $K$ items. The authors emphasize graphs with high "girth" (avoiding short cycles), which ensures that test results remain as independent as possible.
  • Regular-Poisson Graphs: Every item is in $L$ pools, but the number of items per pool follows a Poisson distribution.
  • Poisson-Poisson Graphs: Both the number of pools per item and items per pool follow Poisson distributions, representing standard random pooling.

To handle the complex correlations between pools, the authors utilize the FKG inequality and information-theoretic bounds. This allows them to prove that their proposed constants are the absolute lowest possible for the given regimes.

Key Insights

The Logic of "Sure Zero" and "Sure One"

The identification process in the two-stage framework relies on two logical states:

  • Sure Zero: An item is a "sure zero" if it appears in at least one negative pool. Since a negative pool contains no defectives, all items within it are cleared.
  • Sure One: An item is a "sure one" if it appears in a positive pool where every other item in that pool has already been identified as a "sure zero."

The Importance of Girth

For maximum efficiency, the testing graph must avoid "loops"—specifically cycles of length 4. If two items appear together in two different pools, the second pool provides redundant information. The authors demonstrate that high-girth graphs (girth $\ge 6$) perfectly reach the theoretical lower bound.

The Sharp Constant

The central finding of the paper is that for very rare defectives, the optimal number of tests $T$ is exactly: $$\lim \frac{T}{Np|\log p|} = \frac{1}{(\log 2)^2} \approx 2.08$$ This constant, $1/(\log 2)^2$, represents the sharp value that previous bounds had failed to pinpoint. Interestingly, the authors prove that a "Regular-Poisson" random graph—where each item is tested a fixed number of times but pool sizes vary—is asymptotically as efficient as a perfectly balanced regular graph.

Results and Bounds

Theorem 1: The Sharp Limit

In the regime where the defect probability $p$ vanishes slower than $1/\sqrt{N}$ (specifically $\beta < 1/2$), the number of tests required satisfies the $2.08$ constant mentioned above. This provides a definitive benchmark for algorithm design in sparse populations.

Improved Bounds for $\beta \ge 1/2$

When defectives are more common ($p \approx 1/N^\beta$ for $\beta \in [1/2, 1)$), the exact sharp value remains elusive, but the authors significantly narrowed the uncertainty. They provided a new upper bound of $e \approx 2.718$, improving upon previous literature.

Conclusion

This work provides both a theoretical limit and a practical blueprint for two-stage group testing. By demonstrating that random bipartite graphs with fixed variable degrees can achieve the sharp asymptotic limit, the authors bridge the gap between abstract information theory and experimental design.

Future research is required to address the "Gold Standard" assumption—the model currently assumes tests are 100% accurate. Incorporating false positives and false negatives (noisy group testing) is a critical next step for biological applications. Additionally, finding the exact sharp value for the $\beta \ge 1/2$ regime remains an open mathematical challenge.

Summary updated

BibTeX
@article{mezard2007group,
  author = {Marc Mézard and Cristina Toninelli},
  title = {{Group Testing with Random Pools: optimal two-stage algorithms}},
  journal = {IEEE Transactions on Information Theory},
  year = {2007},
}
Figure