---
title: One-Sided Group Testing
url: https://www.emergentmind.com/topics/one-sided-group-test
type: topic
---

# One-Sided Group Testing

Searching arXiv for the specified topic and related group-testing literature.
A one-sided group test is a pooled-testing formulation in which the asymmetry of the problem is explicit in the hypotheses, the response channel, or the admissible reconstruction errors. In the classical Boolean model, a test on a subset of items is negative if all items in the subset are non-defective and positive if at least one defective item is present. Within that baseline, one-sided formulations include composite tests of whether the number of defectives is at most \(s_1\) or at least \(s_2\), noise models with false negatives but no false positives, recovery criteria that permit only false negatives or only false positives, and objectives that minimize the number of positive responses rather than only the total number of tests [1701.06201] [2102.01200] [2506.10374] [1606.03200]. This suggests that “one-sided group test” is not a single canonical model but a family of asymmetric group-testing problems built around the same pooled-observation paradigm.

## 1. Terminological scope and core formalism

The common substrate is a population of \(n\) items and a defective subset \(S\subseteq\{1,\dots,n\}\). In the standard non-adaptive OR model, the test-design matrix \(\mathbf X\in\{0,1\}^{T\times n}\) specifies which items are included in each pool, and the \(t\)-th outcome is
\[
Y_t=\bigvee_{i\in S}X_{t,i}.
\]
In adaptive screening formulations, the same binary semantics are used, but subsequent tests may depend on prior outcomes. In probabilistic screening models, items are defective independently with probabilities \(p\) or \(p_i\), and the objective is to minimize the expected number of tests needed to identify all statuses [2102.03652].

The asymmetry that makes a formulation “one-sided” varies across papers. In one line of work, the asymmetry is inferential: decide \(H_0:D\le s_1\) versus \(H_1:D\ge s_2\), where \(D=|S|\) and the ambiguous range \(s_1<D<s_2\) is excluded [1701.06201]. In another, the asymmetry is in the error model: dilution noise flips \(1\to0\) with probability \(q\), so the channel has false negatives only [2102.01200]. In a third, the asymmetry is in the reconstruction target: approximate recovery is constrained to allow only false negatives or only false positives [2506.10374]. In yet another, the asymmetry is operational: positive tests are treated as costly, and the problem is to minimize the number of “yes” responses subject to a budget of total tests [1606.03200].

| Formulation | One-sided feature | Representative result |
|---|---|---|
| Defective-count hypothesis test | \(H_0:D\le s_1\) vs. \(H_1:D\ge s_2\) | \(\tau\)-WDR [1701.06201] |
| Dilution-noise model | false negatives only | \(\mathtt{NCOMP}\) and \(\Theta(d\log n/(1-q))\) scaling [2102.01200] |
| Approximate recovery | only FN or only FP allowed | SUBSET and SUPERSET criteria [2506.10374] |
| Positive-response minimization | minimize “yes” responses | adaptive, non-adaptive, and two-stage bounds [1606.03200] |
| Generalized responses | positivity depends on density or max load | density-based and max-load tests [1204.1464] [2012.09096] |

A common misconception is that one-sidedness refers only to the Boolean outcome rule itself. The literature indicates otherwise: the same phrase is used for asymmetry in hypotheses, channel noise, decoding guarantees, and test costs.

## 2. One-sided hypothesis testing on the number of defectives

A particularly direct formulation appears in "Hypothesis Test for Bounds on the Size of Random Defective Set" [1701.06201]. The problem is to decide between the composite hypotheses
\[
H_0:D\le s_1,\qquad H_1:D\ge s_2,
\]
with integers \(0\le s_1<s_2\le n\). The design is an \(N\times n\) Bernoulli matrix \(X\) with i.i.d. entries \(X_{i,j}\sim\mathrm{Bernoulli}(p)\), and each test outcome \(Y_i\) is Boolean.

The proposed decoder is the weight-threshold decision rule, denoted \(\tau\)-WDR. It computes the number of positive tests
\[
W=\sum_{i=1}^N Y_i
\]
and compares \(W\) with a fixed threshold \(\tau N\): if \(W\le \tau N\), declare \(H_0\); if \(W>\tau N\), declare \(H_1\). Under the boundary cases \(D=s_1\) and \(D=s_2\), the single-test positive probabilities are
\[
q_0=1-(1-p)^{s_1},\qquad q_1=1-(1-p)^{s_2}.
\]
To balance type I and type II errors, the threshold is chosen as
\[
\tau=\frac{q_0+q_1}{2}.
\]

