Load-Aware, Uncertainty-Gated Pool Sizing for Pooled PCR Screening

Pooled testing saves reagents by mixing several patients' samples and running one test on the mix. When the mix is negative, everyone in it is cleared. Real assays measure concentration, though, not "anyone infected or not." A patient with a low viral load, mixed with nine negatives, can fall below the assay's detection limit, and then the whole pool is cleared, including that patient. Machine-learning triage systems decide who gets pooled by predicting each patient's chance of infection from pre-test information such as symptoms, location and timing. The most prominent of them, Smart pooling, uses a single gradient-boosted model and a fixed pool size. Two of its assumptions break down under dilution. First, the risk of a dilution miss depends on how likely a patient is to be infected with a low load, not only on how likely they are to be infected. Second, a single model gives no warning when a new patient population makes its predictions unreliable.

We propose to size pools per patient so that each infected patient's predicted chance of being missed stays below a target. That miss probability comes from an ensemble of models. The ensemble predicts both infection probability and the distribution of viral load (as PCR cycle threshold, Ct), and we propagate both through an empirical dilution-sensitivity curve. Disagreement among ensemble members enters as a calibrated upper bound on miss risk. The bound shrinks pools, or sends patients to individual testing, exactly where the model does not know. The central empirical question is narrow and testable. When the pre-test population shifts, does the epistemic term protect sensitivity at a fixed test budget, beyond what the ensemble's mean prediction already gives? Or is a load-aware mean predictor enough?

Core Claim

Three ingredients are new here, and we separate their contributions. The first is the sizing objective: a per-person miss-probability constraint derived from predicted load plus a physical dilution model. This replaces a positivity threshold and a constant pool size. The second is the ensemble upper bound on that miss probability. The third is a test under realistic temporal and geographic shift, which is where we expect the second ingredient to matter.

For patient $i$ placed in a pool of size $g$, we approximate the miss probability, ignoring rescue by co-pooled positives, as

$$m_i(g) = p_i \int q_i(c)\,\big[1 - s(c + M\log_{10} g)\big]\,dc .$$

Here $p_i$ is the predicted infection probability, $q_i(c)$ is the predicted density of the patient's individual Ct value given infection, $s(\cdot)$ is assay sensitivity as a function of Ct, and $M\log_{10} g$ is the Ct shift caused by dilution. The shift is taken from the semi-quantitative group testing model of Nambiar et al., with a sigmoid sensitivity curve as in that paper. Each ensemble member $j$ yields its own $m_i^{(j)}(g)$. The rule assigns the largest $g$ for which $\bar m_i(g) + \gamma\,\sigma_i(g) \le \varepsilon$. In this rule, $\bar m_i$ and $\sigma_i$ are the across-member mean and standard deviation of the miss probability, $\varepsilon$ is the target miss rate, and $\gamma$ is a single scale fitted on validation data. If no $g \ge 2$ qualifies, the patient is tested individually.

We do not expect epistemic uncertainty to help on average in-distribution. Expected miss counts are linear in $m_i$, so a good mean estimate already minimizes them. The epistemic term should pay off only when the mean itself is biased, which is what happens under shift. The experiments are built to show whether that is true.

Relation to Prior Work

Two strands of work motivate the problem. The dilution literature shows that pooled sensitivity is governed by concentration. Density-Dependent Group Testing proves that the shape of the test-response curve near zero density decides whether pooling beats individual testing at all. Wan, Zhang and Frazier show that ignoring how sensitivity depends on concentration leads to poor screening policies, and they introduce "effective efficiency," the number of true positives found per test. Both treat the population as homogeneous or as structured by known households. Neither predicts individual load from covariates. We borrow Wan et al.'s metric and their observation that co-pooled positives rescue weak samples. We leave rescue out of the sizing rule, which makes the rule conservative, and measure it in simulation.

Informative pooling, our closest prior work, uses covariates but not loads or uncertainty. Smart pooling triages on a point probability and uses a fixed low-risk pool size of 10. Bayesian Group Testing with Dilution Effects uses symptom-based priors inside an exact lattice posterior. That approach scales exponentially and treats the prior as known. Our work differs from both in predicting a load distribution and in treating the predictor's own reliability as uncertain.

The uncertainty methods are inputs to our method, not competitors. Deep ensembles capture distinct modes of the loss landscape better than local approximations, per Izmailov et al.. JUCAL shows that scaling ensemble disagreement separately from per-model noise lets five calibrated models match fifty temperature-scaled ones. This is why we use a small ensemble with one fitted disagreement scale $\gamma$. CLEAR makes the same argument for regression intervals.

One paper constrains the proposal. The shift benchmark in How Reliable is Your Regression Model's Uncertainty Under Real-World Distribution Shifts? finds that even Gaussian ensembles fall to about 59% coverage on Cells-Tails, and that no method reaches nominal coverage under real shift. Ensemble disagreement is therefore not a guarantee. We treat its usefulness as the hypothesis under test and do not assume it.

