Beyond Marginal Coverage: Efficient Localized Conformal Prediction via Residual Rank Calibration

Xiangshi Li, Wenqing HeNeurIPS 2026

TL;DR

Standard conformal prediction guarantees that your uncertainty intervals are right on average, which isn't much comfort if they are wildly inaccurate for specific subsets of your data. Existing methods try to fix this by estimating the entire conditional distribution of the output from scratch—a notoriously heavy statistical lift. This paper introduces a "divide and conquer" strategy that strips away the signal's mean and local noise scale first, making it much easier to build tight, locally adaptive prediction intervals via simple rank comparisons.

What Problem Does This Paper Address?

Suppose you train a regression model and want a 90% prediction interval around its outputs. Conformal prediction is a popular framework for this because it guarantees 90% coverage without assuming anything about your data's distribution (only that data points are exchangeable).

However, there is a catch: standard conformal prediction only guarantees marginal coverage (90% accuracy on average across the whole dataset). If 90% of your data sits in an easy, low-noise region and 10% sits in a chaotic, high-noise region, a naive conformal method might achieve 100% coverage on the easy stuff and 0% on the hard stuff. Technically, that averages to 90%, but practically, it fails right when you need it most.

Ideally, we want conditional coverage—intervals that adapt locally to input $X$, widening in noisy regions and shrinking in quiet ones. Current adaptive methods like Conformalized Quantile Regression (CQR) or Conformal Histogram Regression (CHR) tackle this by forcing an estimator to model the conditional distribution of $Y$ given $X$ directly. Simultaneously learning the mean, spread, skewness, and multimodality of $Y|X$ in one go is statistically demanding and prone to error, especially in complex, nonparametric settings.

Methods

The authors propose Residual-based Local-Rank Conformal Histogram Regression (RLR-CHR). Instead of modeling $Y|X$ all at once, they break the problem down through progressive simplification:

  1. Decouple Location and Scale (Signal-Noise Separation): Using cross-fitting on the training set (to prevent overfitting), they train a standard point predictor $\hat{\mu}(X)$ to remove the conditional mean, and a secondary model $\hat{\sigma}(X)$ to estimate the local noise spread (via the median of absolute residuals). Subtracting $\hat{\mu}(X)$ and dividing by $\hat{\sigma}(X)$ yields standardized residuals—a much more stable target across covariates.
  2. Residual Histogram Scoring: Now that location and scale are out of the way, they apply the standard CHR technique to these standardized residuals. By estimating a conditional histogram of the residual shapes, they construct nested intervals ordered by probability mass, assigning each calibration point a discrete conformity score.
  3. Local-Rank Calibration (The Novel Twist): Traditional localized conformal methods calibrate by computing weighted quantiles around a test point, which requires an awkward mathematical correction step to preserve finite-sample guarantees. Instead, RLR-CHR maps points onto a 1D localization coordinate based on their estimated noise scale: $Z = \log \hat{\sigma}(X)$. For any point, it looks at its $k$-nearest neighbors in $Z$-space and calculates its local rank (how extreme its score is among peers with similar noise scales). Finally, an unweighted conformal test on these local ranks selects the prediction interval.

Datasets

No new benchmarks are introduced; the authors evaluate on synthetic setups and existing public regression datasets:

  • Synthetic Data: A 1D sinusoidal wave with right-skewed exponential/Gaussian noise, featuring an abrupt 10x jump in noise scale across 30% of the domain.
  • Eight Primary Real-World Datasets: Spanning robotics, computer systems, energy, and traffic—specifically SARCOS Robot Arm, SGEMM GPU kernel performance, Tetouan City Power, Parking Birmingham, Naval Propulsion, MV, Online Video Transcoding Time, and French Load.
  • (Note: Additional tests on zero-inflated benchmarks from prior CQR/CHR papers are analyzed in the appendices to explore failure modes.)

