Manuscript Offprint
arXiv:2608.29789A Unified Perspective on Conformal Prediction and Wasserstein Distributionally Robust Optimization for Uncertainty Quantification
ARTICLE INFO
Keywords:
Uncertainty quantification
Distribution shift
Conformal prediction
Distributionally robust optimization
ABSTRACT
Uncertainty quantification from finite data is central to machine learning, optimization, and automation systems, where decisions must remain reliable under limited samples and test-time distribution shift. Conformal prediction (CP) and distributionally robust optimization (DRO) offer two complementary approaches: CP constructs data-dependent prediction sets with distribution-free finite-sample validity under exchangeability, while DRO optimizes worst-case performance over an ambiguity set around an empirical distribution. We develop a unified probabilistic perspective on CP and DRO by viewing both as ways to turn finite calibration data into a data-dependent quantile estimator that a test score falls below with high probability. From this perspective, CP and DRO correct the empirical quantile along two coordinates of the same family of estimators: CP inflates the quantile level, whereas DRO shifts the quantile value through an ambiguity radius. Both methods provide the same calibration-conditional guarantee for the true distribution, requiring the target coverage to hold with high probability over the calibration sample. Their constructions differ, however: CP uses a closed-form, distribution-free level correction, while DRO uses a value-space correction whose certified radius depends on properties of the unknown distribution and additionally guarantees coverage uniformly over the ambiguity set. This distinction emerges in the tails of the score distribution. Because CP relies on sparse upper-tail order statistics of the calibration samples, its level inflation barely moves the estimator when those samples are dense near the target quantile but overshoots when they are sparse, whereas a well-chosen DRO radius corrects in value space and may avoid this overshoot. We further extend the comparison to test-time distribution shift and derive CP- and DRO-based estimators under the Lévy–Prokhorov model that satisfy the same two-level guarantee. We validate these findings across image classification, multiple-choice question answering, and autonomous-driving trajectory prediction.
Consider a set of calibration samples and a test sample drawn from the same unknown distribution, each assigned a scalar score. The goal is to construct a threshold from the calibration scores such that the test score falls below it with a target probability. Under marginal validity, this probability is taken jointly over the calibration and test
samples. The target coverage then holds on average over possible calibration sets, but need not hold for the particular set observed. In contrast, calibration-conditional validity requires the target coverage to hold for the calibration set actually drawn. Because a finite calibration sample does not fully characterize the tail of the underlying distribution, this cannot hold for every calibration set, and one instead requires it to hold for all but a small fraction of them. We call the resulting statement a two-level guarantee: one level is the target coverage for the test sample, and the other is the confidence with which that coverage holds over the random calibration set.
This paper presents a comparative study of CP and DRO in the context of uncertainty quantification. We summarize their theoretical formulations, statistical properties, finite-sample behaviors, and provide side-by-side comparisons of coverage guarantees, conservativeness, and numerical performance. Our contributions are summarized as follows.
-
We develop a unified probabilistic perspective on CP and Wasserstein DRO by formulating both as finite-sample data-dependent quantile-estimation methods with calibration-conditional coverage guarantees.
-
In the absence of test-time distribution shift, we connect CP and DRO through data-dependent quantile
ORCID(s):
K. Long et al.: Preprint submitted to Elsevier
Page 1 of 24 estimation: CP inflates the empirical quantile level, whereas DRO adds a value-space ambiguity radius. Both provide the same calibration-conditional guarantee for the true distribution, while DRO additionally certifies coverage uniformly over the realized ambiguity set. We further characterize their finite-sample and asymptotic behavior and explain how the score density near the target quantile affects conservativeness.
-
Under test-time distribution shift, we compare CP and DRO using shift models based on Wasserstein and Lévy-Prokhorov distances. We derive both CP and DRO estimators with calibration-conditional two-level guarantees and show how value-space and quantile-level corrections account for different forms of distribution shift.
-
We illustrate our theoretical findings on three representative tasks: image classification, multiple-choice question answering, and autonomous-driving trajectory prediction. The experiments compare the empirical coverage and conservativeness of CP and DRO estimators, assess satisfaction of the calibration-conditional two-level guarantees, and evaluate their robustness under distribution shift.
The paper aims to provide theoretical basis and practical guidance for selecting uncertainty-quantification methods in machine learning and decision-making from finite data.
2. Related Work
We review CP, DRO, and related approaches to uncertainty quantification, with an emphasis on applications in machine learning, control, and robotics.
Conformal prediction
CP addresses uncertainty quantification when the data-generating distribution is unknown. Instead of relying on parametric assumptions, CP constructs prediction sets or intervals that achieve finite-sample coverage guarantees under the mild assumption of data exchangeability [81, 2]. The idea originates from [92] and was reformulated for regression problems by [53], whose split-conformal construction underlies most modern use. Beyond this marginal-validity perspective, Vovk [91] studied several notions of conditional validity for conformal predictors. Two are particularly relevant here. The first conditions on the training data, referred to as training-conditional validity, and corresponds to what we call calibration-conditional validity in this paper; Bian and Barber [8] characterize when such guarantees are attainable. The second conditions on the test input, for which exact distribution-free guarantees are generally unattainable. Requiring coverage conditional on arbitrary subsets of the input space can lead to highly conservative prediction sets, whereas meaningful guarantees can be recovered over suitably restricted classes of conditioning sets [35]. Conformalized quantile regression [77] seeks to improve conditional adaptivity in practice by
producing intervals whose widths adapt to input-dependent noise, or heteroscedasticity, while retaining marginal coverage. The results above assume exchangeability between calibration and test data. A separate line of work relaxes this assumption, including methods for covariate shift with a known likelihood ratio [87] and bounds on the coverage gap under departures from exchangeability [6]. Angelopoulos et al. [1] provide a unified theoretical treatment of conformal prediction that also covers distribution-shift settings. Several seminal works [83, 104, 82, 49, 58, 84] have established CP as a popular tool for reliable uncertainty quantification in machine learning, control, and autonomous systems.
In machine learning, CP offers a model-agnostic approach for converting model outputs into finite-sample calibrated prediction sets. Angelopoulos et al. [3] developed CP-based uncertainty sets for image classification that remain valid while being substantially more compact than standard calibration baselines, and [66] extended CP to federated learning by introducing a weaker notion of partial exchangeability suited to heterogeneous clients. In high-stakes applications, such as clinical imaging, [89, 65] highlighted the growing role of subgroup-adaptive CP coverage for fairer uncertainty quantification. More recently, CP has been adapted to large language models for multiple-choice question answering [51], generative language modeling [74], and improved validity guarantees for LLM outputs through enhanced conformal inference procedures [24].
CP has also been increasingly adopted in control, where it converts model and prediction uncertainty into finite-sample certificates for constraint satisfaction, safety, and verification. It has been used for distribution-free optimal control of linear stochastic systems [90] and to quantify and robustify the uncertainty of model-based controllers [21]. CP has further been embedded in stochastic model predictive control [33] and in perception-based control under sensor uncertainty [100]. Furthermore, it has been paired with high-level specifications and verification, including signal temporal logic control [101], conformal predictive programming for chance-constrained optimization [103], safety filters for reinforcement learning [84], and runtime verification of autonomous systems [58, 102].
CP has also been applied in autonomous systems and robotics to convert model predictions into finite-sample calibrated uncertainty sets for planning, safety assurance, and interaction. Lindemann et al. [57] incorporated CP into MPC-based safe planning in dynamic environments by calibrating trajectory-prediction uncertainty, while [86] used CP to quantify uncertainty in diffusion dynamics models for uncertainty-aware planning. Luo et al. [67] leveraged conformal calibration to obtain sample-efficient safety assurances with guaranteed false-negative rates, and [54] extended this perspective from set prediction to direct calibration of autonomous decisions. Seo et al. [79] used CP to calibrate epistemic-uncertainty thresholds in latent safety filters for avoiding out-of-distribution failures in robot navigation and
K. Long et al.: Preprint submitted to Elsevier
Page 2 of 24 manipulation. In human-robot interaction, [56] used set-valued intent prediction to achieve risk-calibrated interaction under uncertain human intent.
Distributionally robust optimization
DRO addresses optimization under uncertainty by assuming that the true distribution lies within a specified family of distributions, known as an ambiguity set. This is a stronger assumption than that required by CP: CP relies only on exchangeability between calibration and test data, whereas DRO requires an ambiguity set that contains the true distribution, whose construction from finite data generally requires additional distributional assumptions. DRO then optimizes against the worst-case distribution in this set, providing robustness to finite-sample estimation error and distribution shift. Typical ambiguity sets are defined through moments [88, 29], statistical divergences such as Kullback–Leibler distance [48], or probability metrics such as the Wasserstein distance [32, 95]. Among these, Wasserstein DRO has become particularly influential because it often combines computational tractability with finite-sample guarantees. Notably, Mohajerin Esfahani and Kuhn [32] developed a data-driven Wasserstein DRO formulation with rigorous out-of-sample guarantees when the true distribution is unknown. Two questions are central to this formulation: how to evaluate the worst case over the ambiguity set, and how to choose the size of the set. Strong-duality results [10, 37] address the first by replacing the infinite-dimensional optimization over distributions with a tractable dual problem. Concentration results for the empirical measure [34] address the second by specifying the radius of a Wasserstein ambiguity ball that contains the true distribution with prescribed confidence. Comprehensive treatments are given in [75, 50]. These properties have made DRO an increasingly important tool in machine learning [9, 23, 36], control [62, 13, 43], and robotics [28, 76, 41], where uncertainty is often data-driven.
In machine learning, DRO has been used both for robust training and for understanding existing learning objectives. Blanchet et al. [9] showed that several standard estimators, including LASSO and logistic regression, can be recast as Wasserstein DRO problems, revealing a connection between robustness and regularization. Building on this perspective, [23] developed a distributionally robust learning framework under Wasserstein ambiguity sets, encompassing regression, classification, and sequential decision-making problems. Chen and Paschalidis [22] showed that Wasserstein DRO yields tractable formulations with guarantees against adversarial outliers. Gao [36] provided finite-sample guarantees for broad classes of Wasserstein DRO learning problems without suffering from the curse of dimensionality, showing that the ambiguity radius balances empirical loss against loss variation. More recently, [94] interpreted contrastive representation learning through the lens of DRO, showing that its training objective implicitly performs worst-case optimization over negative samples and using this to explain robustness to sampling bias.
In control, DRO has been used to design controllers that are robust to distributional uncertainty in disturbances, dynamics, and constraints. One line of work builds data-driven ambiguity sets with finite-sample guarantees for control, in cooperative [25] and time-varying [11] settings, and applies them to stochastic optimal control [99, 88] and to safe and stable control synthesis via robust barrier and Lyapunov certificates [70, 63, 60]. DRO has been used in model predictive control to provide closed-loop guarantees [69, 28], recursive feasibility from data [68] with total-variation and tube-based formulations [30, 4]. DRO has also been impactful in power and energy systems, where distributionally robust chance constraints bound constraint-violation risk under the unknown distribution of renewable generation and load, with applications to optimal power flow [40, 55, 31, 96] and economic dispatch [73].
In autonomous systems and robotics, DRO has been used to make planning and control robust to uncertainty in state estimation, perception, and environment models and changes. Summers [85] proposed a distributionally robust sampling-based planner that accounts for localization, dynamics, and obstacle uncertainties through worst-case risk allocation, while [52] developed a rapidly exploring random tree algorithm that leverages Wasserstein ambiguity sets to provide finite-sample probabilistic safety guarantees in uncertain obstacle environments. Boskos et al. [12] proposed a distributionally robust coordination algorithm to achieve optimal deployment of a multi-agent system, responding to events of interest with unknown probability distribution. Xu et al. [97] incorporated Wasserstein distributionally robust chance constraints into safe-corridor trajectory optimization and derived a convex quadratic reformulation. DRO has also been increasingly applied to safe navigation under uncertainty, including sensing and localization errors [64], uncertain obstacle and pedestrian motion [42, 78], and uncertainty from learned perception or environment models [44, 61].
Unified perspective
Recent work has started to connect CP and DRO. Cauchois et al. [20] developed a robust validation approach that uses CP-style prediction sets to guarantee coverage over an -divergence ambiguity set around the source distribution, thereby linking distribution shift robustness to worst-case coverage control. Aolaritei et al. [5] further developed a distributionally robust form of CP under Lévy-Prokhorov ambiguity sets, showing how local and global perturbations of the test distribution can be propagated through conformity scores to characterize worst-case quantiles and coverage. Guo [39] utilized CP in a DRO formulation by centering the DRO ambiguity set at a fitted predictive distribution, rather than the empirical one, and calibrating the DRO radius using split CP across different problem instances.
CP and DRO are not the only routes to distribution-free finite-sample guarantees. Classical distribution-free tolerance limits provide coverage from order statistics, with the required sample size following from a binomial tail [93]. The scenario approach [17, 18] carries this idea into
K. Long et al.: Preprint submitted to Elsevier
Page 3 of 24 optimization: the solution of a convex program built from sampled constraints violates the true constraint with a known probability, and a sampling-and-discarding refinement, in which some of the sampled constraints are removed, yields a violation probability with a Beta distribution [19]. More recently, wait-and-judge guarantees have been extended beyond convex programs to the nonconvex setting [38]. O'Sullivan et al. [71] show that ranking nonconformity scores is a one-dimensional scenario program with discarded constraints, and extend the argument to calibration-conditional CP. Calafiore [16] further develops the connection between conformal calibration and scenario optimization, using it to allocate risk across multiple calibrated constraints. Broader comparisons of CP with scenario optimization and PAC-Bayes theory for verification and control are provided in [58].
Unlike prior works that primarily combine CP with distributionally robust ideas to obtain shift-robust coverage, we aim to develop a unified probabilistic framing of CP and DRO, characterize their connection in finite-sample quantile estimation, and provide a systematic comparison of their statistical behavior and practical trade-offs.
3. Problem Formulation and Preliminaries
Let be a probability space, where is the sample space, is a -algebra, and is a probability measure. For with Borel -algebra , denote by the set of all Borel probability measures on . Let denote the distribution of a random variable . We use to denote a test distribution that may differ from . Let , referred to as the test score, be drawn from .
For any distribution and level , define its -quantile as
For values and a level , we write for the -th smallest of them, the empirical -quantile. If were known, the solution would be in (1), available in closed form for standard families such as the Gaussian or the uniform. In practice is unknown and must be estimated from a calibration dataset drawn i.i.d. from , denoted . Since may differ from , estimation requires a known bound on their discrepancy.
Problem 1. (Test-distribution quantile estimation): Let be a risk level, let be calibration scores drawn i.i.d. from , and let dist be a discrepancy on with a known budget such that . Given , and , compute the smallest satisfying:
We first consider the case , and aim to construct an estimator such that holds with high probability over the draw of the calibration samples. We define the problem as follows.
Problem 1.a. (Calibration-conditional quantile estimation): Consider Problem 1 with , i.e., . Given a risk level and i.i.d. samples from , construct a data-dependent threshold such that
We refer to (3) as a calibration-conditional coverage guarantee. The terminology emphasizes that, after the calibration samples are realized, the data-dependent threshold should cover an independent future test score with probability at least .
The assumption that the calibration and test scores are drawn from the same distribution may fail in practice, e.g., when the calibration data are historical or collected under different environments, sensing conditions, populations, or tasks than the future test data. For example, a model calibrated on past observations may be deployed under a new temporal regime, or a language model calibrated on one benchmark or prompt distribution may be evaluated on another. To account for such calibration-test distribution shift, we consider Problem 1.b.
Problem 1.b. (Calibration-test shift-robust quantile estimation): Consider Problem 1 with . Given a risk level , i.i.d. calibration samples drawn from , and an independent test sample drawn from , construct an estimator such that
where .
In this paper, we present two methods for constructing the estimators in (3) and (4): conformal prediction (CP) and distributionally robust optimization (DRO).
4. CP and DRO Without Distribution Shift
In this section, we address Problem 1.a with CP and DRO when no test-time distribution shift is present. We first consider the CP approach.
4.1. Calibration-Conditional Conformal Prediction
Unfortunately, exact calibration-conditional guarantees of the form (3) cannot be achieved in a finite-sample, distribution-free setting. Intuitively, after conditioning on a finite calibration set, the observed samples do not fully determine the unseen tail of the distribution; therefore, any finite threshold may fail to cover enough probability mass for some distribution consistent with the calibration data. Instead, [91] presents a conformal prediction variant that provides calibration-conditional coverage guarantees of the form:
K. Long et al.: Preprint submitted to Elsevier
Page 4 of 24 where is a user-defined failure probability over the calibration data. For notational convenience, we write for the product measure of i.i.d. draws from , so that denotes probability with respect to the samples , and the corresponding expectation over . We intuitively interpret the statement in equation (5) as “with probability no less than over the draw of calibration datapoints , it holds that with probability no less than over the draw of a test datapoint .” Consequently, the outer probability measure is defined over the randomness in , while the inner probability measure is defined over the randomness in . If is chosen to be very small, then one can approximately obtain calibration-conditional guarantees.
Classical split conformal prediction [81, 2] is typically formulated through the marginal coverage guarantee:
which averages jointly over the randomness in the calibration sample and the independent test score . Consequently, marginal coverage does not control the coverage obtained for a particular realization of the calibration sample: calibration sets with coverage below may be compensated for by calibration sets with higher coverage.
The calibration-conditional guarantee in (5) provides additional control by requiring that the target coverage holds for at least a fraction of calibration samples. The following result relates this two-level guarantee to marginal coverage.
Lemma 4.1. (Calibration-conditional coverage implies marginal coverage): Let be i.i.d. draws from a distribution , and let be any measurable function of the calibration samples . If for some :
then the marginal coverage satisfies:
where is the dimensional product measure.
Proof. Define the calibration-conditional coverage
and the event . By the tower property,
(7)
Using gives the claim.
Lemma 4.1 shows that the two-level guarantee also provides marginal coverage, although at the lower bound . The converse need not hold: a method may achieve the marginal guarantee in (6) while failing to attain coverage for a non-negligible fraction of calibration samples. This distinction is central to our comparison and is illustrated in the numerical studies. We next summarize how calibration-conditional conformal prediction constructs an estimator satisfying (5).
The estimators below share the same reduction. Each selects an order statistic from . Under continuity of the score distribution, the selected threshold achieves coverage at least if and only if it is at least the true -quantile . For a fixed order statistic, this depends only on how many of the calibration scores fall below . That count is Binomial , so (5) reduces to controlling a binomial tail. The three constructions below differ only in how they bound it.
Lemma 4.2 (Calibration-conditional coverage [91]). Let be independent and identically distributed random variables. Then, the probabilistic prediction region in equation (5) is valid for the choice:
Lemma 4.2 follows from Hoeffding's inequality [7], which bounds the tail without using the variance , so its correction does not shrink as does. To mitigate this, [91, 1] proposed two alternative formulations for estimating : Lemma 4.3 uses the exact binomial tail, and Lemma 4.4 a Bernstein bound [14] that retains the variance.
Lemma 4.3 (Calibration-conditional coverage, variant 1 [91, 1]). Under the setting of Lemma 4.2, the probabilistic prediction region in equation (5) is valid for the choice:
where satisfies , with , and denoting the regularized incomplete beta function, i.e., the cumulative distribution function of a Beta distribution evaluated at x.
Lemma 4.4 (Calibration-conditional coverage, variant 2 [91]). Under the setting of Lemma 4.2, the probabilistic prediction region in equation (5) is valid for the choice:
The connection between Lemma 4.3 and scenario optimization is established in [71]: the j-th order statistic of K scores solves a one-dimensional scenario program with K - j of the sampled constraints discarded, and the beta-function condition of Lemma 4.3 is the sampling-and-discarding guarantee of [19] specialized to that program.
K. Long et al.: Preprint submitted to Elsevier
Page 5 of 24
The correspondence is exact only for Lemma 4.3, since Lemmas 4.2 and 4.4 bound the same condition through Hoeffding's and Bernstein's inequalities and are therefore conservative relative to it.
Remark 4.5 (Finite-sample non-vacuity). For an estimator of the form Quantile , the appended value is inactive, and hence the estimator is finite, if and only if
If , the quantile selects the value , yielding a vacuous prediction region. For the estimator in Lemma 4.2, the finite-threshold condition is
Equivalently, the minimum calibration size is
For Lemma 4.3, the threshold is the j-th order statistic with , and is decreasing in . A finite threshold is therefore available when the largest admissible choice satisfies the beta-function condition. Since has cumulative distribution function , this leads to:
For Lemma 4.4, the corresponding condition is
The variant in Lemma 4.4 can be sharper than Lemma 4.2 when is small, and the exact beta-function construction of Lemma 4.3 is sharper than both. Table 1 makes the comparison precise. The Hoeffding-based condition (12) forces , whereas Lemmas 4.3 and 4.4 both scale as , with a much smaller constant for Lemma 4.3 by (14). These conditions suggest a small-sample limitation of the constructions above: when the required confidence correction is large relative to the calibration size, the only distribution-free threshold they supply is the vacuous value . Table 1 summarizes the three lemmas: Lemma 4.3 is non-vacuous at a much smaller K. All three are evaluated in Sections 4.5 and 6.
We next turn to distributionally robust optimization (DRO), which supplies a threshold that is finite for every K. Rather than relying on a finite-sample calibration argument, DRO constructs a worst-case guarantee
Table 1 Minimum calibration size for a finite (non-vacuous) threshold, at ; the smallest of the three is shown in bold. The Hoeffding bound of Lemma 4.2 degrades as , while Lemmas 4.3 and 4.4 degrade as .
| Lemma 4.2 | Lemma 4.3 | Lemma 4.4 | |
|---|---|---|---|
| 0.2 | 47 | 14 | 86 |
| 0.1 | 170 | 29 | 172 |
| 0.05 | 639 | 59 | 343 |
| 0.01 | 15178 | 299 | 1712 |
| 0.001 | 1499866 | 2995 | 17119 |
over an ambiguity set of probability distributions centered at the empirical distribution , where denotes the Dirac measure at ; by construction . It attains the same calibration-conditional guarantee, at the cost of the distributional assumptions needed to certify its radius.
4.2. Distributionally Robust Optimization
To formalize the DRO construction, we introduce a Wasserstein ambiguity set that defines a set of possible distributions around the empirical distribution. For , we denote by the set of couplings, i.e., all joint distributions on with marginals and . We consider the -Wasserstein distance:
Here denotes the support of the coupling , i.e., the smallest closed set such that . Given , we define an ambiguity set of distributions that are within distance of from :
We use to construct a DRO-based quantile bound analogous to the conformal prediction result.
A key step in the DRO construction is to choose the ambiguity radius so that the Wasserstein ball around the empirical distribution contains the true distribution with high probability. Following [34, 59], Lemma 4.6 provides one such choice, , which ensures this containment with probability at least .
Lemma 4.6. (Choice of Wasserstein- ball radius in one dimension): Assume is supported on and has density satisfying . Then, for any , the choice
ensures
K. Long et al.: Preprint submitted to Elsevier
Page 6 of 24
The radius in (18) is one of several finite-sample choices of the Wasserstein radius proposed in the literature; more general high-confidence ambiguity sets in arbitrary dimension [13] and measure-concentration bounds for light-tailed distributions [32, 34] provide alternatives under different metrics and tail assumptions. These choices, however, share a practical limitation: the radius depends on problem-specific constants (e.g., the dimension, the support diameter, a density lower bound, or tail and moment constants) that are conservative and rarely computable in practice. Consequently, the Wasserstein radius is, in practice, selected by validation or treated as a tunable robustness parameter rather than computed from a closed-form bound.
With (18), the ambiguity set contains with probability at least , which we use to derive the following distributionally robust conditional coverage guarantee under the distance.
Lemma 4.7 (Distributionally robust conditional coverage under ). Let be independent and identically distributed random variables. Then, the probabilistic prediction region in equation (5) is valid for the choice:
where the Wasserstein ball is defined as in (17) and the radius is chosen so that (19) is satisfied. Lemma 4.6 provides one choice of such a radius. Moreover, for every realization of the calibration sample,
Proof. We begin by noting that, by the choice of , the true distribution lies within the Wasserstein ball centered at with probability at least :
Next, we show that the -quantile functional on probability measures over is 1-Lipschitz with respect to the Wasserstein distance . In one dimension, we have the exact representation
so for every fixed ,
Setting and applying this to and the empirical distribution yields:
Thus, by (22) and the definition of in (20), with probability at least over the calibration samples, we have

