CLDec 19, 2024

On Verbalized Confidence Scores for LLMs

arXiv:2412.14737v178 citationsh-index: 2Has Code
Originality Incremental advance
AI Analysis

This addresses trustworthiness for users of LLMs, but is incremental as it builds on existing verbalization techniques.

The paper tackles the problem of uncertainty quantification in large language models (LLMs) by having them verbalize confidence scores as part of their output, and finds that reliability depends on prompting methods but well-calibrated scores are achievable with certain approaches.

The rise of large language models (LLMs) and their tight integration into our daily life make it essential to dedicate efforts towards their trustworthiness. Uncertainty quantification for LLMs can establish more human trust into their responses, but also allows LLM agents to make more informed decisions based on each other's uncertainty. To estimate the uncertainty in a response, internal token logits, task-specific proxy models, or sampling of multiple responses are commonly used. This work focuses on asking the LLM itself to verbalize its uncertainty with a confidence score as part of its output tokens, which is a promising way for prompt- and model-agnostic uncertainty quantification with low overhead. Using an extensive benchmark, we assess the reliability of verbalized confidence scores with respect to different datasets, models, and prompt methods. Our results reveal that the reliability of these scores strongly depends on how the model is asked, but also that it is possible to extract well-calibrated confidence scores with certain prompt methods. We argue that verbalized confidence scores can become a simple but effective and versatile uncertainty quantification method in the future. Our code is available at https://github.com/danielyxyang/llm-verbalized-uq .

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes