让大模型比较问答信心,比直接打分更准。
Language Models Prefer What They Know: Relative Confidence Estimation via Confidence Preferences
- 让模型对比两个问题哪个更有把握回答,用比赛排名法算信心分数。
- 相比直接打分,准确率提升3.5%,自洽性方法也高出1.7%。
- 适合需要可靠置信度的AI决策场景,如医疗、金融等高风险领域。
语言模型应提供可靠的置信度估计,以帮助用户识别输出错误并适时交由人类专家处理。要求模型自我评估置信度(如‘从0到1打分’)是一种自然的不确定性评估方式。然而,模型难以进行绝对置信度评估(即独立于其他问题判断自身答案可信度),且其粗粒度评分对判断答案正确性帮助有限。本文提出相对置信度估计:将问题两两配对,让模型判断‘更自信回答哪一个’。将每个问题视为一个‘选手’,模型偏好视为比赛结果,利用埃洛评级(Elo)或布拉德利-特雷西(Bradley-Terry)等排序聚合方法,将偏好转化为置信度分数。我们在五种顶尖大模型(GPT-4、GPT-4o、Gemini 1.5 Pro、Claude 3.5 Sonnet、Llama 3.1 405B)上,针对14个具有挑战性的STEM、社会科学和常识推理任务进行了评估。结果表明,相对置信度估计在所有模型与数据集上均优于绝对置信度估计,平均在选择性分类AUC上比直接绝对评估提升3.5%,比自洽性方法提升1.7%。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。