Sublinear-Time Non-Adaptive Group Testing with O(k log n) Tests via Bit-Mixing Coding

Steffen Bondorf, Binbin Chen, Jonathan Scarlett, Haifeng Yu, Yuda Zhao

Introduction

Group testing is a classic combinatorial problem with wide-ranging applications, from medical screening and faulty sensor detection to database pattern matching. The goal is to identify at most $k$ "defective" items among a total population of $n$ items using the minimum number of tests. In the non-adaptive setting, all tests are designed beforehand and executed in parallel, which is highly desirable for high-throughput applications.

Historically, the field has faced a persistent trade-off. While information theory dictates that $O(k \log n)$ tests are sufficient to identify defectives, most algorithms achieving this bound require a decoding time that scales linearly with $n$. For massive datasets where $n$ is in the billions, $O(n)$ decoding is computationally prohibitive. Recent "sublinear-time" algorithms reduced the runtime to $poly(k, \log n)$ but required a suboptimal number of tests, typically $O(k \log k \log n)$. This paper introduces Bit-Mixing Coding (BMC), the first framework to bridge this gap, achieving both optimal test complexity and sublinear decoding time.

Comparison of state-of-the-art non-adaptive group testing algorithms. Note how "This paper" achieves optimal test complexity with sublinear runtime.

Methodology: Bit-Mixing Coding (BMC)

The core innovation of this work is the Bit-Mixing Coding (BMC) scheme. BMC constructs a test matrix that treats the group testing problem through the lens of erasure-correction coding. The construction involves a two-part structure that encodes item indices directly into test outcomes.

  1. Masking Strings and Low Collision Sets (LCS): Each item is assigned a unique "masking string" from a specially designed set. The first batch of tests identifies which $k$ masking strings are present in the aggregate test results. By utilizing a Low Collision Set, the authors ensure that the overlap between different defective items' strings is minimized.
  2. Erasure-Correction Skeleton: The second batch of tests embeds symbols from an erasure-correcting code (such as an expander-based code) into the positions defined by the masking strings.
  3. Decoding via Erasure Handling: In the Boolean "OR" model of group testing, collisions between defective items are inevitable. BMC's breakthrough is treating these collisions as erasures rather than errors. Because the masking strings limit overlaps, most symbols remain intact. The underlying erasure-correcting code then recovers the full index of each defective item.
The BMC test matrix structure, where item indices are encoded into blocks to facilitate sublinear-time recovery.

Key Insights: Collisions as Erasures

The "Aha!" moment of the paper is the realization that while one cannot "subtract" known defectives in a Boolean OR model (unlike in compressed sensing), one can design the system to tolerate collisions. By decoupling the identification of strings from the location of indices, the algorithm avoids the $O(n)$ search bottleneck entirely. Instead of trying to avoid collisions entirely—which is expensive in terms of tests—BMC accepts them as erasures and uses coding theory to recover the lost information.

Results and Performance

The BMC framework achieves several critical milestones:

  • Test Complexity: It requires only $O(k \log n)$ tests, matching the information-theoretic lower bound for probabilistic non-adaptive group testing.
  • Decoding Runtime: The decoding complexity is $O(k^2 \cdot \log k \cdot \log n)$. Since this depends only on $k$ and the logarithm of $n$, it remains efficient even as the total number of items grows exponentially.
  • Robustness: The scheme is robust to noise, maintaining its scaling laws even when test outcomes are subject to random flips (up to a constant probability $\xi < 1/4$).

Conclusion

By resolving the open problem of simultaneously achieving optimal test complexity and sublinear decoding time, this paper provides a significant theoretical advancement in group testing. While the $k^2$ factor in the runtime leaves room for further optimization, BMC establishes a new benchmark for efficient, large-scale identification of sparse signals in the non-adaptive regime.

Summary updated

BibTeX
@article{bondorf2020sublinear,
  author = {Steffen Bondorf and Binbin Chen and Jonathan Scarlett and Haifeng Yu and Yuda Zhao},
  title = {{Sublinear-Time Non-Adaptive Group Testing with O(k log n) Tests via Bit-Mixing Coding}},
  journal = {IEEE Transactions on Information Theory},
  year = {2020},
  doi = {10.1109/tit.2020.3046113},
}
Figure