[Paper Review] Distribution-free uncertainty quantification for classification under label shift
This paper proposes distribution-free uncertainty quantification (UQ) methods for classification under label shift by reweighting conformal prediction and post-hoc calibration using estimated importance weights. It establishes theoretical guarantees and demonstrates empirically that reweighting restores valid coverage and calibration on the target distribution, even when label proportions differ from the training data.
Trustworthy deployment of ML models requires a proper measure of uncertainty, especially in safety-critical applications. We focus on uncertainty quantification (UQ) for classification problems via two avenues -- prediction sets using conformal prediction and calibration of probabilistic predictors by post-hoc binning -- since these possess distribution-free guarantees for i.i.d. data. Two common ways of generalizing beyond the i.i.d. setting include handling covariate and label shift. Within the context of distribution-free UQ, the former has already received attention, but not the latter. It is known that label shift hurts prediction, and we first argue that it also hurts UQ, by showing degradation in coverage and calibration. Piggybacking on recent progress in addressing label shift (for better prediction), we examine the right way to achieve UQ by reweighting the aforementioned conformal and calibration procedures whenever some unlabeled data from the target distribution is available. We examine these techniques theoretically in a distribution-free framework and demonstrate their excellent practical performance.
Motivation & Objective
- To address the degradation of uncertainty quantification (UQ) under label shift, where standard distribution-free methods fail due to mismatched label proportions.
- To extend conformal prediction and probabilistic calibration—methods with i.i.d. guarantees—to settings with label shift using unlabeled target data.
- To provide theoretically grounded, distribution-free UQ procedures that remain valid when the test data distribution differs from training data in label marginals.
- To demonstrate that reweighting based on estimated importance weights restores coverage and calibration in both conformal prediction and calibration procedures.
Proposed method
- Reweighting the conformal prediction procedure using estimated importance weights to account for label shift in the target distribution.
- Adapting post-hoc binning calibration by reweighting calibration data according to estimated importance weights to achieve target-domain calibration.
- Using a held-out set of unlabeled target data to estimate importance weights for label shift via methods such as maximum likelihood or moment-based estimation.
- Applying weighted exchangeability in conformal prediction to maintain marginal coverage under label shift.
- Theoretical analysis shows that reweighted prediction sets and calibrated probabilities maintain valid coverage and calibration under label shift.
- Empirical validation on real data (e.g., wine quality dataset) with simulated label shift to demonstrate practical effectiveness.
Experimental results
Research questions
- RQ1Can distribution-free uncertainty quantification methods like conformal prediction and calibration maintain valid coverage and calibration under label shift?
- RQ2How should conformal prediction and calibration be modified to account for label shift without strong distributional assumptions?
- RQ3What is the theoretical impact of label shift on the performance of standard UQ methods, and can it be corrected via importance weighting?
- RQ4How well do reweighted UQ methods perform in practice when only unlabeled target data is available?
- RQ5Can estimated importance weights from unlabeled target data restore valid uncertainty quantification in both prediction sets and calibrated probabilities?
Key findings
- Label shift significantly degrades both coverage and calibration in standard distribution-free UQ methods, even when prediction performance is maintained.
- Reweighting conformal prediction using estimated importance weights restores marginal coverage under label shift, with theoretical guarantees.
- Post-hoc calibration with reweighted data achieves approximate calibration on the target distribution, while uncorrected calibration fails.
- Empirical results on the wine quality dataset show that reweighted UQ methods closely follow the ideal diagonal reliability curve, outperforming uncorrected methods.
- Theoretical analysis confirms that the error in estimated probabilities decays with better importance weight estimation, ensuring robustness under label shift.
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.