arXiv:2610.37729cs.ITOct 2026

Manuscript Offprint

arXiv:2610.37729

Pooled Testing under Congestion: Operational Scaling Laws for Pool-Size Selection

Ioannis Dimitriou, Johan van Leeuwaarden

Abstract

Classical pooled-testing rules choose pool sizes to reduce the number of tests. In practice, however, samples arrive over time, pools take time to form, testing capacity is finite, and positive pools create bursts of follow-up work. These operational features can make the test-efficient pool size far from the delay-efficient one.

We formulate pooled testing with stochastic arrivals and finite testing capacity as a queueing system, and derive exact performance representations and asymptotic scaling laws for fixed-batch Dorfman testing and a dynamic two-threshold policy. The analysis reveals three distinct design regimes. When test usage is the main concern, the classical Dorfman rule is recovered and the optimal pool size scales with the inverse square root of prevalence. When delay accumulated while the laboratory is busy testing another batch matters, positive pools create service-time variability that grows more rapidly with pool size than the mean retesting burden, and the optimal scale shifts to the inverse cube root of prevalence. When waiting to assemble a pool is itself costly, the optimal fixed pool size remains bounded even as prevalence becomes very small. Under severe capacity scarcity, congestion remains relevant at the classical Dorfman scale: the square-root law survives, but with a capacity-dependent constant.

Dynamic pooling separates two operational decisions that fixed pool sizes conflate. A lower threshold determines when routine testing should begin, while an upper threshold limits pooling when backlog is high. The lower threshold follows the cube-root scale, whereas the upper threshold primarily acts as congestion control. The results show how prevalence, capacity, and delay jointly determine pooling decisions and explain why operationally optimal pools can be much smaller than those suggested by test-efficiency calculations alone.

Keywords: pooled testing, dynamic batching, scaling laws, Dorfman's rule, low prevalence, cube root, queueing, congestion, service operations.

1 Introduction

Pooled testing combines individual specimens and tests them jointly. If a pool is negative, all specimens are cleared at once; if it is positive, additional testing is used to identify the positive individuals. The idea dates to Dorfman's 1943 proposal for syphilis screening Dorfman (1943) and has since been used in blood-bank screening, HIV surveillance, hepatitis testing, malaria monitoring, tuberculosis and influenza screening, and large-scale SARS-CoV-2 testing. These applications share the same basic statistical opportunity: when prevalence is low, most pools are negative and a single assay can resolve many individuals. Pooling can therefore economize

*idimit@uoi.gr †Corresponding author.

on reagents, reduce test counts, and expand effective diagnostic capacity Mutesa et al. (2021); Cleary et al. (2021); Barak et al. (2021).

The classical design variable is the pool size. Under Dorfman's two-stage procedure, a pool of size kk is tested once; if it is positive, the kk individual specimens are retested. With individual positivity probability p0p_0, expected tests per sample equal

1k+1−(1−p0)k.\frac{1}{k}+1-(1-p_0)^k.

At low prevalence, 1−(1−p0)k≈kp01-(1-p_0)^k \approx kp_0, so minimizing testing effort balances 1/k1/k against kp0kp_0. This produces Dorfman's familiar square-root prescription kD∼1/p0k_D \sim 1/\sqrt{p_0}. The rule is simple and powerful: as prevalence falls, larger pools become statistically attractive at a precisely determined rate.

A diagnostic laboratory, however, does not operate on preassembled pools. It receives a stream of samples. Samples must wait for enough companions to form a pool; completed pools may wait for equipment; and positive pools create additional testing that consumes capacity and makes service requirements random. The pool-size decision therefore changes both the amount of work and the timing of work. This distinction is consequential whenever the value of a diagnostic result decays with delay. Blood products cannot be released before screening is completed, infection-control decisions in hospitals depend on timely surveillance, and the value of infectious-disease testing for isolation, treatment, and contact management deteriorates as turnaround times lengthen.

The tension is visible in practice. Cabrera et al. (2023) describe pooled PCR testing in an acute-care hospital where demand exceeded the capacity of individual testing. The reported data imply prevalence of approximately 0.43%. At that prevalence, the square-root benchmark is about 15 samples and direct minimization of expected Dorfman tests gives a pool size of 16. The laboratory used pools of size 4. From the viewpoint of test counts alone, that choice looks conservative. From the viewpoint of a capacity-constrained service operation, it need not be: the laboratory had to trade reagent savings against formation delay, stochastic retesting workload, and turnaround time.

