[Paper Review] Classification with Valid and Adaptive Coverage
This paper proposes a novel conformal inference method for multi-class classification that ensures finite-sample marginal coverage while adaptively improving conditional coverage. By introducing a tailored conformity score based on class probability rankings, the approach works with any black-box classifier and outperforms existing methods in prediction set size and conditional coverage, especially with well-calibrated models like neural networks.
Conformal inference, cross-validation+, and the jackknife+ are hold-out methods that can be combined with virtually any machine learning algorithm to construct prediction sets with guaranteed marginal coverage. In this paper, we develop specialized versions of these techniques for categorical and unordered response labels that, in addition to providing marginal coverage, are also fully adaptive to complex data distributions, in the sense that they perform favorably in terms of approximate conditional coverage compared to alternative methods. The heart of our contribution is a novel conformity score, which we explicitly demonstrate to be powerful and intuitive for classification problems, but whose underlying principle is potentially far more general. Experiments on synthetic and real data demonstrate the practical value of our theoretical guarantees, as well as the statistical advantages of the proposed methods over the existing alternatives.
Motivation & Objective
- To develop a classification method that guarantees finite-sample marginal coverage for multi-class problems.
- To improve conditional coverage performance compared to existing hold-out methods like cross-validation+ and jackknife+.
- To create a flexible framework compatible with any black-box classifier, including neural networks and random forests.
- To ensure prediction sets are as small as possible while maintaining statistical validity.
- To empirically validate the method's performance on synthetic and real-world data, especially MNIST.
Proposed method
- Introduces a novel conformity score based on ranking class probabilities, which is intuitive and powerful for classification.
- Adapts conformal inference, cross-validation+, and jackknife+ to classification by using the new conformity score.
- Employs a generalized inverse function to construct randomized prediction sets that achieve optimal size under conditional coverage.
- Uses hold-out procedures (e.g., CV+, jackknife+) to calibrate prediction sets with guaranteed marginal coverage.
- Implements a data-splitting strategy to empirically verify validity and assess conditional coverage.
- Supports both deterministic and randomized prediction sets, with the latter minimizing size under coverage constraints.
Experimental results
Research questions
- RQ1Can a conformal inference method be designed for multi-class classification that ensures finite-sample marginal coverage?
- RQ2How can such a method be made adaptive to complex data distributions to improve conditional coverage?
- RQ3Can a novel conformity score improve prediction set size and conditional performance compared to existing methods?
- RQ4Does the method maintain validity across diverse classifiers, including neural networks and random forests?
- RQ5To what extent can the method approximate oracle-level performance in terms of prediction set size and conditional coverage?
Key findings
- On MNIST data, the proposed method achieves conditional coverage close to 90% with neural network models, outperforming CQC-RF and HCC.
- With random forests, all methods undercover, indicating poor probability calibration, but the proposed method still maintains valid marginal coverage.
- The proposed method produces prediction sets comparable in size to CQC-RF and HCC when using neural networks, while achieving better conditional coverage.
- CV+ shows strong conditional coverage, while SC performs only slightly worse, in contrast to HCC, CQC, and CQC-RF, which fail to reach 90% conditional coverage.
- The method’s performance is robust across different base models, with significant gains in conditional coverage when class probabilities are well-calibrated.
- The Python package at https://github.com/msesia/arc implements the method and enables reproducibility of all experiments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.