Conformal prediction with localization
Leying Guan
TL;DR
The paper introduces localized conformal prediction, which uses a localizer $H$ to weight training samples by proximity to a new test covariate $X_{n+1}$ and a tuned quantile $\tilde{\alpha}$ to construct a confidence interval ${\widehat{C}}(X_{n+1})$ with finite-sample, distribution-free coverage. It shows that standard conformal prediction is a special case, provides practical localizers (distance-based and nearest-neighbor), and proposes an automatic bandwidth selection procedure; empirical results demonstrate improved local adaptivity while maintaining coverage, with extensions to data-dependent score functions and covariate shift. The framework connects to local and asymptotic conditional coverage and offers theoretical guarantees under localization, potentially improving uncertainty quantification in heterogeneous or shifting data regimes. Overall, localized conformal prediction broadens conformal inference to heterogeneous settings, enabling test-specific, locally valid confidence statements without strong distributional assumptions.
Abstract
We propose a new method called localized conformal prediction, where we can perform conformal inference using only a local region around a new test sample to construct its confidence interval. Localized conformal inference is a natural extension to conformal inference. It generalizes the method of conformal prediction to the case where we can break the data exchangeability, so as to give the test sample a special role. To our knowledge, this is the first work that introduces such a localization to the framework of conformal prediction. We prove that our proposal can also have assumption-free and finite sample coverage guarantees, and we compare the behaviors of localized conformal prediction and conformal prediction in simulations.
