arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.03195cs.LGcs.AI
收藏

基于有前景标记的强化学习用于大语言模型

Reinforcement Learning with Promising Tokens for Large Language Models

huawei(华为技术有限公司)

Jing-Cheng Pang, Liang Lu, Xian Tang, Kun Jiang, Sijie Wu, Kai Zhang, Xubin Li

AI总结:

基于有前景标记的强化学习框架通过解耦战略决策与标记生成,有效提升大语言模型的训练稳定性与样本效率。

摘要:

强化学习(RL)已成为对齐和优化大语言模型(LLMs)的关键范式。标准方法将LLM视为策略,并直接在完整词汇空间上应用RL。然而,这种形式包含大量语境无关的标记在动作空间中,这可能会让策略难以专注于真正合理的标记之间的决策。在本工作中,我们验证了有效的推理路径本质上会集中在低秩子空间中。基于这一见解,我们引入了基于有前景标记的强化学习(RLPT),一种通过将战略决策与标记生成解耦来缓解动作空间问题的框架。具体而言,RLPT利用基础模型的语义先验来识别一个动态的有前景标记集合,并通过掩码将策略优化限制在该精简子集上。理论分析和实验结果表明,RLPT有效减少了梯度方差,稳定了训练过程,并提高了样本效率。在数学、编程和电信推理实验中,RLPT在数学、编程和电信推理任务上优于标准RL基线,并且能够有效整合到各种模型大小(4B和8B)和RL算法(GRPO和DAPO)中。

英文摘要:

Reinforcement learning (RL) has emerged as a key paradigm for aligning and optimizing large language models (LLMs). Standard approaches treat the LLM as the policy and apply RL directly over the full vocabulary space. However, this formulation includes the massive tail of contextually irrelevant tokens in the action space, which could distract the policy from focusing on decision-making among the truly reasonable tokens. In this work, we verify that valid reasoning paths could inherently concentrate within a low-rank subspace. Based on this insight, we introduce Reinforcement Learning with Promising Tokens (RLPT), a framework that mitigates the action space issue by decoupling strategic decision-making from token generation. Specifically, RLPT leverages the semantic priors of the base model to identify a dynamic set of promising tokens and constrains policy optimization exclusively to this refined subset via masking. Theoretical analysis and empirical results demonstrate that RLPT effectively reduces gradient variance, stabilizes the training process, and improves sample efficiency. Experiment results on math, coding, and telecom reasoning show that RLPT outperforms standard RL baselines and integrates effectively across various model sizes (4B and 8B) and RL algorithms (GRPO and DAPO).

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

↑