arXiv:2509.25760cs.CLcs.AI2025-09被引 17

用强化学习让大模型学会说真话,不会的就别乱答。

TruthRL: Incentivizing Truthful LLMs via Reinforcement Learning

  • 设计三元奖励机制,鼓励模型正确回答、拒绝不确定问题
  • 在4个测试集上将幻觉率从43.5%降至19.4%,真值得分提升至37.2%
  • 适合需要高可信度问答的应用场景,如医疗、法律领域

尽管大型语言模型在事实类问答中表现优异,但仍易产生幻觉和不实回答,尤其在处理超出其参数知识范围的任务时。真值不仅要求准确,还要求模型能识别不确定性并主动回避不确定问题以避免幻觉。现有方法存在两极分化:追求准确会加剧幻觉,鼓励回避则过于保守,牺牲正确答案。本文提出TruthRL,一种通用的强化学习框架,直接优化大模型的真值性。通过GRPO算法配合简洁有效的三元奖励机制,明确区分正确回答、幻觉和回避行为。该方法既鼓励模型提供正确答案,也支持在不确定时选择回避,从而全面提升真值性。在四个知识密集型基准测试中,TruthRL显著降低幻觉率(例如43.5% → 19.4%),真值分数提升至37.2%(原为5.3%),且在多种主干模型上均取得一致提升。分析表明,其改进源于模型对自身知识边界的认知增强,避免了基线模型过度保守的问题。

原文摘要 · Abstract (English)

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 TruthRL significantly reduces hallucinations (e.g., 43.5% $\rightarrow$ 19.4%) and improves truthfulness (e.g., 5.3% $\rightarrow$ 37.2%), with consistent gains across various backbone models. Analysis shows that the improvement of TruthRL arises from enhanced capability of LLMs to recognize their knowledge boundary, hence avoiding being overly conservative as the baselines are.

大模型强化学习真值性幻觉抑制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。