Manuscript Offprint
arXiv:2610.11349Sample-Efficient Generative Conformal Prediction
Abstract
Generative conformal prediction builds uncertainty sets from samples of a conditional generator, which are efficient only when the samples represent the response distribution well. This can require many samples, each of which can be costly, as in large diffusion models and scientific simulators, so the sampling budget must be used efficiently. Existing methods draw the same number of samples at every input, wasting samples where the response distribution is simple and undersampling where it is complex, which inflates sets and leaves those inputs under-covered. We propose CASA (Conformal Adaptive Sample Allocation), which characterizes the marginal value of an additional sample and allocates samples across inputs to minimize the expected set size subject to marginal coverage and an average sampling budget. Theoretical analysis shows that adaptive allocation yields smaller sets than a fixed count at the same budget: a missed mode forces a radius that spans the gap between modes, and even oracle radius cannot compensate for it. On synthetic and real tasks, CASA produces substantially smaller sets at the same budget, often improves conditional coverage, and complements existing radius-adaptive methods.
1 INTRODUCTION
Conformal prediction provides distribution-free uncertainty sets for arbitrary predictive models under exchangeability (Vovk et al., 2005; Angelopoulos and Bates, 2023). This model-agnostic guarantee is especially useful for black-box generators, including diffusion models, large language models, and scientific simulators. Rather than conformalizing a single point prediction, generative conformal methods construct sets from multiple model samples, allowing the set to reflect complex or multimodal predictive distributions.
Shixiang Zhu
Carnegie Mellon University
(Wang et al., 2023b). Probabilistic conformal prediction (PCP), for example, places calibrated balls around generated samples; unlike a connected region, their union can cover separated modes without filling the low-density regions between them.
This efficiency, however, depends on drawing enough samples to represent the predictive distribution. In many applications, each draw is itself costly: diffusion models require repeated network evaluations, language models decode outputs sequentially, and scientific simulators may require large-scale computing (Ho et al., 2020; Brown et al., 2020). Climate modeling provides a particularly stark example: a high-resolution Community Earth System Model (CESM) run used 23,404 processor cores, advanced by only about two simulated years per day, and consumed approximately 250,000 processor-hours for each simulated year (Small et al., 2014). Thus, a single 100-year ensemble member required roughly 50 days of wall-clock time on more than 23,000 cores—about 25 million processor-hours. Even at coarser resolution, the CESM Large Ensemble project required more than 17 million core-hours across its simulations (Kay et al., 2015). When each sample is a decades- or centuries-long climate trajectory, drawing a large, fixed number of samples for every initial condition or forcing scenario is computationally prohibitive.
Applying conformal prediction to such models therefore requires using a limited sampling budget efficiently. Existing methods treat the sample count as a fixed hyperparameter and use the same number of draws for every input, despite substantial heterogeneity in their value. A few draws may adequately represent a concentrated distribution, whereas the same count may miss an entire mode of a more complex distribution. Uniform sampling consequently wastes computation on simple inputs while undersampling the difficult inputs that drive prediction-set size and conditional-coverage imbalance. This raises our central question: how should a limited sampling budget be allocated across inputs to construct small conformal sets while mitigating conditional-coverage imbalance?
To this end, we propose CASA (Conformal Adaptive

Conditional coverage
95%;

Conditional coverage
69%;
(a) Conventional approach (mean set size 6.69).

Conditional coverage
92%;

Conditional coverage
83%;
(b) Sample-efficient approach (mean set size 6.24).
Figure 1: Motivation for adaptive sampling. Moving three draws from to improves mode representation and balances conditional coverage at the same average budget.
Sample Allocation), which learns an input-dependent sample count under an average sampling budget. Its guiding principle is simple: allocate additional draws where they are likely to recover response mass missed by the current samples, and stop sampling where further draws mainly add set volume. In the example of Figure 1, this means moving samples from a concentrated input, where two draws suffice, to a multimodal input, where additional draws can reveal a missing mode. Better mode representation can sharply reduce the calibrated radius, shrinking prediction sets even at inputs that receive fewer samples.
The key insight is that the marginal coverage benefit and set-size cost of an additional draw are both characterized by the same inclusion probability, which can be estimated unbiasedly from generator samples. We use these estimates to formulate sample allocation as a constrained optimization problem that minimizes expected set size subject to coverage and sampling-budget constraints. Its two-multiplier dual admits a near-linear-time solution and a natural shadow-price interpretation: an input receives another draw when its marginal coverage benefit offsets its volume and sampling costs. Independent conformal calibration preserves finite-sample marginal coverage, and the allocation can be combined with radius-adaptive methods such as RCP and (Plassier et al., 2025a,b). Our analysis explains why adapting the sample count can reduce prediction-set size. When too few samples are drawn from a multimodal distribution, an entire mode may be missed, forcing calibration to use a large radius that spans the gap between modes. Allocating more samples to such inputs makes it more likely that every relevant mode is represented, allowing a much smaller radius. This benefit remains even when the radius is optimally adapted to each input, showing that sample allocation provides gains that radius adaptation alone cannot achieve.
Empirically, across various synthetic benchmarks, CASA reduces mean set size by approximately 12% relative to fixed-count PCP. Both maintain marginal coverage and reduce conditional-coverage error. On Porto taxi trajectories, CASA allocates more draws near junctions and fewer along straight roads, reducing mean set area by approximately 37% with five draws per input on average. These gains persist at matched sampling costs and extend to several existing generative conformal methods.
The main contributions are summarized as follows: (i) We formulate adaptive sampling for generative conformal prediction as a resource-allocation problem. (ii) We derive an exact, near-linear-time algorithm and characterize efficiency gains beyond radius adaptation. (iii) Across synthetic and real tasks, we show that CASA reduces set size at comparable sampling costs, improves conditional-coverage balance, and complements existing generative conformal methods.
Related work. Conformal prediction provides uncertainty sets with finite-sample, distribution-free coverage under exchangeability (Vovk et al., 2005; Shafer and Vovk, 2008). Split conformal methods enable efficient calibration of modern predictors (Lei et al., 2018; Romano et al., 2019), with extensions addressing distribution shift (Tibshirani et al., 2019; Barber et al., 2023) and general risk control (Bates et al., 2021; Angelopoulos et al., 2024; Zhou and Zhu, 2026). Its scope now covers time series (Gibbs and Candès, 2021; Xu and Xie, 2021; Zaffran et al., 2022; Xu et al., 2024), functional outputs and operator models (Lei et al., 2015; Diquigiovanni et al., 2022; Harris and Liu, 2025), and noisy, counterfactual, or latent targets (Einbinder et al., 2024; Alaa et al., 2023; Javanmardi et al., 2023; Zheng et al., 2026). Other work moves beyond sets to calibrated predictive distributions, such as conformal flows (Harris, 2026). Exact conditional coverage is unattainable without further assumptions (Barber et al., 2021), which motivates locally adaptive scores (Lei et al., 2018; Romano et al., 2019) and group-conditional relaxations (Gibbs et al., 2025).
Conformal sets can also be built from estimates of the conditional distribution, such as CDFs (Chenozhukov et al., 2021), densities (Izbicki et al., 2022), or generated samples. Among sample-based methods, PCP forms a union of balls around generated samples (Wang et al., 2023b). Later work refines its score to improve conditional coverage, either by rescaling it with an input-dependent radius, as in RCP and CP (Plassier et al., 2025a,b), or by mapping it through an estimated conditional distribution function, as in C-PCP (Dheur et al., 2025). Others adapt the set's geometry to the structure of the samples, through clustering in CP4Gen (Yang et al., 2026) or ranked generated regions (Zheng and Zhu, 2024). All of these methods draw the same number of samples at every input. For discrete outputs such as text, related methods adapt the number of samples to the input (Quach et al., 2024; Shahrokhi et al., 2025; Noorani et al., 2025); we address continuous responses, where sets are geometric and an additional sample changes both their coverage and their size.
The adaptive allocation of a sampling budget is a classical problem in statistics. Neyman allocation distributes samples across strata in proportion to their variability (Neyman, 1934), adaptive importance sampling concentrates draws where they most reduce estimator variance (Bugallo et al., 2017), and best-arm identification allocates a fixed budget of pulls across arms (Audibert et al., 2010). In machine learning, adaptive computation methods assign more computation to harder inputs, from learned halting in recurrent networks (Graves, 2016) to test-time compute in language models, where repeated sampling improves accuracy and its optimal amount depends on problem difficulty (Wang et al., 2023a; Snell et al., 2025) and can be allocated per query (Damani et al., 2025; Zuo and Zhu, 2026). These methods target estimator variance, accuracy, or task reward, whereas CASA allocates generator samples to shrink calibrated uncertainty sets under a coverage constraint.
Given a calibration set , split conformal prediction computes and, for a target miscoverage level , constructs
where
and denotes the empirical -quantile of , with the convention for . If the calibration observations and the test pair are exchangeable, then
where the probability is taken jointly over the calibration data and the test observation.
The guarantee in (2) holds for any choice of nonconformity score, while the score determines the informativeness of the resulting prediction sets. We focus on two properties: First is the efficiency, measured by the expected set size , where denotes an appropriate notion of size, such as Lebesgue measure for continuous outcomes or cardinality for discrete outcomes; and second is the conditional coverage, given by . The former rules out trivially valid but uninformative sets such as , while the latter captures heterogeneity in coverage across covariate values or subpopulations that is not controlled by the marginal guarantee in (2) (Barber et al., 2021).
Recently, Wang et al. (2023b) has introduced probabilistic conformal prediction (PCP), which can substantially improve the efficiency of prediction sets. Specifically, suppose that is a conditional generative model from which, for any input , we can draw independent samples . The PCP measures the nonconformity of a candidate response by its distance to the nearest generated sample,
leading to the prediction set
where denotes the Euclidean ball of radius centered at , and is an input-dependent scaling function that adapts the conformal radius. For example, PCP sets (Wang et al., 2023b), whereas subsequent adaptive-radius approaches learn from the input (Plassier et al., 2025a,b).
However, the efficiency of these constructions depends on having a sufficiently large number of samples K at each input, which can become a computational bottleneck when sample generation is expensive. When K is small, three limitations arise. (i) Increasing the conformal radius cannot compensate for missing support: if is multimodal and all samples miss the mode containing the realized response, then is governed by the separation between modes, and any ball large enough to cover the response must also span the intervening low-density region, regardless of . (ii) Such misses propagate through calibration. Because is a global quantile of scores pooled across inputs, frequent misses inflate and enlarge prediction sets broadly, whereas rare misses can leave specific inputs under-covered, with , compensated by over-coverage elsewhere. (iii) A uniform sampling budget can be inefficient: when is highly concentrated, a few samples may already suffice to make small, so additional samples yield limited benefit relative to their computational cost. This suggests allocating samples adaptively across inputs, using fewer samples where is concentrated and more where it is complex or multimodal. We formalize this allocation problem next.
3 METHODOLOGY
3.1 Resource Allocation Representation
The goal is to design an input-dependent sampling rule that allocates the sampling budget adaptively across inputs. Let denote the number of samples allocated to input . We formulate the design of as a resource-allocation problem that minimizes the expected prediction-set size subject to marginal coverage and an average sampling-budget constraint. Formally,
(5)
where , and denotes the average sampling budget. Here, denotes a ball centered at , whose radius may be either a global parameter or an input-dependent function . In principle, the radius and the sampling rule can be jointly optimized. For clarity, we focus on optimizing sample allocation and treat the radius specification separately.
For a given input x, define
the probability that a single draw from the conditional generative model does not fall within the ball . With independent draws, the probability that at least one draw falls within , termed as inclusion probability, is
Algorithm 1 CASA
Input: model , data , , candidate counts , budget , level , pool size , radius (optional)
1: for do // Step 1 2: Draw 3: Compute and , by (8) 4: Regress on to obtain 5: Solve dual optimization in (9) // Step 2 6: Set 7: for do // Step 3 8: Draw 9: Compute by (3) with 10: Compute by (1)
Output:
Accordingly, define the conditional coverage probability and expected prediction-set size at input x as
where the second integral is taken with respect to the underlying reference measure on the response space. Thus, the marginal coverage and expected set size in (5) can be written as and .
A key observation is that the marginal increase in inclusion probability from one additional draw is . Integrating this increment yields the corresponding marginal gain in coverage and marginal increase in expected set size. An additional draw is therefore valuable when it captures substantial response mass that is likely to be missed by the existing draws, for example, an underrepresented mode. Both marginal effects decrease with , reflecting diminishing returns to additional sampling (Appendix A).
3.2 Proposed Algorithm
We develop CASA (Algorithm 1) that solves problem (5) in three steps: (i) Estimate and for each candidate count from generated samples; (ii) Plug the empirical estimates into (5) and solve its dual form; and (iii) Calibrate the resulting uncertainty sets to guarantee finite-sample marginal coverage.
Step 1: Estimate coverage and size. Given an independent dataset , for each , we first draw predictions
These N predictions are generated only once during the offline estimation stage and can be reused to eval-

