Functional-level Uncertainty Quantification for Calibrated Fine-tuning on LLMs
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\%$ while preserving high accuracy. Under distribution shift, UQ4CT maintains superior calibration and competitive accuracy, demonstrating improved reliability and generalization for fine-tuned LLMs.
BibTeX
@misc{niu2024functional,
author = {Ruijia Niu and Dongxia Wu and Rose Yu and Yi-An Ma},
title = {{Functional-level Uncertainty Quantification for Calibrated Fine-tuning on LLMs}},
year = {2024},
eprint = {2410.06431},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2410.06431},
}Ask Althea to put this paper to the test.
Loading related content...