Manuscript Offprint

arXiv:2610.28937

Auditing Conformal Prediction for Language Models Under Inference-Time Model Shift

Achref Doula, Max Mühlhäuser

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

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.

1 Introduction

Conformal prediction (CP) is a distribution-free framework for uncertainty quantification: given a trained predictor and a held-out calibration set, it returns a prediction set guaranteed to contain the true label with a user-specified probability 1−α1 - \alpha in finite samples [40, 2]. The guarantee is obtained by calibrating a threshold on nonconformity scores, which are real-valued scores of disagreement between the predictor's output and a candidate label, and rests on an important assumption: that calibration and test scores are exchangeable. A substantial literature studies how this assumption fails when the data-generating distribution shifts, including covariate shift, label shift, online drift, and other forms of non-exchangeability [37, 12, 28]. In each case, the source of failure is a change in the joint distribution PXYP_{XY} between calibration and deployment.

For language models, calibration and test scores depend not only on PXYP_{XY} but also on the inference configuration used to generate the predictive distribution from which scores are computed: post-training choices that shape the predictive distribution without altering the trained model itself, including numerical representation (e.g., quantization mode) and inference parameters (e.g., temperature). In deployed systems, the inference configuration is not always held fixed for reasons unrelated to the data or the model: quantization is changed to satisfy memory or throughput constraints, and inference temperature varies with system defaults, serving policies, or user-facing controls. Existing CP evaluations for language models, however, typically adopt a matched protocol, in which calibration and test points are generated under the same inference configuration; reported coverage

*Corresponding author: achref.doula@gmail.com

Author preprint

Submitted 01.05.2026, accepted 24.09.2026,

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

then estimates the reliability of one fixed score-generating procedure, a valid target only when the deployment configuration is fixed and known in advance [23, 31, 27, 5, 35, 39, 16, 45].

When the calibration and deployment configurations differ, even with the trained model and the task distribution unchanged, calibration and test scores are generated by different mechanisms, and the exchangeability assumption underlying split-conformal validity need not hold. We refer to this phenomenon as inference-time model shift: a change in the conformal score distribution induced by inference configuration rather than by the input–label distribution. It is distinct from classical dataset shift because PXYP_{XY} is fixed; the shift lives in the mapping from the input to the resulting predictive distribution, and hence in the induced score distribution.

The empirical consequences of inference-time model shift are nontrivial. Figure 1 reports coverage on MMLU-PRO when deployment is fixed to a single configuration (nf4 quantization, temperature T=0.5) and calibration uses, in turn, each of the twelve configurations in a 3×43 \times 4 grid of quantization modes and temperatures. Matched calibration tracks the nominal 0.90 target across eight small language models, with mean coverage 0.902. Mismatched calibration produces mean coverage 0.639 and worst-case coverage 0.508. The task distribution and the trained model are unchanged across all twelve calibrations; the degradation is attributable solely to the change in score-generating procedure between calibration and deployment. Matched evaluation, by construction, cannot surface this degradation, which exposes a limitation of matched-only CP evaluation protocols for language models.

Figure

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.

We characterize this setting theoretically and audit it empirically. We formalize inference-time model shift as a property of the conformal score distribution, and we show that matched validity does not transport across inference configurations once score-level exchangeability is broken. The empirical audit covers 8 language models on 4 finite-label benchmarks (multiple-choice QA and classification) across a 12-configuration grid. We restrict the empirical scope to discrete-label tasks because they admit a controlled comparison: candidate labels, predictive distributions, and conformal scores are directly comparable across inference configurations, isolating inference-configuration mismatch from confounds introduced by open-ended generation.

Two findings emerge. First, matched evaluation can substantially overstate deployment-time coverage, with the failures concentrated in low-temperature regimes and amplified, but not solely caused, by aggressive quantization. Second, and more consequential for evaluation practice, the effect is heterogeneous: the same type of calibration–deployment mismatch produces severe undercoverage in one setting and mild degradation, or even overcoverage, in another. This implies that inference configuration is an experimental axis on the same footing as the dataset and the model.

Contributions. We make the following contributions.

• We identify a limitation in current CP evaluation protocols for language models and formalize the underlying phenomenon as inference-time model shift, a distinct source of non-exchangeability characterized by a change in the score-generating procedure under a fixed task distribution, under which matched validity is not transportable across inference configurations.

• We provide an empirical audit across 8 language models, 4 finite-label benchmarks, and 12 inference configurations, finding that mismatch effects are large but neither monotone in configuration nor consistent across models and datasets, and propose an evaluation protocol that reports matched validity alongside mismatch sensitivity and deployment-assumption-specific baselines.

References (43)

  • Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone
  • Conformal prediction: A gentle introduction
  • Conformal risk control
  • Uncertainty sets for image classifiers using conformal prediction
  • Large language model validity via enhanced conformal prediction methods
  • Calibration of pre-trained transformers
  • GPT3.int8(): 8-bit matrix multiplication for transformers at scale
  • Glora: Efficient finetuning of quantized llms
  • Conformal prediction for semantically-aware autonomous perception in urban environments
  • Gemma 2: Improving Open Language Models at a Practical Size
  • Adaptive conformal inference under distribution shift
  • Conformal inference for online prediction with arbitrary distribution shifts
  • The Llama 3 Herd of Models
  • Conformal alignment: Knowing when to trust foundation models with guarantees
  • On calibration of modern neural networks
  • Nature, 645:633–638, 2025
  • Calibrating long-form generations from large language models
  • Mistral 7B
  • How can we know when language models know? on the calibration of language models for question answering
  • Adapting prediction sets to distribution shifts without labels
  • Conformal prediction with large language models for multi-choice question answering (opens arXiv in a new tab)
  • Distribution-free predictive inference for regression
  • Awq: Activation-aware weight quantization for on-device llm compression and acceleration
  • LLM-QAT: Data-free quantization aware training for large language models
  • Language models with conformal factuality guarantees
  • Split conformal prediction and non-exchangeable data
  • Distribution-free uncertainty quantification for classification under label shift
  • Jaws: Auditing predictive uncertainty under covariate shift
  • Conformal language modeling
  • Qwen2.5 Technical Report
  • Classification with valid and adaptive coverage
  • Least ambiguous set-valued classifiers with bounded error levels
  • API is enough: Conformal prediction for large language models without logit-access
  • Commonsenseqa: A question answering challenge targeting commonsense knowledge
  • Conformal prediction under covariate shift
  • Calibrating large language models using their generations only
  • Non-exchangeable conformal language generation with nearest neighbors
  • Algorithmic learning in a random world
  • MMLU-Pro: A more robust and challenging multi-task language understanding benchmark
  • ConU: Conformal uncertainty in large language models with correctness coverage guarantees
  • SConU: Selective conformal uncertainty in large language models
  • Character-level convolutional networks for text classification
  • Quantized can still be calibrated: A unified framework to calibration in quantized large language models