(a) Distribution

(b) Count-radius tradeoff
(c) Marginal value of count

(d) Resulting allocation
Figure 2: Mechanism of CASA with average budget on a conditional distribution whose modes separate as grows. (b) Dots mark the radius minimizing the priced cost in Theorem 1 for each count, and stars mark the selected count-radius pair. (c) The value of samples is relative to ; each input takes the count of highest value. (d) CASA moves samples from unimodal to multimodal inputs while keeping the same average budget as fixed PCP.
uate all candidate values of k, so this step incurs no additional sampling cost at testing phase.
Next we consider drawing k samples uniformly without replacement from these N predictions. Let
denote the number of predictions whose radius-r balls contain y. Since the number of such predictions selected among the k draws follows a hypergeometric distribution, the inclusion probability in (6) admits the following unbiased estimator
See Proposition 6 in Appendix A for details.
Lastly, we estimate the conditional coverage and set size at each by
To predict these two quantities at a new input , we fit regression models for and using . The fitted models can then be evaluated at to obtain the corresponding coverage and size estimates. Appendix B.1 provides implementation details and extensions to more radius-adaptive constructions.
Step 2: Reformulation. Replacing and in (5) by and and expectations by averages over , and restricting the counts to a finite candidate set , gives its empirical representation, which can be expressed as a linear program (Appendix A.2). The empirical problem has variables, and interior-point methods solve it in in the worst case (Karmarkar, 1984), so its cost grows polynomially and quickly. Empirically, with and , a standard solver takes about 11 seconds on a single CPU core, and about 43 seconds at . This motivates a more efficient solution based on the following exact dual of the empirical problem.
Theorem 1 (Dual reformulation). Suppose the empirical problem, over randomized rules , is feasible. Then it is equivalent to
(9)
where , are the dual variables for the constraints, and is a finite set of candidate counts, e.g., .
The proof is deferred to Appendix A.2.
The dual is cheaper to solve because it decouples the inputs. The primal couples all inputs through the coverage and budget constraints, whereas for fixed dual variables the dual problem separates into independent subproblems, . Solving the dual therefore reduces to a search over two dual variables. Theoretically, for a fixed , the dual is solved in , which is near-linear, compared with for the primal. Empirically, in the same setting, the dual takes about 0.17 seconds at and 0.4 seconds at , compared with 11 and 43 seconds for the primal.
Step 3: Calibration. Finally, we calibrate the learned allocation rule on . For each
, we draw samples from the generator and compute the score in (3) using . We then obtain the conformal quantile from (1). At a test input , we draw samples and return the set (4).
Theorem 2 (Finite-sample marginal coverage). Suppose that the generator and the learned are independent of and the test pair, and that and test pair are exchangeable. Then
The proof is deferred to Appendix A.
3.3 Theoretical Analysis
We next characterize when adaptive allocation improves over uniform allocation under well-separated modes (Assumption 1). This setting isolates the effect of missed modes and makes the marginal value of each additional sample explicit; Appendix A.2 gives a distribution-free characterization of the gain. All proofs are deferred to Appendix A.3.
Assumption 1 (Separated modes). There exist and such that, for , both and are supported on , whose centers satisfy
Assumption 1 states that has modes, each covered by a ball of radius , with mode width at most . Each mode is separated from the others by gaps of at least . Here can be understood as the ratio of the gap to the mode width .
We do not require to be consistent with : the generator only needs to be supported on the same balls, and may weight them differently or even miss some modes of . Let
denote the probabilities of the -th ball under and , respectively. Then for any radius , the conditional coverage does not depend on (Appendix A.3):
Theorem 3 (Efficiency gain at equal budget). Under Assumption 1, let every count rule use the smallest constant radius attaining marginal coverage . For any budget satisfying
the expected set sizes and of the adaptive and uniform allocation, respectively, satisfy
Theorem 3 shows that, at the same budget, moving samples from easy to hard inputs can shrink prediction sets by a factor of at least . Intuitively, a missed mode can be covered in two ways: by drawing more samples, or by enlarging the radius until it bridges the gap. Uniform allocation is forced into the latter at hard inputs, and since the radius is shared, every input pays for it. Adaptive allocation instead spends the samples saved at easy inputs, e.g., unimodal ones covered by a single sample, on the modes of hard inputs, so every input keeps a ball of the mode's size. The gain is therefore largest when modes are well separated and inputs differ in how many samples they need.
Adaptive allocation also saves samples for conditional coverage. For a constant radius , let be the number of samples that input needs.
Corollary 4 (Sampling savings for conditional coverage). Under Assumption 1, to attain conditional coverage at every input, adaptive allocation saves, relative to uniform allocation, the following number of samples per input:
Corollary 4 shows that conditional coverage costs uniform allocation the worst-case number of samples, but adaptive allocation only the average. Intuitively, each mode costs about samples to cover, so uniform allocation spends the budget of the most multimodal input everywhere. The next result shows that even input-dependent radii cannot close this gap.
Proposition 5 (Efficiency beyond oracle radii). Under Assumption 1, let each input use the smallest radius attaining conditional coverage . For any budget with , the expected set sizes and of the adaptive and uniform allocation, respectively, satisfy
Proposition 5 shows that a radius cannot replace a sample. Below samples, even the best radius at input x must bridge a gap, so uniform allocation pays a ball of radius at least at every input with , whereas adaptive allocation avoids it. Thus, radius adaptation and count allocation are complementary. Once every mode is covered, the remaining gain is of order (Appendix A.4).



