potentialpaper

The Iterated-Logarithm Price of Post-Hoc Threshold Selection

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We certify selective-prediction risk under post-hoc threshold selection via a martingale argument, at a provably necessary width cost, validated on three LLMs and a vision model.

Abstract. The standard way to deploy a selective predictor is to calibrate it, look at the risk coverage curve, pick the operating point that looks best, and report the risk certificate at that point. Every widely used certificate such as Clopper–Pearson, Hoeffding, empirical Bernstein, betting bounds, and Learn-then-Test is valid only at a threshold fixed before the calibration data are seen, so none carries a uniform guarantee under it. Some happen to survive specific attacks at specific scales anyway, but by accident rather than by design. We give a certificate built for the workflow directly. Sorting items by a confidence score is a function of the covariates alone, so it leaves the losses conditionally independent; the resulting sorted filtration turns the risk coverage curve into a martingale problem, and anytime valid concentration applies directly. This yields a band Uk that covers the realized risk of every prefix simultaneously, for an arbitrary score, with no assumption that the score is calibrated or even informative. And it does so, we show, with the certificate paying no extra price for dependence within blocks specified in advance. The band’s√︁ ln ln k/k width is not slack: any band valid at every prefix simultaneously must be at least this wide infinitely often, and we check the rate empirically across calibration sizes spanning a factor of 25. Across three language models, seven score families, five datasets and a vision model, the band was violated 0 times in 32,300 replications with exactly known conditional risk and 0 times in 320 genuine decoding replicates. In a deployment protocol that chooses the threshold after seeing the calibration curve, Clopper–Pearson and a betting certificate are exceeded on held-out data 12.7% and 11.6% of the time while ours is exceeded 0 times in 24,000. We trace the betting certificate’s failure to an edge case in our own implementation a 32% silent-margin defect under heterogeneous risk against 1% on i.i.d. data and repair it with a one-line, provably valid patch that resolves the failure under a fixed threshold and substantially, though not completely, under post-hoc selection. A feasibility condition states exactly when a population-level version of the same certificate can reach a target risk level, and we report the regime, small calibration sets and mid-accuracy models, where it cannot, along with how much a lower-error subset closes the gap. Code is available at https://anonymous.4open.science/r/iterlog-risk-E131/.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
17 Sep 2026ICLR 2027 (under review)submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:24 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…