Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration

Yuanjie Shi, Subhankar Ghosh, Taha Belkhouja, J. Doppa, Yan Yan
2/3/2026

No official code found. Best implementation: YuanjieSh/RC3P (6 stars, MIT, last commit 2024-11-02).

Abstract

Conformal prediction (CP) is an emerging uncertainty quantification framework that allows us to construct a prediction set to cover the true label with a pre-specified marginal or conditional probability. Although the valid coverage guarantee has been extensively studied for classification problems, CP often produces large prediction sets which may not be practically useful. This issue is exacerbated for the setting of class-conditional coverage on imbalanced classification tasks with many and/or imbalanced classes. This paper proposes the Rank Calibrated Class-conditional CP (RC3P) algorithm to reduce the prediction set sizes to achieve class-conditional coverage, where the valid coverage holds for each class. In contrast to the standard class-conditional CP (CCP) method that uniformly thresholds the class-wise conformity score for each class, the augmented label rank calibration step allows RC3P to selectively iterate this class-wise thresholding subroutine only for a subset of classes whose class-wise top-k error is small. We prove that agnostic to the classifier and data distribution, RC3P achieves class-wise coverage. We also show that RC3P reduces the size of prediction sets compared to the CCP method. Comprehensive experiments on multiple real-world datasets demonstrate that RC3P achieves class-wise coverage and 26.25% reduction in prediction set sizes on average.

View on arXivView PDF

Code Implementations(1)

YuanjieSh/RC3PCommunity100%
MIT
60Shell, PythonNov 1, 20241 years agoMIT

Similar Papers

Cite this paper

@article{shi2026conformal,
  title  = {Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration},
  author = {Yuanjie Shi and Subhankar Ghosh and Taha Belkhouja and J. Doppa and Yan Yan},
  year   = {2026},
  eprint = {2406.06818},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.06818},
  url    = {https://arxiv.org/abs/2406.06818},
  journal = {NEURIPS 2024 2024}
}

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

Discussion