Figure 3: Synthetic results on a subset of DGPs with a 90% coverage target. (A) Marginal coverage and set size relative to fixed PCP at B = 5. (B) Set size against realized mean samples with B = 3, ..., 10 on the emerging-modes DGP; open circles mark fixed PCP at equal samples and at equal size. (C) Size reduction and MACE change of CASA at B = 5. Error bars show 95% intervals across 100 independent runs.
4 EXPERIMENTS
Baselines and metrics. We evaluate CASA on synthetic data-generating processes (DGPs) and on real-world datasets. We compare with PCP (Wang et al., 2023b) using K = B samples and one calibrated radius (fixed PCP), and consider two variants of CASA: CASA adapts only the count, and CASA (joint) adapts both the count and the radius. We also apply the count allocation of CASA to other generative conformal methods that adapt the radius or shape of the set: CP² (Plassier et al., 2025b), RCP (Plassier et al., 2025a), CP4Gen (Yang et al., 2026), and C-PCP (Dheur et al., 2025). All methods use the same generator and the same labeled data : CASA uses for allocation and for calibration, whereas fixed PCP calibrates on both. We report marginal coverage, mean uncertainty set size, realized mean number of samples, and conditional coverage error, measured as the mean absolute deviation of coverage from over input cells (MACE). The target coverage is 90%. Implementation details and further comparisons are in Appendix B.
Synthetic benchmark. In Figure 3, we first compare CASA with fixed PCP on synthetic DGPs that isolate multimodality, heavy tails, and compact-to-extended responses. Against fixed PCP, both variants of CASA maintain marginal validity, produce smaller sets on most DGPs, and lower conditional coverage error on most DGPs without raising it on any. Panel B shows that the gain holds in two directions on the emerging-modes DGP: at a fixed budget, CASA produces sets about 53% smaller, and at the same set size, it uses about 25% fewer samples. Figure 4 shows the calibrated sets on this DGP: fixed PCP's sets bridge the gaps between modes, whereas those of CASA stay at the scale of a mode, as Theorem 3 predicts.

Figure 4: Calibrated prediction sets on a synthetic DGP with B = 5. Gray points are test pairs; at each displayed input, colored segments are the set and dots the generated samples.
Table 1 compares other generative conformal prediction methods with and without the count allocation of CASA on a subset of DGPs. CASA shrinks most of their sets and lowers conditional coverage error where the construction's radius does not already target it, consistent with Proposition 5. This reduction is not guaranteed: because CASA allocates counts to reduce size, it need not further reduce conditional coverage error when the construction's radius already targets it, as for .
Real data: taxi routes. We present one real task here, taxi trajectory prediction on the Porto dataset (UCI Machine Learning Repository, 2015): from a taxi's recent GPS positions, we predict its position 300m further along its route. The future is multimodal: a straight road leaves one likely position, whereas a junction leaves one per exit. The generator samples futures from similar training trips (Appendix B.4). CASA allocates samples along the street geometry (Figure 5): taxis on through-roads receive two samples and those near junctions up to eight, and
Table 1: CASA combined with other generative conformal methods at and a coverage target. Arrows compare each method's fixed count with CASA count allocation. Size: mean set size; : paired geometric-mean size change; MACE in percentage points. Bold/: significant improvement/deterioration (paired interval). -PCP uses 20 extra auxiliary draws. Details are in Appendix B.2.
| Method | Rare modes | Emerging modes | Compact to extended | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Size | Δ(%) | MACE | Size | Δ(%) | MACE | Size | Δ(%) | MACE | |
| PCP | 1.31→1.15 | -12.0 | 14.6→12.9 | 3.29→1.54 | -54.9 | 10.0→7.4 | 2.73→2.45 | -10.2 | 9.6→9.3 |
| 2.97→2.63 | -11.5 | 1.6→2.3 | 4.90→4.13 | -16.2 | 2.9→3.9 | 3.68→3.41 | -7.6 | 1.5→2.1 | |
| RCP | 2.00→1.86 | -7.2 | 3.2→2.3 | 2.80→2.49 | -11.9 | 3.9→2.5 | 2.59→2.46 | -5.1 | 3.2→2.4 |
| CP4Gen | 1.36→1.18 | -13.0 | 14.3→13.2 | 2.55→2.60 | +1.5 | 4.8→4.9 | 2.38→2.43 | +2.3 | 5.3→5.5 |
| C-PCP | 2.08→1.99 | -4.3 | 2.6→2.8 | 2.55→1.96 | -23.2 | 3.1→2.9 | 2.62→2.57 | -2.0 | 3.0→3.3 |
A City allocation

