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

大语言模型在后续训练过程中会记住自身产生的幻觉

LLMs Memorize Their Own Hallucinations During Post-Training

Cornell University(康奈尔大学)

Anirudh Atmakuru, Tanya Goyal

AI总结:

本文研究发现,采用以推理为中心的后续训练方案会使大语言模型在知识任务训练中记住自身产生的幻觉,且幻觉记忆与训练难度、奖励相关,这一发现揭示了模型学习幻觉的新路径。

摘要:

推理领域塑造了前沿模型的后续训练方案,即便这些模型是在数学和代码之外的领域进行训练与部署的。在本文中,我们研究了直接采用以推理为中心的训练方案(例如,使用基于结果的强化学习奖励、在推理链中注入诸如提出假设和从假设回溯等“认知”行为等)对知识任务产生的影响。我们假设,这些决策虽对推理有用,但在知识任务的训练过程中,会不经意地鼓励模型记住其在长推理链中自身产生的幻觉。为研究这一点,我们使用标准后续训练训练模型,在强化学习过程中提取模型自身产生的幻觉,并在后续训练的整个过程中追踪记忆情况。我们在两个模型家族、两种架构的六个开源模型上开展的实验证实了我们的假设。我们发现,与未接受训练信号的自身幻觉仅提升0.17%相比,训练过程中得到强化的幻觉的模型召回率平均提升4.83%。事实上,模型甚至会记住其在推理中立即撤回的错误事实;这种从以推理为中心的训练中继承的回溯模板对知识召回并无益处。此外,我们发现,最难的训练问题上的记忆效果最强,奖励幻觉会使模型后续弃权(不执行)该幻觉的可能性降低(平均降低7.23%)。总体而言,我们的工作识别并系统研究了一种此前未被考察的路径,模型可通过该路径在训练过程中学习幻觉。

英文摘要:

Reasoning domains have shaped the post-training recipes of frontier models even though they are trained and deployed in domains beyond math and code. In this paper, we study the consequences of directly adopting reasoning-centric training recipes, e.g., the use of outcome-based rewards for reinforcement learning (RL), injection of "cognitive" behaviors such as proposing and backtracking from hypotheses in reasoning chains, etc., for knowledge tasks. We hypothesize that these decisions, while useful for reasoning, inadvertently encourage models to memorize hallucinations they themselves generate in their long reasoning chains when trained on knowledge tasks. To study this, we train models with standard post-training, extract their self-generated hallucinations during RL, and track memorization throughout the rest of training. Our experiments on six open models across two model families and two architectures confirm our hypothesis. We find that models' recall of hallucinations reinforced during training increases by 4.83% on average, compared to just 0.17% for self-hallucinations that receive no training signal. In fact, models even memorize false facts that they immediately retract in their reasoning; a backtracking template inherited from reasoning-centric training that has no benefit for knowledge recall. Furthermore, we find that memorization is strongest on the hardest training questions, and rewarding a hallucination makes the model less likely to abstain from it later (by 7.23% on average). Overall, our work identifies and systematically studies a previously unexamined pathway through which models learn hallucinations during training.

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

↑