arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.15296cs.CLcs.LG
收藏

大型语言模型推理中的置信度

Confidence in the Reasoning of Large Language Models

Karolinska Institutet(卡罗林斯卡学院);Oxford University(牛津大学)

Yudi Pawitan, Chris Holmes

AI总结:

本文通过定性坚持度和定量自报分数评估LLMs的置信度,发现模型存在过度自信且重答准确率下降,表明其缺乏内在连贯的置信度感。

摘要:

关于大型语言模型(LLMs)推理的文献日益增多,但对其响应中不确定性的讨论仍然缺乏。我们的目标是评估LLMs对其答案的置信度以及它与准确性的相关性。置信度的衡量方式包括:(i) 定性方面,即在提示重新考虑时坚持其答案的持久性;(ii) 定量方面,即自报的置信度分数。我们研究了三个LLMs——GPT4o、GPT4-turbo和Mistral——在两个基准问题集(关于因果判断和形式谬误)以及一组概率与统计谜题和悖论上的表现。尽管LLMs的表现显著优于随机猜测,但它们改变初始答案的倾向存在很大差异。定性置信度与准确性之间存在正相关,但第二个答案的整体准确性通常低于第一个答案。模型还表现出夸大自报置信度分数的强烈倾向。置信度仅能部分由底层的token级概率来解释。提示对定性置信度的实质性影响以及过度自信的强烈倾向表明,当前的LLMs缺乏任何内在连贯的置信度感。

英文摘要:

There is a growing literature on reasoning by large language models (LLMs), but the discussion on the uncertainty in their responses is still lacking. Our aim is to assess the extent of confidence that LLMs have in their answers and how it correlates with accuracy. Confidence is measured (i) qualitatively in terms of persistence in keeping their answer when prompted to reconsider, and (ii) quantitatively in terms of self-reported confidence score. We investigate the performance of three LLMs -- GPT4o, GPT4-turbo and Mistral -- on two benchmark sets of questions on causal judgement and formal fallacies and a set of probability and statistical puzzles and paradoxes. Although the LLMs show significantly better performance than random guessing, there is a wide variability in their tendency to change their initial answers. There is a positive correlation between qualitative confidence and accuracy, but the overall accuracy for the second answer is often worse than for the first answer. There is a strong tendency to overstate the self-reported confidence score. Confidence is only partially explained by the underlying token-level probability. The material effects of prompting on qualitative confidence and the strong tendency for overconfidence indicate that current LLMs do not have any internally coherent sense of confidence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