从分组损失视角对LLM进行置信度重构
Reconfidencing LLMs from the Grouping Loss Perspective
AI总结:
本文从分组损失视角研究LLM置信度偏差问题,构建新评估数据集发现Mistral和LLaMA存在过度自信且在不同群体上程度不同,并提出同时消除校准误差和分组损失的置信度重构方法,改善了置信度与准确率的一致性。
摘要:
包括ChatGPT和LLaMA在内的大语言模型(LLMs)容易以自信的语气生成幻觉答案。尽管获取和校准置信度分数的方法已被证明有用,但近期研究结果表明,控制不确定性必须超越校准:由于分组损失的影响,预测分数可能显著偏离实际后验概率。在本工作中,我们基于一个知识库构建了一个新的评估数据集,用于评估Mistral和LLaMA对答案给出的置信度分数。实验表明,它们倾向于过度自信。此外,我们表明它们在某些答案上比其他答案更加过度自信,例如取决于查询中人物的国籍。在不确定性量化理论中,这就是分组损失。为解决这一问题,我们提出了一种对LLM进行置信度重构的解决方案,不仅消除校准误差,还消除分组损失。经过置信度重构过程后,LLM的置信度与其回答准确率之间的一致性得到改善。
英文摘要:
Large Language Models (LLMs), including ChatGPT and LLaMA, are susceptible to generating hallucinated answers in a confident tone. While efforts to elicit and calibrate confidence scores have proven useful, recent findings show that controlling uncertainty must go beyond calibration: predicted scores may deviate significantly from the actual posterior probabilities due to the impact of grouping loss. In this work, we construct a new evaluation dataset derived from a knowledge base to assess confidence scores given to answers of Mistral and LLaMA. Experiments show that they tend to be overconfident. Further, we show that they are more overconfident on some answers than others, \emph{eg} depending on the nationality of the person in the query. In uncertainty-quantification theory, this is grouping loss. To address this, we propose a solution to reconfidence LLMs, canceling not only calibration but also grouping loss. The LLMs, after the reconfidencing process, indicate improved confidence alignment with the accuracy of their responses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。