Lune

AAAI2024Top-tier venue

Conformal Autoregressive Generation: Beam Search with Coverage Guarantees

Nicolas Deutschmann, Marvin Alberts, María Rodríguez Martínez

Abstract

We introduce two new extensions to the beam search algorithm based on conformal predictions (CP) to produce sets of sequences with theoretical coverage guarantees. The first method is very simple and proposes dynamically-sized subsets of beam search results but, unlike typical CP proceedures, has an upper bound on the achievable guarantee depending on a post-hoc calibration measure. Our second algorithm introduces the conformal set prediction procedure as part of the decoding process, producing a variable beam width which adapts to the current uncertainty. While more complex, this procedure can achieve coverage guarantees selected a priori. We provide marginal coverage bounds as well as calibration-conditional guarantees for each method, and evaluate them empirically on a selection of tasks drawing from natural language processing and chemistry.

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.

4 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 Language Modeling cites Few-Shot Conformal Prediction with Auxiliary Tasks
  • Conformal Language Modeling cites Confident Adaptive Language Modeling
  • Conformal Language Modeling cites Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
  • Conformal Language Modeling cites The Curious Case of Neural Text Degeneration
  • Prune 'n Predict: Optimizing LLM Decision-making with Conformal Prediction cites Conformal Language Modeling
  • Multicalibration for Confidence Scoring in LLMs cites Conformal Language Modeling
  • Certifying Counterfactual Bias in LLMs cites Conformal Language Modeling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Multicalibration for Confidence Scoring in LLMsGianluca Detommaso, Martin Bertran Lopez, Riccardo Fogliato, Aaron RothICML 2024 · 39 citations
  2. Certifying Counterfactual Bias in LLMsIsha Chaudhary, Qian Hu, Manoj Kumar, Morteza Ziyadi et al.ICLR 2025 · 3 citations
  3. Prune 'n Predict: Optimizing LLM Decision-making with Conformal PredictionHarit Vishwakarma, Alan Mishler, Thomas Cook, Niccolò Dalmasso et al.ICML 2025
  4. Recovering Process Variables from Industrial Network Traffic via Search-Based OptimizationChuan Sheng, Shan Jiang, Jianming Zhao, Yu YaoCCS 2026

Builds on7

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani et al.NeurIPS 2022 · 394 citations
  3. Conformal Language ModelingVictor Quach, Adam Fisch, Tal Schuster, Adam Yala et al.ICLR 2024 · 132 citations
  4. Few-Shot Conformal Prediction with Auxiliary TasksAdam Fisch, Tal Schuster, Tommi S. Jaakkola, Regina BarzilayICML 2021 · 66 citations
  5. Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language GenerationLorenz Kuhn, Yarin Gal, Sebastian FarquharICLR 2023 · 49 citations

Related papers

  1. Conformal Prediction Sets with Limited False PositivesAdam Fisch, Tal Schuster, Tommi S. Jaakkola, Regina BarzilayICML 2022 · 33 citations
  2. ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage GuaranteesZhiyuan Wang, Jinhao Duan, Lu Cheng, Yue Zhang et al.EMNLP Findings 2024 · 16 citations
  3. Predicate-Conditional Conformalized Answer Sets for Knowledge Graph EmbeddingsYuqicheng Zhu, Daniel Hernández, Yuan He, Zifeng Ding et al.ACL Findings 2025 · 1 citation
  4. Probabilistic Conformal Prediction with Approximate Conditional ValidityVincent Plassier, Alexander Fishkov, Mohsen Guizani, Maxim Panov et al.ICLR 2025
  5. Conformalized Credal Set PredictorsAlireza Javanmardi, David Stutz, Eyke HüllermeierNeurIPS 2024 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines