arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.14270cs.CL
收藏

大语言模型强化学习中的思维泄漏

The Thinking Leakage in Reinforcement Learning for LLMs

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Shanghai Jiao Tong University(上海交通大学)

Wenxuan Zhu, Shuming Liu, Bang An, Aznaur Aliev, Bing Li, Yibo Yang, Bernard Ghanem

AI总结:

该研究发现大语言模型强化学习中NO-THINK模式的性能提升源于原始模型THINK模式推理能力的重新激活,而非真正学会增强的推理行为,通过Qwen3系列模型的GRPO训练验证了这一思维泄漏机制。

摘要:

Qwen3系列等混合推理模型通过少量聊天模板令牌在THINK模式与NO-THINK模式间切换。一种流行的方案是在NO-THINK模式下用强化学习训练此类模型,并报告推理性能得到提升。本文提供证据表明,该提升很大程度可由思维泄漏解释:提升主要源于原始模型THINK模式推理能力的部分重新激活,而非学习到增强的推理行为。我们在NO-THINK模式下用GRPO训练Qwen3-1.7B、4B和8B模型。随着准确率提升,响应变得更长、更具反思性,被原始模型判定为更接近其自身思维的程度不断增加,模型内部激活向THINK模式偏移。我们随后从权重、激活和注意力头层面展开研究:进一步扩展RL更新会引发THINK模式行为并接近THINK模式准确率,但不会超过它;在Qwen3-8B中,将RL训练模型的低维THINK相关激活子空间替换为原始模型的对应子空间,会消除大部分RL带来的提升,而反向交换则会将相当一部分提升转移到原始模型;RL诱导的偏移会通过读取空思维块的注意力头传递。我们还在GRPO训练信号中识别出一种可能机制:优势加权更新所青睐的响应更具THINK模式特征,基于该信号计算的梯度步会将模型推向其THINK状态。因此,NO-THINK模式下的提升在很大程度上反映了原始模型已存在推理能力的重新激活。

英文摘要:

Hybrid reasoning models such as the Qwen3 series switch between a THINK mode and a NO-THINK mode through a few chat-template tokens. A popular recipe trains such models with reinforcement learning in NO-THINK mode and reports improved reasoning performance. We provide evidence that much of this gain can be explained by thinking leakage: the gain comes largely from partially reactivating the reasoning abilities of the original model's THINK mode instead of learning enhanced reasoning behavior. We train Qwen3-1.7B, 4B, and 8B with GRPO in NO-THINK mode. As accuracy improves, responses become longer and more reflective, are increasingly judged by the original model to resemble its own thinking, and the model's internal activations shift toward its THINK mode. We then investigate at the level of weights, activations, and attention heads: scaling the RL update further elicits THINK-mode behavior and approaches THINK-mode accuracy but does not exceed it; in Qwen3-8B, replacing a low-dimensional THINK-related activation subspace of the RL-trained model with its original-model value removes most of the RL gain, and the reverse exchange transfers a considerable fraction of the gain to the original model; and the RL-induced shift passes through the attention heads that read the empty think block. We further identify a possible mechanism in the GRPO training signal: responses favored by the advantage-weighted update are more THINK-like, and a gradient step computed from this signal moves the model toward its THINK state. Thus, gains in NO-THINK mode can largely reflect reactivation of reasoning abilities already present in the original model.

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

↑