English

Direct Prediction Set Minimization via Bilevel Conformal Classifier Training

Machine Learning 2025-06-10 v1 Machine Learning

Abstract

Conformal prediction (CP) is a promising uncertainty quantification framework which works as a wrapper around a black-box classifier to construct prediction sets (i.e., subset of candidate classes) with provable guarantees. However, standard calibration methods for CP tend to produce large prediction sets which makes them less useful in practice. This paper considers the problem of integrating conformal principles into the training process of deep classifiers to directly minimize the size of prediction sets. We formulate conformal training as a bilevel optimization problem and propose the {\em Direct Prediction Set Minimization (DPSM)} algorithm to solve it. The key insight behind DPSM is to minimize a measure of the prediction set size (upper level) that is conditioned on the learned quantile of conformity scores (lower level). We analyze that DPSM has a learning bound of O(1/n)O(1/\sqrt{n}) (with nn training samples), while prior conformal training methods based on stochastic approximation for the quantile has a bound of Ω(1/s)\Omega(1/s) (with batch size ss and typically sns \ll \sqrt{n}). Experiments on various benchmark datasets and deep models show that DPSM significantly outperforms the best prior conformal training baseline with 20.46%20.46\%\downarrow in the prediction set size and validates our theory.

Keywords

Cite

@article{arxiv.2506.06599,
  title  = {Direct Prediction Set Minimization via Bilevel Conformal Classifier Training},
  author = {Yuanjie Shi and Hooman Shahrokhi and Xuesong Jia and Xiongzhi Chen and Janardhan Rao Doppa and Yan Yan},
  journal= {arXiv preprint arXiv:2506.06599},
  year   = {2025}
}

Comments

Accepted for Publication at International Conference on Machine Learning (ICML), 2025

R2 v1 2026-07-01T03:04:34.892Z