arXiv:2608.23638stat.MLAug 2026

Manuscript Offprint

arXiv:2608.23638

Replicable Conformal Prediction

Marios Papamichalis, Regina Ruane, Theofanis Papamichalis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Two analysts who calibrate a conformal predictor on independent samples deploy different set-valued classifiers with probability one, because the calibrated threshold is an order statistic of continuous scores. We ask when the identical classifier can be deployed, and at what cost. Exact agreement is impossible: a procedure that returns one fixed output with high probability cannot be uniformly valid, and with a shared seed an exactly replicable procedure must ignore its data. Rounding the threshold upward on a shared-seed random grid (replicable calibration, RECAL) makes the deployed classifier identical across analysts with probability at least 1−ρ1 - \rho, preserves marginal coverage, keeps training-conditional coverage within ε\varepsilon of target, and needs O(κ2α(1−α)/(ε2ρ2))O(\kappa^2 \alpha(1 - \alpha)/(\varepsilon^2 \rho^2)) calibration points at miscoverage level α\alpha, where κ\kappa bounds the local score-density ratio. Lower bounds with explicit constants show the sample cost and a coverage inflation of order α(1−α)/n/ρ\sqrt{\alpha(1 - \alpha)/n}/\rho at calibration size nn are unavoidable for any threshold calibrator; a consistent plug-in removes the factor κ2\kappa^2 asymptotically. Without any seed, a deterministic grid confines all analysts to two adjacent classifiers, optimally. Selecting the most favorable of MM recalibrations changes a RECAL classifier with probability at most (M−1)ρ(M - 1)\rho; the same selection silently undercovers standard split conformal. Experiments on real ImageNet outputs, a four-hospital site split, four language-model families, and synthetic testbeds match the theory, including the predicted (ερ)−2(\varepsilon\rho)^{-2} sample frontier.

1 INTRODUCTION

Conformal prediction converts a trained model into a set-valued classifier with a finite-sample coverage guarantee (Vovk et al., 2005; Lei et al., 2018; Angelopoulos & Bates, 2023): a threshold τ~\widetilde{\tau} is calibrated on nn held-out points, the classifier C(x)={y:s(x,y)≤τ~}\mathcal{C}(x) = \{y : s(x, y) \leq \widetilde{\tau}\} is deployed, and the probability that the true label is covered is at least 1−α1 - \alpha. In deployment the calibrated classifier is an artifact: hashed, cached, versioned, audited. Three examples motivate this paper: two hospitals validate one frozen diagnostic model on their own held-out data before a joint deployment; a regulator re-runs a vendor's calibration during an audit; a serving system caches conformal answer sets for language-model decoding (Quach et al., 2024). In each case the question is whether two independent calibrations produce the identical classifier, a stronger event than achieving similar coverage.

With standard split conformal they never do. The calibrated threshold is an order statistic of continuously distributed scores, so two independent calibrations agree with probability zero (Proposition 1), and realized coverage fluctuates across calibration draws according to an exact Beta law (Vovk, 2012). The instability is exploitable: a party that redraws its calibration set M times and keeps the most favorable draw deploys sets that undercover by an amount on the order of log⁡M\sqrt{\log M} times the coverage standard deviation (Corollary 3), while the artifact passes any support check (Section 8, Figure 1b). A selective-inference failure at the deployment layer (Berk et al., 2013; Taylor & Tibshirani, 2015): candidate-wise validity does not survive selection (Fithian et al., 2014); replicability restores selection robustness (Corollary 3). Cross-sample instability is documented at benchmark scale (Prastalo & Jablonka, 2026); for prediction sets, built to be audited, it undermines that function.

*Human Nature Lab, Yale University, New Haven, CT 06511, USA. marios.papamichalis@yale.edu

†^{\dagger}Department of Statistics and Data Science, The Wharton School, University of Pennsylvania, Philadelphia, PA, USA. ruanej@wharton.upenn.edu

‡^{\ddagger}Department of Economics, Yale University, New Haven, CT, USA. theofanis.papamichalis@yale.edu

Figure

Figure 1: (a) Identity (solid) and pointwise agreement (light) for two independent calibrations, derandomized standard versus RECAL at ρ=0.1\rho=0.1; baseline identity is zero for continuous scores (Proposition 1), and between two honest analysts Llama-3.2-1B's answer sets change on 45% of contexts (76% GPT-2; Table 2). (b) An adversary redraws the calibration set M=20M=20 times and deploys the lowest-coverage draw, chosen by full-pool coverage (an oracle stress test): standard split conformal then undercovers systematically, undetectably by a support check; under RECAL all MM draws yield one classifier except with probability at most min⁡{1,(M−1)ρ}\min\{1, (M-1)\rho\} (.19 at ρ=.01\rho=.01; vacuous at the plotted .1; Corollary 3, F5).