C Junction
B One trip
D Straight road
Figure 5: Porto taxi routes at . (A) Mean allocated samples. (B) Samples along one trip. (C–D) More samples at a junction, fewer on a straight road. Stars mark true positions; dashed and filled circles are fixed PCP and CASA sets.
the extra samples cover exits that fixed PCP misses. The shared calibrated radius then falls, so sets shrink even on straight roads. At the same budget, CASA keeps the target coverage with sets about 37% smaller than fixed PCP, and the gain persists at equal realized samples, under a time split, and with a learned generator. We also consider two further real tasks with different response types (Appendices B.5 and B.6). For protein backbone angles, CASA reduces set area by about 13% at the same budget and 24% at equal samples. For visual question answering with a vision-language model, where each response is a discrete answer, it matches fixed sampling's answer-set size with about 28% fewer samples at an 80% target.
Ablation and sensitivity. A natural question is whether the gain comes from matching counts to inputs or merely from letting the count vary over a wider range. To separate the two, we compare CASA with input-blind counts drawn uniformly from the same candidate set at the same budget with on the synthetic DGPs. Fixed PCP attains 90.0% coverage with a MACE of 8.9 percentage points. Random counts enlarge PCP uncertainty sets by 6% and leave MACE nearly unchanged, whereas CASA shrinks the set size by 12% and lowers MACE to 7.8, with valid marginal coverage. Varying the count without regard to the input therefore does not reproduce the gain; it comes from giving samples where they are worth most.
Step 1 is also robust to the regression model that estimates and : changing its number of neighbors or replacing it with a fixed partition of the input space keeps CASA valid and changes its mean set size by less than , preserving the reduction over fixed PCP (Appendix B.1).
5 CONCLUSION
We proposed CASA, which allocates generator samples across inputs to minimize set size under an average sampling budget while preserving finite-sample marginal coverage; theory and experiments show that reallocation pays off when a fixed count misses modes. Several limitations suggest extensions. First, the count is chosen from the input before any sample is drawn; letting it adapt to the samples already drawn could detect missed modes directly. Second, the theory assumes separated modes, and extending it to smooth or heavy-tailed distributions would clarify when allocation helps beyond representation. Third, allocation cannot repair a generator that never samples a relevant mode. Fourth, estimating coverage and size requires a one-time pilot pool, costly for expensive generators. Finally, CASA targets set size, so conditional coverage improves only as a by-product; targeting it directly, or extending to discrete outputs, is a natural next step.
Acknowledgments
This work was supported by the National Science Foundation under Grant No. CAIG-2425888.
References
Ahmed M. Alaa, Zaid Ahmad, and Mark van der Laan. Conformal meta-learners for predictive inference of individual treatment effects. In Advances in Neural Information Processing Systems, volume 36, pages 47682–47703, 2023.
Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023. doi: 10.1561/2200000101.
Anastasios N Angelopoulos, Stephen Bates, Adam Fisch, Lihua Lei, and Tal Schuster. Conformal risk control. In International Conference on Learning Representations, 2024.
Jean-Yves Audibert, Sébastien Bubeck, and Rémi Munos. Best arm identification in multi-armed bandits. In Conference on Learning Theory, pages 41–53, 2010.
Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, et al. Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923, 2025.
Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. The limits of distribution-free conditional predictive inference. Information and Inference, 10(2):455–482, 2021.
Rina Foygel Barber, Emmanuel J Candès, Aaditya Ramdas, and Ryan J Tibshirani. Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2):816–845, 2023.
Stephen Bates, Anastasios N Angelopoulos, Lihua Lei, Jitendra Malik, and Michael I Jordan. Distribution-free, risk-controlling prediction sets. Journal of the ACM, 68(6):1–34, 2021.
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, et al. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877–1901, 2020.
Mónica F. Bugallo, Víctor Elvira, Luca Martino, David Luengo, Joaquín Míquez, and Petar M. Djurić. Adaptive importance sampling: The past, the present, and the future. IEEE Signal Processing Magazine, 34(4):60–79, 2017.
Victor Chernozhukov, Kaspar Wüthrich, and Yinchu Zhu. Distributional conformal prediction. Proceedings of the National Academy of Sciences, 118(48):
e2107794118, 2021. URL https://arxiv.org/abs/1909.07889.
Mehul Damani, Idan Shenfeld, Andi Peng, Andreea Bobu, and Jacob Andreas. Learning how hard to think: Input-adaptive allocation of LM computation. In International Conference on Learning Representations, 2025.
Victor Dheur, Matteo Fontana, Yorick Estievenart, Naomi Desobry, and Souzaib Ben Taieb. A unified comparative study with generalized conformity scores for multi-output conformal regression. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 13444–13485. PMLR, 2025. URL https://proceedings.mlr.press/v267/dheur25a.html.
Jacopo Diquigiovanni, Matteo Fontana, and Simone Vantini. Conformal prediction bands for multivariate functional data. Journal of Multivariate Analysis, 189:104879, 2022. doi: 10.1016/j.jmva.2021.104879.
Bat-Sheva Einbinder, Shai Feldman, Stephen Bates, Anastasios N. Angelopoulos, Asaf Gendler, and Yaniv Romano. Label noise robustness of conformal prediction. Journal of Machine Learning Research, 25(328):1–66, 2024. URL https://jmlr.org/papers/v25/23-1549.html.
Isaac Gibbs and Emmanuel Candès. Adaptive conformal inference under distribution shift. In Advances in Neural Information Processing Systems, volume 34, pages 1660–1672, 2021.
Isaac Gibbs, John J. Cherian, and Emmanuel J. Candès. Conformal prediction with conditional guarantees. Journal of the Royal Statistical Society Series B: Statistical Methodology, 2025.
Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016. URL https://arxiv.org/abs/1603.08983.
Trevor Harris. Flow-based conformal predictive distributions. arXiv preprint arXiv:2602.07633, 2026. URL https://arxiv.org/abs/2602.07633.
Trevor Harris and Yan Liu. Locally adaptive conformal inference for operator models. arXiv preprint arXiv:2507.20975, 2025.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, volume 33, pages 6840–6851, 2020.
John Ingraham, Vikas K. Garg, Regina Barzilay, and Tommi Jaakkola. Generative models for graph-based protein design. In Advances in Neural Information Processing Systems, 2019.
Rafael Izbicki, Gilson Shimizu, and Rafael B Stern. CD-split and HPD-split: Efficient conformal regions in high dimensions. Journal of Machine Learning Research, 23(87):1–32, 2022.
Alireza Javanmardi, Yusuf Sale, Paul Hofman, and Eyke Hüllermeier. Conformal prediction with partially labeled data. In Proceedings of the Twelfth Symposium on Conformal and Probabilistic Prediction with Applications, volume 204 of Proceedings of Machine Learning Research, pages 251–266. PMLR, 2023. URL https://proceedings.mlr.press/v204/javanmardi23a.html.
Narendra Karmarkar. A new polynomial-time algorithm for linear programming. Combinatorica, 4(4):373–395, 1984.
Jennifer E Kay, Clara Deser, A Phillips, Angeline Mai, Cecile Hannay, Gary Strand, Julie Michelle Arblaster, Susan C Bates, Gokhan Danabasoglu, James Edwards, et al. The community earth system model (cesm) large ensemble project: A community resource for studying climate change in the presence of internal climate variability. Bulletin of the American Meteorological Society, 96(8):1333–1349, 2015.
Jing Lei, Alessandro Rinaldo, and Larry Wasserman. A conformal prediction approach to explore functional data. Annals of Mathematics and Artificial Intelligence, 74(1–2):29–43, 2015. doi: 10.1007/s10472-013-9366-6.
Jing Lei, Max G'Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111, 2018. doi: 10.1080/01621459.2017.1307116.
Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Robert Verkuil, Ori Kabeli, Yaniv Shmueli, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science, 379(6637):1123–1130, 2023.
Kenneth Marino, Mohammad Rastegari, Ali Farhadi, and Roozbeh Mottaghi. OK-VQA: A visual question answering benchmark requiring external knowledge. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.
Jerzy Neyman. On the two different aspects of the representative method: The method of stratified sampling and the method of purposive selection. Journal of the Royal Statistical Society, 97(4):558–625, 1934.
Sima Noorani, Shayan Kiyani, George Pappas, and Hamed Hassani. Conformal prediction beyond the seen: A missing mass perspective for uncertainty quantification in generative models. In Advances in Neural Information Processing Systems, 2025.
Vincent Plassier, Alexander Fishkov, Victor Dheur, Mohsen Guizani, Souzaib Ben Taieb, Maxim Panov, and Eric Moulines. Rectifying conformity scores for better conditional coverage. In Proceedings of the 42nd International Conference on Machine Learning, 2025a. URL https://arxiv.org/abs/2502.16336.
Vincent Plassier, Alexander Fishkov, Mohsen Guizani, Maxim Panov, and Eric Moulines. Probabilistic conformal prediction with approximate conditional validity. In International Conference on Learning Representations, 2025b.
Victor Quach, Adam Fisch, Tal Schuster, Adam Yala, Jae Ho Sohn, Tommi Jaakkola, and Regina Barzilay. Conformal language modeling. In International Conference on Learning Representations, 2024.
Yaniv Romano, Evan Patterson, and Emmanuel Candès. Conformalized quantile regression. In Advances in Neural Information Processing Systems, volume 32, 2019.
Glenn Shafer and Vladimir Vovk. A tutorial on conformal prediction. Journal of Machine Learning Research, 9:371–421, 2008.
Hooman Shahrokhi, Devjeet Raj Roy, Yan Yan, Venera Arnaoudova, and Jana Doppa. Conformal prediction sets for deep generative models via reduction to conformal regression. In Proceedings of the Forty-First Conference on Uncertainty in Artificial Intelligence, volume 286 of Proceedings of Machine Learning Research, pages 3718–3748. PMLR, 2025. URL https://proceedings.mlr.press/v286/shahrokhi25a.html.
Amanpreet Singh, Vivek Natarajan, Meet Shah, Yu Jiang, Xinlei Chen, Dhruv Batra, Devi Parikh, and Marcus Rohrbach. Towards VQA models that can read. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.
R Justin Small, Julio Bacmeister, David Bailey, Allison Baker, Stuart Bishop, Frank Bryan, Julie Caron, John Dennis, Peter Gent, Hsiao-ming Hsu, et al. A new synoptic scale resolving global climate simulation using the community earth system model. Journal of Advances in Modeling Earth Systems, 6(4):1065–1094, 2014.
Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning. In International Conference on Learning Representations, 2025. URL https://arxiv.org/abs/2408.03314.
Jiayuan Su, Jing Luo, Hongwei Wang, and Lu Cheng. API is enough: Conformal prediction for large lan-guage models without logit-access. In Findings of the Association for Computational Linguistics: EMNLP, 2024.
Ryan J Tibshirani, Rina Foygel Barber, Emmanuel J Candès, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems, volume 32, pages 2526–2536, 2019.
UCI Machine Learning Repository. Taxi service trajectory – prediction challenge, ecml pkdd 2015. UCI Machine Learning Repository, 2015. URL https://doi.org/10.24432/C55W25.
Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, New York, 2005. doi: 10.1007/b106715.
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In International Conference on Learning Representations, 2023a. URL https://arxiv.org/abs/2203.11171.
Zhendong Wang, Ruijiang Gao, Mingzhang Yin, Mingyuan Zhou, and David Blei. Probabilistic conformal prediction using conditional random samples. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, volume 206, pages 8814–8836. PMLR, 2023b. URL https://proceedings.mlr.press/v206/wang23n.html.
Chen Xu and Yao Xie. Conformal prediction interval for dynamic time-series. In International Conference on Machine Learning, pages 11559–11569, 2021.
Chen Xu, Hanyang Jiang, and Yao Xie. Conformal prediction for multi-dimensional time series by ellipsoidal sets. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 55076–55099. PMLR, 2024. URL https://proceedings.mlr.press/v235/xu24m.html.
Qidong Yang, Qianyu Julie Zhu, Jonathan Giezendanner, Youssef Marzouk, Stephen Bates, and Sherrie Wang. Conformal prediction for generative models via adaptive cluster-based density estimation. arXiv preprint arXiv:2601.22298, 2026. URL https://arxiv.org/abs/2601.22298.
Margaux Zaffran, Olivier Féron, Yannig Goude, Julie Josse, and Aymeric Dieuleveut. Adaptive conformal predictions for time series. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 25834–25866. PMLR, 2022. URL https://proceedings.mlr.press/v162/zaffran22a.html.
Minxing Zheng and Shixiang Zhu. Generative conformal prediction with vectorized non-conformity scores. arXiv preprint arXiv:2410.13735, 2024. doi:10.48550/arXiv.2410.13735. URL https://arxiv.org/abs/2410.13735.
Minxing Zheng, Wenbin Zhou, and Shixiang Zhu. Beyond prediction: Conformal inference for latent distributional parameters. arXiv preprint arXiv:2608.03607, 2026. URL https://arxiv.org/abs/2608.03607.
Wenbin Zhou and Shixiang Zhu. Calibrating decision robustness via inverse conformal risk control. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=1V4tqcVIyx.
Bowen Zuo and Yinglun Zhu. Strategic scaling of test-time compute: A bandit learning approach. In International Conference on Learning Representations, 2026.
A PROOFS AND THEORETICAL RESULTS
A.1 Estimation and Coverage
Throughout this appendix, the radius rule is fixed, is the ball of that radius around , and , , , and are as in Section 3.1. When the radius also varies, as in the joint variant, we add it as an argument, writing , , , and .
Diminishing sampling increments. Define and . Then
(11)
To prove this, and that both increments are nonnegative and nonincreasing in , fix and and write . By (6), , the probability that the first draws miss and the next one falls in it. This is nonnegative and nonincreasing in . Integrating against and against volume proves the identities and the two shape properties; volume calculations use Tonelli's theorem, and finite expected volume ensures that the differences are defined.
Rao–Blackwell estimation
Proposition 6 (Unbiasedness and variance reduction). For fixed and , the estimator in (7) is unbiased over the pool for . Consequently, in (8) is unbiased for , whose average over is , and is unbiased for when it is finite. Both are conditional expectations, given the pool, of the coverage indicator and the volume of a uniformly selected -subset, and therefore have no larger variance than those statistics. Their curves in , and their regressions in Step 1 with nonnegative weights, are nondecreasing and discretely concave.
Proof. Condition on and on the unordered pool, and choose a uniformly random -subset of it. Exactly of the subsets contain no sample within radius of , so is the conditional probability that covers . Taking gives the statement for , and integrating over gives it for . Before conditioning on the pool, the selected samples are independent draws from , which gives unbiasedness, and the law of total variance gives the variance comparison whenever second moments exist. For the shape property, fix a value of the count and let ; if , then for all . For ,
and successive positive increments have ratio , with all increments zero once the miss probability vanishes. So is nondecreasing and discretely concave, and integration and nonnegative regression weights preserve both properties.
Finite-sample coverage. Proof of Theorem 2. Condition on the generator's training data, on , and on all quantities fitted from them, including . Augment each calibration pair and the test pair with an independent random seed that determines its count , if the rule is randomized, and its generated samples. These augmented observations are exchangeable. The frozen procedure that draws samples and computes is the same measurable map for every observation, so the scores are exchangeable, and the conformal order-statistic argument gives . This event is exactly , the set (4) with . Averaging over the conditioning information proves the theorem. The same argument applies to the joint variant with the learned radius in place of .
A.2 Optimization
Throughout this subsection, write . We state the results for the joint variant, in which each input chooses a count and a radius from a finite grid ; count-only CASA is the special case of a single radius,
. Abbreviate a pair as , with its count and the set of pairs, and write , , and for the tables and priced costs, so that in the count-only case. The allocation set has observations.
The empirical allocation problem. Let be a distribution over the finite candidate pairs at input . The estimated counterpart of (5) is
where the sums run over and , with and for each . Write for its optimal value and , , and for its mean estimated volume, coverage, and count. Only the coverage and budget constraints couple the inputs. The dual prices these constraints and minimizes over each input's distribution separately. When minimizers tie, mixing them at no more than two inputs gives a feasible optimal policy (Proposition 8).
Gain over fixed PCP. The dual multipliers also characterize the improvement over a fixed allocation in the empirical program.
Proposition 7 (Gain over fixed PCP). Suppose (12) is feasible, with optimal value , and write . There exist optimal dual multipliers such that every policy satisfies
where , , and are the mean estimated volume, coverage, and count of over ; for a feasible policy all three terms are nonnegative. In particular, fixed PCP, which uses count and one radius at every input, with meeting the coverage target exactly, exceeds by its priced regret , which is zero if and only if is the cheapest choice at every input.
For a fixed comparator meeting both constraints with equality, the gain equals its average excess local Lagrangian cost. The same identity holds with population tables when optimal multipliers exist. The regret also converts into computation: the allocation matches fixed PCP's volume with fewer draws per prediction whenever , with the price at budget . The identity concerns the estimated program before calibration.
The two prices. The prices of Proposition 7 solve the dual of (12), which makes the program cheap to solve and gives the prices a meaning.
Proposition 8 (Exact two-price dual). Let , and suppose (12) is feasible. (i) is concave and piecewise linear, with the maximum attained, and a feasible policy is optimal if and only if each is supported on minimizers of , the coverage constraint binds when , and the budget binds when ; some optimal policy is deterministic at all but at most two learning inputs. (ii) For fixed , minimizing under the budget alone is solved exactly by water-filling: take at each input the best radius for every count, start every input at the smallest count, and add draws across inputs in decreasing order of the reduction in priced cost per draw, along the lower convex hull of each input's cost in the count, until the budget is spent or no further reduction is possible; is the reduction at the last draw added when the budget binds and zero otherwise. The coverage of this solution is nondecreasing in , so bisection on over a bracket returns a feasible policy with volume at most after passes of operations each.
For CASA, which allocates counts only, part (i) is Theorem 1: introducing turns into the linear program (9), and its optimality condition says that an optimal allocation uses at each input only counts minimizing , which defines the rule . Any exact method must read the table entries, so the solver is optimal up to the logarithmic factor. Randomization is not what makes the allocation work: the optimal rule is deterministic except where mixing two choices meets a constraint exactly. The computation price is the marginal value of a draw: is convex and nonincreasing in the budget with as a subgradient, so one more call per prediction saves at most in estimated volume, and when the budget goes unspent, as under CASA when the shared radius already covers the generator's mass at every input.
Proof of Propositions 7 and 8(i). The Lagrangian of (12) with multipliers is
Minimizing over each probability simplex places mass on minimizers of and gives the dual objective . Concavity and duality. Each is a minimum of finitely many affine functions of , so is concave and piecewise linear. The feasible set of (12) is a nonempty polytope, so linear-programming strong duality gives equal optimal values and a dual maximizer. Optimality. For any and any policy, substituting and gives
At a dual maximizer by (i), which is (13). For a feasible policy the three terms are nonnegative, so it is optimal exactly when all three vanish, which is the stated condition, and the identity at the maximizer is Proposition 7. For the deterministic-policy claim, adding a slack variable to each of the two inequality constraints puts (12) in standard form with equality constraints. A bounded feasible linear program attains its optimum at a basic feasible solution, which has at most positive variables. Each simplex needs at least one positive , which leaves at most two further positive entries: either two inputs mix two actions or one input mixes three. Monotonicity in the prices. Let minimize at and at with . Adding the two optimality inequalities cancels the volume and count terms and leaves . The same argument in at fixed gives .
Proof of Proposition 8(ii). Fix , write , and let , the Lagrangian of (12) with only the coverage constraint priced. Its minimizers are those of the problem in the proposition. Radius. Replacing each action at input by , where minimizes , keeps every count and does not increase the objective, so it suffices to work with , computed in one pass over the tables. Counts. A distribution over counts at input with mean costs at least , the lower convex envelope of over the menu, and attains it by mixing the two hull vertices adjacent to . The problem is therefore subject to and , a separable convex allocation of one resource. Starting every at and raising the along the segments of the in increasing order of slope, until the budget is spent or no segment has negative slope, satisfies its optimality conditions with multiplier equal to minus the slope of the last segment used: every segment used has slope at most , every segment not used has slope at least , and convexity makes each input's segments come in order. At most one segment is used partially, so at most one input mixes two counts. The hulls take operations, since the counts are sorted, and ordering the at most segments takes . Bisection. Let be the water-filling solution. For every , so is a supergradient of the concave function . Supergradients of a concave function are nonincreasing, so is nondecreasing in , and linear-programming duality gives . If , then is feasible with and is optimal. Otherwise, because (12) is feasible, beyond the last breakpoint of the solution maximizes coverage under the budget, so for a finite , which doubling finds. Bisection keeps with
until . Choose with ; the mixture meets both constraints. With ,
Once the bracket contains no breakpoint of other than a maximizer of , both bracket solutions minimize the priced objective at , so does too, meets the coverage target with equality, and is exactly optimal. The number of steps is , and each costs . Conversely, changing a single entry of the tables can change the optimal value, so in the worst case every exact method reads all entries.
The budget path. Let be the optimal value of (12) at budget for a fixed action set. It is nonincreasing because the feasible sets are nested. It is convex because a mixture of optimal policies at budgets is feasible at , the constraints being linear, and has the mixed volume. Let be optimal prices at and an optimal policy at . Applying (13) at to , whose regret and coverage terms are nonnegative and whose mean count is at most , gives , so is a subgradient. For each , the minimizing rule at , mixed to meet the coverage target, satisfies the optimality conditions of Proposition 8 at the budget equal to its own mean count. By the identity above its volume equals , so by weak duality it is optimal at that budget and are optimal prices there. That budget is nonincreasing in because subgradients of a convex function are monotone, and at the finitely many values of where it jumps, mixing tied actions fills in the budgets between. One sweep of therefore traces between the smallest feasible budget and the budget at which reaches zero.
The gain over fixed PCP, and the draws it saves. If fixed PCP meets the coverage target exactly and spends the budget, the last two terms of (13) vanish, so , its priced regret; by Proposition 8 this is zero exactly when minimizes every . The derivation of (13) uses only linearity in the policy and the two coupling constraints, so the same identity holds for the population program (5) over a finite menu, with in place of the empirical input distribution and population tables, whenever optimal population prices exist, as under Slater's condition. For the draws saved, let be an optimal price at budget . The subgradient inequality of the budget path at gives
so the allocation at budget is no larger than fixed PCP at budget whenever . When prices vary little over this range, the saving is about draws per prediction: the regret measured in units of the value of a draw.
A.3 Proofs for Section 3.3
Write for the volume of the unit ball in . Throughout, the radius is constant and , so the score of samples is and a sample's ball of radius contains exactly when .
Coverage under separated modes. Under Assumption 1, if some sample lies in the ball containing Y, both lie in one ball of radius , so . Otherwise every sample lies in another ball, because the generator is supported on the union of the balls, and every point of another ball is at distance at least from Y, so . Given , the response lies in ball j with probability , and each independent sample misses that ball with probability . Hence, with as in (10),
which proves (10) and shows that is nondecreasing in k.
Proof of Theorem 3. For a count rule , averaging (14) over and shows that the population score distribution equals on and is at most this value below . The calibrated radius is therefore at most if , and at least otherwise. For uniform allocation, by the condition, so its radius is at least ; every set contains a ball of that radius, and . By the condition, some count rule with has , so its radius is at most and each set is a union of balls of radius at most , with expected volume at most . The optimal allocation is no larger, so , and dividing the two bounds gives .
Finite calibration. With i.i.d. calibration points and , the number of calibration scores at most is by (14), and the calibrated radius is at most if this number is at least and at least otherwise. Hence , which tends to zero when and to one when .
Proof of Corollary 4. At a constant radius , (14) gives input with samples conditional coverage , which is nondecreasing in . Input therefore attains conditional coverage exactly when . Uniform allocation attains it at almost every input exactly when , where suprema over inputs are essential suprema, and the smallest mean count of a deterministic rule attaining it is , attained by ; the difference is the saving. With a correct generator and equally weighted modes, , so with and , and gives whenever .
Proof of Proposition 5. If , then , and by (14) every radius below gives conditional coverage below ; the smallest radius attaining the target is at least , and the set contains a ball of that radius. Under uniform allocation with samples, the inputs with therefore have sets of volume at least , so . If , (14) gives conditional coverage at radius , so the smallest such radius is at most and the union of balls has volume at most . The allocation has mean count and expected size at most , which bounds the optimal allocation; dividing gives the ratio.
A.4 Oracle Radii in the Interval Model
The next result isolates a benefit that remains when every input already has the smallest radius attaining the target conditional coverage.
Proposition 9 (Allocation with oracle radii). Suppose is uniform on an interval of length , with . For each input and count, choose the smallest radius attaining conditional coverage . With inactive count caps, allocate counts by randomized rounding of
to adjacent integers, preserving its conditional mean. As integer , the expected lengths under fixed counts and this allocation satisfy
where .
Both rules have the same conditional coverage and average count. The leading gain is proportional to , quantifying the role of scale heterogeneity. Together with Theorem 3, it distinguishes large gains from crossing a representation threshold and smooth gains from reducing residual excess volume after local radius adaptation.
Proof of Proposition 9. For the oracle radius at input x and count k, we first establish the expansion
The remainder is uniform over the bounded scale family in the proposition. Minimizing the leading excess term under gives the square-root allocation.
Normalize the support to . Integrating the probability that all centers miss a radius- neighborhood gives, for ,
The expected covered length inside the support equals because the density is one, and each end contributes expected length outside it, from integrating over . Setting gives uniformly on compact -intervals, with derivative in bounded away from zero near , so ; substituting into the outside length gives , and with . By the Cauchy–Schwarz inequality, , with equality for . Bounded scales keep proportional to , and randomized rounding preserves the mean count and changes by . The leading excess is for against for , and their difference is the claim.
B EXPERIMENTAL DETAILS
B.1 Implementation
Data and generators. The synthetic study uses a conditional quantile network with two hidden layers of 64 ReLU units, which outputs the quantiles at levels 0.01, ..., 0.99 and is trained with the pinball loss once per DGP on 2,000 observations; a sample interpolates its quantile curve at a uniform level. Each seed draws 500 observations for , 500 for , 1,000 for testing, and 4,000 for the conditional-coverage audit. Every method uses the same 1,000 labeled observations: methods without a learned component calibrate on , and the others learn on and calibrate on .
Conditional regression. We estimate and at a new input by nonparametric nearest-neighbor regression. After standardizing the features, and average the per-input estimates of the 60 nearest points of , with the same weights for every count and radius, which preserves the monotone and concave shape of the estimated curves in (Proposition 6). The features are the input coordinates for the synthetic studies and sample-free summaries of the generator for the real data. For a nearest-neighbor generator, these are the log mean distance of the neighbors' responses to their coordinatewise median, the fractions within 0.05 and 0.2 standardized units of it, and the log of the 90th percentile of those distances; for a mixture density network, they are the log total variance, the entropy and maximum of the mixture weights, and the log mean component scale. They are fixed functions of the input, so Theorem 2 applies unchanged. In a sensitivity analysis on the synthetic DGPs at , using 30 or 120 neighbors instead of 60, or averaging within a fixed partition of the input space, changes the mean set size by less than 1%.
Volume estimation. The estimator (7) needs only the observed response and the sample pool, not the generator density. In one dimension, is constant between consecutive endpoints , so is computed exactly by summing segment lengths weighted by . In two dimensions, we draw integration points by choosing a pool center uniformly and then a point uniformly in its radius-r disk. This proposal has density on the union of the disks, so
estimated for all counts from one set of 256 points. Test-set areas are computed exactly by disk-union boundary integration.
Sampling, optimization, and budget. Each input in has a pool of samples, the candidate counts are , and the radius grid has 80 geometrically spaced values chosen from and its pool. The allocation is computed by the exact dual of Theorem 1 (Appendix A.2). Calibration and test inputs use fresh samples. The budget caps the mean number of prediction-time generator samples per input, including auxiliary samples; the offline pool on is not counted in . Because the allocation enforces the budget as an average over , we report the realized mean number of samples on test inputs.
Hardware. Experiments ran on three machines: a MacBook Pro with an Apple M2 Pro chip (12 CPU cores, 32 GB memory), a MacBook Air with an Apple M4 chip (10 CPU cores, 16 GB memory), and a desktop workstation with an NVIDIA GeForce RTX 5070 Ti GPU. The synthetic and real-data sweeps run on CPU and were divided across the three machines by random seed; GPU computation, such as training the mixture density network for the taxi data and sampling answers from the vision-language model, used the workstation.
Evaluation metrics. Marginal coverage and mean set size are computed on the test observations, and cost is the realized mean number of generator samples per test input. For conditional coverage, let be input cells, with audit count , audit coverage , and weight . We report
which averages over cells and is distinct from pointwise conditional coverage. The cells are input-only recursive median partitions fitted on , with 10 cells for scalar inputs and 16 for two-dimensional inputs. Intervals are 95% intervals across seeds.
B.2 Compared Methods
The PCP family differs only in which decisions vary (Section 3.1): fixed PCP uses and ; CASA lets the count vary with one shared radius: it solves the allocation at each radius of the grid and keeps the radius whose solution has the smallest estimated mean set size on . CASA (joint) lets each input choose both its count and its radius from , by the same exact dual over count-radius pairs (Appendix A.2), with the budget applying to the counts. Input-independent allocation draws every count from one distribution that does not depend on the input, under the same budget cap and with a shared radius; in the ablation of Section 4, the counts are uniform on with one calibrated radius. In that ablation, size is the geometric mean over DGPs of the ratio to fixed PCP, and coverage and MACE are means over DGPs.
The external constructions follow their published definitions and use the same generator and the conformal rank , with an unbounded set when the rank exceeds . Let be the centers at input and the PCP score.
-
(Plassier et al., 2025b), linear adjustment. An independent auxiliary sample defines as the -th smallest of , . The score is , and the set is . Because is recomputed from the realized centers, it adapts to any count. The auxiliary size is the same at every input and counted toward the budget, so fixed uses centers and its count-allocated version satisfies .
-
RCP (Plassier et al., 2025a), linear adjustment as in its PCP experiments. A quantile regression fitted on estimates , the conditional -quantile of given ; the score and set are as for . Since the nearest-center distance decreases with the count, the count-allocated version estimates with the count as an additional regressor.
-
CP4Gen (Yang et al., 2026). k-means clustering of the centers into L groups (solved exactly by dynamic programming for scalar responses) gives weights (cluster proportions), means , and sample covariances (zero for singletons). The score is with , and the set is a union of ellipsoids. The number of clusters is chosen on at to minimize mean volume over the grid of the official implementation, whose largest value makes every sample its own cluster. In the count-allocated version an input with k samples uses clusters, and the choice carries over as one cluster per sample.
-
C-PCP (Dheur et al., 2025). The score is the empirical distribution function, over auxiliary draws, of the nearest-center distance, , and the set is the union of balls whose radius is the corresponding auxiliary order statistic. The score takes only values, so with at the budgets studied here the 90% threshold reaches one and every set is the whole space. We therefore give C-PCP auxiliary draws beyond the budget, identical for its fixed and count-allocated versions, so that the comparison isolates the allocation of centers.
Fixed count vs count-only allocation on rare modes (B = 3–10; titles: mean paired size change)

