TruthRL: Incentivizing Truthful LLMs via Reinforcement Learning
本文提出了一种名为TruthRL的强化学习框架,旨在通过优化真实性来提高大型语言模型(LLM)的可靠性。
更新于 2025-10-01。作者:Zhepei Wei、Xiao Yang、Kai Sun、Jiaqi Wang、Rulin Shao、Sean Chen、Mohammad Kachuee、Teja Gollapudi、Tony Liao、Nicolas Scheffer、Rakesh Wanga、Anuj Kumar、Yu Meng、Wen-tau Yih、Xin Luna Dong。
中文摘要
尽管大型语言模型(LLMs)在事实性问题回答方面表现出强大的性能,但它们仍然容易产生幻觉和错误回答,尤其是在需要超出其参数化知识范围的信息时。事实上,真实性不仅需要准确性——模型还必须能够识别不确定性,并在不确定时避免回答,以防止幻觉。这对现有方法提出了根本性的挑战:那些以准确性为优化目标的方法往往放大了幻觉,而那些鼓励放弃回答的方法可能会过于保守,牺牲正确的答案。这两种极端做法最终都会损害真实性。在本工作中,我们提出了TruthRL,这是一个通用的强化学习(RL)框架,它直接优化LLMs的真实性。具体来说,我们使用GRPO实现了TruthRL,采用了一个简单而有效的三元奖励机制,以区分正确答案、幻觉和放弃回答。它不仅通过提供正确答案来激励模型减少幻觉,还通过允许在不确定时放弃回答来提高真实性。在四个知识密集型基准上的大量实验表明,与传统的RL相比,TruthRL显著减少了28.9%的幻觉,并将真实性提高了21.1%,在各种骨干模型(例如Qwen、Llama)下,无论是在检索还是非检索设置中,都实现了一致的改进。深入的消融研究表明,传统的以准确性为驱动的学习方法,如监督微调或二元奖励的RL,难以平衡事实的正确性和不确定性。相比之下,我们提出的以真实性为驱动的TruthRL在准确性和真实性方面都取得了优异的表现,强调了学习目标设计对于开发真实LLMs的重要性。
英文摘要
While large language models (LLMs) have demonstrated strong performance on factoid question answering, they are still prone to hallucination and untruthful responses, particularly when tasks demand information outside their parametric knowledge. Indeed, truthfulness requires more than accuracy -- models must also recognize uncertainty and abstain when unsure to avoid hallucinations. This presents a fundamental challenge for existing methods: approaches that optimize for accuracy often amplify hallucinations, while those that encourage abstention can become overly conservative, sacrificing correct answers. Both extremes ultimately compromise truthfulness. In this work, we present TruthRL, a general reinforcement learning (RL) framework that directly optimizes the truthfulness of LLMs. Specifically, we implement TruthRL using GRPO with a simple yet effective ternary reward that distinguishes correct answers, hallucinations, and abstentions. It incentivizes models to reduce hallucinations not only by providing correct responses, but also by enabling abstention when uncertain, thereby improving truthfulness. Extensive experiments across four knowledge-intensive benchmarks show that, compared to vanilla RL, TruthRL significantly reduces hallucinations by 28.9% and improves truthfulness by 21.1%, with consistent gains across various backbone models (e.g., Qwen, Llama) under both retrieval and non-retrieval setups. In-depth ablation study demonstrates that vanilla accuracy-driven methods, such as supervised fine-tuning or RL with a binary reward, struggle to balance factual correctness and uncertainty. In contrast, our proposed truthfulness-driven TruthRL achieves strong performance in both accuracy and truthfulness, underscoring the importance of learning objective design for developing truthful LLMs.
解读
一句话总结
本文提出了一种名为TruthRL的强化学习框架,旨在通过优化真实性来提高大型语言模型(LLM)的可靠性。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型语言模型在事实问答中容易产生幻觉和不真实回答,尤其是在需要超出其参数知识的信息时。
- 现有方案不足:优化准确性的方法往往放大幻觉,而鼓励回避的方法则可能过于保守,牺牲正确答案。
- 研究目标:通过强化学习直接优化LLM的真实性,实现正确答案、适当回避和避免幻觉。
问题2:论文的核心创新点是什么?
- 技术创新:使用GRPO和简单的三元奖励设计来区分正确答案、幻觉和回避。
- 方法改进:激励模型在不确定时进行回避,从而提高真实性。
- 优势:与基线方法相比,TruthRL显著减少了幻觉,并提高了真实性。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在四个知识密集型基准测试中进行实验,包括CRAG、NQ、HotpotQA和MuSiQue。
- 性能提升:与基线方法相比,TruthRL将幻觉减少了28.9%,将真实性提高了21.1%。
- 对比结果:与使用二元奖励的RL相比,TruthRL在真实性和准确性方面都取得了显著的提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:法律、医学等高风险领域,其中不准确的输出可能造成严重后果。
- 实施建议:采用TruthRL框架进行训练,以提高LLM的真实性和可靠性。
- 局限与展望:目前方法主要针对文本数据,未来可扩展到其他类型的数据和任务。
来源
机器可读索引:llms.txt