Figure 1: The two corrections act on different axes: CP shifts the quantile index, while DRO shifts the quantile value. Dots are calibration samples placed on the density at their value; stars are the upper-tail samples ( ) that CP's level inflation relies on. For a light-tailed distribution (left), these samples cluster near the quantile, so the CP threshold barely moves; for a heavy-tailed distribution (right), the samples are sparse and far out, pushing the CP threshold deep into the tail, whereas the DRO radius r adds a similar value-space margin in both. The shown radius r is illustrative, not the guaranteed radius of Lemma 4.6.
By the definition of the quantile, this implies:
Moreover, the same quantile Lipschitz argument applies to any , since implies
Therefore, for every , which gives (21).
Because Lemma 4.1 is stated for an arbitrary measurable , it applies to : the guarantee of Lemma 4.7 implies the marginal coverage bound .
Remark 4.8. (Robust joint coverage over the ambiguity ball): The guarantee in (21) holds for every realization of the calibration sample, so it survives taking expectations. Since the ball is centered at the random empirical measure , the worst-case test distribution must be modeled as a measurable data-dependent selection , and
equivalently , the infimum being over all such selections. No factor appears here, in contrast to Lemma 4.1: the confidence level enters only through the radius , and once that radius is fixed (21) holds surely rather than with probability .
So far, we have presented CP- and DRO-based estimators of in (5), with their connections and key differences summarized in Table 2. Both inflate the empirical quantile to
K. Long et al.: Preprint submitted to Elsevier
Page 7 of 24
Table 2
CP and DRO estimators without distribution shift ( ).
| Method | Shift model | Coverage guarantee | Estimator | Result |
|---|---|---|---|---|
| Cal.-conditional CP | Quantile | Lemma 4.2 | ||
| Cal.-conditional CP (variant 1) | Quantile | Lemma 4.3 | ||
| Cal.-conditional CP (variant 2) | Quantile | Lemma 4.4 | ||
| DRO | Quantile | Lemma 4.7 |
hedge against the gap between and , but along different axes: CP raises the probability level at which the empirical quantile is evaluated, from the nominal to , where the level inflation is the finite-sample correction supplied by Lemmas 4.2–4.4; DRO instead enlarges the quantile value through a Wasserstein ambiguity radius. We refer to these as the level and value coordinates of the correction, the first living on the probability axis and the second in the units of the score. Their relative behavior depends on the tail of the underlying distribution, which we make precise as follows.
Definition 4.9 (Light- and heavy-tailed distributions). A distribution is light-tailed if its right tail decays at least exponentially, i.e., there exist constants such that for all ; otherwise is heavy-tailed.
Figure 1 shows how the tail of the score distribution governs the two corrections. Since CP evaluates an upper-tail order statistic, barely moves the threshold for a light-tailed score, whose upper samples are dense near the quantile, but can push it much farther for a heavy-tailed score, whose upper samples are sparse [27]. DRO instead adds a radius directly in the score's units, determined by , and the ambiguity-set construction rather than by the realized sample spacing. Sections 4.5 and 6 evaluate both estimators on this basis. Calibration-conditional CP reliably attains the two-level guarantee (5) with compact prediction sets and is our default. Its main weakness is heavy-tailed scores at small , where the level inflation may substantially overshoot the true quantile; in the extreme case, the selected threshold is , yielding a vacuous set. In this regime, a tuned DRO radius can be more accurate, although for bounded discrete scores the resulting DRO set may also become vacuous.
The two corrections are related: for a fixed calibration sample, both raise the threshold above the empirical -quantile, CP in discrete steps through the upper order statistics and DRO continuously by . They differ in what the data can certify. CP's inflation follows from distribution-free concentration of the empirical CDF, via the Dvoretzky–Kiefer–Wolfowitz (DKW) or Hoeffding inequality, so the closed form certifies (5) for every . Achieving the same margin in value space costs a factor of the inverse density: the quantile function is the inverse of the CDF, so its slope at level is , and a level margin therefore corresponds to a value margin . Because requires the bound to hold across the whole support, the certified radius must use the uniform lower bound , giving (Lemma 4.6) and making the DRO shift the provably larger of the two (Section 4.3). The bound is usually unknown, so in practice is tuned and the guarantee is lost. In return, DRO certifies coverage uniformly over the ambiguity ball (Table 2), at the price of conservativeness. CP is therefore the default for distribution-free coverage on i.i.d. data, while DRO returns a finite threshold at small , where CP returns , and extends to test-time shift (Section 5).
4.3. Statistical Properties of CP and DRO Estimators
Beyond coverage guarantees, it is important to understand the statistical behavior of the CP and DRO estimators, including consistency, finite-sample distributions, and asymptotic behavior because these properties guide how conservative or efficient each method is in practice. We first establish the statistical properties of the CP quantile estimator introduced in Lemma 4.2, whose level correction is available in closed form, whereas the level of Lemma 4.3 is defined implicitly by a beta-function condition. Analogous results hold for the variants in (10).
Lemma 4.10. (Statistical Properties of CP Quantile Estimation): Let be defined as in Lemma 4.2, let denote the cumulative distribution function of , and let denote the quantile of as defined in Problem 1. Suppose is continuous and strictly increasing in a neighborhood of , then almost surely as . Additionally, for any ,
where and . Furthermore, if is differentiable at with density , then as :
where denotes convergence in distribution and the standard normal distribution.
K. Long et al.: Preprint submitted to Elsevier
Page 8 of 24
Proof. By [47, Theorem 1], we have converges to with probability one, whereas, for any fixed , converges to the quantile of with probability one. Since , for every fixed , there exists such that for all . By the monotonicity of quantiles,
Taking the limit as and then letting , the continuity and strict monotonicity of in a neighborhood of imply that:
On the other hand, (28) follows from [80, Section 2.3.4].
We now show (29). Since , we have for all sufficiently large . Hence, , so the appended point is eventually inactive. Let . Since and approaches at the rate , the quantile inflation contributes a deterministic offset that persists in the limit. We isolate the two effects by writing
For the fluctuation term, is the empirical -quantile of , where . By the asymptotic normality of empirical quantiles at a converging level [80, Section 2.3.3],
For the drift term, since and , we have
Moreover, is differentiable at with derivative . Therefore, a first-order expansion gives
Since the drift converges to a constant, Slutsky's theorem [80, Section 1.5.4] yields (29).
Next, we establish the statistical properties of the DRO quantile estimator introduced in Lemma 4.7.
Lemma 4.11. (Statistical Properties of DRO Quantile Estimation): Let be defined as in Lemma 4.7, let F
denote the cumulative distribution function of , and let be its quantile. Suppose that F is continuous and strictly increasing in a neighborhood of and that as . Then almost surely as . Additionally, for any ,
where and . Furthermore, suppose that F is differentiable at with density . If for some constant , then
as . This condition holds, for example, for the choice of in Lemma 4.6.
The identity in (30) follows from the distribution of order statistics [80, Section 2.3.4]. The strong consistency follows from the consistency of empirical quantiles [47, Theorem 1] together with , while (31) follows from the asymptotic normality of empirical quantiles [80, Section 2.3.3] and Slutsky's theorem [80, Section 1.5.4].
Lemmas 4.10 and 4.11 show that both and are strongly consistent estimators of . Moreover, their estimation errors are asymptotically of order and decompose into a random sampling fluctuation and a deterministic upward correction. The random component is identical for the two estimators and converges, after multiplication by , to .
For CP, the deterministic correction arises from inflating the empirical quantile level above , resulting in the asymptotic shift . For DRO, the correction is induced by the Wasserstein radius , and its asymptotic contribution is whenever .
Thus, the two estimators share the same first-order asymptotic variance and differ in a deterministic shift. The shifts, however, are governed by the score distribution differently: CP's is set by the density at the target quantile, whereas DRO's is inherited from the ambiguity set radius. For Lemma 4.6, where and lower bounds the density on the whole support,
since . Thus, CP pays a local price and DRO a uniform one and, with this radius, the DRO correction is never the smaller of the two. The gap widens as the density varies more sharply over the support, which can be observed in Figure 1. As the caption notes, the value-space margin shown is illustrative, and realizing it requires a radius tighter than (18) (Section 4.4).
K. Long et al.: Preprint submitted to Elsevier
Page 9 of 24
4.4. Choosing the Wasserstein Radius
The choice of the Wasserstein radius is central to the statistical interpretation and practical performance of DRO. Lemma 4.6 provides one sufficient choice of such that:
More generally, finite-sample Wasserstein radii can be constructed using measure-concentration or statistical-inference arguments [34, 36, 9]. Such choices give the ambiguity set the interpretation of a high-confidence region for the unknown distribution. However, the resulting bounds may depend on unknown distributional constants and can be overly conservative in finite samples.
Alternatively, the radius may be selected by validation or treated as a design parameter controlling the trade-off between robustness and conservativeness [26, 64, 62], or calibrated around a fitted center to cover the unknown distribution [39]. For any fixed radius , the threshold still guarantees coverage uniformly over . However, if is selected heuristically, the high-probability coverage guarantee for the true distribution does not follow.
CP provides another useful reference for the scale of the radius. Whenever the CP estimator is finite, define its effective value-space correction as
By construction,
Thus, translates CP's quantile-level inflation into an equivalent value-space correction for the realized calibration sample. It may therefore serve as a reference or initialization when selecting a practical DRO radius. Importantly, it is not generally a certified Wasserstein radius: CP controls the target quantile, but does not guarantee that the distribution lies in with high probability.
To interpret the scale of this correction, let , and suppose that has a continuous density that is positive near its -quantile . A first-order quantile approximation gives:
Hence, the conversion from CP's level correction to a value-space radius depends on the local density near the target quantile. For the special case , where , this reduces to . For general distributions, no distribution-free constant conversion exists.
4.5. Illustrative Examples
We now use simple scalar distributions to illustrate the finite-sample mechanisms identified in the preceding analysis. The examples visualize how sample size, the shape of the score distribution, and the choice of Wasserstein radius affect the CP and DRO quantile estimators. Their purpose is to isolate and explain these theoretical effects in controlled settings, rather than to evaluate performance on a particular application. The studies in Section 6, instead, examine the same methods on more realistic problems.
We consider distributions with bounded, unbounded, and truncated supports. Throughout, we set and . For each distribution and sample size K, we repeat the calibration procedure over 500 independent trials, drawing a new calibration set in each trial, and report the mean and standard deviation of the resulting quantile estimates.
Sample size and conservativeness. Figure 2 compares the three CP corrections with the DRO estimator of Lemma 4.7 on , for which inf and the true -quantile is 0.9. Panel (a) shows the non-vacuity thresholds of Table 1: Lemma 4.3 becomes finite at , whereas Lemmas 4.2 and 4.4 require and . The DRO estimator is finite at every , but its certified radius equals at , so the bound it returns is loose until reaches the hundreds. Panel (b) confirms the ordering predicted by the asymptotic shifts: once all four are available, the certified DRO threshold is the most conservative and Lemma 4.3 the tightest.
Effect of the DRO radius. We next compare CP with DRO using the simplified scaling , which preserves the asymptotic rate of Lemma 4.6 while letting act as a tunable parameter. Figure 3 shows the comparison on three distributions: Uniform[0, 1], standard Normal , and Beta(2, 2). Across all , DRO converges to the true quantile, with larger giving more conservative estimates at small . The Normal needs the largest : its density at the target quantile is the smallest of the three, so a level correction buys the least threshold there. For small , the empirical -quantile is often drawn from samples that miss the upper tail, and the DRO estimate sits below the truth before converging.
Quantitative convergence. Table 3 reports mean estimates of and (each at a radius whose two-level rate reaches ) at five sizes from to , across five distributions including Exponential (unbounded) and a Truncated Normal on , over 500 independent runs. Two observations emerge: (i) DRO yields a finite, usable estimate at for all five distributions, whereas CP is vacuous; (ii) at , CP overshoots the true quantile by 4–22%, with the largest overshoots on heavier-tailed supports (Exp(1): 22%; Normal: 21%; Truncated Normal: 12%; Uniform: 4%; Beta: 6%). DRO, at radii that meet the two-level guarantee, stays within 3–10% on the same five distributions. The disparity reflects CP's level correction, which shifts quantile selection deep into the upper tail when the density is small there; DRO's additive radius is symmetric.
Discussion. With an appropriately chosen Wasserstein radius, DRO is competitive with CP and, on heavier tails, tighter than the relaxation-based corrections of Lemmas 4.2
K. Long et al.: Preprint submitted to Elsevier
Page 10 of 24

