Skip to content

Conformalized Large Language Models under Configuration Shift

Aug 2026 · 0 citations · 62 references
Computer Science

TL;DR

It is found that configuration shift consistently erodes CP validity, often driving empirical coverage below the target, and coverage lower bounds are derived that attribute this loss to a discrepancy between calibration and test score distributions.

Abstract

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 \emph{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.

View source

Similar papers

Review Open access Aug 2026

Uncertainty-aware large language models: a scoping review of conformal prediction methods.

A comprehensive review and analysis of conformal prediction for LLMs is presented and a novel taxonomy that categorises existing methods into six groups is proposed, suggesting that conformal methods for LVLMs exhibit a stronger coverage-informativeness trade-off than those for LLMs.

Alice E. Ashby, Khuong An Nguyen, Zhi-Yuan Luo · 1 citation
#machine learning Preprint Sep 2026

Rolling Conformal Prediction in Sequential Model Training

Rolling Conformal Prediction is introduced, a distribution-free predictive inference method for the setting of sequential model training that proves high-probability training-conditional validity uniformly over time; under stability conditions, coverage guarantees sharpen towards $1-\alpha$.

Chen Cheng, Rui-Ting Liang, Rina Foygel Barber · 0 citations
#machine learning Preprint Sep 2026

SimplexUQ: An Evaluation Framework and Benchmark for Conformal Uncertainty on Simplex-Valued Predictions

Conformal prediction guarantees marginal coverage, but a single calibration threshold can still spread that coverage unevenly, over-covering easy regions and under-covering hard ones. SimplexUQ is, to our knowledge, the first benchmark and reproducible protocol for measuring this allocation problem on simplex-valued pr...

Lian-Hui You, He Shi, Dong-Wen Ou · 0 citations
#machine learning Preprint Sep 2026

Scaling Full Conformal Image Classifiers

Conformal prediction provides set-valued predictions with distribution-free coverage guarantees, making it attractive for high-stakes image classification. However, split conformal prediction is data-inefficient, while full conformal prediction (FCP), despite its stronger statistical efficiency, is computationally proh...

Julio Silva-Rodríguez, E. Konukoglu · 0 citations
#machine learning Preprint Oct 2026

Conformal Prediction with Paraphrase-Aware Scoring for LLM Uncertainty Quantification

Uncertainty quantification (UQ) for large language models (LLMs) aims to provide reliable measures of predictive confidence, yet current methods are often unstable under meaning-preserving perturbations. Semantically equivalent paraphrases can induce substantial variability in predictive confidence, even for methods wi...

Jiayi Xin, Evan Qiang, Zi-Han Zhu et al. · 0 citations
#machine learning Preprint Aug 2026

A Unified Perspective on Conformal Prediction and Wasserstein Distributionally Robust Optimization for Uncertainty Quantification

A unified probabilistic perspective on CP and DRO is developed by viewing both as ways to turn finite calibration data into a data-dependent quantile estimator that a test score falls below with high probability.

Kehan Long, Yi-Qi Zhao, Pol Mestres et al. · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.