A separate line of work formalizes agreement across independent samples. An algorithm is ρ\rho-replicable if two runs on independent samples that share an internal random seed return the identical output with probability at least 1−ρ1 - \rho (Impagliazzo et al., 2022); the theory covers costs, list relaxations, and connections to privacy and stability (Bun et al., 2023; Dixon et al., 2023; Chase et al., 2023; Hopkins et al., 2024). To our knowledge the framework has not previously been applied to conformal prediction or distribution-free uncertainty quantification; this paper does so and characterizes the achievable trade-offs for conformal calibration.

Questions. First, can any procedure return one fixed classifier with high probability and remain valid for every distribution? Second, we determine which relaxed agreements are achievable, at what sample and set-size cost, and whether that cost is necessary. Third, we quantify what replicable calibration guarantees against selective recalibration.

Answers. Exact agreement is impossible in a strong sense: any procedure that outputs one fixed classifier with probability 1−δ1 - \delta and is uniformly valid to within ε\varepsilon cannot exist when ε+δ<min⁡{α,1−α}\varepsilon + \delta < \min\{\alpha, 1 - \alpha\}; with a shared seed, exact replicability forces the output law to be the same under every distribution, so the deployed sets are uninformative (Theorem 1). Rounding the threshold upward on a random grid whose offset is generated from one shared seed (RECAL; Algorithm 1) makes the deployed classifier ρ\rho-replicable, preserves the marginal guarantee, and keeps a two-sided training-conditional band, at sample complexity O(κ2α(1−α)/(ε2ρ2))O(\kappa^2 \alpha(1 - \alpha)/(\varepsilon^2 \rho^2)) under a local margin condition (Theorem 2). A direct argument shows n≥916384α(1−α)/(ε2ρ2)n \geq \frac{9}{16384} \alpha(1 - \alpha)/(\varepsilon^2 \rho^2) is necessary for any threshold calibrator (Theorem 3), and the same machinery bounds the set-size cost: any replicable threshold calibrator inflates coverage by Ω(α(1−α)/n/ρ)\Omega(\sqrt{\alpha(1 - \alpha)/n}/\rho), which RECAL attains up to κ2\kappa^2 (Corollary 4); a consistent pilot removes the prior constant and the κ2\kappa^2 asymptotically (Proposition 3). Without a shared seed, single-answer replication is impossible below failure probability 1/21/2; a deterministic grid places every analyst, with probability 1−δ1 - \delta, in a common two-element list of adjacent classifiers at rate O(κ2log⁡(1/δ)/ε2)O(\kappa^2 \log(1/\delta)/\varepsilon^2), optimal within the margin class (Theorem 4).

What exact identity provides, and what it costs. Identity is the relevant event wherever artifacts are hashed, cached, or certified, and it bounds selection: with a pre-registered seed, M calibration redraws yield a second distinct classifier with probability at most min⁡{1,(M−1)ρ}\min\{1, (M-1)\rho\}, and expected coverage degrades by at most the same amount (Corollary 3); continuous stability notions such as one-point stability (Ndiaye, 2022) do not provide this. Identity has a cost beyond set size: RECAL concentrates disagreement into rare full-grid-cell events, so on small-sample real data pointwise agreement can decrease while identity rises from 0 to 0.9; we therefore report a full spectrum of replication metrics (Definition 1).

Contributions. (C1) Impossibility theory: obliviousness of exact replication, necessity of shared randomness, and a seedless two-element-list frontier with matching optimality (Theorems 1 and 4).

(C2) RECAL, a replicable split-conformal calibrator with preserved validity and explicit constants, with corollaries for unequal calibration sizes, selective recalibration, and robustness to score and population mismatch, and a pilot procedure with confidence bands whose single prior input ( κ^≥κ\hat{\kappa} \geq \kappa) is identified, stress-tested, and asymptotically unnecessary (Theorem 2, Corollaries 1, 2, and 3, Corollary 5 in Appendix B, Propositions 2 and 3). (C3) Lower bounds with the α(1−α)\alpha(1 - \alpha) dependence, proved directly with explicit constants and attained up to the factor κ2\kappa^2, for the sample size and for the set-size cost, with a lemma localizing where the cost surfaces (Theorem 3, Corollary 4, Lemma 1). (C4) An instrumented version of the standard conformal evaluation (Romano et al., 2020; Angelopoulos et al., 2020) adding replication metrics (a set-valued, calibration-resampling analogue of the churn analysis of Prastalo & Jablonka (2026)), applied to a synthetic image-scale testbed, a real small-data task, and next-token logits from four language-model families (50k–152k vocabularies), with direct measurements of the frontier and the selection attack; all synthetic results regenerate deterministically on one CPU core.

References (31)