Figure 2: The three CP corrections and the certified-radius DRO estimator on ( , ; mean and one standard deviation over 500 trials). (a) Full range. Dotted verticals mark the non-vacuity thresholds for Lemma 4.3 and 170, 172 for Lemmas 4.2 and 4.4; below these each estimator returns and is omitted. DRO is finite at every , at the price of a large certified radius when is small. (b) Large-K detail: the four estimates appear in the order Lemma 4.3 < Lemma 4.4 < Lemma 4.2 < DRO, as the asymptotic shifts predict.

Lemma 4.3 Lemma 4.4 Lemma 4.2 DRO DRO DRO DRO
Figure 3: The three CP corrections against DRO with the simplified radius , on Uniform[0, 1] (left), standard Normal (center), and Beta(2, 2) (right) at , . DRO radii use a single-hue ramp, darker for larger . Top: mean threshold over 500 trials. Each CP curve begins at its non-vacuity threshold, and all methods converge to the true -quantile (dashed) as grows. Bottom: the two-level success rate, which must lie on or above . Lemmas 4.2 and 4.4 exceed the target by a wide margin, attaining a rate of one, whereas Lemma 4.3 attains it with no slack, so its empirical rate fluctuates about within Monte Carlo error. DRO meets the target only for a large enough radius: suffices on Uniform and Beta, whereas the Normal requires , whose density at the target quantile is far smaller. Convergence of the estimate does not by itself imply the guarantee.
K. Long et al.: Preprint submitted to Elsevier
Page 11 of 24
Table 3
Mean and (each at a radius whose two-level rate reaches at every shown, given per row) across five distributions and calibration sizes , averaged over 500 independent runs at , . Last column reports the true -quantile for reference. Here CP is the estimator of Lemma 4.2, by Remark 4.5 it is vacuous for , which is why the first three columns are . At , CP overshoots the truth by 4–22%, with the largest overshoots on heavier-tailed supports (Exp(1): 22%; Normal: 21%; Trunc. Normal: 12%), while DRO, at radii that meet the two-level guarantee, stays within 3–10%.
| Distribution, method | Calibration size | Truth | ||||
|---|---|---|---|---|---|---|
| 1 | 10 | 100 | 1000 | 10000 | ||
| Uniform, CP | 0.939 | 0.912 | 0.900 | |||
| Uniform, DRO () | 1.496 | 1.125 | 0.991 | 0.931 | 0.910 | |
| Normal, CP | 1.550 | 1.356 | 1.282 | |||
| Normal, DRO () | 3.987 | 2.247 | 1.648 | 1.404 | 1.322 | |
| Beta(2,2), CP | 0.851 | 0.817 | 0.804 | |||
| Beta(2,2), DRO () | 1.506 | 1.056 | 0.897 | 0.835 | 0.814 | |
| Exp(1), CP | 2.800 | 2.433 | 2.303 | |||
| Exp(1), DRO () | 7.001 | 3.750 | 2.860 | 2.483 | 2.361 | |
| Trunc. N., CP | 0.841 | 0.777 | 0.749 | |||
| Trunc. N., DRO () | 1.991 | 1.203 | 0.931 | 0.810 | 0.769 | |
and 4.4. The advantage is most pronounced in two regimes: low , where CP is vacuous; and heavier tails, where CP's level inflation overshoots. The optimal tracks the density at the -quantile: compactly supported distributions whose density stays bounded away from zero there, such as Uniform[0,1] and Beta(2,2), tolerate small , whereas the Normal, whose density at the quantile is far smaller, requires a larger one.
However, this comparison is not symmetric in guarantees. CP enjoys a distribution-free finite-sample coverage bound under only the iid assumption, via the DKW level correction . DRO requires the chosen radius to upper-bound with probability . Lemma 4.6 certifies this for bounded densities with , which among our five distributions the Uniform and the truncated Normal satisfy; Beta(2,2) has compact support but a density vanishing at the endpoints, while the Normal and Exponential are unbounded. For the others, the simplified scaling inherits the asymptotic rate of Lemma 4.6, but becomes a heuristic tuning parameter. The empirical performance in Table 3 is therefore evidence of practical utility, not a finite-sample guarantee.
5. CP and DRO With Distribution Shift
In this section, we present how to solve Problem 1.b with CP and DRO. Motivated by the calibration-conditional formulation in (5), we seek a threshold that satisfies
for a user chosen confidence level .
In this case, one must additionally account for the discrepancy between and . To make the goal in Problem 1.b attainable, this discrepancy must be bounded. We consider two shift models, each an instance of Problem 1 with a different pair (dist, ): a Wasserstein model, which bounds how far mass moves, and a Lévy–Prokhorov model, which additionally allows a fraction of the mass to move arbitrarily.
The radius controls the amount of calibration-test shift allowed by the model and leads to the additive threshold correction used below. In practice, can be specified from prior knowledge, estimated from additional validation data when available, or treated as a robustness parameter to study the trade-off between validity and conservativeness.
5.1. Wasserstein Shift Model
Assumption 5.1. The test distribution is within a -ball of radius around the calibration distribution:
corresponding to Problem 1 with and .
Conformal prediction. Under Assumption 5.1, the shift is absorbed by adding the Wasserstein radius to the calibration-conditional CP threshold.
Lemma 5.2 (Shifted robust CP estimator). Fix . Given i.i.d. and satisfying Assumption 5.1, define the CP estimator as in (8), (9), or (10). The test time estimator
satisfies the calibration-conditional guarantee:
Proof. By Lemma 4.2 (or its variants (9), (10)), we have
where . Under Assumption 5.1, , so there exists a coupling such that for we have almost surely. Consequently, for any ,
Applying (41) with yields
Therefore, on the event , we also have by (42). Combining this implication with (40) proves (39).
K. Long et al.: Preprint submitted to Elsevier
Page 12 of 24
Lemma 5.2 has a simple interpretation. The conformal threshold controls finite-sample uncertainty under the calibration distribution , while Assumption 5.1 accounts for the additional discrepancy between and . Under the shift model, this second source of uncertainty enters as an additive correction in value space. Thus, test-time robustness is obtained by increasing the calibration threshold by , at the cost of additional conservativeness.
Distributionally robust optimization. Next, we augment the DRO estimator by the same additive , combining the empirical-calibration gap and the calibration-test shift.
Lemma 5.3 (Shift robust DRO estimator). Fix . Given i.i.d. and satisfying Assumption 5.1, define the DRO estimator as in (20). The test time estimator
where is defined as in Lemma 4.6, satisfies the two-level guarantee
The proof follows by combining Lemma 4.7 with the same shift argument used in Lemma 5.2. Lemma 4.7 gives the calibration-distribution guarantee for , while Assumption 5.1 implies that adding transfers this guarantee from to . Thus, the DRO correction decomposes into two additive terms: accounts for finite-sample uncertainty between the empirical and calibration distributions, while accounts for calibration-test distribution shift.
5.2. Lévy-Prokhorov Shift Model
A complementary line of work [5] models test-time shift using the Lévy–Prokhorov (LP) metric, which allows both value-space perturbations and mass displacement. This leads to uncertainty thresholds that combine an additive value correction with a quantile-level correction.
As a special case, we first introduce the total variation (TV) distance between two distributions :
Here 1 denotes the indicator function. Intuitively, TV( , Q) is the minimum fraction of mass that must be reassigned to transform P into Q.
The Lévy–Prokhorov (LP) distance generalizes the Wasserstein and TV distances by permitting both local and global perturbations. For , let
The corresponding LP ambiguity set is
This admits a two-step interpretation: (i) each unit of mass under can be moved within a radius , and (ii) up to a fraction of the total mass may be displaced arbitrarily. Notably, reduces to the TV ball, while reduces to the ball.
The second shift model bounds the LP distance between the calibration and test distributions.
Assumption 5.4. The test distribution is within an LP ball around the calibration distribution:
corresponding to Problem 1 with and .
Under Assumption 5.4, we restate the LP-robust conformal result of [5, Cor. 4.2].
Theorem 5.5. Fix . Given i.i.d. and satisfying Assumption 5.4, define the LP robust conformal quantile as:
Then, the following marginal guarantee holds:
No non-vacuity condition is needed here: if the quantile level exceeds the estimator returns and the guarantee holds trivially. Remark 4.5 gives the condition under which the threshold is finite, and hence useful.
The results of [5] provide single-probability (marginal) coverage guarantees under LP distribution shift. We now strengthen this to the calibration-conditional (two-level) guarantee of (5), which holds with high probability over the calibration sample, by combining the usual CP index inflation in Lemma 4.2 with the LP shift relation.
Theorem 5.6. Fix and suppose that . Given i.i.d. and satisfying Assumption 5.4, define
Assume that the quantile level satisfies . Then the following calibration-conditional guarantee holds:
Proof. Let
K. Long et al.: Preprint submitted to Elsevier
Page 13 of 24
Table 4 Summary of uncertainty quantification under distribution shift.
| Method | Shift model | Coverage guarantee | Estimator | Result |
|---|---|---|---|---|
| CP under shift | Quantile | Lemma 5.2 | ||
| DRO under shift | Quantile | Lemma 5.3 | ||
| LP robust CP (marginal) [5] | Quantile | Theorem 5.5 | ||
| CP under LP shift | Quantile | Theorem 5.6 | ||
| DRO under LP shift | Quantile | Theorem 5.7 |
By Lemma 4.2, applied with miscoverage level ,
Equivalently,
Under Assumption 5.4, the LP shift relation implies that, for every ,
Applying this inequality with gives
Combining the preceding inequalities proves (52).
The preceding result handles the empirical–calibration discrepancy through CP level inflation. A parallel DRO construction instead accounts for this discrepancy through the Wasserstein radius . Under LP calibration-test shift, the resulting estimator combines an additive value correction with the quantile-level correction .
Theorem 5.7 (DRO under LP distribution shift). Fix and suppose that . Further assume that is supported on , has density satisfying , and define as in Lemma 4.6. Given i.i.d. and satisfying Assumption 5.4, define:
Then the following calibration-conditional guarantee holds:
Moreover, for every realization of the calibration sample,
Proof. For any , the LP shift relation implies that, for every ,
Applying this inequality with gives
Since this holds for every distribution in the ambiguity set, (60) follows. Then, by the choice of ,
On this event, combining the coupling between and with the LP coupling between and gives
Therefore, the deterministic guarantee (60) applies to with probability at least , proving (59).
In summary, there are two sources of uncertainty in the shifted setting. First, the finite-sample discrepancy between the calibration data and the calibration distribution can be handled either by CP, through quantile-level inflation, or by DRO, through the additive Wasserstein radius . Second, calibration-test distribution shift can be modeled by placing in a user-specified ambiguity set around .
Under the shift model, calibration-test shift contributes the same additive value correction to both the CP and DRO thresholds. Under the LP shift model with parameters , it contributes an additive value correction and a quantile-level correction . Consequently, the LP-shifted CP estimator combines with the usual CP level inflation, whereas the LP-shifted DRO estimator combines the quantile-level correction with the additive value correction . Table 4 summarizes the resulting estimators and guarantees.
K. Long et al.: Preprint submitted to Elsevier
Page 14 of 24
6. Application Studies in Vision, Language, and Autonomous Driving
In Section 4.5, we studied the behavior of the CP and DRO quantile estimators on scalar distributions. We now turn to four prediction settings in which the score distribution is induced by a model and a dataset.
First, we consider image classification (Section 6.1), which offers an i.i.d. baseline with a large discrete label space. Next, we evaluate the shift-aware estimators of Section 5 on the ImageNet-C dataset (Section 6.2), which adds controlled corruptions to the ImageNet validation images to obtain a test set with distribution shift. Multiple-choice question answering (Section 6.3) shrinks the label space to four options, so an estimator can more easily include all four, giving a valid but uninformative prediction set. Finally, we consider a trajectory prediction problem (Section 6.4), in which the discrete label set is replaced by a ball of radius , which can grow without bound, so no such limit exists. All four settings use at , for which Remark 4.5 gives for Lemmas 4.2 and 4.4, so every considered setting has sufficient calibration samples to exceed the vacancy threshold.
In each study, we report mean coverage, which tests the marginal guarantee, the two-level rate , which tests the calibration-conditional guarantee (5), and the prediction-set size needed to attain the guarantees. We compare split CP in (6), which targets marginal coverage only, against the calibration-conditional corrections of Lemmas 4.2, 4.3 and 4.4 and against DRO (Lemma 4.7).
6.1. Image Classification
Problem setup. We consider -class image classification with input space and label space . A pre-trained ResNet-152 classifier outputs class probabilities , where . The dataset is split into a calibration set and an evaluation set , both obtained by a uniformly random split of the dataset, hence exchangeable.
For each , define the nonconformity score
which measures how nonconforming the true label is with respect to the model's prediction. A small indicates high confidence in the correct class; a large value corresponds to greater uncertainty or misclassification.
For a new input , our goal is to construct a prediction set that contains the true label with probability at least :
under the assumption that calibration and test samples are exchangeable. Coverage alone is trivially achieved by the full label set ; the objective is therefore to
attain this coverage while keeping the prediction set as small as possible. The prediction set is defined as
where is a calibrated threshold. Intuitively, collects all labels whose predicted probabilities exceed , thereby guaranteeing the finite-sample coverage property , regardless of the underlying data distribution or classifier calibration [2].
In the standard split conformal prediction (SCP) framework [81, 2], this threshold is the empirical quantile
which calibrates the model's confidence scores to achieve the desired marginal coverage (6). In contrast, we can also define according to either the calibration-conditional conformal prediction in (8) and (10), or the distributionally robust variant in (20), which strengthen the coverage guarantees under calibration uncertainty.
Experimental setup. We evaluate the CP and DRO estimators on the ImageNet validation set using the pretrained ResNet-152 classifier. The dataset contains 50000 samples. We randomly select samples for calibration and use the remaining for evaluation. The target miscoverage level is (i.e., 0.9 nominal coverage). For the DRO variants we report two Wasserstein radii, , spanning the regime where DRO transitions from compact-but-unreliable to conservative-but-bloated prediction sets.
Results. We conduct 1000 independent trials with different random splits of calibration and evaluation data. Figure 4 reports the mean empirical coverage across trials. As expected, all six methods achieve marginal coverage at or above the nominal 0.9. The DRO radii shown are design choices rather than the certified , so this is an empirical observation and not a verification of the guarantee.

