Efficient and Differentiable Conformal Prediction with General Function Classes

02/22/2022
by   Yu Bai, et al.
0

Quantifying the data uncertainty in learning tasks is often done by learning a prediction interval or prediction set of the label given the input. Two commonly desired properties for learned prediction sets are valid coverage and good efficiency (such as low length or low cardinality). Conformal prediction is a powerful technique for learning prediction sets with valid coverage, yet by default its conformalization step only learns a single parameter, and does not optimize the efficiency over more expressive function classes. In this paper, we propose a generalization of conformal prediction to multiple learnable parameters, by considering the constrained empirical risk minimization (ERM) problem of finding the most efficient prediction set subject to valid empirical coverage. This meta-algorithm generalizes existing conformal prediction algorithms, and we show that it achieves approximate valid population coverage and near-optimal efficiency within class, whenever the function class in the conformalization step is low-capacity in a certain sense. Next, this ERM problem is challenging to optimize as it involves a non-differentiable coverage constraint. We develop a gradient-based algorithm for it by approximating the original constrained ERM using differentiable surrogate losses and Lagrangians. Experiments show that our algorithm is able to learn valid prediction sets and improve the efficiency significantly over existing approaches in several applications such as prediction intervals with improved length, minimum-volume prediction sets for multi-output regression, and label prediction sets for image classification.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/15/2023

Improved Online Conformal Prediction via Strongly Adaptive Online Learning

We study the problem of uncertainty quantification via prediction sets, ...
research
09/20/2019

Computing Full Conformal Prediction Set with Approximate Homotopy

If you are predicting the label y of a new object with ŷ, how confident ...
research
05/23/2023

Uncertainty Quantification over Graph with Conformalized Graph Neural Networks

Graph Neural Networks (GNNs) are powerful machine learning prediction mo...
research
02/26/2021

Learning Prediction Intervals for Regression: Generalization and Calibration

We study the generation of prediction intervals in regression for uncert...
research
08/15/2019

Combining Prediction Intervals on Multi-Source Non-Disclosed Regression Datasets

Conformal Prediction is a framework that produces prediction intervals b...
research
09/30/2022

Batch Multivalid Conformal Prediction

We develop fast distribution-free conformal prediction algorithms for ob...
research
10/15/2020

Selective Classification via One-Sided Prediction

We propose a novel method for selective classification (SC), a problem w...

Please sign up or login with your details

Forgot password? Click here to reset