Conformal Prediction for Long-Tailed Classification
Tiffany Ding, Jean-Baptiste Fermanian, Joseph Salmon
Abstract
Many real-world classification problems, such as plant identification, have extremely long-tailed class distributions. In order for prediction sets to be useful in such settings, they should (i) provide good class-conditional coverage, ensuring that rare classes are not systematically omitted from the prediction sets, and (ii) be a reasonable size, allowing users to easily verify candidate labels. Unfortunately, existing conformal prediction methods, when applied to the long-tailed setting, force practitioners to make a binary choice between small sets with poor class-conditional coverage or sets that have very good class-conditional coverage but are extremely large. We propose methods with marginal coverage guarantees that smoothly trade off set size and class-conditional coverage. First, we introduce a new conformal score function called prevalence-adjusted softmax that optimizes for macro-coverage, defined as the average class-conditional coverage across classes. Second, we propose a new procedure that interpolates between marginal and class-conditional conformal prediction by linearly interpolating their conformal score thresholds. We demonstrate our methods on Pl@ntNet-300K and iNaturalist-2018, two long-tailed image datasets with 1,081 and 8,142 classes, respectively.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0a2355ff-8e55-4078-ab81-959f3fc9164bCited by top-tier papers3
- Conditional Coverage Diagnostics for Conformal PredictionSacha Braun, David Holzmüller, Michael Jordan, Francis BachICML 2026 · 12 citations
- Softmax is not Enough (for Adaptive Conformal Classification)Navid Akhavan Attar, Hesam Asadollahzadeh, Ling Luo, Uwe AickelinICLR 2026
- Class conditional conformal prediction for multiple inputs by p-value aggregationJean-Baptiste Fermanian, Mohamed Hebiri, Joseph SalmonNeurIPS 2025
Builds on9
- Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations
- Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 citations
- Class-Conditional Conformal Prediction with Many ClassesTiffany Ding, Anastasios Angelopoulos, Stephen Bates, Michael I. Jordan et al.NeurIPS 2023 · 160 citations
- Conformal Prediction for Deep Classifier via Label RankingJianguo Huang, Huajun Xi, Linjun Zhang, Huaxiu Yao et al.ICML 2024 · 50 citations
- Length Optimization in Conformal PredictionShayan Kiyani, George J. Pappas, Hamed HassaniNeurIPS 2024 · 48 citations
Related papers
- Conformal Prediction Meets Long-tail ClassificationShuqi Liu, Jianguo Huang, Luke OngAAAI 2026
- Conformal Prediction Sets for Ordinal ClassificationPrasenjit Dey, Srujana Merugu, Sivaramakrishnan R. KaveriNeurIPS 2023 · 12 citations
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank CalibrationYuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Jana Doppa et al.NeurIPS 2024 · 29 citations
- On Temperature Scaling and Conformal Prediction of Deep ClassifiersLahav Dabah, Tom TirerICML 2025
- Singleton-Optimized Conformal PredictionTao Wang, Yan Sun, Edgar DobribanICLR 2026 · 2 citations
