Non-Exchangeable Conformal Language Generation with Nearest Neighbors
Not on the map. Why?
Abstract (arXiv)
Quantifying uncertainty in automatically generated text is important for letting humans check potential hallucinations and making systems more reliable. Conformal prediction is an attractive framework to provide predictions imbued with statistical guarantees, however, its application to text generation is challenging since any i.i.d. assumptions are not realistic. In this paper, we bridge this gap by leveraging recent results on non-exchangeable conformal prediction, which still ensures bounds on coverage. The result, non-exchangeable conformal nucleus sampling, is a novel extension of the conformal prediction framework to generation based on nearest neighbors. Our method can be used post-hoc for an arbitrary model without extra training and supplies token-level, calibrated prediction sets equipped with statistical guarantees. Experiments in machine translation and language modeling show encouraging results in generation quality. By also producing tighter prediction sets with good coverage, we thus give a more theoretically principled way to perform sampling with conformal guarantees.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 55 of its 98 references that are in the map. First posted on arXiv 1 Feb 2024.
Builds on
55 of 98 references.
References · 55
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2018Hierarchical Neural Story Generationcited by 1,182
38 more
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2021A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantificationcited by 777
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2020Beyond English-Centric Multilingual Machine Translationcited by 559
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
- 2019Conformal Prediction Under Covariate Shiftcited by 511
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2020Classification with Valid and Adaptive Coveragecited by 390
- 2020Uncertainty Sets for Image Classifiers using Conformal Predictioncited by 365
- 2023Robots That Ask For Help: Uncertainty Alignment for Large Language Model Plannerscited by 298
- 2020Nearest Neighbor Machine Translationcited by 209
- 2020Is MAP Decoding All You Need? The Inadequacy of the Mode in Neural Machine Translationcited by 137
- 2023Conformal Prediction with Large Language Models for Multi-Choice Question Answeringcited by 131
- 2018Learning to Write with Cooperative Discriminatorscited by 119
- 2021Localized Conformal Prediction: A Generalized Inference Framework for Conformal Predictioncited by 112
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2021Consistent Accelerated Inference via Confident Adaptive Transformerscited by 73
- 2023Uncertainty in Natural Language Generation: From Theory to Applicationscited by 61
- 2019Self-Knowledge Distillation in Natural Language Processingcited by 60
- 2021Adaptive Nearest Neighbor Machine Translationcited by 58
- 2023Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translationcited by 57
- 2021Few-shot Conformal Prediction with Auxiliary Taskscited by 53
- 2022Quality-Aware Decoding for Neural Machine Translationcited by 49
- 2019Energy Usage Reports: Environmental awareness as part of algorithmic accountabilitycited by 43
- 2021Fast Nearest Neighbor Machine Translationcited by 37
- 2021Uncertainty-Aware Machine Translation Evaluationcited by 35
- 2017An optimal transportation approach for assessing almost stochastic ordercited by 33
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2020Wat zei je? Detecting Out-of-Distribution Translations with Variational Transformerscited by 31
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2022Conformal Prediction Sets with Limited False Positivescited by 28
- 2022Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcitycited by 24
- 2021Conformal prediction for text infilling and part-of-speech predictioncited by 22
- 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
- 2023Conformal Autoregressive Generation: Beam Search with Coverage Guaranteescited by 16
- 2022Conformal Prediction Intervals with Temporal Dependencecited by 9
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2024: 9; 2025: 4; 2026: 8.
21 papers.
Sort:
By area:
- 2024Language Models with Conformal Factuality Guaranteescited by 128
- 2024Conformal Prediction for Natural Language Processing: A Surveycited by 52
- 2024Conformal Alignment: Knowing When to Trust Foundation Models with Guaranteescited by 50
- 2024Conformal Prediction: A Data Perspectivecited by 25
- 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Predictioncited by 15
- 2024Conformal Generative Modeling with Improved Sample Efficiency through Sequential Greedy Filteringcited by 10
- 2026Entropy Alone is Insufficient for Safe Selective Prediction in LLMscited by 7
- 2025Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Modelscited by 6
- 2025Domain-Shift-Aware Conformal Prediction for Large Language Modelscited by 6
- 2025Statistical Methods in Generative AIcited by 4
- 2024Uncertainty Quantification on Graph Learning: A Surveycited by 3
- 2024Calibrated Large Language Models for Binary Question Answeringcited by 3
9 more
- 2024A Collaborative Content Moderation Framework for Toxicity Detection based on Conformalized Estimates of Annotation Disagreementcited by 3
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Reviewcited by 3
- 2026Does Compression Preserve Uncertainty? A Unified Benchmark for Quantized and Sparse LLMs via Conformal Predictioncited by 2
- 2026Conformal Certification of Reasoning Trace Prefixescited by 1
- 2026Strategic Decision Support for AI Agentscited by 1
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative modelscited by 0
- 2026ConfHit: Conformal Generative Design with Oracle Free Guaranteescited by 0
- 2026Uncertainty quantification for trustworthy deep learning: Methods and measurescited by 0
- 2026Conformalized Large Language Models under Configuration Shiftcited by 0
- 2026Conformalized Large Language Models under Configuration Shift2 Aug 2026
- 2026Uncertainty quantification for trustworthy deep learning: Methods and measures30 Jul 2026
- 2026Strategic Decision Support for AI Agents10 Jun 2026
- 2026Does Compression Preserve Uncertainty? A Unified Benchmark for Quantized and Sparse LLMs via Conformal Prediction1 Jun 2026
- 2026Conformal Certification of Reasoning Trace Prefixes28 May 2026
- 2026Entropy Alone is Insufficient for Safe Selective Prediction in LLMs22 Mar 2026
- 2026ConfHit: Conformal Generative Design with Oracle Free Guarantees7 Mar 2026
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative models4 Feb 2026
- 2025Domain-Shift-Aware Conformal Prediction for Large Language Models7 Oct 2025
- 2025Statistical Methods in Generative AI8 Sep 2025
- 2025Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Models5 Jun 2025
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review25 Apr 2025
9 more
- 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Prediction31 Dec 2024
- 2024A Collaborative Content Moderation Framework for Toxicity Detection based on Conformalized Estimates of Annotation Disagreement6 Nov 2024
- 2024Conformal Prediction: A Data Perspective9 Oct 2024
- 2024Conformal Generative Modeling with Improved Sample Efficiency through Sequential Greedy Filtering2 Oct 2024
- 2024Calibrated Large Language Models for Binary Question Answering1 Jul 2024
- 2024Conformal Alignment: Knowing When to Trust Foundation Models with Guarantees16 May 2024
- 2024Conformal Prediction for Natural Language Processing: A Survey3 May 2024
- 2024Uncertainty Quantification on Graph Learning: A Survey23 Apr 2024
- 2024Language Models with Conformal Factuality Guarantees15 Feb 2024
- 2026Conformal Certification of Reasoning Trace Prefixescited by 1
- 2026Conformal Certification of Reasoning Trace Prefixes28 May 2026
- 2024Language Models with Conformal Factuality Guaranteescited by 128
- 2024Conformal Prediction for Natural Language Processing: A Surveycited by 52
- 2024Conformal Prediction: A Data Perspectivecited by 25
- 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Predictioncited by 15
- 2024Conformal Generative Modeling with Improved Sample Efficiency through Sequential Greedy Filteringcited by 10
- 2026Entropy Alone is Insufficient for Safe Selective Prediction in LLMscited by 7
- 2025Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Modelscited by 6
- 2025Domain-Shift-Aware Conformal Prediction for Large Language Modelscited by 6
- 2025Statistical Methods in Generative AIcited by 4
- 2024Uncertainty Quantification on Graph Learning: A Surveycited by 3
- 2024Calibrated Large Language Models for Binary Question Answeringcited by 3
- 2024A Collaborative Content Moderation Framework for Toxicity Detection based on Conformalized Estimates of Annotation Disagreementcited by 3
12 most cited of 19 All 19 (JSON)
- 2026Conformalized Large Language Models under Configuration Shift2 Aug 2026
- 2026Uncertainty quantification for trustworthy deep learning: Methods and measures30 Jul 2026
- 2026Strategic Decision Support for AI Agents10 Jun 2026
- 2026Does Compression Preserve Uncertainty? A Unified Benchmark for Quantized and Sparse LLMs via Conformal Prediction1 Jun 2026
- 2026Entropy Alone is Insufficient for Safe Selective Prediction in LLMs22 Mar 2026
- 2026ConfHit: Conformal Generative Design with Oracle Free Guarantees7 Mar 2026
- 2026Directional Concentration Uncertainty: A representational approach to uncertainty quantification for generative models4 Feb 2026
- 2025Domain-Shift-Aware Conformal Prediction for Large Language Models7 Oct 2025
- 2025Statistical Methods in Generative AI8 Sep 2025
- 2025Conformal Prediction Beyond the Seen: A Missing Mass Perspective for Uncertainty Quantification in Generative Models5 Jun 2025
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review25 Apr 2025
- 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Prediction31 Dec 2024
12 newest of 19 All 19 (JSON)