Conformal prediction (CP) for language models is typically evaluated under a matched protocol, in which calibration and deployment use the same post-training inference configuration, such as quantization mode and inference temperature. In deployment, these choices often differ from those used at calibration to meet memory or throughput constraints or serving policies. We argue that this exposes a limitation in current CP evaluation protocols for language models. We formalize the underlying phenomenon as inference-time model shift: a change in the conformal score distribution induced by inference configuration rather than by the input--label distribution, and theoretically characterize how it breaks split-conformal exchangeability even when the task distribution and trained model are unchanged. We then evaluate its consequences across 8 language models, 4 finite-label benchmarks, and 12 inference configurations. We find that matched evaluation can substantially overstate deployment-time coverage, and that the effect is heterogeneous across models and datasets. We argue that inference configuration should be reported as a first-class experimental axis in CP evaluations for language-model systems.
Figures & tables
Figure 1: MMLU-Pro with deployment fixed to nf4@T=0.5 and nominal target 0.9 . Matched calibration tracks target across eight model families; mismatched calibration, differing only in inference configuration between calibration and deployment, produces substantial coverage degradation.
Figure 2: Coverage with deployment fixed to nf4@T=0.5 . Coverage is shown for 6 CP approaches across eight models and four datasets.
Figure 3: Coverage with deployment temperature fixed to T=0.5 , averaged over deployment quantization modes. Coverage is shown for all six procedures across eight models and four datasets.
Figure 4: Coverage with deployment quantization fixed to nf4 , averaged over deployment temperatures. Coverage is shown for all six procedures across eight models and four datasets.
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
Work
Primary focus
Relation to our setting
Kumar et al. [ 23 ]
CP for multiple-choice QA with LLMs
Finite-label LLM setting, but not calibration–deployment mismatch across inference configurations.
Quach et al. [ 31 ]
Conformal language modeling for generated candidate sets
CP for generation under a fixed score-generating setup.
Mohri and Hashimoto [ 27 ]
Conformal factuality guarantees
Correctness/factuality guarantees, not inference-configuration-induced score shift.
Cherian et al. [ 5 ]
Enhanced conformal validity for LLM outputs
Stronger validity notions for LLM outputs, but not quantization/temperature mismatch.
Su et al. [ 35 ]
API-only CP without logit access
Black-box uncertainty scores with the inference interface treated as fixed.
Wang et al. [ 42 ]
Correctness coverage for open-ended generation
Open-ended correctness coverage, not coverage transport across inference configurations.
Appendix
Table 1: Representative prior work and its relation to calibration–deployment inference-configuration mismatch.
Dataset
ncal
ntest
ntotal
CommonsenseQA
6000
6000
12000
DBPedia-14
8000
50000
58000
MMLU-Pro
2500
8000
10500
MobileActions
2500
5000
7500
Appendix
Table 2: Dataset sizes used throughout the benchmark.
Figure 5: Pairwise vanilla calibration → deployment structure for Qwen2.5-1.5B under LAC with α=0.1 . Each panel corresponds to one dataset. White cell annotations report the exact values used to construct the heatmap.
Figure 6: Pairwise vanilla calibration → deployment structure for Qwen2.5-3B under LAC with α=0.1 .
Figure 7: Pairwise vanilla calibration → deployment structure for Qwen2.5-7B under LAC with α=0.1 .
Figure 8: Pairwise vanilla calibration → deployment structure for DeepSeek-R1-Distill-Qwen-7B under LAC with α=0.1 .
Figure 9: Pairwise vanilla calibration → deployment structure for Gemma-2-2B under LAC with α=0.1 .
Figure 10: Pairwise vanilla calibration → deployment structure for Llama-3.2-3B under LAC with α=0.1 .
Figure 11: Pairwise vanilla calibration → deployment structure for Phi-3-mini under LAC with α=0.1 .
Figure 12: Pairwise vanilla calibration → deployment structure for Mistral-7B under LAC with α=0.1 .
Model
Coverage
Set size
Γ coverage
Avg. ∣Γ∣
Qwen2.5-1.5B
0.962 ± 0.023
2.652 ± 0.402
0.896 ± 0.062
4.582 ± 0.605
Qwen2.5-3B
0.998 ± 0.002
4.957 ± 0.012
0.945 ± 0.046
5.120 ± 1.795
Qwen2.5-7B
0.954 ± 0.015
2.007 ± 0.198
0.946 ± 0.027
3.762 ± 0.635
DeepSeek-R1-7B
0.952 ± 0.013
3.404 ± 0.198
0.917 ± 0.018
5.082 ± 0.376
Gemma-2-2B
0.973 ± 0.008
3.573 ± 0.139
0.878 ± 0.038
4.728 ± 0.135
Llama-3.2-3B
0.967 ± 0.013
2.826 ± 0.223
0.903 ± 0.067
6.965 ± 0.382
Appendix
Table 23: Diagnostics for Latent-Robust on CommonsenseQA in the main-paper setting: LAC, α=0.1 , deployment nf4@T=0.5 , αstage1=βstage2=0.05 , and d1=0.5 . Each entry reports mean ± standard deviation across runs.
Model
Coverage
Set size
Γ coverage
Avg. ∣Γ∣
Qwen2.5-1.5B
0.947 ± 0.008
2.505 ± 0.319
0.967 ± 0.011
5.595 ± 0.595
Qwen2.5-3B
0.946 ± 0.002
2.342 ± 0.034
0.975 ± 0.004
6.142 ± 0.183
Qwen2.5-7B
0.966 ± 0.000
0.993 ± 0.000
0.955 ± 0.008
4.703 ± 0.548
DeepSeek-R1-7B
0.956 ± 0.003
3.026 ± 0.200
0.993 ± 0.002
3.032 ± 0.022
Gemma-2-2B
0.987 ± 0.005
10.787 ± 0.672
0.972 ± 0.001
3.042 ± 0.030
Llama-3.2-3B
0.947 ± 0.004
3.576 ± 0.266
0.984 ± 0.000
3.076 ± 0.028
Appendix
Table 24: Diagnostics for Latent-Robust on DBPedia-14 in the main-paper setting: LAC, α=0.1 , deployment nf4@T=0.5 , αstage1=βstage2=0.05 , and d1=0.5 . Each entry reports mean ± standard deviation across runs.
Model
Coverage
Set size
Γ coverage
Avg. ∣Γ∣
Qwen2.5-1.5B
0.954 ± 0.003
8.533 ± 0.022
0.963 ± 0.007
6.411 ± 0.306
Qwen2.5-3B
1.000 ± 0.000
9.464 ± 0.017
0.926 ± 0.013
6.281 ± 0.342
Qwen2.5-7B
1.000 ± 0.001
9.461 ± 0.018
0.942 ± 0.008
6.511 ± 0.041
DeepSeek-R1-7B
0.958 ± 0.007
8.491 ± 0.095
0.969 ± 0.003
5.068 ± 0.033
Gemma-2-2B
0.972 ± 0.001
8.656 ± 0.033
0.953 ± 0.026
8.149 ± 0.143
Llama-3.2-3B
0.957 ± 0.004
8.152 ± 0.075
0.950 ± 0.028
8.069 ± 0.190
Appendix
Table 25: Diagnostics for Latent-Robust on MMLU-Pro in the main-paper setting: LAC, α=0.1 , deployment nf4@T=0.5 , αstage1=βstage2=0.05 , and d1=0.5 . Each entry reports mean ± standard deviation across runs.
Model
Coverage
Set size
Γ coverage
Avg. ∣Γ∣
Qwen2.5-1.5B
0.940 ± 0.010
1.049 ± 0.029
0.947 ± 0.008
11.652 ± 0.050
Qwen2.5-3B
0.961 ± 0.001
1.265 ± 0.008
0.969 ± 0.004
6.037 ± 0.033
Qwen2.5-7B
0.955 ± 0.001
0.998 ± 0.000
0.975 ± 0.004
11.808 ± 0.019
DeepSeek-R1-7B
0.946 ± 0.006
1.277 ± 0.035
0.952 ± 0.011
8.161 ± 1.169
Gemma-2-2B
0.942 ± 0.003
1.674 ± 0.014
0.968 ± 0.004
3.115 ± 0.012
Llama-3.2-3B
0.943 ± 0.007
1.451 ± 0.084
0.978 ± 0.008
4.453 ± 0.624
Appendix
Table 26: Diagnostics for Latent-Robust on MobileActions in the main-paper setting: LAC, α=0.1 , deployment nf4@T=0.5 , αstage1=βstage2=0.05 , and d1=0.5 . Each entry reports mean ± standard deviation across runs.
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.
Yuqicheng Zhu, Jialin Yu, Lin Li +7
University of Stuttgart · Robert Bosch GmbH · University of Oxford +4
We consider the problem of uncertainty quantification for a pretrained classification model deployed under unknown distribution shift. We propose Audited Conformal Prediction (ACP), a method that leverages a small labeled dataset from the target population to train an auxiliary audit model identifying inputs where the legacy model is likely to fail. By integrating the audit model's outputs into the conformal prediction framework, ACP produces prediction sets that guarantee marginal coverage while achieving substantially higher conditional coverage in practice than existing approaches. We develop and analyze two complementary integration strategies -- one targeting marginal coverage with improved conditional performance, the other providing explicit group-conditional coverage guarantees -- and establish theoretical guarantees for both. Experiments on synthetic and real-world datasets validate the method and illustrate trade-offs between prediction set size and conditional coverage.
Yanfei Zhou, Rizal Fathony, Nam H. Nguyen +1
Department of Data Sciences and Operations University of Southern California Los Angeles, CA 90089 · AI Foundations, Capital One New York, NY 10017 · Department of Data Sciences and Operations Thomas Lord Department of Computer Science University of Southern California Los Angeles, CA 90089
Language model classifiers are increasingly deployed for high-stakes decisions such as phishing screening, content moderation, and fraud triage, yet validation-set thresholds provide no finite-sample control of deployment-time false positives. We present ConformalGuard, a model-agnostic calibration layer that wraps a fixed scoring function with finite-sample control over the rate at which legitimate inputs trigger an intervention tier. Our contribution is empirical and operational, not a new conformal theorem: zero-shot LM API scores can be coarse enough (10--11 unique values here) to make temperature scaling and isotonic regression operationally identical to raw thresholding for low-FPR action gating. We compare these methods with conformal calibration for fine-tuned BERT, Claude Sonnet 4, and GPT-4o on public email corpora. For Claude, conformal calibration reduces FPR from 0.040 to 0.008 while recall falls from 0.938 to 0.875. For deterministic GPT-4o scores, the 1% operating point is too conservative to deploy (recall 0.564); three-run stochastic averaging raises recall to 0.732 at FPR 0.005. At 2% prevalence with BERT, conformal calibration removes 25 false-positive reviews per 10,000 emails (95% CI [10, 43]). The guarantee is legitimate-event-rate control under exchangeability; discrimination, workload effects, and robustness to shift remain empirical.