Key Insights and Ideas

  • Progressive simplification beats monolithic estimation: Normalizing residuals alone isn't enough (it misses skewness), and full conditional density estimation is too hard. Stripping out $\hat{\mu}(X)$ and $\hat{\sigma}(X)$ before estimating distributional shape gives the histogram estimator a much cleaner signal to work with.
  • Unweighted local ranks equal weighted quantiles: The authors prove theoretically—and verify empirically—that their simple, unweighted test on local ranks (RLR-CHR) is asymptotically equivalent to a much more complex weighted-quantile localization counterpart (RBC-CHR), converging to the oracle shortest interval length.
  • Scale is a great proxy for locality: Grouping neighbors in high-dimensional $X$-space suffers from the curse of dimensionality. Grouping them in 1D $\log \hat{\sigma}(X)$-space cleanly sidesteps this while still capturing the primary driver of heteroscedasticity.

Key Results

To approximate conditional coverage, the authors measure Worst-Slab Coverage (WSC) (the lowest coverage found across any slice of data containing at least 10% of the mass, targeting 0.90) alongside interval length relative to standard CHR:

  • Synthetic Data: Standard CHR produces short intervals but fails to adapt locally, getting stuck around ~0.75 WSC even at $n=8000$. RLR-CHR approaches the nominal 0.90 WSC while keeping intervals much tighter than normalized-residual baselines.
  • Real Data: RLR-CHR consistently maintains WSC near the 0.90 target while significantly shrinking interval widths compared to CHR. For example, RLR-CHR cuts average interval length by 26.8% on SGEMM GPU (0.897 WSC), 36.8% on French Load (0.892 WSC), and 49.2% on MV (0.869 WSC vs. CHR's 0.707).

Limitations and Future Work

  • Zero-inflation and Discretization: When target data has heavy zero-inflation or discretization (e.g., Video Time, where 2 of 100 runs produced massive intervals), dividing by $\hat{\sigma}(X)$ smears a clean point-mass at zero into an $X$-dependent curve, violating the method's "small score atom" assumption and resulting in overly conservative intervals.
  • Blind spots of scale-only localization: Because neighborhoods are defined solely by $\log \hat{\sigma}(X)$, localization may falter if two regions share the exact same noise scale $\sigma$, yet differ wildly in skewness or multimodality.
  • Future Directions: The authors suggest learning a 1D projection that combines scale with higher-order residual moments (like skewness), and extending the framework to non-exchangeable settings like time series or covariate shift.

Summary updated

Abstract

Conformal prediction provides finite-sample marginal coverage guarantees under exchangeability, but marginal validity alone does not ensure that prediction intervals adapt to local structure in the conditional distribution. Existing adaptive methods such as conformalized quantile regression (CQR) and conformal histogram regression (CHR) improve conditional coverage by incorporating estimated quantiles or conditional densities into the conformity score, but doing so requires direct estimation of the conditional distribution of response $Y$ given covariates $X$, which can be statistically demanding. We propose a residual-based local rank conformal histogram regression (RLR-CHR) method that replaces direct estimation of the conditional distribution of $Y$ with a more stable target by decoupling location and scale effects via a learned noise proxy and constructing histogram-based conformity scores on the standardized residuals. An unweighted conformal test of the local ranks of these scores provides an alternative approach to localized calibration. We establish finite-sample marginal coverage for RLR-CHR under exchangeability and asymptotic conditional coverage under local stability of the residual score distribution. We further prove that RLR-CHR is asymptotically equivalent to its weighted localization counterpart RBC-CHR under suitable regularity conditions. Experiments on synthetic and real datasets demonstrate that RLR-CHR can produce more compact prediction intervals than existing conformal approaches while maintaining worst-slab coverage near nominal.
BibTeX
@inproceedings{li2026beyond,
  author = {Xiangshi Li and Wenqing He},
  title = {{Beyond Marginal Coverage: Efficient Localized Conformal Prediction via Residual Rank Calibration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MYBb7WHPyQ},
}
Figure