Language Models Prefer What They Know: Relative Confidence Estimation via Confidence Preferences
本文提出了一种基于相对置信度估计的语言模型置信度评估方法,通过比较不同问题之间的置信度来提高置信度评估的可靠性。
更新于 2025-02-04。作者:Vaishnavi Shrivastava、Ananya Kumar、Percy Liang。
中文摘要
语言模型(LMs)应提供可靠的置信度估计,以帮助用户检测其输出的错误,并在必要时向人类专家求助。要求语言模型评估其置信度(“从0到1对你自己的置信度打分。”)是一种自然的评估其不确定性的方法。然而,模型在提供绝对置信度评估方面存在困难(即独立于其他问题的回答判断置信度),并且它们产生的粗略评分对于评估其答案的正确性没有帮助。我们提出了相对置信度估计,其中我们将问题相互匹配,并要求模型对其置信度进行相对判断(“你更确信能正确回答哪个问题?”)。将每个问题视为一系列与其他问题对抗的“选手”,并将模型的选择视为比赛结果,我们可以使用Elo评分和Bradley-Terry等排名聚合方法将模型的置信度偏好转换为置信度评分。我们在五个最先进的LMs(GPT-4、GPT-4o、Gemini 1.5 Pro、Claude 3.5 Sonnet和Llama 3.1 405B)上对14个具有挑战性的STEM、社会科学和常识推理问答任务进行了相对置信度估计与绝对置信度估计以及自我一致性置信度方法的比较。我们的结果表明,相对置信度估计在一致性上提供了比绝对置信度估计更可靠的置信度评分,平均在选择性分类AUC上比直接绝对置信度估计方法提高了3.5%,在所有模型和数据集上比自我一致性方法提高了1.7%。
英文摘要
Language models (LMs) should provide reliable confidence estimates to help users detect mistakes in their outputs and defer to human experts when necessary. Asking a language model to assess its confidence ("Score your confidence from 0-1.") is a natural way of evaluating its uncertainty. However, models struggle to provide absolute assessments of confidence (i.e. judging confidence in answering a question independent of other questions) and the coarse-grained scores they produce are not useful for evaluating the correctness of their answers. We propose relative confidence estimation, where we match up questions against each other and ask the model to make relative judgments of confidence ("Which question are you more confident in answering correctly?"). Treating each question as a "player" in a series of matchups against other questions and the model's preferences as match outcomes, we can use rank aggregation methods like Elo rating and Bradley-Terry to translate the model's confidence preferences into confidence scores. We evaluate relative confidence estimation against absolute confidence estimation and self-consistency confidence methods on five state-of-the-art LMs -- GPT-4, GPT-4o, Gemini 1.5 Pro, Claude 3.5 Sonnet, and Llama 3.1 405B -- across 14 challenging STEM, social science, and commonsense reasoning question answering tasks. Our results demonstrate that relative confidence estimation consistently provides more reliable confidence scores than absolute confidence estimation, with average gains of 3.5% in selective classification AUC over direct absolute confidence estimation methods and 1.7% over self-consistency approaches across all models and datasets.
解读
一句话总结
本文提出了一种基于相对置信度估计的语言模型置信度评估方法,通过比较不同问题之间的置信度来提高置信度评估的可靠性。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:语言模型(LMs)在提供可靠置信度评估方面存在挑战,尤其是在绝对置信度评估方面,由于缺乏对置信度估计的训练示例,模型难以提供精细的置信度评分。 • 现有方案不足:现有的绝对置信度评估方法过于粗糙,缺乏区分力,无法准确评估答案的正确性。 • 研究目标:提出一种相对置信度评估方法,通过比较不同问题之间的置信度,以提高置信度评估的可靠性。
问题2:论文的核心创新点是什么?
• 技术创新:引入了相对置信度评估,通过比较不同问题之间的置信度,使模型能够进行更可靠的置信度判断。 • 方法改进:采用排名聚合方法,如Elo评级和Bradley-Terry模型,将相对置信度偏好转化为置信度评分。 • 优势:相比绝对置信度评估和自洽性置信度方法,相对置信度评估在多个数据集和模型上提供了更可靠的置信度评分。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在五个最先进的LMs上对14个具有挑战性的STEM、社会科学和常识推理问答任务进行评估。 • 性能提升:相对于直接绝对置信度估计方法和自洽性方法,相对置信度评估在选择性分类AUC上平均提高了3.5%和1.7%。 • 对比结果:与直接置信度估计和自洽性方法相比,相对置信度评估在四个模型中表现出色。
问题4:这个研究的实际应用价值是什么?
• 应用场景:适用于需要准确置信度评估的问答系统,如聊天机器人、辅助决策工具等。 • 实施建议:采用本文提出的相对置信度评估方法,结合不同的排名聚合方法,以提高置信度评估的准确性。 • 局限与展望:该方法在长文本生成任务上的适用性仍需进一步研究,未来可探索更先进的排名聚合方法和置信度偏好数据收集策略。
来源
机器可读索引:llms.txt