Lune

NeurIPS2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

30 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Conformal Prediction for Long-Tailed Classification cites Class-Conditional Conformal Prediction with Many Classes
  • Conformal Prediction for Long-Tailed Classification cites Classification with Valid and Adaptive Coverage
  • Class-Conditional Conformal Prediction with Many Classes cites Classification with Valid and Adaptive Coverage
  • Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Models cites Large language model validity via enhanced conformal prediction methods
  • Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Models cites Classification with Valid and Adaptive Coverage
  • Backward Conformal Prediction cites Large language model validity via enhanced conformal prediction methods
  • Backward Conformal Prediction cites Classification with Valid and Adaptive Coverage
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. Large language model validity via enhanced conformal prediction methodsJohn J. Cherian, Isaac Gibbs, Emmanuel J. CandèsNeurIPS 2024 · 120 citations
  2. Backward Conformal PredictionEtienne Gauthier, Francis Bach, Michael I. JordanNeurIPS 2025 · 19 citations
  3. Provably Label-Efficient Conformal PredictionAndrew Ilyas, Joonhyuk Ko, Jingwu Tang, Steven Wu et al.ICML 2026 · 14 citations
  4. 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
  5. Conformal Prediction for Long-Tailed ClassificationTiffany Ding, Jean-Baptiste Fermanian, Joseph SalmonICLR 2026 · 9 citations

Builds on19

  1. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
  2. 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
  3. Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 citations
  4. What is Local Optimality in Nonconvex-Nonconcave Minimax Optimization?Chi Jin, Praneeth Netrapalli, Michael I. JordanICML 2020 · 381 citations
  5. Class-Conditional Conformal Prediction with Many ClassesTiffany Ding, Anastasios Angelopoulos, Stephen Bates, Michael I. Jordan et al.NeurIPS 2023 · 160 citations

Related papers

  1. Efficient and Differentiable Conformal Prediction with General Function ClassesYu Bai, Song Mei, Huan Wang, Yingbo Zhou et al.ICLR 2022 · 29 citations
  2. Conformal Prediction for Class-wise Coverage via Augmented Label Rank CalibrationYuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Jana Doppa et al.NeurIPS 2024 · 29 citations
  3. Conformal Prediction with Learned FeaturesShayan Kiyani, George J. Pappas, Hamed HassaniICML 2024 · 23 citations
  4. Multi-model Ensemble Conformal Prediction in Dynamic EnvironmentsErfan Hajihashemi, Yanning ShenNeurIPS 2024 · 13 citations
  5. Minimum-Length Conformal Prediction Sets for Ordinal ClassificationZijian Zhang, Xinyu Chen, Yuanjie Shi, Liyuan Lillian Ma et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines