PR-OPD:面向智能体强化学习的特权表示同策略自蒸馏

·

研究论文 · 2026/10/14

语言模型智能体通常通过每回合一个奖励的强化学习训练,而特权自蒸馏通过让同一策略在给定技能的情况下,通过词元概率来教导其无技能版本,从而丰富了这一过程。然而,我们发现了两个质疑这一渠道的现象。不可见优势:上下文中的技能将WebShop成功率从42.2%提升至56.2%,但仅改变了不到四分之一采样词元的概率。高度对齐:技能改变了超过80%响应词元的隐藏状态,线性探针可以追溯到特定技能。为了利用这一点,我们提出了特权表示在策略自蒸馏(PR-OPD)。在GRPO热启动后,策略为每条轨迹编写事后技能,以该技能作为停止梯度的教师重新阅读自己的响应,并在每一层将其投影隐藏状态与教师的对齐,同时优化奖励目标,无需外部技能库、单独的教师或推理开销。在ALFWorld和WebShop上使用两个骨干网络,PR-OPD在所有设置中均取得了最佳整体结果,在ALFWorld成功率上比GRPO提升高达4.7个百分点,在WebShop准确率上提升14.0个百分点。代码可在https://github.com/balibata/PR-OPD获取。

该研究揭示了现有特权自蒸馏方法的局限性,并提出了一种无需额外开销的新方法,在多个基准测试中显著优于基线,具有较高的实用价值和创新性。

Language-model agents are usually trained by reinforcement learning from one reward per episode, and privileged self-distillation enriches it by letting the same policy, given a skill, teach its skill-free self through token probabilities. However, we identify two phenomena that question this channel. Invisible Advantage: a skill in context lifts WebShop success from 42.2% to 56.2%, yet changes the probabilities of fewer than a quarter of the sampled tokens. Much to Align: a skill changes the hidden states of over 80% of response tokens, in a way that linear probes can trace back to the specific skill. To exploit this, we propose Privileged Representation On-policy Self-Distillation (PR-OPD). After a GRPO warm start, the policy writes a hindsight skill for each trajectory, re-reads its own responses with that skill as a stop-gradient teacher, and aligns its projected hidden states to the teacher's at every layer alongside the reward objective, with no external skill library, separate teacher, or inference overhead. On ALFWorld and WebShop with two backbones, PR-OPD achieves the best overall results in every setting, improving over GRPO by up to 4.7 points in ALFWorld success and 14.0 points in WebShop accuracy. Code is available at https://github.com/balibata/PR-OPD.

阅读原文

参与讨论