The error analysis is based on Hoeffding’s inequality. Writing \(\Delta=(q_1-q_0)/2>0\), the type I and type II errors satisfy
\[
\alpha\le \exp(-2\Delta^2N),\qquad \beta\le \exp(-2\Delta^2N).
\]
A near-optimal design parameter is
\[
p^*=\frac{\ln s_2-\ln s_1}{s_2-s_1}.
\]
With this choice, the sample size sufficient for error at most \(\epsilon\) is
\[
N\ge \frac{1}{2\Delta^2}\ln\frac1\epsilon.
\]

The asymptotic behavior depends on the gap between \(s_1\) and \(s_2\). If \(s_2=\alpha s_1\) with fixed \(\alpha>1\), then \(N=\Theta(\ln(1/\epsilon))\), independent of \(n\). If \(s_2=s_1+c\) with \(c=o(s_1)\), then \(N=\Theta((s_1/c)^2\ln(1/\epsilon))\) [1701.06201]. This is the key distinction from full defective-set recovery: when only the composite boundary matters, the number of tests need not scale with the population size. The same source contrasts this with COMP, whose test complexity is \(N=\Theta(s\ln n)\), and reports computational complexity \(O(N)\) for the weight-threshold rule versus \(O(Nn)\) for COMP.

The paper also identifies a worst-case structure for the composite uncertainty: the maximal error of \(\tau\)-WDR over all prior distributions on \(D\in\{0,\dots,n\}\) is attained by any two-mass prior with \(p_{s_1}+p_{s_2}=1\) [1701.06201]. This reduces the composite problem to the two boundary cases for analysis, which is typical of one-sided composite tests.

## 3. One-sided recovery guarantees and one-sided noise

A distinct use of one-sidedness concerns which reconstruction errors are allowed. In "Optimal Non-Adaptive Group Testing with One-Sided Error Guarantees" [2506.10374], the noiseless OR model is retained, but exact recovery is relaxed in two asymmetric ways. Under **SUBSET** recovery, the goal is \(\hat S\subseteq S\) with \(|\hat S|=(1-\eta^-)k\), so only false negatives are allowed. Under **SUPERSET** recovery, the goal is \(\hat S\supseteq S\) with \(|\hat S|=(1+\eta^+)k\), so only false positives are allowed. In the sparse regime \(k=\Theta(n^\theta)\), the rate is defined by
\[
R\approx \frac{k\log_2(n/k)}{T}.
\]

For SUBSET recovery, Theorem 2 shows that rate \(R=1\) is achievable, equivalently
\[
T=\bigl(k\log_2(n/k)\bigr)(1+o(1)),
\]
while ensuring \(\hat S\subseteq S\) and \(|\hat S|=(1-\eta^-)k\), provided
\[
\eta^-=\Omega\!\bigl(k^{-\lambda(\tfrac1\theta-1)}\bigr)
\]
for any fixed \(\lambda\in(0,\tfrac12)\). The construction uses Bernoulli testing with
\[
p=\frac{\log 2}{k}(1+o(1)),
\]
followed by a two-step decoder: first a two-sided approximate-recovery decoder with distortion \(\beta=\tfrac12\eta^-\), then an exhaustive search over subsets \(\bar S\) of size \((1-\eta^-)k\) near the preliminary estimate, returning the candidate that explains the most tests [2506.10374]. The paper states that this second step is exponential in general.

For SUPERSET recovery, Theorem 3 gives a converse: no non-adaptive scheme can exceed rate
\[
R^*=\max\{\zeta(\theta),\log 2\},\qquad
\zeta(\theta)=\min\!\left\{1,\frac{\log 2\,(1-\theta)}{\theta}\right\},
\]
when \(\eta^+=k^{o(1)}\). Achievability in the very sparse regime is obtained by COMP with near-constant-column-weight design: each item appears in \(L=(T\log 2)/k\) tests, any item appearing in a negative test is marked non-defective, and all remaining items are declared defective. Because defectives never appear in negative tests, the output automatically satisfies \(\hat S\supseteq S\) [2506.10374]. The asymmetry between SUBSET and SUPERSET is substantive rather than linguistic: allowing only false negatives can preserve the counting-bound rate \(1\), whereas allowing only false positives leads to the threshold \(R^*\).