realized calls (incl. aux.)
realized calls (incl. aux.)
realized calls (incl. aux.)
realized calls (incl. aux.)
realized calls (incl. aux.)
Figure 6: Fixed count versus CASA on rare modes for , with 95% intervals over 100 seeds. The horizontal axis counts realized samples, auxiliary draws included; panel titles give the mean size change.
The Rao–Blackwell tables of Proposition 6 assume balls with a common radius, so for the external constructions the coverage and volume of each count are estimated by direct Monte Carlo over collections of pool samples; the allocation and calibration steps are unchanged.
Budget curves. Figure 6 compares each construction with and without CASA on rare modes over budgets . Budgets are matched within each construction; spends of its budget on auxiliary draws and C-PCP uses 20 auxiliary draws beyond it, so the horizontal axis counts realized calls, auxiliary draws included. Marginal coverage stays within [89.6, 90.5]% for every construction except C-PCP (91.5–93.2%), whose discrete score is conservative.
B.3 Synthetic DGPs
DGPs. Each DGP draws and , where the noise changes with the input as follows, with , , uniform on , , the logistic function , and all variables independent.
| DGP | Noise |
|---|---|
| Compact to extended | |
| Uniform bulk | |
| Gaussian scale | |
| Sharp scale | |
| Emerging modes | |
| Separating modes | , each sign equally likely |
| Rare modes | |
| Mode width | |
| Heavy tail |
The learner observes only and the labeled data.
Protocol. We use budgets with 100 seeds each and target coverage 90%. Each input in has a pool of samples, and both variants use the same grid of 80 radius values.
Uncertainty-set geometry. Figure 7 visualizes the calibrated uncertainty sets of fixed PCP, CASA, and CASA (joint) in one replication on two scalar and two vector DGPs. These individual realizations illustrate the geometry of the sets; aggregate comparisons are in Figure 3 and Table 1.
B.4 Taxi Routes
Data and task. The Porto taxi data (UCI Machine Learning Repository, 2015), released for the ECML/PKDD 2015 trajectory-prediction challenge, record 1.7 million trips with one GPS fix every 15 s. We use the first 300,000 trips, drop trips with missing data or a jump of more than 500 m between fixes, and keep windows in an km box around the city centre in which the taxi is moving. From a taxi's current position and its displacements
Fixed PCP
Count allocation
Joint allocation
a) Emerging modes (1D response, B=5)