Research Program

We build a tabular ensemble of five gradient-boosted models and five small networks, varying seeds and bootstrap resamples. Each member outputs an infection probability and, given infection, a Gaussian over Ct. The models are trained on the Bogotá Patient (2,068 samples, rich clinical metadata) and Test Center (7,162 samples, location and timing) datasets from Smart pooling. Where Ct values are absent or sparse in those data, the Ct head is trained against the Ct distribution of positives in the Israeli dataset (133,816 tests with paired pooled and individual results) from Nambiar et al., conditioned only on symptom status. We would report this as a limitation. The same Israeli paired data are used to fit the dilution slope $M$ and the sensitivity curve $s$, with bootstrap intervals, so that assay noise is modeled separately from model ignorance.

Evaluation is a trace-driven simulation. Patients are drawn from held-out data, pools are formed by each policy, and pool outcomes are sampled from the fitted dilution model. Optionally, households are added using Wan et al.'s structure to measure rescue effects. We create three distribution shifts. The first is temporal: train on early weeks, test on later weeks. The second is geographic: hold out test centers. The third moves from the Patient cohort to the coarser Test Center cohort. All are built from the Bogotá timing and location fields. Prevalence is swept from 2% to 30% by reweighting.

Baselines

The naive reference is individual testing at one test per person. The second reference is classical Dorfman pooling at the conservative fixed size of 6. That size gave 96.7% clinical sensitivity in the Shenzhen chlamydia study, and it represents what a cautious laboratory would do with no model at all.

The strongest existing method is Smart Pooling as published: a single tuned gradient-boosted classifier, a risk threshold, and low-risk pools of size 10. Escobar et al. report 0.36 expected tests per specimen at 5% prevalence and an estimated false-negative upper bound of about 5.4% at pool size 10. We reimplement it on identical splits and give it the same hyperparameter budget as each ensemble member. We also give it a fair extension: its threshold and pool size are both tuned on validation data to hit the same sensitivity target $\varepsilon$, so that it cannot be beaten merely through bad tuning. We also include semi-quantitative group testing as a covariate-free alternative. It reports 24% fewer tests than standard pooling on the Israeli data and an optimal pool size of 15 at 2% prevalence.

Two ablations isolate our ingredients. The first is a load-aware mean policy, which uses the same ensemble and the same miss-probability rule but sets $\gamma = 0$. It isolates the epistemic term. The second is a positivity-only ensemble upper bound, which keeps the epistemic term but drops the Ct head by assuming the population Ct distribution for everyone. It isolates the load prediction.

To beat a baseline, our method must keep per-person sensitivity of infected patients at or above the target on shifted test sets while using no more tests per specimen. The comparison is made on the sensitivity-versus-tests curve. Gaining efficiency while losing sensitivity does not count.

Why not just…?

Why not just use smaller fixed pools? A fixed size of 6 is safe for weak positives in the Shenzhen setting, but it ignores who is in the pool. Escobar et al. report that classical Dorfman pooling stops saving tests near 30% prevalence. The fixed-size baseline sits directly on our efficiency curve, so if it matches us at every prevalence, the method is unnecessary.

Why not just lower the Smart Pooling threshold, or calibrate it with conformal prediction? This is the real threat in-distribution. A well-tuned point classifier may be close to optimal there, because expected misses are linear in risk. Our expectation is that the gap opens only under shift, where both a tuned threshold and conformal guarantees rely on exchangeability. The cited shift benchmark and CLEAR document this failure, with coverage falling to 40–70%. The tuned-threshold baseline evaluated on our three shifts settles the question directly.

Why not just use the ensemble mean, or a covariate-density out-of-distribution detector, instead of disagreement? The $\gamma = 0$ ablation tests the first alternative. For the second, we add a gate based on a kernel density estimate over covariates, matched in how many patients it diverts to individual testing. If either alternative equals the disagreement bound on the shift splits, we will report that disagreement adds nothing beyond knowing that a patient looks unfamiliar.

Decisive Checks

The proposal succeeds if the full policy holds sensitivity at target under temporal and geographic shift while the $\gamma = 0$ policy and tuned Smart Pooling fall below it at matched tests per specimen. A second success condition is that the load head lets in-distribution pools grow beyond 10 without losing sensitivity, compared with the positivity-only ablation. We also report effective efficiency and the worst sensitivity across test centers.

Three outcomes would falsify the idea. The first is that the mean policy matches the bound under shift. The second is that ensemble disagreement does not rise on shifted patients, as the shift benchmark warns it may not. The third is that the Ct head cannot predict loads better than the population distribution. Each would be a useful negative result for anyone deploying model-based pooling.