Trustworthy Classification through Rank-Based Conformal Prediction Sets
Rui Luo, Zhixin Zhou
TL;DR
This work tackles uncertainty quantification for multiclass classification by proposing RANK, a rank-based conformal prediction method that constructs prediction sets with guaranteed coverage $1-\alpha$ without requiring well-calibrated probabilities. It develops a rank-based conformity score, provides a theoretical analysis linking the expected set size to the rank distribution and validates the approach with extensive experiments across image and NLP tasks. Results show that RANK often achieves the target coverage with smaller prediction sets than THR and APS baselines, improving reliability and efficiency of uncertainty quantification. This work advances practical deployment of ML systems by enabling calibration-free, distribution-free uncertainty quantification for modern classifiers.
Abstract
Machine learning classification tasks often benefit from predicting a set of possible labels with confidence scores to capture uncertainty. However, existing methods struggle with the high-dimensional nature of the data and the lack of well-calibrated probabilities from modern classification models. We propose a novel conformal prediction method that employs a rank-based score function suitable for classification models that predict the order of labels correctly, even if not well-calibrated. Our approach constructs prediction sets that achieve the desired coverage rate while managing their size. We provide a theoretical analysis of the expected size of the conformal prediction sets based on the rank distribution of the underlying classifier. Through extensive experiments, we demonstrate that our method outperforms existing techniques on various datasets, providing reliable uncertainty quantification. Our contributions include a novel conformal prediction method, theoretical analysis, and empirical evaluation. This work advances the practical deployment of machine learning systems by enabling reliable uncertainty quantification.