b) Changing mode width (1D response, B=5)

Test coverage 91.1% · mean K 5.0
Test coverage 88.4% · mean K 3.7

Test coverage 92.1% · mean K 4.9

c) Four clusters (2D response, B=5, x=0.85)

Test coverage 90.7% · mean K 5.0
Test coverage 92.4% · mean K 4.4


Test coverage 92.7% · mean K 4.7
d) Compact to ring (2D response, B=10, x=0.85)

Test coverage 91.6% · mean K 10.0
Test coverage 91.4% · mean K 7.0

Test coverage 91.5% · mean K 9.4

Reference responses
- Generated centers (2D)
Calibrated prediction set

Figure 7: Calibrated uncertainty sets on four synthetic DGPs for fixed PCP, CASA, and CASA (joint). (a–b) Gray points are test pairs, and colored segments are the sets. (c–d) Gray points are responses at one input, crosses are samples, and circles outline the sets. Headings give marginal coverage and mean samples.
Table 2: Taxi routes, all configurations: mean set area relative to fixed PCP over ten splits, at the same budget and at equal realized samples. Bold: paired -test . Last column: CASA's mean samples at .
| Configuration | CASA, same cap | Equal samples | CASA (joint), same cap | Mean K | |||||
|---|---|---|---|---|---|---|---|---|---|
| B=3 | 5 | 10 | 5 | 10 | 3 | 5 | 10 | ||
| 20-NN, 300 m (main) | 0.68 | 0.63 | 0.88 | 0.60 | 0.80 | 0.58 | 0.56 | 0.85 | 3.0/4.9/9.7 |
| 10-NN, 300 m | 0.69 | 0.63 | 0.90 | 0.60 | 0.78 | 0.56 | 0.52 | 0.91 | 3.0/4.9/9.5 |
| 40-NN, 300 m | 0.67 | 0.62 | 0.86 | 0.57 | 0.77 | 0.54 | 0.55 | 0.85 | 3.0/4.8/9.7 |
| 20-NN, 300 m, time split | 0.67 | 0.64 | 0.90 | 0.60 | 0.84 | 0.51 | 0.54 | 0.85 | 2.9/4.9/9.5 |
| 20-NN, 200 m | 0.62 | 0.73 | 0.94 | 0.66 | 0.84 | 0.52 | 0.66 | 0.89 | 2.9/4.8/8.7 |
| 20-NN, 500 m | 0.90 | 0.66 | 0.76 | 0.66 | 0.73 | 0.73 | 0.59 | 0.77 | 2.9/5.0/9.9 |
| MDN, 300 m | 0.76 | 0.70 | 1.00 | 0.69 | 0.94 | 0.59 | 0.61 | 0.93 | 3.0/5.0/9.6 |
over the last 15 s and 60 s, we predict its displacement to the point 300 m further along its route. Measuring the horizon in distance rather than time removes speed and leaves route choice: on a straight road the answer is nearly a single point, while at a junction it splits into one point per exit. Splits are by trip, and each evaluation trip contributes one random window: 2,000 trips for , 2,000 for , 3,000 for testing, and 3,000 for the conditional-coverage audit; the remaining trips supply two million generator windows. Set size is area in square metres.
Generator. The main generator is a trajectory library: a sample is the 300 m displacement of one of the 20 training windows nearest in position and recent motion, with Gaussian jitter of about 4 m. As a learned alternative, a mixture density network maps random Fourier features of the position and the recent displacements to a 20-component Gaussian mixture, trained by maximum likelihood on each split's generator windows.
Results. Over ten splits, CASA keeps coverage at 90.3–90.4% (fixed PCP 90.1–90.2%) and reduces mean set area to 0.68, 0.63, and 0.88 of fixed PCP's at budgets 3, 5, and 10, and to 0.60 and 0.80 at equal realized samples at budgets 5 and 10 (Table 2); CASA (joint) gives 0.58, 0.56, and 0.85. Taxis on through-roads receive two samples and taxis near junctions up to eight (Figure 5). The extra samples cover exits that fixed PCP misses and lower the shared calibrated radius, from 63 to 44 m on one split, so sets shrink at every sample level. The gain holds with 10 or 40 neighbours, for route distances of 200 and 500 m, under a time split in which the generator sees only earlier trips, and with the mixture density network.
B.5 Protein Backbone Angles
Data and task. We predict a residue's backbone dihedral angles , its position on the Ramachandran plot, from the sequence of its chain. We use the CATH 4.2 chains of Ingraham et al. (2019), split by CATH topology so that no test chain has a homologous chain in training, and compute the angles from the backbone coordinates of N, , and C, with shifted to so that the helical and extended regions are contiguous. Evaluation residues are drawn at random from the test chains, 3,000 each for , , testing, and the conditional-coverage audit. Set size is area in square degrees.
Generator. Each residue is represented by the last-layer embedding of ESM-2 with 35 million parameters (Lin et al., 2023), which sees the whole chain, projected onto 64 principal components. A library holds the 1.3 million residues of 6,000 random training chains, and a sample is the of one of the 20 library residues closest in embedding.
Results. Over ten splits, CASA reduces mean set area to 0.76, 0.87, and 0.94 of fixed PCP's at budgets 3, 5, and 10, and to 0.76 and 0.86 at equal realized samples (Table 3), and lowers MACE from 2.85 to 2.58 points at . It assigns 3.8 samples on average to residues in the helical region, 4.8 to the extended region, and 5.8 to residues with , against five for fixed PCP (Figure 8). The gain holds for 10 and 40 neighbours and for the ESM-2 model with 150 million parameters.

