Conformal prediction with local weights: randomization enables local guarantees
Rohan Hore, Rina Foygel Barber
TL;DR
The paper tackles distribution-free predictive intervals with finite-sample conditional guarantees and introduces randomly localized conformal prediction (RLCP) to achieve approximate test-conditional coverage and robustness to covariate shift while preserving marginal validity. RLCP randomizes the localization center, enabling a theoretical framework that yields marginal coverage guarantees and provable bounds on local coverage and covariate-shift performance. The authors compare RLCP with baseLCP and calLCP through extensive simulations and a real abalones dataset, demonstrating better local adaptivity and more stable conditional coverage, especially at small bandwidths. Overall, RLCP provides a principled, randomization-based pathway to balance local coverage, covariate shift resilience, and practical interval width in distribution-free prediction.
Abstract
In this work, we consider the problem of building distribution-free prediction intervals with finite-sample conditional coverage guarantees. Conformal prediction (CP) is an increasingly popular framework for building such intervals with distribution-free guarantees, but these guarantees only ensure marginal coverage: the probability of coverage is averaged over both the training and test data, meaning that there might be substantial undercoverage within certain subpopulations. Instead, ideally we would want to have local coverage guarantees that hold for each possible value of the test point's features. While the impossibility of achieving pointwise local coverage is well established in the literature, many variants of conformal prediction algorithm show favourable local coverage properties empirically. Relaxing the definition of local coverage can allow for a theoretical understanding of this empirical phenomenon. We propose randomly localized conformal prediction (RLCP), a method that builds on localized CP and weighted CP techniques to return prediction intervals that are not only marginally valid but also offer relaxed local coverage guarantees and validity under covariate shift. Through a series of simulations and real data experiments, we validate these coverage guarantees of RLCP while comparing it with the other local conformal prediction methods.
