Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoning
该论文通过分析大型语言模型中token的熵模式,发现高熵少数token(即“分叉token”)在强化学习可验证奖励(RLVR)中扮演关键角色,有效提升了LLM的推理能力。
更新于 2025-06-05。作者:Shenzhi Wang、Le Yu、Chang Gao、Chujie Zheng、Shixuan Liu、Rui Lu、Kai Dang、Xionghui Chen、Jianxin Yang、Zhenru Zhang、Yuqiong Liu、An Yang、Andrew Zhao、Yang Yue、Shiji Song、Bowen Yu、Gao Huang、Junyang Lin。
中文摘要
基于可验证奖励的强化学习(RLVR)已成为增强大型语言模型(LLMs)推理能力的一种强大方法,但其机制尚不明确。在本研究中,我们通过新颖的视角——标记熵模式,对RLVR进行了开创性的探索,全面分析了不同标记如何影响推理性能。通过研究思维链(CoT)推理中的标记熵模式,我们发现只有一小部分标记表现出高熵,这些标记作为关键的分支点,引导模型走向不同的推理路径。此外,研究RLVR训练过程中熵模式的变化,我们发现RLVR主要遵循基模型的熵模式,主要调整高熵标记的熵。这些发现突出了高熵标记(即分支标记)在RLVR中的重要性。我们最终通过限制策略梯度更新到分支标记,提高了RLVR,并发现了一个甚至超过80/20法则的发现:仅使用20%的标记,在Qwen3-8B基模型上保持与全梯度更新相当的性能,并在Qwen3-32B(AIME'25上+11.04,AIME'24上+7.71)和Qwen3-14B(AIME'25上+4.79,AIME'24上+5.21)基模型上显著超越全梯度更新,突显了强大的扩展趋势。相比之下,仅针对80%最低熵标记进行训练会导致性能明显下降。这些发现表明,RLVR的有效性主要来自于优化决定推理方向的熵高的标记。总体而言,我们的结果突出了通过标记熵视角理解RLVR的潜力,并通过利用高熵少数标记来进一步优化RLVR,以提升LLM推理能力。
英文摘要
Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a powerful approach to enhancing the reasoning capabilities of Large Language Models (LLMs), while its mechanisms are not yet well understood. In this work, we undertake a pioneering exploration of RLVR through the novel perspective of token entropy patterns, comprehensively analyzing how different tokens influence reasoning performance. By examining token entropy patterns in Chain-of-Thought (CoT) reasoning, we observe that only a small fraction of tokens exhibit high entropy, and these tokens act as critical forks that steer the model toward diverse reasoning pathways. Furthermore, studying how entropy patterns evolve during RLVR training reveals that RLVR largely adheres to the base model's entropy patterns, primarily adjusting the entropy of high-entropy tokens. These findings highlight the significance of high-entropy tokens (i.e., forking tokens) to RLVR. We ultimately improve RLVR by restricting policy gradient updates to forking tokens and uncover a finding even beyond the 80/20 rule: utilizing only 20% of the tokens while maintaining performance comparable to full-gradient updates on the Qwen3-8B base model and significantly surpassing full-gradient updates on the Qwen3-32B (+11.04 on AIME'25 and +7.71 on AIME'24) and Qwen3-14B (+4.79 on AIME'25 and +5.21 on AIME'24) base models, highlighting a strong scaling trend. In contrast, training exclusively on the 80% lowest-entropy tokens leads to a marked decline in performance. These findings indicate that the efficacy of RLVR primarily arises from optimizing the high-entropy tokens that decide reasoning directions. Collectively, our results highlight the potential to understand RLVR through a token-entropy perspective and optimize RLVR by leveraging high-entropy minority tokens to further improve LLM reasoning.
解读
一句话总结
该论文通过分析大型语言模型中token的熵模式,发现高熵少数token(即“分叉token”)在强化学习可验证奖励(RLVR)中扮演关键角色,有效提升了LLM的推理能力。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:尽管强化学习可验证奖励(RLVR)是一种增强大型语言模型(LLM)推理能力的有力方法,但其机制尚未完全理解。
- 现有方案不足:现有的RLVR实现直接在所有token上训练,缺乏对哪些token实际上促进推理的理解。
- 研究目标:通过分析token熵模式,探索如何不同熵的token影响推理性能,并改进RLVR,以优化高熵token以进一步提高LLM推理能力。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种基于token熵模式分析RLVR的新方法。
- 方法改进:通过限制策略梯度更新到分叉token来改进RLVR。
- 优势:显著提高了推理性能,特别是在大型模型上,同时保持了训练效率。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在AIME、AMC、MATH500、Minerva和Olympiad等基准测试中进行了实验。
- 性能提升:与全梯度更新相比,仅使用20%的高熵token在Qwen3-32B和Qwen3-14B基模型上分别提高了11.04和7.71。
- 对比结果:训练仅限于80%的低熵token会导致性能显著下降。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要推理能力的大型语言模型,如数学、编程等领域的应用。
- 实施建议:在RLVR训练中优先考虑高熵token,以提高推理性能。
- 局限与展望:研究主要针对数学推理任务,未来可扩展到其他领域;此外,可以探索更精细的token选择策略。