One-sidedness also arises in the observation channel. "Group Testing in the High Dilution Regime" studies a dilution model in which each included defective is independently diluted with probability \(q\), so its contribution is erased; the test is positive if and only if at least one undegraded defective participates [2102.01200]. The design is Bernoulli with
\[
p(q)=\frac{\log 2}{d(1-q)},
\]
which increases the inclusion probability as the dilution level rises. The decoder is \(\mathtt{NCOMP}\): for each item \(j\), let \(G_j\) be the number of tests containing \(j\) and \(P_j^+\) the number of positive tests containing \(j\); declare \(j\) defective if
\[
P_j^+\ge G_j\bigl(1-q(1+\Delta)\bigr).
\]
For \(d=\Theta(n^\theta)\), the paper proves an achievability bound
\[
m=\mathcal O\!\bigl(d\log n/(1-q)\bigr),
\]
and an algorithm-independent converse
\[
m=\Omega\!\bigl(d\log n/(1-q)\bigr),
\]
so the bounds match up to order in the high-noise regime [2102.01200]. The notable phenomenon is that dilution noise can be offset by choosing a suitable noise-level-dependent Bernoulli design.

## 4. Adaptive screening and nested one-sided procedures

In screening applications, the phrase one-sided group testing is often used for the classical binary pooled test itself: negative means every item in the group is non-defective, and positive means at least one item is defective. "Nested Group Testing Procedures for Screening" reviews this model under independent Bernoulli defectivity, with either homogeneous probability \(p\) or heterogeneous probabilities \(p_i\), and studies adaptive procedures that completely identify all item statuses with minimum expected number of tests [2102.03652].