This paper develops an operational theory of that tradeoff. Our central question is not whether pooling is beneficial, but how the optimal degree of pooling scales when time and capacity matter. The answer is not a single correction to Dorfman's rule. Different operational objectives generate different asymptotic balances and, as a consequence, different scaling laws. Test-efficiency objectives retain the classical inverse-square-root scale. Queueing-sensitive objectives produce an inverse-cube-root scale. Once the time required to assemble a pool receives positive weight, the optimal fixed-pool size remains bounded even as prevalence vanishes. A separate scarce-capacity regime preserves the square-root exponent but changes its leading constant.

Pooling is also inherently a dynamic batching decision. Our basic policy has two thresholds, (l,k)(l,k). The laboratory can start service once ll samples are available. If more samples have accumulated by the time capacity becomes available, it processes all waiting samples up to the cap kk. Thus ll is a release threshold that governs responsiveness in normal operation, whereas kk is a maximum pooling threshold that governs how aggressively backlog is absorbed. The familiar fixed-pool policy is the special case l=kl=k.

Two-threshold batching structures have appeared previously in related queueing models. Bar-Lev et al. (2007) optimize lower and upper batch thresholds for an incomplete-identification bulk queue, and Benjaafar et al. (2025) report a two-threshold policy for a dynamic extension of their pooled-testing model. Our use of (l,k)(l,k) builds on this operational structure and provides an exact low-prevalence characterization of the thresholds under complete identification.

The distinction between ll and kk is operationally important. A fixed pool forces the laboratory to use the same number of samples when the system is quiet and when it is congested. The (l,k)(l,k) policy separates those situations. A laboratory can start relatively quickly under normal

Table 1: Operational low-prevalence scaling laws for pooled testing for delay-sensitive settings.

ObjectiveDominant balanceScalingResult
Testing effortPooled-test savings vs expected retestingk⋆∼p0−1/2k^{\star} \sim p_{0}^{-1/2}Theorem 6.2
Queueing delayBatching gain vs variability generated by rare positive poolsk⋆∼p0−1/3k^{\star} \sim p_{0}^{-1/3}Theorem 6.3
Testing plus queueingTesting cost versus queueing consequences of positive-pool variabilityk⋆=Θ(p0−1/3)k^{\star} = \Theta(p_{0}^{-1/3})Theorem 6.4
Pool formationBenefits of pooling vs time required for batch assemblyk⋆=Θ(1)k^{\star} = \Theta(1)Theorem 6.6
Total turnaroundLinear formation delay prevents optimal pool size to divergek⋆=Θ(1)k^{\star} = \Theta(1)Corollary 6.7

demand while still using a larger pool when many samples are already waiting. The policy therefore formalizes a practical distinction between responsiveness and batching aggressiveness. At the same time, the fixed-batch model remains analytically indispensable: it exposes the queueing mechanism most transparently and admits an exact root representation from which the heavy-traffic and scarce-capacity constants can be derived. We use the fixed case to identify the scaling mechanisms and then return to (l,k)(l,k) to determine which conclusions survive under dynamic batching.

The queueing analysis is exact. We embed the process at testing completions and derive mean waiting time through renewal rewards and Little’s law. For fixed batches, the stationary generating function admits a root representation, paralleling the exact z-transform approach in Benjaafar et al. (2025). This representation allows us to identify the heavy-traffic singularity directly: the root-sum term remains bounded, whereas an explicit term diverges at rate (1−ρk)−1(1 - \rho_k)^{-1}, as ρk↑1\rho_k \uparrow 1, where ρk\rho_k is the utilization of the fixed-batch testing system. The resulting heavy-traffic expression contains the familiar arrival- and service-variability components, but it follows from the exact model rather than from an imposed diffusion or Kingman approximation. For the state-dependent policy, a coupling argument controls backlog by comparison with the fixed-batch system and yields rigorous low-prevalence asymptotics.