Figure 4: Mean empirical coverage across 1000 random trials on ImageNet with . All methods achieve marginal coverage at or above the nominal 0.9. Split CP is centered on the target, while the calibration-conditional and DRO variants concentrate above it.
To evaluate the stronger conditional guarantee, for each trial we test the two-level criterion
\mathbb{P}^K\big(\mathbb{P}(R^{(0)} \leq \bar{\alpha}(R^{1:K}) \geq 1 - \delta) \geq 1 - \beta,\with . Figure 5 highlights a key limitation of standard SCP: although it achieves the target marginal
K. Long et al.: Preprint submitted to Elsevier
Page 15 of 24

Figure 5: Two-level calibration-conditional coverage at . Each of the 1000 trials draws one calibration set and so yields one conditional coverage ; plotted is the fraction of trials for which this is at least , which estimates in (5) and must reach for the guarantee to hold. Split CP reaches only 0.547, while Lemma 4.2 and Lemma 4.4 achieve 1.000 and 0.996, Lemma 4.3 achieves 0.904, and DRO requires a sufficiently large radius.
Table 5
Coverage, two-level satisfaction probability, and mean prediction-set size across 1000 trials on ImageNet (, , ). *DRO () yields a vacuous prediction set (size 1000) in a fraction 0.060 of trials where the additive radius pushes the threshold above 1; the reported mean and std exclude these trials. Including all trials, the mean rises to 63.1 with std 236.7.
| Method | Mean coverage | Set size | |
|---|---|---|---|
| Split CP | 0.901 | 0.547 | |
| Lemma 4.2 | 0.934 | 1.000 | |
| Lemma 4.3 | 0.912 | 0.904 | |
| Lemma 4.4 | 0.927 | 0.996 | |
| DRO () | 0.935 | 0.965 | |
| DRO () | 0.919 | 0.906 |
coverage on average (0.901), it satisfies the two-level guarantee with rate only 0.547. This shortfall arises because SCP does not account for randomness in the calibration scores, limiting its robustness under the stronger conditional criterion. In contrast, both calibration-conditional CP methods (Lemmas 4.2 and 4.4) consistently satisfy the two-level guarantee in essentially all trials (1.000 and 0.996), while the DRO variants require a sufficiently large radius ( achieves 0.965, only 0.906). Lemma 4.3 behaves differently from the other two corrections: its condition is exact rather than a relaxation, so its two-level rate stays near the target (0.904) instead of saturating at 1, and its sets are correspondingly smaller. Because coverage is itself estimated on a finite evaluation set, the measured rate of such a tight method sits at the nominal value and can fall marginally on either side of it.
Table 5 shows the conservativeness/robustness trade-off across the methods. The calibration-conditional CP methods (Lemmas 4.2 and 4.4) emerge as the sweet spot because they satisfy the stronger two-level guarantee in essentially all trials while keeping prediction sets small (mean size 2.4 to 2.7 out of 1000 classes), while Lemma 4.3 gives up that margin for sets of mean size 2.0. Split CP gives the smallest sets (mean 1.8) but fails the two-level guarantee at rate 0.547.
The DRO variant is similarly compact and clears the criterion only marginally (0.906). DRO with satisfies the guarantee with rate 0.965 and a comparable mean set size on non-degenerate trials (3.0), but in a fraction 0.060 of trials the calibrated threshold exceeds 1 and the prediction set degenerates to all 1000 classes.
This degenerate behavior reflects a structural limitation of the additive form : the nonconformity scores are bounded in , so if the empirical quantile is already close to the upper end of its range under moderate calibration noise then an additive offset can push the threshold past 1, at which point any class is admitted into the prediction set. Clipping at 1 does not help because the prediction set then admits every label, so it remains vacuous. A remedy would instead need a data-adaptive radius that scales with the local score density near the -quantile, with its own validity argument.
Overall, this experiment shows that calibration-conditional CP is the most efficient route to satisfying the two-level guarantee under i.i.d. data.
6.2. Image Classification Under Distribution Shift
Problem setup. We next test robustness under distribution shift using ImageNet-C [46], which applies controlled corruptions to the ImageNet validation images. We use three of its corruption families spanning distinct mechanisms: Gaussian noise, motion blur, and fog, each at the five severity levels defined by ImageNet-C [46], illustrated in Figure 6.

Figure 6: ImageNet-C corruptions used in our experiments. Each row applies one corruption family to a clean validation image (leftmost) at increasing severity (1 to 5). Severity controls the magnitude of the shift between the clean calibration distribution and the corrupted evaluation distribution.
Experimental setup. In each trial, we draw clean images for calibration and use the corrupted versions of the remaining for evaluation. We keep , , and report 200 independent trials. We compare the five shift-aware estimators of Table 4: CP under shift (Lemma 5.2), DRO under shift (Lemma 5.3), the marginal LP-robust CP of [5] (Theorem 5.5), and our calibration-conditional extensions under LP shift (Theorem 5.6 and its DRO counterpart Theorem 5.7), together with split CP as a no-adjustment baseline.
The two shift models take different budgets. For the methods (Lemmas 5.2 and 5.3) we set . For the LP
K. Long et al.: Preprint submitted to Elsevier
Page 16 of 24

Figure 7: Mean coverage on ImageNet-C versus severity (, ), for Gaussian noise, motion blur, and fog. Split CP degrades monotonically below the 0.90 target; the shift-aware methods hold higher coverage, highest for Theorem 5.7 and then Theorem 5.6. The margin of Theorem 5.7 is partly obtained with vacuous sets (Table 6).

Figure 8: Two-level guarantee probability over the (corruption, severity) grid (, ). Green indicates the guarantee is met in nearly all trials. Split CP fails everywhere under shift. Theorem 5.6 holds the guarantee at low severity and degrades gracefully. The marginal method (Theorem 5.5) does not satisfy the two-level criterion, as expected of a marginal guarantee. Theorem 5.7 degrades the most slowly of all, retaining roughly 0.4 at the highest severity, but does so by returning vacuous sets.
methods (Theorems 5.5, 5.6 and 5.7) we set and , chosen so that Theorem 5.5 attains marginal coverage at severity 1. The budget is larger because it has no to absorb the level part of the shift.
Results. Figure 7 reports mean coverage versus severity, and Figure 8 the two-level guarantee probability for all three corruptions and five severities. Split CP, which has no shift mechanism, degrades sharply: its mean coverage falls from 0.87 at severity 1 to 0.50 at severity 5 (Gaussian noise), and it satisfies the two-level guarantee in essentially no shifted cell. The shift-aware methods hold higher coverage. Among them, Theorem 5.6 is the most robust, maintaining the two-level guarantee at severity 1–2 across all three corruptions.
Table 6 details a representative mild cell (motion blur, severity 1). Two points stand out. First, the marginal method (Theorem 5.5) achieves its target marginal coverage (0.907) with small sets (median 2.5), but satisfies the stronger two-level criterion with rate only 0.745, which illustrates the gap between marginal robustness and the calibration-conditional guarantee. Second, Theorem 5.6 closes this gap by satisfying the two-level guarantee in all trials with usable prediction sets (median 6.8 of 1000 classes, 0.000 vacuous). Its DRO counterpart (Theorem 5.7) shows the limit of the value-space route on a bounded score: it applies the level correction and the additive radius together, which drives past 1 in 34% of
trials even at the reduced radius , so its median set of 10.7 classes is obtained at the cost of frequent degeneracy. On the continuous nuScenes score, the same estimator is instead the tightest of the shift-aware methods (Table 9).
Figure 9 examines how the LP parameters () affect Theorem 5.6 across the three corruptions at severity 2. The measured two-level rate exceeds above the white curve but the median prediction-set size grows steeply with the Wasserstein radius . This occurs because the additive value correction pushes the threshold toward the all-class set. In contrast, the set size increases relatively gently with the level parameter when is small. Robustness is therefore most efficiently supplied through while keeping small. This contrasts with the pure methods, whose only lever is , and explains their higher set sizes and vacuity in Table 6.
Distribution shift sharpens the i.i.d. findings of Section 6.1. Split CP loses coverage outright. The marginal LP-robust method achieves marginal coverage but not the calibration-conditional guarantee, while Theorem 5.6 delivers the two-level guarantee with usable sets at mild-to-moderate corruption. As severity in the distribution shift grows, all methods degrade. A fixed () budget eventually cannot absorb the shift, and a larger budget raises the threshold and so enlarges the prediction sets. Matching the budget to the anticipated shift magnitude, thus, trades efficiency for
K. Long et al.: Preprint submitted to Elsevier
Page 17 of 24

Figure 9: Effect of the LP ambiguity-set parameters on Theorem 5.6 at severity 2, for each corruption. Color is the median prediction-set size (log scale); the white curve marks where the measured two-level rate equals ; the red star marks , just above the curve in the low-set-size region. The measured rate exceeds above this curve but the set size grows steeply with (the additive radius saturates the threshold toward the all-class set) and more gently with at small . For fog, the guarantee is already met at the smallest budget shown, so its curve lies below the plotted range and no contour appears.
Table 6
Results at motion blur severity 1 (, , , 200 trials). The two shift models carry their own budgets, recorded in the column. “Mean coverage” is the average coverage over trials; is the calibration-conditional success rate ; “Set size” is the median prediction-set size; “Vac.” is the fraction of trials whose threshold exceeds 1. The marginal method (Theorem 5.5) attains marginal coverage (0.907) but not the two-level guarantee (0.745). Theorem 5.6 attains both with usable sets. Its DRO counterpart (Theorem 5.7) meets the guarantee only degenerately on this bounded score: stacking the level correction on the additive radius still pushes above 1 in 34% of trials. The DRO radius is set to , carried over from Table 5 as the smallest i.i.d. radius meeting the two-level guarantee (it is a design choice in the sense of Section 4.4, not the certified value).
| Method | Mean coverage | Set size | Vac. | ||
|---|---|---|---|---|---|
| Split CP | - | 0.874 | 0.015 | 1.8 | 0.000 |
| shift model (Assumption 5.1) | |||||
| Lemma 5.2 | (0.008, -) | 0.948 | 1.000 | 4.4 | 0.030 |
| Lemma 5.3 | (0.008, -) | 0.918 | 0.730 | 2.7 | 0.035 |
| Lévy-Prokhorov shift model (Assumption 5.4) | |||||
| Theorem 5.5 | (0.002, 0.02) | 0.907 | 0.745 | 2.5 | 0.000 |
| Theorem 5.6 | (0.002, 0.02) | 0.960 | 1.000 | 6.8 | 0.000 |
| Theorem 5.7 | (0.002, 0.02) | 0.967 | 0.980 | 10.7 | 0.340 |
robustness, with Theorem 5.6 being at the most favorable point of this trade-off.
6.3. Language Model Question Answering
Problem setup. We next apply the uncertainty quantification methods to a multiple-choice question answering task using a language model on the MMLU dataset [45]. We evaluate on the standard test split of 14042 questions across 57 academic subjects, each with four answer options . A pre-trained Qwen2.5-7B-Instruct model [98] reads each question and its four options and
produces a probability over the options from the next-token logits of the choice letters. This model attains 71.7% top-1 accuracy. As before, we define the nonconformity score as
and the prediction set as .
Experimental setup. We pool all 14042 questions and, in each trial, draw for calibration and use the remaining for evaluation, so the calibration and test samples are exchangeable. We set and , and report 1000 independent trials. We compare Split CP, the three calibration-conditional CP variants Lemmas 4.2, 4.3 and 4.4), and the -DRO threshold at radii . Because the four-option scores concentrate near 1, the DRO radii here are an order of magnitude smaller than in the ImageNet study.
Results. Figure 10 reports the mean empirical coverage across trials and Figure 11 the two-level guarantee probability. As in the image setting, every method attains marginal coverage at or above the nominal level of 0.9. The two-level guarantee, however, separates the methods sharply (Table 7). Split CP, which controls marginal but not calibration-conditional coverage, attains the target marginal coverage (0.901) but satisfies the two-level criterion with rate only 0.557. The calibration-conditional methods (Lemma 4.2, Lemma 4.4) satisfy it in essentially all trials while keeping the prediction sets compact (mean size of 4 options), and Lemma 4.3 again tracks the nominal level (0.891) with the smallest calibration-conditional set (1.84). The DRO threshold interpolates between these regimes as grows: reaches 0.887 and reaches 0.955. This improvement, however, comes from a constant additive radius that inflates every prediction set uniformly. Already at , DRO returns the full four-option set in a
K. Long et al.: Preprint submitted to Elsevier
Page 18 of 24 fraction 0.160 of trials (Table 7), whereas the calibration-conditional methods are never vacuous. The same additive-radius limitation appears in the image experiments (cf. Sections 6.1 and 6.2): a constant cannot adapt to the score distribution, and calibration-conditional CP attains the two-level guarantee with smaller sets.

