Confidence Under The Hood: An Investigation Into The Confidence-probability Alignment In Large Language Models · The Large Language Model Bible Contribute to LLM-Bible

Confidence Under The Hood: An Investigation Into The Confidence-probability Alignment In Large Language Models

Kumar Abhishek, Morabito Robert, Umbet Sanzhar, Kabbara Jad, Emami Ali. Arxiv 2024

[Paper]    
GPT Model Architecture Prompting RAG

As the use of Large Language Models (LLMs) becomes more widespread, understanding their self-evaluation of confidence in generated responses becomes increasingly important as it is integral to the reliability of the output of these models. We introduce the concept of Confidence-Probability Alignment, that connects an LLM’s internal confidence, quantified by token probabilities, to the confidence conveyed in the model’s response when explicitly asked about its certainty. Using various datasets and prompting techniques that encourage model introspection, we probe the alignment between models’ internal and expressed confidence. These techniques encompass using structured evaluation scales to rate confidence, including answer options when prompting, and eliciting the model’s confidence level for outputs it does not recognize as its own. Notably, among the models analyzed, OpenAI’s GPT-4 showed the strongest confidence-probability alignment, with an average Spearman’s \(\hat{\rho}\) of 0.42, across a wide range of tasks. Our work contributes to the ongoing efforts to facilitate risk assessment in the application of LLMs and to further our understanding of model trustworthiness.

Similar Work