The resulting scaling laws are summarized in Table 1. The table deliberately separates the operational objective from the asymptotic mechanism selecting the pool size. The first row is the classical benchmark. Test efficiency balances the pooled-test contribution 1/k1/k against expected retesting of order p0kp_0k, yielding the square-root law. Queueing changes this balance because it is sensitive not only to mean testing effort but also to variability. At low prevalence a positive pool is rare, but when it occurs it creates a burst of kk follow-up tests. The second moment of the testing cycle therefore contains a term of order p0k3p_0k^3, which produces a queueing contribution of order p0k2p_0k^2 after normalization by batch size. Balancing this term against the batching gain 1/k1/k leads to the inverse-cube-root scale. For clarity, the cube-root results refer to the busy-testing component WqueueW_{queue} defined in Section 2. This component is distinct from the conventional post-formation queueing delay and from total turnaround time, which also includes idle-time batch formation and in-testing delay.

The cube-root mechanism survives when testing effort and queueing are combined in a weighted objective. A positive test cost changes the leading constant but not the exponent. Formation delay changes the problem more fundamentally. Under fixed batching, the expected delay experienced by tagged sample to assemble a pool is (k−1)/(2λ)(k-1)/(2\lambda), where λ\lambda is the sample arrival rate, and therefore increases linearly with kk, independently of how small prevalence becomes. Once formation delay has any fixed positive weight, the optimal fixed-pool size can no longer diverge with decreasing prevalence. The limiting recommendation is instead bounded.

Dynamic batching gives the cube-root result a more precise operational interpretation. On the low-prevalence cube-root scale, the system starts routine batches at the lower threshold with probability tending to one. The release threshold therefore satisfies l∼p0−1/3l \sim p_0^{-1/3} within the state-dependent scaling family, while the upper threshold k remains a separate congestion-control parameter. The operational prescription is thus not simply to replace the classical fixed pool by a smaller fixed pool: routine release and backlog absorption are distinct decisions.

Table 1 holds under fixed testing capacity. A different phenomenon arises when capacity itself becomes scarce as prevalence decreases. At the classical Dorfman scale k=Θ(p0−1/2)k = \Theta(p_0^{-1/2}), fixed capacity makes utilization vanish asymptotically, so ordinary congestion cannot generate a first-order correction to Dorfman's recommendation. For congestion to remain relevant on that scale, capacity must vary jointly with prevalence according to μ/λ=Θ(p0)\mu/\lambda = \Theta(\sqrt{p_0}), where μ\mu is the service rate of one testing stage. Under the critical parameterization p0=ε2p_0 = \varepsilon^2 and μ/λ=cε\mu/\lambda = c\varepsilon, Theorem 5.1 shows that the square-root exponent survives but its constant becomes capacity dependent:

k⋆∼x⋆(c)p0,x⋆(c)=c−c2−3.k^{\star}\sim\frac{x^{\star}(c)}{\sqrt{p_{0}}},\qquad x^{\star}(c)=c-\sqrt{c^{2}-3}.

Thus congestion can affect pooling in two fundamentally different ways. Under fixed capacity and a delay-sensitive objective, it contributes to a mechanism that selects a new cube-root scale. Under scarce capacity, it remains first-order within the classical square-root scale and changes the optimal constant.

The paper builds on several strands of the pooled-testing literature. The classical literature asks how pooling can reduce the number or cost of tests, starting with Dorfman and extending to richer designs that account for heterogeneous infection risks, imperfect tests, prevalence uncertainty, dilution, and alternative assay technologies; see, among others, Wein and Zenios (1996); Aprahamian et al. (2019, 2020); El Hajj et al. (2022); Bish et al. (2024) and the broader survey of Aldridge et al. (2019). Recent large-scale implementations confirm both the practical value of pooling and the importance of prevalence and assay sensitivity in determining useful pool sizes Abdalhamid et al. (2020); Bish et al. (2021); Mutesa et al. (2021); Cleary et al. (2021); Barak et al. (2021). Our results retain Dorfman's two-stage protocol as the main benchmark, but the object of optimization is different: the testing system is fed by stochastic arrivals, so pool size also controls when service can start and how random retesting work interacts with finite capacity.

A second strand places group testing explicitly in a queueing or dynamic setting. Bar-Lev et al. (2007) formulate a bulk-service queue in which the batch size lies between lower and upper thresholds and optimize these thresholds for an incomplete-identification group-testing problem. Their (m,M)(m, M) structure is closely related to the release/cap logic of our (l,k)(l, k) policy, although contaminated groups are not individually resolved in their model. Bhimaraju and Varshney (2022) study the scheduling of group tests over time. More generally, our embedded-chain formulation belongs to the bulk-queue tradition; see, e.g., Chaudhry and Templeton (1983); Bruneel and Kim (1993); Janssen and van Leeuwaarden (2005).

