Co-optimization for Adaptive Conformal Prediction

Xiaoyi Su, Zhixin Zhou, Rui Luo

TL;DR

Standard conformal prediction methods like Conformalized Quantile Regression (CQR) produce unnecessarily wide prediction intervals when data distributions are skewed because they force equal-tailed errors. This paper introduces Co-optimization for Adaptive Conformal Prediction (CoCP), a framework that dynamically shifts an interval's center and scales its radius together. CoCP achieves significantly tighter prediction intervals and state-of-the-art conditional coverage without the computational burden of estimating full conditional densities.

What Problem Does This Paper Address?

Conformal prediction (CP) is a popular framework for constructing prediction intervals with rigorous, distribution-free coverage guarantees. However, standard methods often suffer from inefficiency when dealing with asymmetric or skewed data.

Popular approaches like Conformalized Quantile Regression (CQR) typically inherit a fixed center (like the conditional median) and split the error budget equally between the upper and lower tails ($\alpha/2$ on each side). When the underlying distribution is heavily skewed, this rigid equal-tailed constraint systematically displaces the prediction interval away from the highest-density regions, resulting in bloated and unnecessarily wide intervals.

To achieve maximum efficiency—meaning the shortest possible interval that still captures the target probability mass—a method must be able to both scale its width and translate its center. Existing methods that attempt this usually require estimating the full conditional density or distribution function, which is computationally expensive, sensitive to hyperparameter tuning, and prone to instability.

Figure 1: From any interval to HDI via folding and boundary balancing. (a) Under skewness, equal-tailed intervals can be displaced relative to the (1−α)-HDI and are typically longer. (b) Folding around a candidate center m maps y to |y −m|, producing a two-layer view. (c) The folded (1 −α)- boundary corresponds to two endpoints; translating m shortens the interval when the endpoint densities are imbalanced (push–pull). (d) At equilibrium the endpoint densities match, recovering the HDI.

Methods

The authors propose CoCP, which couples the learning of the interval center $m(x)$ and radius $h(x)$ into a differentiable, alternating optimization loop. The core idea relies on a "folded-flag" geometric perspective that simplifies the two-sided interval problem into a one-sided thresholding task:

  1. Radius Update (Scaling): For a fixed center $m(x)$, the optimal radius $h(x)$ is learned by performing quantile regression (via a standard pinball loss) on the folded absolute residuals $|Y - m(X)|$.
  2. Center Update (Translation): With the radius fixed, the center $m(x)$ is refined using a differentiable soft-coverage objective (a sigmoid surrogate for the hard interval indicator). Crucially, the gradients of this objective concentrate exclusively near the interval boundaries. If the data density is higher at one boundary than the other, the gradient acts as a "push-pull" dynamic, autonomously driving the center toward the higher-density region until the boundary densities balance out.

Finally, to guarantee exact finite-sample marginal coverage, the authors apply a standard split-conformal calibration step using a normalized nonconformity score. The entire workflow is implemented using a $K$-fold cross-fitting and ensembling procedure to maximize data efficiency.

Overview of the CoCP framework pipeline.

Datasets

The framework was evaluated on both synthetic and real-world benchmarks:

  • Synthetic Data: Generated using a shared covariate distribution $X \sim \text{Unif}([-2, 2])$ paired with three distinct noise distributions to evaluate performance under varying shapes: Normal (symmetric), Log-Normal (moderately skewed), and Exponential (highly skewed).
  • Real-World Datasets: Seven standard regression datasets spanning various dimensions and characteristics: bike (hourly bike sharing demand), bio (protein tertiary structure), blog (blog feedback volume), facebook-1 & facebook-2 (comment volumes), homes (house sales prices), and supercon (superconductivity critical temperature).

Key Insights and Ideas

  • Boundary Balancing Over Full Density Estimation: You do not need to estimate the entire conditional probability density function to find the shortest interval. You only need to know the density at the boundaries. CoCP's soft-coverage gradients focus exclusively on local density near the endpoints, bypassing complex global density estimation.
  • The Geometry of Folding: Folding the distribution around a candidate center reveals that shifting the center toward denser regions naturally allows the boundary quantile—and thus the radius—to contract, minimizing the interval length.
  • Decoupling Efficiency from Validity: By separating the geometry-learning phase (co-optimizing center and radius) from the conformal calibration phase, CoCP can aggressively optimize for the tightest intervals while relying on split-conformal calibration to guarantee valid coverage.

Key Results

  • Drastic Length Reductions under Skewness: On the synthetic Exponential dataset (extreme skewness), CoCP reduced interval length over CQR by $\approx 20\%$ while slashing the conditional coverage error (ConMAE) by $\approx 60\%$. On Log-Normal noise, it achieved a $\approx 13\%$ length reduction over CQR.
  • State-of-the-Art Real-World Performance: CoCP achieved the shortest intervals on 5 out of 7 real-world datasets. On the remaining two (blog and facebook-2), alternative methods achieved slightly shorter intervals but at the cost of terrible conditional reliability. CoCP maintained markedly superior conditional coverage diagnostics (substantially lower Mean Squared Conditional Error and higher Worst-Slice Coverage) across the board.

Limitations and Future Work

  • Strictly One-Dimensional Targets: The current geometric formulation of CoCP is designed exclusively for one-dimensional responses ($Y \in \mathbb{R}$). Extending this co-optimization viewpoint to multivariate or structured outputs remains an open challenge.
  • Latent Space Distortions: In higher dimensions, multi-output conformal pipelines often map data to a latent space using generative models (like normalizing flows). Translating a center in a latent space is not size-invariant after decoding because local geometric distortions (Jacobian variations) alter the final set's volume and shape. Future work will need to explore translation-invariant parameterizations in these spaces.

Summary updated

BibTeX
@inproceedings{su2026co,
  author = {Xiaoyi Su and Zhixin Zhou and Rui Luo},
  title = {{Co-optimization for Adaptive Conformal Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=iIkqszzLay},
}
Figure