When tuning a prediction system's threshold, a finer grid usually means more choices—and a greater chance of landing on a “lucky” candidate in the calibration data. If the loss is not monotone in the threshold, that selection bias can break the usual conformal risk control guarantee. A 2026 preprint by Aldirawi, Li, and Guo offers a treatment for finite candidate grids: fold grid size and calibration sample size into a risk correction, then select the threshold against a stricter target.[1]
From monotone losses to a finite grid
Conformal risk control (CRC) asks whether the expected loss of the chosen prediction rule on a new sample stays at most α. Classical constructions rely on a key structure: for each sample, the loss does not increase as the parameter grows. In tasks such as object detection, however, changing the threshold can trade off different kinds of error, so the composite loss may rise then fall or oscillate. Guarantees built for monotone losses do not transfer directly.[1]
The new analysis restricts candidates to a pre-specified finite grid Λ={λ₁,…,λₘ}. For each fixed candidate, calibration and test losses are i.i.d. across samples and lie in [0, B]; the grid also includes the paper's most conservative candidate, whose loss is almost surely zero. What is controlled is the expectation of the loss jointly over the calibration data and a new test sample—not conditional risk for each individual, and not a guarantee that every fixed calibration set meets the target.[1]
Subtract the selection cost, then pick a threshold
Let R̂ₙ(λ) be the average loss of candidate λ on n calibration samples. The paper keeps CRC's selection form: walk the grid in order and take the first candidate that satisfies nR̂ₙ(λ)/(n+1)+B/(n+1)≤ the target level; if the set is empty, use the most conservative candidate by convention. It is not free to pick whichever candidate has the smallest empirical loss.[1]
Theorem 1's finite-sample correction is:
D(m,n)=B√[log(2m)/(2n)]+B/[2√(2n log(2m))], where log denotes the natural logarithm.[1]
If α itself is used as the selection target, the paper's bound is E[L_test(λ̂)]≤α+D(m,n). To keep expected test loss at most α, first form the stricter calibration target α′=α−D(m,n), run the same rule at α′, and keep the conservative fallback. The leading scale of the correction is √[log(m)/n]: more candidates cost something, but the cost grows slower than linearly in the candidate count; larger samples shrink the correction like 1/√n.[1]

Theoretical excess term D from Theorem 1 of Aldirawi, Li, and Guo (2026), with B=1; the curves are not empirical risk or an experiment replay. Larger grid size m raises the correction; larger calibration sample n lowers it. The gray dashed line marks the target α=0.10.[1]
For example, with loss bound B=1, target α=0.10, 100 candidates, and 1,000 calibration samples, D≈0.0563, so the selection target falls to α′≈0.0437. With the same grid and 10,000 calibration samples, D≈0.0178 and α′≈0.0822. Holding 1,000 calibration samples fixed and raising the candidate count from 100 to 200 lifts D from about 0.0563 to 0.0593. Doubling the grid does not require doubling the sample; to keep a similar correction size, evaluate m and n together through the formula.[1]
The gray region in the figure corresponds to D≥α: then α−D leaves no positive calibration slack, and the correction alone cannot yield a useful threshold. The rule still falls back to the pre-defined most conservative option; to regain operating room, increase the calibration sample or reduce the pre-specified candidate count. A coarser grid may lose parameter resolution, so grid choice must weigh resolution against statistical cost.[1]
How to trade off against monotonization
One existing approach converts a non-monotone problem into a monotone one. The paper distinguishes two routes: loss monotonization first takes the right-sided upper envelope of each sample's loss curve and then averages; risk monotonization first forms the empirical average loss and then takes the right-sided upper envelope of that empirical risk curve. The order of changing the curve differs, and so may the result.[1]
Finite-grid analysis offers another trade-off: keep the original non-monotone loss and pay an explicit correction for selecting among candidates. It turns “how fine can the grid be” into a computable question, but the correction can consume most of the target risk budget; whether the method is useful therefore depends on whether the loss bound, target level, candidate count, and available calibration sample leave enough slack together. The paper's concrete comparisons illustrate that trade-off; they do not mean the new method dominates every dataset and every monotonization scheme.[1]
References
- [1] Tareq Aldirawi, Yun Li, Wenge Guo. Conformal Risk Control under Non-Monotone Losses: Theory and Finite-Sample Guarantees. arXiv:2604.01502v2, 2026-04-17.