The paper closest to ours is Benjaafar et al. (2025). They study a fixed-batch Dorfman system with Poisson sample arrivals and stochastic testing times and make the key operational point that maximizing throughput need not minimize the delay experienced by samples. They derive an exact expression for expected delay, characterize feasible pool sizes, and show numerically that the throughput-maximizing pool can generate substantially larger delay than the delay-minimizing pool. They also study a dynamic extension and report numerically that its optimal policy has a two-threshold form. We view these results as an important starting point for the present paper.

Our contribution is complementary to their finite-parameter optimization. Rather than asking only which pool size minimizes delay for a given parameter instance, we identify the asymptotic mechanisms that determine how the operationally optimal pool size changes with prevalence and capacity. In particular, we establish the cube-root queueing scale, characterize the scarce-capacity regime in which a congestion-adjusted square-root law survives, derive global optimizer scaling under alternative operational objectives, and obtain exact asymptotics for a two-threshold (l,k)(l,k) policy. The last result provides an analytical interpretation of the two-threshold structure observed numerically by Benjaafar et al. (2025): the lower threshold governs routine release, while the upper threshold acts as a congestion cap. The two-threshold structure itself is therefore not claimed as a new policy class. Our contribution is its analytical characterization. In particular, we identify the low-prevalence scaling of the routine release threshold, explain the role of the upper threshold as a congestion cap, and derive the associated asymptotic laws.

Other recent work emphasizes complementary operational considerations. Lee et al. (2022) study pooling on high-throughput and point-of-care platforms with attention to throughput and turnaround. Zismanov et al. (2024) motivate combinatorial pooling partly by the delay created by second-stage retesting. Pagotto et al. (2025) examine pooled PCR testing for hospital surveillance, where timely feedback is central. Augenblick et al. (2022) emphasize repeated surveillance and testing frequency, while Long et al. (2026) incorporate test errors and dependence into a distributionally robust pooling model. Relative to this literature, our focus is on exact queueing foundations and asymptotic design principles that reveal which operational mechanism selects the pool-size scale.

The paper broadly makes four contributions. First, it provides an exact analytical characterization of the two-threshold batching policy, distinguishing the routine release threshold ll from the upper congestion-control threshold kk. The policy structure is operationally equivalent to the (M,Q)(M,Q) policy studied in Benjaafar et al. (2025). The contribution here lies in deriving its stationary representation and asymptotic behavior. Second, it develops a unified embedded-chain and renewal-reward analysis for state-dependent batching, with fixed batching recovered as a benchmark and an exact root representation available in that case. This exact structure makes it possible to identify the heavy-traffic and low-prevalence mechanisms without relying on queueing approximations. Third, it establishes the operational scaling laws summarized in Table 1, including the square-root law for testing effort, the cube-root law for the busy-testing component WqueueW_{queue}, the bounded regime under formation-sensitive and total-turnaround objectives, and the capacity-dependent square-root correction under scarce capacity. For the state-dependent policy, the analysis further shows, within the considered cube-root scaling family, that the cube-root scale governs the normal release threshold ll, whereas kk acts as a congestion-control parameter relevant in atypical backlog states. Fourth, the paper translates these analytical results into numerical examples anchored by the prevalence reported in an acute-care hospital application. To separate the operational mechanisms from an arbitrary physical time scale, the capacity examples use the normalized ratio λ/μ=2\lambda/\mu = 2 and report delays in units of the mean duration 1/μ1/\mu of one testing stage. The numerical exhibits compare classical and operational policies, decompose turnaround time, and show how the different scaling laws translate into finite-prevalence pool sizes.

To illustrate the different operational scales, we calibrate a simple example to the acute-care hospital implementation of Cabrera et al. (2023). Their laboratory implemented four-in-one pooling during a period in which testing demand exceeded available processing capacity. In the first week after implementation, 10,904 specimens were processed using 2,914 tests. With pools of size four, this corresponds to 10,904/4=2,72610,904/4 = 2,726 first-stage pool tests. The remaining 2,914−2,726=1882,914 - 2,726 = 188 tests correspond to 47 positive pools followed by four individual retests. Hence the observed positive-pool fraction is 47/272647/2726.

