English

Functional-level Uncertainty Quantification for Calibrated Fine-tuning on LLMs

Machine Learning 2026-05-15 v5

Abstract

Accurate uncertainty quantification in large language models (LLMs) is essential for reliable confidence estimation, yet fine-tuned LLMs often become overconfident under limited adaptation data. Existing uncertainty methods for PEFT-based LLMs are largely post hoc, estimating uncertainty after fine-tuning rather than improving how adapters specialize to task-specific input-output relationships. We propose Functional-Level Uncertainty Quantification for Calibrated Fine-Tuning (UQ4CT), which calibrates uncertainty over the functional space induced by prompt-dependent mixtures of LoRA experts. UQ4CT implements this perspective through a mixture-of-experts fine-tuning framework, where a calibration loss aligns functional-level confidence with predictive correctness during training. Across four multiple-choice benchmarks and two open-ended generative QA tasks, UQ4CT reduces Expected Calibration Error (ECE) by over 25%25\% while preserving high accuracy. Under distribution shift, UQ4CT maintains superior calibration and competitive accuracy, demonstrating improved reliability and generalization for fine-tuned LLMs.

Keywords

Cite

@article{arxiv.2410.06431,
  title  = {Functional-level Uncertainty Quantification for Calibrated Fine-tuning on LLMs},
  author = {Ruijia Niu and Dongxia Wu and Rose Yu and Yi-An Ma},
  journal= {arXiv preprint arXiv:2410.06431},
  year   = {2026}
}
R2 v1 2026-06-28T19:13:38.244Z