Figure 8: Protein backbone angles at . (A) Mean samples CASA assigns, by position on the Ramachandran plane. (B) A helical residue: fewer samples give a smaller set. (C) A rare conformation that fixed PCP's samples miss. (D) Set area against mean samples over ten splits.
Table 3: Protein backbone angles, all configurations: mean set area relative to fixed PCP over ten splits, at the same budget and at equal realized samples. Bold: paired t-test . Last column: CASA's mean samples at .
| Configuration | CASA, same cap | Equal samples | CASA (joint), same cap | Mean K | |||||
|---|---|---|---|---|---|---|---|---|---|
| B=3 | 5 | 10 | 5 | 10 | 3 | 5 | 10 | ||
| 20-NN, ESM-2 35M (main) | 0.76 | 0.87 | 0.94 | 0.76 | 0.86 | 0.63 | 0.79 | 0.91 | 2.9/4.6/8.7 |
| 10-NN | 0.71 | 0.88 | 0.97 | 0.80 | 0.89 | 0.62 | 0.81 | 0.94 | 3.0/4.7/8.7 |
| 40-NN | 0.81 | 0.86 | 0.94 | 0.80 | 0.87 | 0.69 | 0.81 | 0.90 | 2.9/4.7/8.8 |
| 20-NN, ESM-2 150M | 0.80 | 0.89 | 0.92 | 0.79 | 0.88 | 0.68 | 0.81 | 0.92 | 2.9/4.5/9.2 |