Under the independent-positivity model, the probability that a pool of four is positive equals 1−(1−p0)41-(1-p_0)^4. We therefore calibrate the individual positivity probability from 1−(1−p0)4=4727261-(1-p_0)^4 = \frac{47}{2726}, which gives p0=0.0043385p_0 = 0.0043385. Cabrera et al. also report that pooling increased laboratory capacity from approximately 3,000 to more than 6,000 specimens per day. Motivated by this twofold capacity gap, we use the normalized ratio λ/μ=2\lambda/\mu = 2 for the capacity illustration below. This ratio should be viewed as an operational benchmark rather than as a separate statistical estimate of λ\lambda and μ\mu.

Figure

Figure 1: Operational scaling laws under the Cabrera et al. (2023) calibration. (a) Exact laboratory utilization as a function of pool size. (b) Leading-order terms underlying the classical square-root, scarce-capacity square-root, and queueing-induced cube-root design rules.

Figure 1 shows what the different design rules mean at this calibration. The left panel plots the exact laboratory utilization ρk:=ρ(k)=λμ(1k+1−(1−p0)k)\rho_k := \rho(k) = \frac{\lambda}{\mu} \left( \frac{1}{k} + 1 - (1 - p_0)^k \right). Without pooling, utilization is ρ(1)=2.009\rho(1) = 2.009, so the laboratory is unstable. Pooling rapidly reduces the workload: the first stable integer pool size is k=3k = 3, while the pool size k=4k = 4 used by Cabrera et al. gives ρ(4)=0.534\rho(4) = 0.534. Beyond this point, increasing the pool size continues to reduce utilization initially, but the operational gains quickly become much smaller.

The right panel explains why different objectives lead to different recommended pool sizes. For small p0kp_0k, the expected number of tests per specimen is approximately 1/k+p0k1/k + p_0k. The classical Dorfman rule therefore balances 1/k1/k against p0kp_0k, giving k≍p0−1/2k \asymp p_0^{-1/2}; here, p0−1/2=15.18p_0^{-1/2} = 15.18. Under fixed capacity with a queueing-sensitive objective, the variability generated by positive pools introduces the larger-order term p0k2p_0k^2. Balancing 1/k1/k against p0k2p_0k^2 instead gives the cube-root scale k≍p0−1/3k \asymp p_0^{-1/3}, which equals 6.13 in this example. Finally, in the scarce-capacity regime of Theorem 5.1, congestion does not change the square-root exponent but does change its constant. With c=(μ/λ)/p0=7.59c = (\mu/\lambda)/\sqrt{p_0} = 7.59, the theorem prescribes a pool size of (c−c2−3)p0−1/2=3.04(c - \sqrt{c^2 - 3})p_0^{-1/2} = 3.04. Thus the same empirical calibration produces three quite different operational scales: the classical efficiency rule favors pools around 15, delay-sensitive operation favors pools around 6, while severe capacity scarcity can push the preferred pool size down toward 3.

The remainder of this article is structured as follows. Section 2 introduces the pooled-testing system and the dynamic (l,k)(l,k) batching policy. It also defines the sample-level delay decomposition used throughout the paper. Section 3 formalizes the model, the associated embedded queueing process, and develops the exact performance analysis. Using a Markov-renewal reward argument, we derive the pre-testing waiting time and its idle-time and busy-testing components. In Section 4 we use these exact expressions to analyze operational delay in the heavy-traffic and low-prevalence regimes. These results identify the singular behavior near instability, the cube-root scaling of the renewal-reward queueing metric, and the corresponding extension to the dynamic (l,k)(l,k) policy. In Section 5, we consider a joint low-prevalence and scarce-capacity regime, and investigate when congestion modifies the classical Dorfman square-root rule. Section 6 turns the performance results into pool-size recommendations. We establish global optimizer results for testing effort, the renewal-reward queueing metric, combined testing and queueing costs, and formation-sensitive objectives. We further illustrate how they translate into pool-size choices at finite parameter values. Section 7 concludes with a discussion of the operational consequences of the results. Additional numerical results and detailed proofs of the main results are provided in the Appendices.

References (50)