Figure 10: Mean empirical coverage across 1000 random calibration/evaluation splits of MMLU with . All methods achieve marginal coverage at or above the nominal 0.9. Split CP concentrates on the target while the calibration-conditional and DRO variants concentrate above it.

Figure 11: Two-level calibration-conditional coverage on MMLU at : the fraction of the 1000 trials whose calibration set attains conditional coverage , which estimates in (5) and must reach for the guarantee to hold. Split CP reaches only 0.557, Lemma 4.2 and Lemma 4.4 achieve 1.000, Lemma 4.3 tracks the nominal level, and DRO requires a sufficiently large radius.
6.4. Autonomous Driving Trajectory Prediction
Problem setup. Our final experiment moves from discrete classification to a continuous-output task: vehicle trajectory prediction on nuScenes [15]. For each agent, we observe 2 s of history and predict its position over a 6 s horizon with a constant velocity-and-heading baseline, which is the standard physics model of the nuScenes prediction challenge [72]. We set the nonconformity score to the final displacement error in meters,
the distance between the predicted and true position at horizon s. The prediction set is now a ball of radius around the predicted endpoint, so the analogue of prediction-set size is the calibrated radius in meters. Unlike the discrete label sets of Sections 6.1–6.3, there is no finite label space
Table 7
MMLU multiple-choice QA with Qwen2.5-7B-Instruct (, , , 1000 trials, i.i.d.). “Set size” is the mean std prediction-set size, out of four options. Split CP attains marginal but not two-level coverage; the calibration-conditional methods (Lemma 4.2, Lemma 4.4) attain the two-level guarantee with compact sets and Lemma 4.3 tracks the nominal level with smaller sets still. *The constant additive DRO radius returns the full four-option (vacuous) set in fractions 0.019 and 0.160 of trials at and respectively; as in Table 5, the reported mean and std exclude these trials. Including all trials they are and .
| Method | Mean coverage | Set size | |
|---|---|---|---|
| Split CP | 0.901 | 0.557 | 1.76 ± 0.07 |
| Lemma 4.2 | 0.934 | 1.000 | 2.04 ± 0.08 |
| Lemma 4.3 | 0.912 | 0.891 | 1.84 ± 0.07 |
| Lemma 4.4 | 0.927 | 0.997 | 1.97 ± 0.08 |
| DRO () | 0.944 | 0.955 | 2.07 ± 0.27* |
| DRO () | 0.922 | 0.887 | 1.93 ± 0.19* |
so exhaust. The additive DRO radius simply grows the ball, to the prediction set is never vacuous.
Experimental setup. We score 49787 agent trajectories from the nuScenes prediction challenge with the constant-velocity-and-heading model. The final displacement error has a median of 9.4 m, a mean of 11.5 m, and a 90th percentile of 23.8 m. In each of the 1000 trials, we draw trajectories for calibration and use the remaining for evaluation, with and . We compare Split CP, the three calibration-conditional CP variants, and -DRO at additive radii m.
Results. Figure 12 reports the mean empirical coverage across the trials, Figure 13 the two-level guarantee probability, and Table 8 the calibrated radius. The pattern matches the classification and language-model experiments: every method attains marginal coverage at or above the nominal 0.9 but Split CP, which controls only marginal coverage, satisfies the two-level criterion with rate only 0.554. The calibration-conditional methods (Lemma 4.2, Lemma 4.4) satisfy it in essentially all trials with radii of 26–27 m, while Lemma 4.3 tracks the nominal level with a 24.8 m ball, and DRO reaches it once m. The key difference from the discrete settings is the absence of vacuity. As the DRO radius grows from 1 to 3 m the calibrated ball grows from 24.9 to 26.9 m and never degenerates.
Figure 14 shows the physical scale of the calibrated margin for a single turning agent. The constant velocity-and-heading prediction extrapolates straight and misses the turn, while the calibrated tube (per-step radius growing from m at 0.5 s to m at 6 s) still contains the true trajectory.
Distribution shift. We additionally probe two covariate shifts, calibrating on one subpopulation and testing on another. A geographic shift, where we calibrate on Boston and test on Singapore, barely moves the score distribution (the 90th-percentile error is 23.9 m versus 23.7 m) because constant-velocity error depends on agent dynamics rather
K. Long et al.: Preprint submitted to Elsevier
Page 19 of 24

