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

奖励怀疑:一种强化学习方法用于大语言模型的校准置信表达

Rewarding Doubt: A Reinforcement Learning Approach to Calibrated Confidence Expression of Large Language Models

Technical University of Munich(慕尼黑技术大学);Munich Center for Machine Learning(慕尼黑机器学习中心)

David Bani-Harouni, Chantal Pellegrini, Paul Stangel, Ege Özsoy, Kamilia Zaripova, Nassir Navab, Matthias Keicher

AI总结:

本文提出了一种强化学习方法,通过直接微调大语言模型以实现校准的置信度表达,提升了模型的置信度校准能力和泛化能力。

摘要:

安全可靠地使用大型语言模型(LLMs)需要准确表达其答案的置信度。我们提出了一种新的强化学习方法,允许直接微调LLMs,以在回答事实性问题时同时表达校准的置信估计。我们的方法优化基于对数评分规则的奖励,明确惩罚过自信和不足自信。这促使模型将其置信度估计与实际预测准确性对齐。在我们的奖励设计下最优策略将导致完美校准的置信表达。与以往将置信度估计与响应生成解耦的方法不同,我们的方法将置信度校准无缝地整合到LLM的生成过程中。实证结果表明,使用我们方法训练的模型表现出显著改善的校准,并且能够泛化到未见过的任务,无需进一步微调,这表明一般置信度意识的出现。

英文摘要:

A safe and trustworthy use of Large Language Models (LLMs) requires an accurate expression of confidence in their answers. We propose a novel Reinforcement Learning approach that allows to directly fine-tune LLMs to express calibrated confidence estimates alongside their answers to factual questions. Our method optimizes a reward based on the logarithmic scoring rule, explicitly penalizing both over- and under-confidence. This encourages the model to align its confidence estimates with the actual predictive accuracy. The optimal policy under our reward design would result in perfectly calibrated confidence expressions. Unlike prior approaches that decouple confidence estimation from response generation, our method integrates confidence calibration seamlessly into the generative process of the LLM. Empirically, we demonstrate that models trained with our approach exhibit substantially improved calibration and generalize to unseen tasks without further fine-tuning, suggesting the emergence of general confidence awareness.

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

↑