Adaptive Conformal Prediction by Reweighting Nonconformity Score

Salim I. Amoukou, Nicolas J. B Brunel
3/22/2023
stat.MLcs.LG

No official code found. Best implementation: salimamoukou/ACPI (30 stars, MIT, last commit 2023-03-23).

Abstract

Despite attractive theoretical guarantees and practical successes, Predictive Interval (PI) given by Conformal Prediction (CP) may not reflect the uncertainty of a given model. This limitation arises from CP methods using a constant correction for all test points, disregarding their individual uncertainties, to ensure coverage properties. To address this issue, we propose using a Quantile Regression Forest (QRF) to learn the distribution of nonconformity scores and utilizing the QRF's weights to assign more importance to samples with residuals similar to the test point. This approach results in PI lengths that are more aligned with the model's uncertainty. In addition, the weights learnt by the QRF provide a partition of the features space, allowing for more efficient computations and improved adaptiveness of the PI through groupwise conformalization. Our approach enjoys an assumption-free finite sample marginal and training-conditional coverage, and under suitable assumptions, it also ensures conditional coverage. Our methods work for any nonconformity score and are available as a Python package. We conduct experiments on simulated and real-world data that demonstrate significant improvements compared to existing methods.

View on arXivView PDF

Code Implementations(1)

salimamoukou/ACPICommunity100%
MIT

Adaptive Conformal Prediction Intervals (ACPI) is a Python package that enhances the Predictive Intervals provided by the split conformal approach by employing a weighting strategy.

303C++, ShellFeb 3, 20233 years agoMIT
confidence-intervalsconformal-predictionconformal-regressorsprediction-intervalsuncertainty-quantification

Similar Papers

Cite this paper

@article{amoukou2023adaptive,
  title  = {Adaptive Conformal Prediction by Reweighting Nonconformity Score},
  author = {Salim I. Amoukou and Nicolas J. B Brunel},
  year   = {2023},
  eprint = {2303.12695},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.12695v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.12695.svg)](https://codeofpaper.com/paper/2303.12695)

Discussion