Figure 12: Mean empirical coverage across 1000 random calibration/test splits of the nuScenes prediction set (). All methods achieve marginal coverage at or above the nominal 0.90; Split CP concentrates on the target while the calibration-conditional and DRO variants concentrate above it.

Figure 13: Two-level calibration-conditional coverage on nuScenes trajectory prediction (i.i.d., , 1000 trials). Plotted is the fraction of trials whose calibration set attains conditional coverage at least , which estimates in (5) and must reach for the guarantee to hold. Split CP reaches only 0.554, Lemma 4.2 and Lemma 4.4 reach 1.000 and 0.997, Lemma 4.3 reaches 0.890, and DRO reaches the level once m.
Table 8
nuScenes trajectory prediction (, , , 1000 trials, i.i.d.). "Set size" is the calibrated ball radius in meters (mean std). Split CP attains marginal but not two-level coverage; the calibration-conditional methods attain the two-level guarantee. Unlike the classification settings, the DRO radius grows smoothly with and is never vacuous, since the prediction region is a continuous ball rather than a discrete label set.
| Method | Mean coverage | Set size (m) | |
|---|---|---|---|
| Split CP | 0.901 | 0.554 | 24.0 ± 0.7 |
| Lemma 4.2 | 0.934 | 1.000 | 26.8 ± 0.8 |
| Lemma 4.3 | 0.912 | 0.890 | 24.8 ± 0.8 |
| Lemma 4.4 | 0.927 | 0.997 | 26.2 ± 0.8 |
| DRO ( m) | 0.934 | 1.000 | 26.9 ± 0.7 |
| DRO ( m) | 0.913 | 0.929 | 24.9 ± 0.7 |
than city. Thus, we consider a maneuver shift, where we calibrate on straight driving and test on turning. Turning roughly doubles the prediction error, raising the 90th-percentile from 20.2 to 29.7 m. The i.i.d. Split CP margin under-covers the turning population at only 0.669. Table 9 shows that the shift-aware estimators of Section 6.2 recover coverage, with the same marginal-versus-two-level distinction as the ImageNet-C study (Table 6): the marginal estimator (Theorem 5.5) achieves marginal coverage (0.905) but satisfies

