Manuscript Offprint

arXiv:2610.11349

Sample-Efficient Generative Conformal Prediction

Minxing Zheng, Shixiang Zhu

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

Y∣X=x1Y \mid X = x_{1}

Figure

Conditional coverage

95%; K=5K = 5

Y∣X=x2Y \mid X = x_{2}

Figure

Conditional coverage

69%; K=5K = 5

(a) Conventional approach (mean set size 6.69).

Figure

Conditional coverage

92%; κ(x1)=2\kappa(x_{1})=2

Figure

Conditional coverage

83%; κ(x2)=8\kappa(x_{2})=8

(b) Sample-efficient approach (mean set size 6.24).

Figure 1: Motivation for adaptive sampling. Moving three draws from x1x_{1} to x2x_{2} 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 CP2CP^{2} (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 2^{2} (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.

References (87)