Abstract
Standard Conformal Prediction (CP) often fails on long-tailed datasets by over-covering frequent "head" classes while neglecting rare "tail" classes. This paper introduces Tail-Aware Conformal Prediction (TACP) and its smooth variant sTACP, which use a specialized regularization term to penalize head-class rankings, effectively narrowing the coverage gap and providing more reliable uncertainty estimates for minority classes.
The Challenge of Long-Tailed Distributions
In high-stakes machine learning, we require prediction sets guaranteed to contain the true label with high probability (e.g., 90%). Conformal Prediction (CP) is the standard framework for this, but it typically only guarantees marginal coverage—an average across all samples.
When data follows a "long-tail" distribution, standard CP becomes "lazy." To maintain a 90% average, it over-covers frequent head classes (e.g., 95% coverage) and under-covers rare tail classes (e.g., 70% coverage). This creates a major reliability and fairness issue, as the model is least trustworthy on the most critical, rare samples. Existing class-conditional fixes often fail due to the very data scarcity that defines the long tail.
Tail-Aware Conformal Prediction (TACP)
The authors propose a "Tail-Aware" approach that modifies the non-conformity score calculation:
- TACP (Tail-Aware Conformal Prediction): This method partitions the label space into "head" and "tail" groups. It introduces a selective rank regularization term: if a label belongs to a head class, its score is artificially inflated based on its rank. This forces the conformal threshold to "squeeze" the head classes, making room for more tail classes in the prediction sets without increasing the overall average set size.
- sTACP (soft TACP): To avoid arbitrary hard splits, sTACP uses a smooth reweighting mechanism that scales the penalty based on estimated class priors.
These methods are "plug-and-play" and can be combined with various existing CP scores like APS, RAPS, or LAC.
Key Results and Insights
Evaluations on CIFAR100-LT and ImageNet-LT show that TACP effectively redistributes the "error budget" more equitably.
- Closing the Gap: On ImageNet-LT (ρ = 0.6) using the APS score, TACP reduced the Head-Tail Coverage Gap (CovGap-HT) from 2.18 to 1.11.
- Efficiency Gain: Surprisingly, TACP often reduces the average size of prediction sets. On ImageNet-LT, the average set size dropped from 36.43 to 33.98, proving that fairness does not have to come at the cost of efficiency.
- Superiority over Baselines: sTACP consistently outperformed sophisticated baselines like CLUSTER and RC3P. At a 10% miscoverage level, sTACP reduced the class-conditional gap to 15.86%, compared to 19.00% for standard baselines.
Conclusion
TACP addresses a critical flaw in standard Conformal Prediction for real-world, imbalanced datasets. By leveraging the global structure of the long tail, it provides robust, fair, and efficient uncertainty estimates even for classes with very few samples. Future work may explore integrating these tail-aware penalties directly into model training.
Summary updated