Figure 14: Calibrated uncertainty tube for a turning agent. The constant velocity-and-heading prediction (blue) extrapolates straight and misses the turn, while the ground-truth future (green) curves away. The per-step calibrated tube (radius growing from m at 0.5 s to m at 6 s) contains the ground-truth. The radii are calibrated separately at each time step at level , so the figure shows the physical scale of a calibrated margin rather than a guarantee over the horizon.
Table 9
Maneuver shift on nuScenes (, , 1000 trials) with calibration on straight-driving agents and testing on turning agents. As in Table 6, each shift model has a budget in meters. "Mean coverage" is the average coverage over trials; is the calibration-conditional success rate ; "Set size" is the calibrated ball radius in meters. The Split CP margin under-covers the shifted population (0.669). The shift-aware estimators recover coverage, with the marginal method (Theorem 5.5) attaining marginal but not two-level coverage and Theorem 5.6 attaining both; its DRO counterpart (Theorem 5.7) attains both with a tighter ball.
| Method | (η, ρ) | Mean coverage | Set size (m) | |
|---|---|---|---|---|
| Split CP | — | 0.669 | 0.000 | 20.3 ± 0.7 |
| W∞ shift model (Assumption 5.1) | ||||
| Lemma 5.2 | (8, —) | 0.918 | 0.966 | 31.1 ± 0.8 |
| Lemma 5.3 | (8, —) | 0.923 | 0.991 | 31.5 ± 0.8 |
| Lévy-Prokhorov shift model (Assumption 5.4) | ||||
| Theorem 5.5 | (5, 0.05) | 0.905 | 0.657 | 30.2 ± 0.9 |
| Theorem 5.6 | (5, 0.05) | 0.969 | 1.000 | 36.7 ± 1.4 |
| Theorem 5.7 | (5, 0.05) | 0.941 | 0.999 | 33.1 ± 1.3 |
the two-level guarantee with rate only 0.657, whereas Theorem 5.6 attains both (0.969, 1.000). Because the score is continuous, the correction enlarges the safety ball smoothly (from 20 to 30–37 m) rather than collapsing to a vacuous label set seen in classification. The budget behaves differently here. On the bounded ImageNet-C score, set size grows far more slowly in than in (Figure 9), whereas on this unbounded distance score every budget that achieves marginal coverage yields essentially the same ball, 30–31 m, so the two parameters are interchangeable. This is the density scaling of Section 4.3 in the shifted setting: shifts the quantile level and shifts its value, and the score density at the threshold converts one into the other.
K. Long et al.: Preprint submitted to Elsevier
Page 20 of 24
6.5. Choosing an Estimator
This section gives guidance on which estimator to use. Although the three applications (Sections 6.1, 6.3 and 6.4) differ in label space and in whether the score is bounded, they rank the CP estimators identically by both set size and two-level rate, so the same guidance applies to all three.
If only marginal coverage is required, split CP is the standard choice and gives the smallest sets everywhere. However, it does not control coverage for the particular calibration set drawn, and its two-level rate is far below 0.9 in the three studies.
Among the calibration-conditional corrections, Lemma 4.3 gives the smallest sets, because it solves the beta-function condition exactly, whereas Lemmas 4.2 and 4.4 relax it. Because Lemma 4.3 carries no slack, its two-level rate tracks rather than exceeding it and the measured value can fall on either side. Lemmas 4.2 and 4.4 achieve a wide margin at the cost of larger prediction sets, and their level correction is explicit, so it can be allocated across constraints or time steps. Of the two, Lemma 4.4 is preferable once falls below roughly 0.1.
Without calibration-test distribution shift, DRO's certified radius gives the larger correction (Sections 4.5 and 6), so CP produces smaller prediction sets and is the preferable choice. DRO is nevertheless preferable in two cases: when K lies below the non-vacuity thresholds, where CP returns no finite estimator at all, and when coverage must hold over an ambiguity set rather than for alone. Whether the score is bounded also decides what DRO's additive correction costs: on the continuous nuScenes distance DRO matches the calibration-conditional sets (26.9 against 26.8 m at a two-level rate of 1.000), whereas on the bounded MMLU score the same correction returns the full label set in a fraction 0.160 of trials.
Every shift-aware estimator requires the shift budget as an input: for the corrections of Lemmas 5.2 and 5.3, and for the LP estimators. None is assumption-free. When the shift is purely value-space, the corrections are the tighter choice, as they do not pay for a level perturbation (31.1 against 36.7 m on nuScenes). Under the LP model, Theorem 5.5 achieves marginal coverage only (0.905, with a two-level rate of 0.657), whereas Theorem 5.6 and Theorem 5.7 achieve both. The choice between those two again follows the score, the latter giving the tighter ball on the continuous nuScenes distance but degenerating on the bounded ImageNet-C score. How to split a given budget between and depends on the score as well: on a bounded score inflates sets far more slowly than (Figure 9), whereas on an unbounded distance score the two are interchangeable, so there may be set directly from the anticipated perturbation.
7. Conclusions
This article developed a unified probabilistic perspective on conformal prediction (CP) and Wasserstein distributionally robust optimization (DRO), viewing both as procedures that turn finite calibration data into a quantile threshold with finite-sample coverage. The two correct the empirical quantile along different coordinates: CP raises the target quantile level, whereas DRO shifts the quantile value through an ambiguity radius. Making the correspondence precise exposes an asymmetry in what each method certifies. CP's level correction is closed-form and distribution-free, whereas the radius that certifies DRO's coverage depends on a density lower bound that is typically unknown; in return, DRO certifies coverage uniformly over the ambiguity set rather than for the true distribution alone.
In the scalar case, the comparison is exact. The two estimators share the same first-order asymptotic variance and differ only in a deterministic offset. With certified radius, that offset is provably larger for DRO and is governed by a uniform lower bound on the density, whereas CP's is governed by the density at the target quantile.
In the experiments, calibration-conditional CP and DRO attain the two-level guarantee that the standard split-CP baseline fails to meet. Among the methods that meet it, CP produces the smallest prediction sets, while DRO's additive correction is well suited to a continuous score but not to a bounded score, where it can drive the prediction set to vacuity. The same distinction applies to the shift-aware estimators under both shift models. These behaviors are consistent across ImageNet classification, MMLU question answering, and nuScenes trajectory prediction.
Two open problems follow. The first is the DRO radius. The value that certifies coverage depends on unknown properties of the distribution, is provably the looser correction, and can saturate a bounded score. Data-driven and adaptive radii can help, but they require more than the K calibration scores, such as a model for the score distribution or repeated problem instances. The second is the shift budget. Every shift-aware estimator requires it as an input, so none is assumption-free. The open problem is to estimate the budget from data and to account for the estimation error in the guarantee. Beyond these, a further open direction is to propagate the two-level guarantee from coverage into decision-making, e.g., in chance-constrained optimization, model predictive control, and planning, where a calibrated threshold would provide a closed-loop guarantee. Another direction is related to online calibration, where data arrive as a non-stationary stream and the threshold must be updated continually to preserve coverage under drift, as in autonomous systems operating over long horizons.
References
[1] Angelopoulos, A.N., Barber, R.F., Bates, S., 2024. Theoretical foundations of conformal prediction. arXiv preprint arXiv:2411.11824.
[2] Angelopoulos, A.N., Bates, S., 2023. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning 16, 494–591.
[3] Angelopoulos, A.N., Bates, S., Jordan, M.I., Malik, J., 2021. Uncertainty sets for image classifiers using conformal prediction, in: International Conference on Learning Representations (ICLR).
K. Long et al.: Preprint submitted to Elsevier
Page 21 of 24
[4] Aolaritei, L., Fochesato, M., Lygeros, J., Dörfler, F., 2023. Wasserstein tube MPC with exact uncertainty propagation, in: IEEE Conference on Decision and Control (CDC), pp. 2036–2041.
[5] Aolaritei, L., Wang, Z.O., Zhu, J., Jordan, M.I., Marzouk, Y., 2025. Conformal prediction under Lévy-Prokhorov distribution shifts: Robustness to local and global perturbations, in: Advances in Neural Information Processing Systems (NeurIPS).
[6] Barber, R.F., Candès, E.J., Ramdas, A., Tibshirani, R.J., 2023. Conformal prediction beyond exchangeability. The Annals of Statistics 51, 816–845.
[7] Bentkus, V., 2004. On Hoeffding's inequalities. The Annals of Probability 32, 1650–1673.
[8] Bian, M., Barber, R.F., 2023. Training-conditional coverage for distribution-free predictive inference. Electronic Journal of Statistics 17, 2044–2066.
[9] Blanchet, J., Kang, Y., Murthy, K., 2019. Robust Wasserstein profile inference and applications to machine learning. Journal of Applied Probability 56, 830–857.
[10] Blanchet, J., Murthy, K., 2019. Quantifying distributional model risk via optimal transport. Mathematics of Operations Research 44, 565–600.
[11] Boskos, D., Cortés, J., Martínez, S., 2021. Data-driven ambiguity sets with probabilistic guarantees for dynamic processes. IEEE Transactions on Automatic Control 66, 2991–3006.
[12] Boskos, D., Cortés, J., Martínez, S., 2023. Data-driven distributionally robust coverage control by mobile robots, in: IEEE Conference on Decision and Control (CDC), pp. 2030–2035.
[13] Boskos, D., Cortés, J., Martínez, S., 2024. High-confidence data-driven ambiguity sets for time-varying linear systems. IEEE Transactions on Automatic Control 69, 797–812. doi:10.1109/TAC.2023.3273815.
[14] Boucheron, S., Lugosi, G., Massart, P., 2013. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press.
[15] Caesar, H., Bankiti, V., Lang, A.H., Vora, S., Liong, V.E., Xu, Q., Krishnan, A., Pan, Y., Baldan, G., Beijbom, O., 2020. nuScenes: A multimodal dataset for autonomous driving, in: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 11621–11631.
[16] Calafore, G.C., 2026. Bridging conformal prediction and scenario optimization: Discarded constraints and modular risk allocation. arXiv preprint arXiv:2603.19396.
[17] Calafore, G.C., Campi, M.C., 2006. The scenario approach to robust control design. IEEE Transactions on Automatic Control 51, 742–753.
[18] Campi, M.C., Garatti, S., 2008. The exact feasibility of randomized solutions of uncertain convex programs. SIAM Journal on Optimization 19, 1211–1230.
[19] Campi, M.C., Garatti, S., 2011. A sampling-and-discarding approach to chance-constrained optimization: feasibility and optimality. Journal of Optimization Theory and Applications 148, 257–280.
[20] Cauchois, M., Gupta, S., Ali, A., Duchi, J.C., 2024. Robust validation: Confident predictions even when distributions shift. Journal of the American Statistical Association 119, 3033–3044.
[21] Chee, K.Y., Silva, T.C., Hsieh, M.A., Pappas, G.J., 2024. Uncertainty quantification and robustification of model-based controllers using conformal prediction, in: Learning for Dynamics and Control Conference (L4DC), PMLR. pp. 528–540.
[22] Chen, R., Paschalidis, I.C., 2018. A robust learning approach for regression models based on distributionally robust optimization. Journal of Machine Learning Research 19, 1–48.
[23] Chen, R., Paschalidis, I.C., 2020. Distributionally robust learning. Foundations and Trends in Optimization 4, 1–243.
[24] Cherian, J.J., Gibbs, I., Candès, E.J., 2024. Large language model validity via enhanced conformal prediction methods. Advances in Neural Information Processing Systems 37, 114812–114842.
[25] Cherukuri, A., Cortés, J., 2020. Cooperative data-driven distributionally robust optimization. IEEE Transactions on Automatic
Control 65, 4400–4407.
[26] Cisneros-Velarde, P., Petersen, A., Oh, S.Y., 2020. Distributionally robust formulation and model selection for the graphical lasso, in: International Conference on Artificial Intelligence and Statistics, PMLR. pp. 756–765.
[27] Cleaveland, M., Lee, I., Pappas, G.J., Lindemann, L., 2024. Conformal prediction regions for time series using linear complementarity programming, in: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 20984–20992.
[28] Coulson, J., Lygeros, J., Dörfler, F., 2021. Distributionally robust chance constrained data-enabled predictive control. IEEE Transactions on Automatic Control 67, 3289–3304.
[29] Delage, E., Ye, Y., 2010. Distributionally robust optimization under moment uncertainty with application to data-driven problems. Operations Research 58, 595–612.
[30] Dixit, A., Ahmadi, M., Burdick, J.W., 2022. Distributionally robust model predictive control with total variation distance. IEEE Control Systems Letters 6, 3325–3330.
[31] Duan, C., Fang, W., Jiang, L., Yao, L., Liu, J., 2018. Distributionally robust chance-constrained approximate AC-OPF with Wasserstein metric. IEEE Transactions on Power Systems 33, 4924–4936.
[32] Esfahani, P.M., Kuhn, D., 2018. Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations. Mathematical Programming 171, 115–166.
[33] Fernández-Zapico, D., Hofman, T., Salazar, M., 2025. Stochastic model predictive control of charging energy hubs with conformal prediction, in: IEEE Conference on Decision and Control (CDC), IEEE. pp. 3095–3100.
[34] Fournier, N., Guillin, A., 2015. On the rate of convergence in Wasserstein distance of the empirical measure. Probability theory and related fields 162, 707–738.
[35] Foygel Barber, R., Candès, E.J., Ramdas, A., Tibshirani, R.J., 2021. The limits of distribution-free conditional predictive inference. Information and Inference: A Journal of the IMA 10, 455–482.
[36] Gao, R., 2023. Finite-sample guarantees for Wasserstein distributionally robust optimization: Breaking the curse of dimensionality. Operations Research 71, 2291–2306.
[37] Gao, R., Kleywegt, A., 2023. Distributionally robust stochastic optimization with Wasserstein distance. Mathematics of Operations Research 48, 603–655.
[38] Garatti, S., Campi, M.C., 2025. Non-convex scenario optimization. Mathematical Programming 209, 557–608.
[39] Guo, J., 2026. Learning the center and radius of Wasserstein ambiguity sets for data-driven decision making. arXiv preprint arXiv:2608.18123.
[40] Guo, Y., Baker, K., Dall'Anese, E., Hu, Z., Summers, T.H., 2019. Data-based distributionally robust stochastic optimal power flow-Part I: methodologies. IEEE Transactions on Power Systems 34, 1483–1492.
[41] Hakobyan, A., Yang, I., 2022a. Distributionally robust risk map for learning-based motion planning and control: A semidefinite programming approach. IEEE Transactions on Robotics 39, 718–737.
[42] Hakobyan, A., Yang, I., 2022b. Wasserstein distributionally robust motion control for collision avoidance using conditional value-at-risk. IEEE Transactions on Robotics 38, 939–957.
[43] Hakobyan, A., Yang, I., 2024. Wasserstein distributionally robust control of partially observable linear stochastic systems. IEEE Transactions on Automatic Control 69, 6121–6136.
[44] Ham, H., Ahn, H., 2026. DRO-EDL-MPC: Evidential deep learning-based distributionally robust model predictive control for safe autonomous driving. IEEE Robotics and Automation Letters 11, 3015–3022.
[45] Hendrycks, D., Burns, C., Basart, S., Zou, A., Mazeika, M., Song, D., Steinhardt, J., 2021. Measuring massive multitask language understanding. Proceedings of the International Conference on Learning Representations (ICLR).
K. Long et al.: Preprint submitted to Elsevier
Page 22 of 24
[46] Hendrycks, D., Dietterich, T., 2019. Benchmarking neural network robustness to common corruptions and perturbations. Proceedings of the International Conference on Learning Representations.
[47] Hong, L.J., Liu, G., 2011. Monte Carlo estimation of value-at-risk, conditional value-at-risk and their sensitivities, in: 2011 Winter Simulation Conference, p. 950197.
[48] Jiang, R., Guan, Y., 2016. Data-driven chance constrained stochastic program. Mathematical Programming 158, 291–327.
[49] Karimi, H., Samavi, R., 2023. Quantifying deep learning model uncertainty in conformal prediction, in: Proceedings of the AAAI Symposium Series, pp. 142–148.
[50] Kuhn, D., Shafiee, S., Wiesemann, W., 2025. Distributionally robust optimization. Acta Numerica 34, 579–804.
[51] Kumar, B., Lu, C., Gupta, G., Palepu, A., Bellamy, D., Raskar, R., Beam, A., 2023. Conformal prediction with large language models for multi-choice question answering. arXiv preprint arXiv:2305.18404.
[52] Lathrop, P., Boardman, B., Martínez, S., 2021. Distributionally safe path planning: Wasserstein safe RRT. IEEE Robotics and Automation Letters 7, 430–437.
[53] Lei, J., G'Sell, M., Rinaldo, A., Tibshirani, R.J., Wasserman, L., 2018. Distribution-free predictive inference for regression. Journal of the American Statistical Association 113, 1094–1111.
[54] Lekeufack, J., Angelopoulos, A.N., Bajcsy, A., Jordan, M.I., Malik, J., 2024. Conformal decision theory: Safe autonomous decisions from imperfect predictions, in: 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 11668–11675.
[55] Li, B., Jiang, R., Mathieu, J.L., 2019. Distributionally robust chance-constrained optimal power flow assuming unimodal distributions with misspecified modes. IEEE Transactions on Control of Network Systems 6, 1223–1234.
[56] Lidard, J., Pham, H., Bachman, A., Boateng, B., Majumdar, A., 2024. Risk-calibrated human-robot interaction via set-valued intent prediction, in: Robotics: Science and Systems (RSS), Delft, Netherlands. doi:10.15607/RSS.2024.XX.027.
[57] Lindemann, L., Cleaveland, M., Shim, G., Pappas, G.J., 2023. Safe planning in dynamic environments using conformal prediction. IEEE Robotics and Automation Letters 8, 5116–5123.
[58] Lindemann, L., Zhao, Y., Yu, X., Pappas, G.J., Deshmukh, J.V., 2025. Formal verification and control with conformal prediction: Practical safety guarantees for autonomous systems. IEEE Control Systems 45, 72–122.
[59] Liu, A., Liu, J.G., Lu, Y., 2019. On the rate of convergence of empirical measure in -Wasserstein distance for unbounded density function. Quarterly of Applied Mathematics 77, 811–829.
[60] Long, K., Cortés, J., Atanasov, N., 2024. Distributionally robust policy and Lyapunov-certificate learning. IEEE Open Journal of Control Systems 3, 375–388.
[61] Long, K., Lee, K.M.B., Raicevic, N., Attasseri, N., Leok, M., Atanasov, N., 2026a. Neural Configuration-Space Barriers for Manipulation Planning and Control. IEEE Transactions on Automation Science and Engineering (TASE) 23, 10173–10185.
[62] Long, K., Yi, Y., Cortes, J., Atanasov, N., 2023a. Distributionally robust Lyapunov function search under uncertainty, in: Learning for Dynamics and Control Conference, PMLR. pp. 864–877.
[63] Long, K., Yi, Y., Cortés, J., Atanasov, N., 2023b. Safe and stable control synthesis for uncertain system models via distributionally robust optimization, in: 2023 American Control Conference (ACC), IEEE. pp. 4651–4658.
[64] Long, K., Yi, Y., Dai, Z., Herbert, S., Cortés, J., Atanasov, N., 2026b. Sensor-based distributionally robust control for safe robot navigation in dynamic environments. The International Journal of Robotics Research 45, 328–351.
[65] Lu, C., Lemay, A., Chang, K., Höbel, K., Kalpathy-Cramer, J., 2022. Fair conformal predictors for applications in medical imaging, in: Proceedings of the AAAI conference on artificial intelligence, pp. 12008–12016.
[66] Lu, C., Yu, Y., Karimireddy, S.P., Jordan, M.I., Raskar, R., 2023. Federated conformal predictors for distributed uncertainty quantification, in: Proceedings of the 40th International Conference on Machine Learning, PMLR. pp. 22942–22964.
[67] Luo, R., Zhao, S., Kuck, J., Ivanovic, B., Savarese, S., Schmerling, E., Pavone, M., 2024. Sample-efficient safety assurances using conformal prediction. The International Journal of Robotics Research 43, 1409–1424.
[68] Mark, C., Liu, S., 2023. Recursively feasible data-driven distributionally robust model predictive control with additive disturbances. IEEE Control Systems Letters 7, 526–531.
[69] McAllister, R.D., Mohajerin Esfahani, P., 2025. Distributionally robust model predictive control: Closed-loop guarantees and scalable algorithms. IEEE Transactions on Automatic Control 70, 2963–2978.
[70] Mestres, P., Long, K., Atanasov, N., Cortés, J., 2024. Feasibility analysis and regularity characterization of distributionally robust safe stabilizing controllers. IEEE Control Systems Letters 8, 91–96.
[71] O'Sullivan, N., Romao, L., Margellos, K., 2025. Bridging conformal prediction and scenario optimization, in: IEEE Conference on Decision and Control (CDC), pp. 6114–6121.
[72] Phan-Minh, T., Grigore, E.C., Boulton, F.A., Beijbom, O., Wolff, E.M., 2020. Covernet: Multimodal behavior prediction using trajectory sets, in: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 14074–14083.
[73] Poolla, B.K., Hota, A.R., Bolognani, S., Callaway, D.S., Cherukuri, A., 2021. Wasserstein distributionally robust look-ahead economic dispatch. IEEE Transactions on Power Systems 36, 2010–2022.
[74] Quach, V., Fisch, A., Schuster, T., Yala, A., Sohn, J.H., Jaakkola, T.S., Barzilay, R., 2024. Conformal language modeling, in: International Conference on Learning Representations (ICLR).
[75] Rahimian, H., Mehrotra, S., 2022. Frameworks and results in distributionally robust optimization. Open Journal of Mathematical Optimization 3, 1–85.
[76] Ren, A.Z., Majumdar, A., 2022. Distributionally robust policy learning via adversarial environment generation. IEEE Robotics and Automation Letters 7, 1379–1386.
[77] Romano, Y., Patterson, E., Candes, E., 2019. Conformalized quantile regression. Advances in neural information processing systems 32.
[78] Ryu, K., Mehr, N., 2024. Integrating predictive motion uncertainties with distributionally robust risk-aware control for safe robot navigation in crowds, in: 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 2410–2417.
[79] Seo, J., Nakamura, K., Bajcsy, A., 2025. Uncertainty-aware latent safety filters for avoiding out-of-distribution failures. Conference on Robot Learning (CoRL).
[80] Serfling, R.J., 1980. Approximation Theorems of Mathematical Statistics. John Wiley and Sons.
[81] Shafer, G., Vovk, V., 2008. A tutorial on conformal prediction. Journal of Machine Learning Research 9, 371–421.
[82] Shorinwa, O., Mei, Z., Lidard, J., Ren, A.Z., Majumdar, A., 2025. A survey on uncertainty quantification of large language models: Taxonomy, open research challenges, and future directions. ACM Computing Surveys 58, 1–38.
[83] Singh, G., Moncrieff, G., Venter, Z., Cawse-Nicholson, K., Slingsby, J., Robinson, T.B., 2024. Uncertainty quantification for probabilistic machine learning in earth observation using conformal prediction. Scientific Reports 14, 16166.
[84] Strawn, K.J., Ayanian, N., Lindemann, L., 2023. Conformal predictive safety filter for RL controllers in dynamic environments. IEEE Robotics and Automation Letters 8, 7833–7840.
[85] Summers, T., 2018. Distributionally robust sampling-based motion planning under uncertainty, in: IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 6518–6523.
[86] Sun, J., Jiang, Y., Qiu, J., Nobel, P., Kochenderfer, M.J., Schwager, M., 2023. Conformal prediction for uncertainty-aware planning with diffusion dynamics model. Advances in Neural Information Processing Systems 36, 80324–80337.
K. Long et al.: Preprint submitted to Elsevier
Page 23 of 24
[87] Tibshirani, R.J., Foygel Barber, R., Candès, E.J., Ramdas, A., 2019. Conformal prediction under covariate shift, in: Advances in Neural Information Processing Systems (NeurIPS), Curran Associates, Inc.
[88] Van Parys, B.P.G., Kuhn, D., Goulart, P.J., Morari, M., 2016. Distributionally robust control of constrained stochastic systems. IEEE Transactions on Automatic Control 61, 430–442.
[89] Vazquez, J., Facelli, J.C., 2022. Conformal prediction in clinical medical sciences. Journal of Healthcare Informatics Research 6, 241–252.
[90] Vlahakis, E.E., Lindemann, L., Sopasakis, P., Dimarogonas, D.V., 2024. Conformal prediction for distribution-free optimal control of linear stochastic systems. IEEE Control Systems Letters 8, 2835–2840.
[91] Vovk, V., 2012. Conditional validity of inductive conformal predictors, in: Asian conference on machine learning, PMLR. pp. 475–490.
[92] Vovk, V., Gammerman, A., Shafer, G., 2005. Algorithmic Learning in a Random World. Springer, New York.
[93] Wilks, S.S., 1941. Determination of sample sizes for setting tolerance limits. The Annals of Mathematical Statistics 12, 91–96.
[94] Wu, J., Chen, J., Wu, J., Shi, W., Wang, X., He, X., 2023. Understanding contrastive learning via distributionally robust optimization. Advances in Neural Information Processing Systems 36, 23297–23320.
[95] Xie, W., 2021. On distributionally robust chance constrained programs with Wasserstein distance. Math. Program. 186, 115–155.
[96] Xie, W., Ahmed, S., 2018. Distributionally robust chance constrained optimal power flow with renewables: A conic reformulation. IEEE Transactions on Power Systems 33, 1860–1867.
[97] Xu, S., Ruan, H., Zhang, W., Wang, Y., Zhu, L., Ho, C.P., 2024. Distributionally robust chance constrained trajectory optimization for mobile robots within uncertain safe corridor, in: 2024 IEEE International Conference on Robotics and Automation (ICRA), pp. 88–94.
[98] Yang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Li, C., Liu, D., Huang, F., Wei, H., Lin, H., Yang, J., et al., 2024. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115.
[99] Yang, I., 2021. Wasserstein distributionally robust stochastic control: a data-driven approach. IEEE Transactions on Automatic Control 66, 3863–3870.
[100] Yang, S., Pappas, G.J., Mangharam, R., Lindemann, L., 2023. Safe perception-based control under stochastic sensor uncertainty using conformal prediction, in: IEEE Conference on Decision and Control (CDC), IEEE. pp. 6072–6078.
[101] Yu, X., Zhao, Y., Yin, X., Lindemann, L., 2026. Signal temporal logic control synthesis among uncontrollable dynamic agents with conformal prediction. Automatica 183, 112616.
[102] Zhao, Y., Hoxha, B., Fainekos, G., Deshmukh, J.V., Lindemann, L., 2024a. Robust conformal prediction for STL runtime verification under distribution shift, in: 2024 ACM/IEEE 15th International Conference on Cyber-Physical Systems (ICCPS), IEEE. pp. 169–179.
[103] Zhao, Y., Yu, X., Deshmukh, J.V., Lindemann, L., 2024b. Conformal predictive programming for chance constrained optimization. arXiv preprint arXiv:2402.07407.
[104] Zhou, X., Chen, B., Gui, Y., Cheng, L., 2025. Conformal prediction: A data perspective. ACM computing surveys 58, 1–37.
K. Long et al.: Preprint submitted to Elsevier
Page 24 of 24