LLM强化学习中的思维泄漏

·

研究论文 · 2026/10/15

混合推理模型(如Qwen3系列)通过少量聊天模板标记在THINK模式和NO-THINK模式之间切换。一种流行的做法是在NO-THINK模式下用强化学习训练此类模型,并报告推理性能提升。我们提供证据表明,这种提升很大程度上可由思维泄漏解释:提升主要来自部分重新激活原始模型THINK模式的推理能力,而非学习增强的推理行为。我们用GRPO在NO-THINK模式下训练Qwen3-1.7B、4B和8B。随着准确率提高,响应变得更长、更具反思性,越来越被原始模型判定为类似其自身的思考,且模型的内部激活向THINK模式偏移。随后我们在权重、激活和注意力头层面进行研究:进一步扩大RL更新会引发THINK模式行为并接近THINK模式准确率,但不会超过它;在Qwen3-8B中,将RL训练模型的低维THINK相关激活子空间替换为原始模型的值,会消除大部分RL增益,而反向交换则将相当一部分增益转移到原始模型;RL诱导的偏移通过读取空think块的注意力头传递。我们进一步在GRPO训练信号中识别出一个可能机制:优势加权更新偏好的响应更像THINK,而从此信号计算出的梯度步骤使模型向其THINK状态移动。因此,NO-THINK模式下的增益可能很大程度上反映了对原始模型中已有推理能力的重新激活。

该研究挑战了当前强化学习提升LLM推理能力的常见解释,揭示了性能提升可能只是重新激活了模型已有的思考能力,对理解RL在LLM推理中的作用和设计更有效的训练方法具有重要意义。

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.

阅读原文

参与讨论