TL;DR
This paper provides the first finite-sample, high-probability guarantees for Randomly Localized Conformal Prediction (RLCP), a method designed to give valid conditional (group-specific) prediction intervals. The authors reveal a fundamental bias-variance tradeoff governed by the localization bandwidth and demonstrate that using "pivotal" learned scores (like Conformalized Quantile Regression) completely eliminates localization bias, allowing the model to achieve sharper local guarantees.
What Problem Does This Paper Address?
Conformal prediction is a popular framework for putting error bars around machine learning predictions because it guarantees marginal validity—meaning, on average across the entire dataset, the true value will fall inside the predicted interval 90% of the time (if choosing a 90% confidence level).
However, marginal validity can hide severe local failures. For instance, a model might overcover simple data points (100% accuracy) but drastically undercover a rare or difficult subgroup (only 50% accuracy), while still maintaining a 90% average. Achieving true conditional validity (validity for every specific subgroup or coordinate $x$) is mathematically impossible in finite samples without making structural assumptions about the data.
Randomly Localized Conformal Prediction (RLCP) attempts to bridge this gap by weighting calibration data points closer to the test point. While RLCP preserves marginal coverage, we previously lacked finite-sample guarantees on how well a realized RLCP interval actually tracks the true conditional oracle (the ideal, localized prediction band). This paper provides those missing guarantees.
Methods
The authors analyze RLCP under the assumption that the conditional score distribution varies smoothly (specifically, satisfying Hölder regularity). They evaluate two main setups:
- Fixed Scores: For a predetermined non-conformity score, they prove uniform local bounds on both the conditional coverage gap and the interval length error relative to an oracle. These bounds explicitly decompose into an $O(h^\beta)$ localization bias (where $h$ is the bandwidth and $\beta$ is the smoothness parameter) and a calibration variance term that shrinks as the effective local sample size grows.
- Learned Pivotal Scores: When the score function is learned from an independent training set and targets a pivotal population score—such as in Conformalized Quantile Regression (CQR) or distributional scores—a remarkable thing happens: the localization bias term completely vanishes. The error then simplifies to a combination of standard calibration error and uniform score-estimation error.
Datasets
The authors evaluated their theoretical findings using both synthetic and real-world datasets:
- Synthetic Data: A heteroskedastic "cusp model" designed to explicitly test the mathematical rate of convergence under different smoothness levels ($\beta \in \{0.5, 0.75, 1\}$).
- Real-World Benchmarks: Standard regression datasets from the UCI Machine Learning Repository:
- Concrete (compressive strength)
- Bike Sharing (hourly rental counts)
- Protein (CASP tertiary structure)
- Airfoil (self-noise)
- Semi-Synthetic Data: bike-synth, generated using real covariates from the Bike Sharing dataset but paired with a synthetic target featuring severe, density-dependent heteroskedastic noise.
Key Insights and Ideas
- The Bandwidth Tradeoff Quantified: For fixed scores, the paper explicitly maps out the nonparametric bias-variance tradeoff for local calibration. Smaller bandwidths reduce localization bias but starve the model of local calibration data, increasing variance. Balancing these terms yields the classical minimax rate of $n^{-\beta/(2\beta+d)}$.
- The Magic of Pivotality: If your underlying machine learning model learns a score whose quantiles are invariant across the covariate space (a pivotal score), localization no longer introduces bias. This means you can use a larger bandwidth to reduce variance without paying a local distortion penalty, shifting the entire burden of adaptivity onto the base model's learning quality.
- The Price of Local Safety: Local calibration acts as an insurance policy against undercovering rare subgroups. However, the paper highlights an empirical truth: to guarantee coverage in data-sparse regions, you must accept significantly wider intervals in those regions.
Key Results
- Rate Verification: On synthetic data, the empirical log-log slopes of the coverage and length errors closely matched the predicted theoretical rate of $-\beta/(2\beta + d)$.
- Worst-Slice Coverage Boost: In real-world experiments, RLCP consistently rescued the "worst-slice" coverage (the density decile where standard global methods undercover the most). On the bike-synth dataset, RLCP improved the worst-decile coverage by +16.3% compared to standard Split-CP. On real datasets like Bike and Protein, it boosted the worst-slice coverage by roughly 4% to 5%.
- The Length Premium: This coverage safety came at a cost: RLCP intervals were significantly longer in sparse regions, resulting in overall mean-length ratios up to 2.6x higher than global baselines on noisy datasets like Concrete.
Limitations and Future Work
- Heuristic Fallbacks in Practice: To prevent intervals from exploding to infinity when a test point lands in an entirely empty region of the covariate space, practical implementations must use "hybrid" fallback rules (e.g., reverting to a global threshold). The clean finite-sample guarantees proven in the paper do not fully account for these heuristic modifications.
- The Curse of Dimensionality: Because RLCP relies on kernel localization, its effective local sample size degrades exponentially as the number of features ($d$) increases, making it less effective for raw, high-dimensional datasets without prior dimensionality reduction.
Summary updated