Length Optimization in Conformal Prediction
Shayan Kiyani, George J. Pappas, Hamed Hassani
Abstract
Conditional validity and length efficiency are two crucial aspects of conformal prediction (CP). Conditional validity ensures accurate uncertainty quantification for data subpopulations, while proper length efficiency ensures that the prediction sets remain informative. Despite significant efforts to address each of these issues individually, a principled framework that reconciles these two objectives has been missing in the CP literature. In this paper, we develop Conformal Prediction with Length-Optimization (CPL) - a novel and practical framework that constructs prediction sets with (near-) optimal length while ensuring conditional validity under various classes of covariate shifts, including the key cases of marginal and group-conditional coverage. In the infinite sample regime, we provide strong duality results which indicate that CPL achieves conditional validity and length optimality. In the finite sample regime, we show that CPL constructs conditionally valid prediction sets. Our extensive empirical evaluations demonstrate the superior prediction set size performance of CPL compared to state-of-the-art methods across diverse real-world and synthetic datasets in classification, regression, and large language model-based multiple choice question answering. An Implementation of our algorithm can be accessed at the following link: https://github.com/shayankiyani98/CP.
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 9d40e8d4-0368-49d5-8f7d-4cacb4e73091Cited by top-tier papers30
- Large language model validity via enhanced conformal prediction methodsJohn J. Cherian, Isaac Gibbs, Emmanuel J. CandèsNeurIPS 2024 · 120 citations
- Backward Conformal PredictionEtienne Gauthier, Francis Bach, Michael I. JordanNeurIPS 2025 · 19 citations
- Provably Label-Efficient Conformal PredictionAndrew Ilyas, Joonhyuk Ko, Jingwu Tang, Steven Wu et al.ICML 2026 · 14 citations
- Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative ModelsSima Noorani, Shayan Kiyani, George J. Pappas, Hamed HassaniNeurIPS 2025 · 10 citations
- Conformal Prediction for Long-Tailed ClassificationTiffany Ding, Jean-Baptiste Fermanian, Joseph SalmonICLR 2026 · 9 citations
Builds on19
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 citations
- What is Local Optimality in Nonconvex-Nonconcave Minimax Optimization?Chi Jin, Praneeth Netrapalli, Michael I. JordanICML 2020 · 381 citations
- Class-Conditional Conformal Prediction with Many ClassesTiffany Ding, Anastasios Angelopoulos, Stephen Bates, Michael I. Jordan et al.NeurIPS 2023 · 160 citations
Related papers
- Efficient and Differentiable Conformal Prediction with General Function ClassesYu Bai, Song Mei, Huan Wang, Yingbo Zhou et al.ICLR 2022 · 29 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
- Conformal Prediction with Learned FeaturesShayan Kiyani, George J. Pappas, Hamed HassaniICML 2024 · 23 citations
- Multi-model Ensemble Conformal Prediction in Dynamic EnvironmentsErfan Hajihashemi, Yanning ShenNeurIPS 2024 · 13 citations
- Minimum-Length Conformal Prediction Sets for Ordinal ClassificationZijian Zhang, Xinyu Chen, Yuanjie Shi, Liyuan Lillian Ma et al.AAAI 2026