The basic two-stage scheme is Dorfman’s procedure. If pools have size \(k\), then one pooled test is applied to each group; a negative result clears all \(k\) items, while a positive result triggers individual testing of the group. The expected number of tests per person is
\[
E_p(k,p)=1-q^k+\frac1k,\qquad q=1-p.
\]
For small \(p\), the optimal pool size satisfies \(k_D^*\approx p^{-1/2}\) and the minimal per-person cost satisfies \(E_p(k_D^*,p)\simeq 2\sqrt p\) [2102.03652]. The modified Dorfman procedure \(D'\) removes the unnecessary final individual test when the last person’s status is implied.

Sterrett’s sequential procedure \(S\) exploits the first positive individual found in a positive pool and recursively applies \(D'\) to the remainder. Its expected tests per person are
\[
E_s(k,p)=\frac{2k-(k-2)q-(1+q^{k+1})}{k(1-q)}.
\]
For \(p\to0\), the optimal Sterrett pool size satisfies \(k_S^*\approx p^{-1/2}\) and
\[
E_s(k_S^*,p)\sim \tfrac12 E_p(k_D^*,p)\simeq \sqrt p
\]
[2102.03652]. Thus Sterrett asymptotically halves Dorfman’s small-\(p\) cost.

More general nested strategies are obtained by dynamic programming. The hierarchical procedure \(R3\) is optimal within hierarchical algorithms and has an \(O(N^2)\) dynamic program. The fully nested procedure \(R1\), which distinguishes between a “binomial set” and a “defective set” known a priori to contain at least one defective, has a dynamic program of \(O(N^3)\) in the formulation summarized in the review [2102.03652]. The same paper records a Shannon-entropy bound:
\[
H_{\mathrm{Bernoulli}}(N,p)\le E[T]\le H_{\mathrm{Bernoulli}}(N,p)+1,
\]
and, for \(N=100\), reports the ranking \(R1<R3<S<D'\) across the tabulated values of \(p\).

The significance of this screening literature is that it fixes the binary one-sided test as the primitive measurement and shifts the optimization to adaptive decision trees, expected cost, and heterogeneity in prior defect probabilities.

## 5. Generalized one-sided response models

The OR response is not the only one-sided pooling rule studied in the literature. "Density-based group testing" replaces the rule “positive iff at least one defective is present” by a threshold condition:
\[
\mathrm{Test}(Q)=
\begin{cases}
+,& |D\cap Q|\ge \alpha |Q|,\\
-,& \text{otherwise},
\end{cases}
\]
for a fixed \(\alpha\in(0,1]\) [1204.1464]. The objective is to identify at least \(m\) defectives when \(|D|\ge k\). With \(a=\lfloor 1/\alpha\rfloor\), the main adaptive strategy tests disjoint blocks of size \(a\) until enough positive blocks are found, then performs binary-search-style extraction inside each positive block. When the current universe has defective density at least \(\alpha\), halving preserves the density condition and isolates a defective in \(O(\log|U|)\) further queries.

For fixed \(k\) and \(m\), Theorem 7 gives
\[
\frac{n}{a}-c_1(k)+m\log a
\le g(n,k,\alpha,m)\le
\frac{n}{a}+c_2(k)+m\log a,
\]
hence
\[
T=\Theta\!\bigl(n/a+m\log a\bigr)=\Theta\!\bigl(\alpha n+m\log(1/\alpha)\bigr)
\]
for large \(n\) [1204.1464]. This model is one-sided because positivity requires sufficiently many defectives relative to pool size; the usual OR model is recovered only at the extreme threshold behavior.

A different generalization appears in "A tractable non-adaptative group testing method for non-binary measurements" [2012.09096]. Here each defective item carries a positive load \(w_i\), non-defectives have load \(0\), and a test returns
\[
f(S_t)=\max_{i\in S_t} w_i.
\]
The design is a deterministic multipool construction on an \(n\times n\) grid with rows, columns, and diagonals, under which there are exactly \(nL\) pools, each pool has size \(n\), each item lies in exactly \(L\) pools, and any two items co-occur in at most one pool. Hence the total number of tests is \(T=nL\), and the efficiency is \(E=L/n\).

Decoding is local. For each item \(i\), let \(\mathcal P_i\) be the pools containing it and define
\[
\hat V_i=\min\{V_t:t\in\mathcal P_i\}.
\]
If \(\hat V_i=0\), declare the item negative. Otherwise count the number of pools in \(\mathcal P_i\) attaining the minimum; if that count is at least \(2\), declare the item positive with estimated load \(\hat V_i\) [2012.09096]. The paper derives explicit bounds on false negatives and false positives via
\[
g_{n,p}(x)=(1-p(1-x))^{n-1},
\]
and, in the infinite-precision regime \(K=\infty\), shows that the optimal efficiency satisfies
\[
E^*(p,\epsilon)\lesssim p\cdot\frac{-\ln\epsilon}{(\ln 2)^2}.
\]
A plausible implication is that one-sided group testing can exploit richer measurement alphabets while retaining structurally simple decoding rules.

## 6. Positive-response minimization and combinatorial constructions

A further asymmetry arises when positive tests are themselves the scarce resource. "Constraining the Number of Positive Responses in Adaptive, Non-Adaptive, and Two-Stage Group Testing" considers a universe \(O\) of size \(n\) containing at most \(d\) defectives, a budget of at most \(t\) total tests, and the quantity \(y\), the number of positive responses [1606.03200]. For an algorithm \(A\), \(y_A(d,n,t)\) is the maximum number of positives incurred over all defective sets of size at most \(d\), and
\[
y(d,n,t)=\min_A y_A(d,n,t)
\]
is the optimal value.

The combinatorial objects governing the non-adaptive and two-stage cases are \(d\)-cover-free and \((p,d)\)-cover-free families. A family \(F\subseteq 2^{[t]}\) is \(d\)-cover-free if no member is contained in the union of any other \(d\) members; equivalently, its characteristic-vector code is \(d\)-disjunct. It is \((p,d)\)-cover-free if for every choice of \(p\) members \(P\subseteq F\) and any other \(d\) members \(Q\subseteq F\), there is an element in \(\cup P\) that does not lie in \(\cup Q\) [1606.03200].

For adaptive testing, the paper derives a lower bound on the number of positives and an adaptive algorithm that matches the information-theoretic lower bound up to an additive \(O(d)\). The algorithm is a multi-stage halving scheme: partition the current candidate set into groups, test the groups in parallel, keep only groups testing positive, and iterate until the defectives are isolated [1606.03200]. For non-adaptive testing, the paper gives almost matching upper and lower bounds on \(y\), including both probabilistic and explicit constructions. One explicit construction uses linear codes and yields a deterministic non-adaptive scheme with
\[
y=\Theta\!\Bigl(\frac{d^2\ln n}{\ln(t/y)}\Bigr)
\]
positive tests.

For two-stage testing, the main qualitative result is that the positive-response budget asymptotically matches the adaptive setting:
\[
y_2(d,n,t)=\Theta\!\Bigl(\frac{d\,\log(n/d)}{\log(t/(d\log(n/d)))}\Bigr)
\]
[1606.03200]. The paper describes this as an analogue of the classical phenomenon that “two stages suffice.” In this formulation, one-sidedness is not about the observation channel or the error criterion, but about a cost function concentrated on positive outcomes.

Across these lines of work, one-sided group testing is best understood as a structured asymmetry imposed on pooled inference. The asymmetry may concern the null and alternative classes, the sign of admissible errors, the noise channel, the positivity rule, or the cost assigned to positive tests. The resulting models differ substantially in design, decoding, and achievable rates, but they are unified by a common principle: once the asymmetry is specified, optimality hinges on aligning the pooling design and the decision rule with that single favored direction.

Source: https://www.emergentmind.com/topics/one-sided-group-test