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

Class-Conditional Conformal Prediction with Many Classes

About

Standard conformal prediction methods provide a marginal coverage guarantee, which means that for a random test point, the conformal prediction set contains the true label with a user-specified probability. In many classification problems, we would like to obtain a stronger guarantee--that for test points of a specific class, the prediction set contains the true label with the same user-chosen probability. For the latter goal, existing conformal prediction methods do not work well when there is a limited amount of labeled data per class, as is often the case in real applications where the number of classes is large. We propose a method called clustered conformal prediction that clusters together classes having "similar" conformal scores and performs conformal prediction at the cluster level. Based on empirical evaluation across four image data sets with many (up to 1000) classes, we find that clustered conformal typically outperforms existing methods in terms of class-conditional coverage and set size metrics.

Tiffany Ding, Anastasios N. Angelopoulos, Stephen Bates, Michael I. Jordan, Ryan J. Tibshirani• 2023

Related benchmarks

TaskDatasetResultRank
Conformal PredictionImageNet
Average Prediction Set Size2.5
63
Conformal PredictionCIFAR-100
Avg Prediction Set Size8.9
32
ClassificationImageNet
WUC0.02
24
ClassificationImageNet V2
WUC0.042
24
Image ClassificationImageNet V2
Coverage (Cov)70.7
24
Image ClassificationImageNet
Coverage64.6
24
Conformal PredictionCIFAR-100 (five repeated splits)
Class Coverage58
24
Image ClassificationCIFAR-100
Coverage58
24
ClassificationWOS-46985
WUC0.027
24
ClassificationCIFAR-100
WUC0.027
24
Showing 10 of 16 rows

Other info

Code

Follow for update