Efficient and Differentiable Conformal Prediction with General Function Classes
Yu Bai, Song Mei, Huan Wang, Yingbo Zhou, Caiming Xiong
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e3f44e2d-1b45-42a3-8831-c6151ea041b9Cited by top-tier papers20
- Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani et al.NeurIPS 2022 · 394 citations
- Improved Online Conformal Prediction via Strongly Adaptive Online LearningAadyot Bhatnagar, Huan Wang, Caiming Xiong, Yu BaiICML 2023 · 87 citations
- Training Uncertainty-Aware Classifiers with Conformalized Deep LearningBat-Sheva Einbinder, Yaniv Romano, Matteo Sesia, Yanfei ZhouNeurIPS 2022 · 84 citations
- Conformal Prediction for Deep Classifier via Label RankingJianguo Huang, Huajun Xi, Linjun Zhang, Huaxiu Yao et al.ICML 2024 · 50 citations
- Length Optimization in Conformal PredictionShayan Kiyani, George J. Pappas, Hamed HassaniNeurIPS 2024 · 48 citations
Builds on5
- Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 citations
- PAC Confidence Sets for Deep Neural Networks via Calibrated PredictionSangdon Park, Osbert Bastani, Nikolai Matni, Insup LeeICLR 2020 · 77 citations
- Improving Conditional Coverage via Orthogonal Quantile RegressionShai Feldman, Stephen Bates, Yaniv RomanoNeurIPS 2021 · 68 citations
- Uncertainty Sets for Image Classifiers using Conformal PredictionAnastasios Nikolas Angelopoulos, Stephen Bates, Michael I. Jordan, Jitendra MalikICLR 2021 · 31 citations
- Understanding the Under-Coverage Bias in Uncertainty EstimationYu Bai, Song Mei, Huan Wang, Caiming XiongNeurIPS 2021 · 18 citations
Related papers
- Multi-model Ensemble Conformal Prediction in Dynamic EnvironmentsErfan Hajihashemi, Yanning ShenNeurIPS 2024 · 13 citations
- Minimum-Length Conformal Prediction Sets for Ordinal ClassificationZijian Zhang, Xinyu Chen, Yuanjie Shi, Liyuan Lillian Ma et al.AAAI 2026
- Conformity Score Averaging for ClassificationRui Luo, Zhixin ZhouICML 2025
- On Volume Minimization in Conformal RegressionBatiste Le Bars, Pierre HumbertICML 2025
- PAC-Bayes Generalization Certificates for Learned Inductive Conformal PredictionApoorva Sharma, Sushant Veer, Asher J. Hancock, Heng Yang et al.NeurIPS 2023 · 13 citations
