Conformalized Large Language Models under Configuration Shift
Not on the map. Why?
Abstract (arXiv)
Conformal prediction (CP) is a distribution-free framework for uncertainty quantification that has recently been adapted to large language models (LLMs), providing prediction sets with finite-sample coverage guarantees under exchangeability. Yet for LLMs, nonconformity scores are often induced by an inference pipeline, not just a fixed model, making them depend not only on the data distribution but also on configurable factors such as the prompt template, decoding parameters, and deployment setting. Since such configurations are routinely modified in practice but rarely treated as a source of shift, their impact on CP validity remains poorly understood. We call this configuration shift and study it systematically along three axes: prompt template, decoding temperature, and weight quantization. In a broad empirical study spanning 9 LLMs, 4 datasets, and 4 nonconformity scores, we find that configuration shift consistently erodes CP validity, often driving empirical coverage below the target. By contrast, efficiency is largely preserved: valid prediction sets remain close in size to the i.i.d. baseline. We derive coverage lower bounds that attribute this loss to a discrepancy between calibration and test score distributions, and use their finite-sample plug-in versions as empirical diagnostics of shift severity. We further show that these findings lead to practical mitigations: bound-inspired recalibration is effective with limited test examples, while fragility-aware calibration ensembling recovers much of the lost coverage without test data.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 36 of its 62 references that are in the map. First posted on arXiv 2 Aug 2026.
Builds on
36 of 62 references.
References · 36
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2021A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantificationcited by 777
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2016Distribution-Free Predictive Inference For Regressioncited by 657
- 2019Conformal Prediction Under Covariate Shiftcited by 511
- 2020Uncertainty Sets for Image Classifiers using Conformal Predictioncited by 365
- 2021Adaptive Conformal Inference Under Distribution Shiftcited by 360
24 more
- 2023Robots That Ask For Help: Uncertainty Alignment for Large Language Model Plannerscited by 298
- 2016Least Ambiguous Set-Valued Classifiers with Bounded Error Levelscited by 270
- 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 240
- 2023Conformal Prediction with Large Language Models for Multi-Choice Question Answeringcited by 131
- 2024Language Models with Conformal Factuality Guaranteescited by 128
- 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
- 2021Distribution-free uncertainty quantification for classification under label shiftcited by 99
- 2024Large language model validity via enhanced conformal prediction methodscited by 91
- 2020Robust Validation: Confident Predictions Even When Distributions Shiftcited by 82
- 2024API Is Enough: Conformal Prediction for Large Language Models Without Logit-Accesscited by 68
- 2024ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guaranteescited by 62
- 2024Conformal Prediction for Natural Language Processing: A Surveycited by 52
- 2023TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Predictioncited by 23
- 2024Non-Exchangeable Conformal Language Generation with Nearest Neighborscited by 21
- 2025Conformal Linguistic Calibration: Trading-off between Factuality and Specificitycited by 20
- 2023Conformal Autoregressive Generation: Beam Search with Coverage Guaranteescited by 16
- 2024Prune 'n Predict: Optimizing LLM Decision-making with Conformal Predictioncited by 15
- 2025Wasserstein-regularized Conformal Prediction under General Distribution Shiftcited by 14
- 2025Conformal Language Model Reasoning with Coherent Factualitycited by 14
- 2025Conformal Prediction under Levy-Prokhorov Distribution Shifts: Robustness to Local and Global Perturbationscited by 11
- 2024Game-Theoretic Defenses for Robust Conformal Prediction Against Adversarial Attacks in Medical Imagingcited by 10
- 2025Certainty in Uncertainty: Reasoning over Uncertain Knowledge Graphs with Statistical Guaranteescited by 9
- 2025Response Quality Assessment for Retrieval-Augmented Generation via Conditional Conformal Factualitycited by 8
- 2025Conformal Constrained Policy Optimization for Cost-Effective LLM Agentscited by 6
Built on by
Not cited yet.