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

STAPO:通过抑制稀有虚假标记稳定大语言模型的强化学习

STAPO: Stabilizing Reinforcement Learning for LLMs by Silencing Rare Spurious Tokens

School of Vehicle;Mobility \& College of AI, Tsinghua University;Didi Voyager Labs, DiDi Autonomous Driving

Shiqi Liu, Zeyu He, Guojian Zhan, Letian Tao, Zhilong Zheng, Jiang Wu, Yinuo Wang, Yang Guan, Kehua Sheng, Bo Zhang, Keqiang Li, Jingliang Duan, Shengbo Eben Li

AI总结:

针对强化学习微调大语言模型时因稀有虚假标记导致训练不稳定和性能崩溃的问题,提出STAPO方法,通过抑制这些标记的梯度扰动,在多个数学推理基准上实现稳定训练和性能提升。

摘要:

强化学习显著提升了大语言模型的推理能力,但现有的强化学习微调方法严重依赖熵正则化和重加权等启发式技术来维持稳定性。实践中,这些方法常遭遇后期性能崩溃,导致推理质量下降和训练不稳定。我们识别出这一不稳定的关键因素:一小部分标记(称为虚假标记,约占0.01%)对推理结果贡献甚微,但由于继承了完整的序列级奖励而获得不成比例放大的梯度更新。我们提出了一个统一框架,用于评估虚假风险、梯度范数和熵变化下标记级优化影响。基于对严重破坏优化的标记特征的分析,我们提出了抑制虚假标记(S2T)机制,以有效抑制其梯度扰动。将该机制融入基于组的目标中,我们提出了虚假标记感知策略优化(STAPO),促进了稳定有效的大规模模型优化。在使用Qwen 1.7B、8B和14B基础模型的六个数学推理基准上,STAPO一致展现出优越的熵稳定性,并在GRPO、20-Entropy和JustRL基础上平均性能提升11.49%($\rho_{\mathrm{T}}$=1.0, top-p=1.0)和3.73%($\rho_{\mathrm{T}}$=0.7, top-p=0.9)。

英文摘要:

Reinforcement Learning (RL) has significantly improved large language model reasoning, but existing RL fine-tuning methods rely heavily on heuristic techniques such as entropy regularization and reweighting to maintain stability. In practice, they often suffer from late-stage performance collapse, leading to degraded reasoning quality and unstable training. We identify a key factor behind this instability: a small fraction of tokens, termed spurious tokens (around 0.01%), which contribute little to the reasoning outcome but receive disproportionately amplified gradient updates due to inheriting the full sequence-level reward. We present a unified framework for evaluating token-level optimization impacts across spurious risk, gradient norms, and entropy changes. Building on the analysis of token characteristics that severely disrupt optimization, we propose the Silencing Spurious Tokens (S2T) mechanism to efficiently suppress their gradient perturbations. Incorporating this mechanism into a group-based objective, we propose Spurious-Token-Aware Policy Optimization (STAPO), which promotes stable and effective large-scale model refinement. Across six mathematical benchmarks and three model scales, STAPO consistently demonstrates superior entropy stability and achieves average accuracy improvements over baselines including GRPO, 20-Entropy, and JustRL under two widely-adopted evaluation settings.

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

↑