accuracy of one sampled answer (%)

"what number is on the middle bike?" fixed, 5 draws: {44}, misses count alloc., 8 draws: {30, 44}, covers

"what color is the text on the charger?" fixed, 5 draws: {black, white}, covers count alloc., 2 draws: {white}, covers
mean draws per question
Figure 9: TextVQA with Qwen2.5-VL-3B at an target and . (A) Mean samples CASA assigns, by question accuracy. (B) An ambiguous question: CASA's extra samples find the answer. (C) A clear question: two samples suffice. (D) Answers per set against mean samples over ten splits.
B.6 Answer Sets for a Vision-Language Model
Data and task. TextVQA (Singh et al., 2019) asks about text in photographs, and OK-VQA (Marino et al., 2019) requires outside knowledge; both have ten human answers per question, and an answer counts as correct if at least three annotators gave it (TextVQA) or at least one did (OK-VQA). Each task is split at random into 1,500 questions each for , , and testing, with the rest for the conditional-coverage audit. The model limits which targets are reachable: an acceptable answer appears among 24 samples for about of TextVQA and of OK-VQA questions, so we target and coverage.
Model and sets. We use Qwen2.5-VL-3B (Bai et al., 2025), prompted to answer with a single word or phrase, drawing 24 answers per question at temperature 0.7. A ball around a discrete answer contains only that answer, so we use the sampling-only construction of Su et al. (2024): draw K answers and return every distinct answer whose frequency among them is at least a calibrated threshold. The allocation is unchanged, with exact coverage and size tables from the hypergeometric count of each answer in a random K-subset of the pool, the analogue of (7). The regression features summarize one greedy decode: its token log-probabilities, entropies, and length.
Results. On TextVQA, CASA matches fixed sampling's set size with 44%, 29%, and 28% fewer samples at B = 3, 4, and 5, giving the questions the model finds hardest about 1.5 times the samples of those it always answers correctly (Figure 9); at B = 3, fixed sampling misses the target in three of ten splits, while CASA reaches it in all. On OK-VQA, sets are 11–15% smaller at B = 5–8.