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

隐藏以引导:通过语义掩码学习

Hide to Guide: Learning via Semantic Masking

MIT(麻省理工学院);NVIDIA(英伟达)

Ruitao Liu, Qinghao Hu, Alex Hu, Yecheng Wu, Shang Yang, Luke J. Huang, Zhuoyang Zhang, Han Cai, Song Han

AI总结:

提出语义掩码专家策略优化(SMEPO),通过掩码专家轨迹中与奖励相关的语义片段,将困难问题转化为填空过程,提升强化学习在推理密集型任务中的探索效率。

摘要:

具有可验证奖励的强化学习(RLVR)已成为提升语言模型在推理密集型任务上性能的强大范式,但其有效性常受限于探索。例如,模型在困难问题上常常失败,留下很少有用的奖励信号。外部专家轨迹提供了一种自然的引导来源,但它们也可能在通往验证器目标的关键路径上暴露与奖励相关的内容,如最终答案、中间值、可执行实现或与答案相关的实体。这些内容可能创建意外的奖励黑客通道,使策略通过复制轨迹而非学习底层推理或智能体行为来获得奖励。现有的引导式RL方法通过使用部分轨迹来降低这种风险,但它们主要启发式地控制展示多少专家信息,而非控制应隐藏哪些部分。为此,我们提出语义掩码专家策略优化(SMEPO),一种用于专家引导RLVR的细粒度语义掩码策略。SMEPO不是粗略地截断轨迹或原样展示,而是在保留专家分解、计划和过程结构的同时,掩码关键路径上与奖励相关的语义片段。这将困难问题从从头推理转变为填空过程:策略可以遵循专家的问题解决路径,但仍需自行重建缺失的值、代码或实体。SMEPO易于应用,无需更改奖励函数或RL目标。在包括数学、代码和智能体搜索在内的多个领域,SMEPO相比GRPO将准确率提升最多3.2个百分点,并将训练时间减少最多4.2倍。代码已开源:https://github.com/mit-han-lab/SMEPO。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) has become a powerful paradigm for improving language models on reasoning-intensive tasks, but its effectiveness is often limited by exploration. For example, models often fail on hard problems, leaving little useful reward signal. External expert traces offer a natural source of guidance, yet they may also expose reward-relevant content along the critical path to the verifier target, such as final answers, intermediate values, executable implementations, or answer-related entities. This content can create an unintended reward hacking channel, allowing the policy to obtain reward by copying the trace rather than learning the underlying reasoning or agentic behavior. Existing guided-RL methods reduce this risk by using partial trajectories, but they mainly control how much expert information is shown heuristically rather than which parts should be hidden. To this end, we propose Semantic Masked Expert Policy Optimization (SMEPO), a fine-grained semantic masking strategy for expert-guided RLVR. Instead of truncating traces coarsely or revealing them unchanged, SMEPO masks reward-relevant semantic spans along the critical path while preserving the expert's decomposition, plan, and procedural structure. This turns hard problems from reasoning from scratch into a fill-in-the-blank process: the policy can follow the expert's problem-solving route, but must still reconstruct the missing values, code, or entities by itself. SMEPO is simple to apply and requires no changes to the reward function or RL objective. Across diverse domains, including math, code, and agentic search, SMEPO improves accuracy by up to 3.2 points over GRPO and reduces training time by up to 4.2x. The code is available at https://github.com/mit-han-lab/SMEPO.

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

↑