Approximating Full Conformal Prediction at Scale via Influence Functions

Javier Abad, Umang Bhatt, Adrian Weller, Giovanni Cherubin
2/2/2022
cs.LGstat.AP

Official code: cambridge-mlg/acp (11 stars, Jupyter Notebook, MIT, last commit 2024-04-25).

Abstract

Conformal prediction (CP) is a wrapper around traditional machine learning models, giving coverage guarantees under the sole assumption of exchangeability; in classification problems, for a chosen significance level $\varepsilon$, CP guarantees that the error rate is at most $\varepsilon$, irrespective of whether the underlying model is misspecified. However, the prohibitive computational costs of "full" CP led researchers to design scalable alternatives, which alas do not attain the same guarantees or statistical power of full CP.

Show full abstract

In this paper, we use influence functions to efficiently approximate full CP. We prove that our method is a consistent approximation of full CP, and empirically show that the approximation error becomes smaller as the training set increases; e.g., for $10^{3}$ training points the two methods output p-values that are $<10^{-3}$ apart: a negligible error for any practical application. Our methods enable scaling full CP to large real-world datasets. We compare our full CP approximation (ACP) to mainstream CP alternatives, and observe that our method is computationally competitive whilst enjoying the statistical predictive power of full CP.

View on arXivView PDF

Code Implementations(1)

cambridge-mlg/acpOfficial100%
MIT

Implementation for the paper "Approximating full conformal prediction at scale via influence functions"

111Jupyter Notebook, PythonFeb 1, 20222 years agoMIT
conformal-predictionmachine-learningtrustworthy-machine-learninguncertainty-quantification

Similar Papers

Cite this paper

@article{abad2022approximating,
  title  = {Approximating Full Conformal Prediction at Scale via Influence Functions},
  author = {Javier Abad and Umang Bhatt and Adrian Weller and Giovanni Cherubin},
  year   = {2022},
  eprint = {2202.01315},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01315}
}

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/2202.01315.svg)](https://codeofpaper.com/paper/2202.01315)

Discussion