FLUE: Streamlined Uncertainty Estimation for Large Language Models
Uncertainty estimation is essential for practical applications such as decision-making, risk assessment, and human-AI collaboration. However, Uncertainty estimation in open-ended question-answering (QA) tasks presents unique challenges. The output space for open-ended QA is vast and discrete, and the autoregressive nature of LLMs, combined with the rapid increase in model parameters, makes inference sampling significantly costly. An ideal uncertainty estimation for LLMs should meet two criteria: 1) incur no additional inference cost and 2) capture the semantic dependencies of token-level uncertainty within sequences. We propose a promising solution that converts redundancy into randomness in the extensive parameters of LLMs to quantify knowledge uncertainty. We can obtain token-level Monte Carlo samples without multiple inferences by introducing randomness during a single forward pass. We theoretically analyze the FLUE sampling method and employ a post-processing method to learn the state transitions from token uncertainty to sequence uncertainty. In open-ended question-answering tasks, we demonstrate that FLUE can achieve competitive performance in estimating the uncertainty of generated sentences without adding extra inference overhead.
Authors
- Jianchun Li (ORCID: https://orcid.org/0000-0002-2526-3048)
- Zhulu Lin (ORCID: https://orcid.org/0000-0003-4143-2910)
- Shan Gao (ORCID: https://orcid.org/0000-0003-1189-7776)
- Rongxing Xu (ORCID: https://orcid.org/0009-0005-1809-1179)
- Hai Zhou (ORCID: https://orcid.org/0000-0002-7481-378X)
- Tianxiang Gong
Institutions
- National University of Singapore (SG)
- Beihang University (CN)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i16.33840
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China