Confidence Under the Hood: An Investigation into the Confidence-Probability Alignment in Large Language Models
<|reference_start|>Confidence Under the Hood: An Investigation into the Confidence-Probability Alignment in Large Language Models: 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.<|reference_end|>
@article{kumar2024confidence,
    title={Confidence Under the Hood: An Investigation into the
  Confidence-Probability Alignment in Large Language Models},
    author={Abhishek Kumar, Robert Morabito, Sanzhar Umbet, Jad Kabbara, and Ali
  Emami},
    journal={arXiv preprint arXiv:2405.16282},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.16282},
    primaryClass={cs.CL cs.AI cs.LG}
}