Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

Yuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Janardhan Rao Doppa, Yan Yan• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet V2
Coverage (Cov)71.2
24
Text ClassificationWOS-46985
Coverage63.4
24
ClassificationImageNet
WUC0.023
24
ClassificationCIFAR-100
WUC0.025
24
ClassificationImageNet V2
WUC0.047
24
Conformal PredictionCIFAR-100 (five repeated splits)
Class Coverage58.2
24
Image ClassificationImageNet
Coverage65.4
24
Image ClassificationCIFAR-100
Coverage58.2
24
ClassificationWOS-46985
WUC0.023
24
Conformal PredictionImageNet (five repeated splits)
Class Coverage65.4
21
Showing 10 of 10 rows

Other info

Code

Follow for update