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

推理模型更容易产生幻觉:面向大型推理模型的事实感知强化学习

Reasoning Models Hallucinate More: Factuality-Aware Reinforcement Learning for Large Reasoning Models

Department of Computer Science, National University of Singapore(计算机科学系,新加坡国立大学)

Junyi Li, Hwee Tou Ng

AI总结:

本文揭示推理导向的强化学习微调会加剧幻觉问题,并提出事实感知逐步策略优化(FSPO)算法,通过在每一步推理中引入事实验证来动态调整优势值,实验证明其能同时减少幻觉并提升推理准确率。

摘要:

大型语言模型(LLMs)通过强化学习(RL)优化在推理任务上取得了显著进展,在多个具有挑战性的基准测试中展现出令人瞩目的能力。然而,我们的实证分析揭示了一个关键缺陷:以推理为导向的强化学习微调显著增加了幻觉的出现频率。我们从理论上分析了强化学习训练动态,指出高方差梯度、熵引入的随机性以及对虚假局部最优解的敏感性是导致幻觉的关键因素。为解决这一缺陷,我们提出了事实感知的逐步策略优化(FSPO),这是一种创新的强化学习微调算法,在每个推理步骤中引入显式的事实性验证。FSPO利用针对给定证据的自动验证来动态调整token级别的优势值,从而在整个推理过程中激励事实正确性。在数学推理和幻觉基准上的实验(使用Qwen2.5和Llama模型)表明,FSPO在提升推理准确率的同时有效减少了幻觉,显著提高了模型的可靠性和性能。

英文摘要:

Large language models (LLMs) have significantly advanced in reasoning tasks through reinforcement learning (RL) optimization, achieving impressive capabilities across various challenging benchmarks. However, our empirical analysis reveals a critical drawback: reasoning-oriented RL fine-tuning significantly increases the prevalence of hallucinations. We theoretically analyze the RL training dynamics, identifying high-variance gradient, entropy-induced randomness, and susceptibility to spurious local optima as key factors leading to hallucinations. To address this drawback, we propose Factuality-aware Step-wise Policy Optimization (FSPO), an innovative RL fine-tuning algorithm incorporating explicit factuality verification at each reasoning step. FSPO leverages automated verification against given evidence to dynamically adjust token-level advantage values, incentivizing factual correctness throughout the reasoning process. Experiments across mathematical reasoning and hallucination benchmarks using Qwen2.5 and Llama models demonstrate that FSPO effectively reduces hallucinations while enhancing reasoning accuracy, substantially improving both reliability and performance.

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

↑