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

OPID: 面向智能体强化学习的在策略技能蒸馏

OPID: On-Policy Skill Distillation for Agentic Reinforcement Learning

Tsinghua University(清华大学);Zhejiang University(浙江大学);The Chinese University of Hong Kong(香港中文大学);Nanyang Technological University(南洋理工大学);Tongji University(同济大学)

Shuo Yang, Jinyang Wu, Zhengxi Lu, Yuhao Shen, Fan Zhang, Lang Feng, Shuai Zhang, Haoran Luo, Zheng Lian, Zhengqi Wen, Jianhua Tao

AI总结:

提出OPID框架,通过从在策略轨迹中提取层级技能(回合级和步骤级)提供密集标记级监督,结合结果优势进行策略优化,提升智能体性能、样本效率和鲁棒性。

摘要:

基于结果的强化学习为语言智能体提供了稳定的优化基础,但其稀疏的轨迹级奖励对哪些中间决策应被强化或抑制提供的指导很少。在策略自蒸馏提供了密集的标记级监督,然而现有的技能条件变体通常依赖于外部技能记忆或检索到的特权上下文,这些维护成本高,且在多轮交互中可能与当前策略产生的状态分布不匹配。我们提出\textbf{OPID}(\textbf{O}n-\textbf{P}olicy Sk\textbf{i}ll \textbf{D}istillation),一个直接从完成的在策略轨迹中提取技能监督的框架。OPID将轨迹事后信息表示为层级技能:回合级技能捕获全局工作流或避免失败规则,而步骤级技能在关键时间步捕获局部决策知识。关键优先路由机制在识别到关键决策时使用步骤级技能,否则回退到回合级技能作为默认指导。选中的技能被注入交互历史,允许旧策略在原始和技能增强的上下文下重新评分相同的采样响应。由此产生的对数概率偏移提供了标记级自蒸馏优势,与结果优势结合用于策略优化。OPID因此保留RL作为主要训练目标,同时引入密集、分布匹配的事后监督。在ALFWorld、WebShop和基于搜索的QA上的实验表明,OPID在智能体性能、样本效率和鲁棒性上普遍优于仅结果RL和现有技能蒸馏基线。我们的代码可从此https URL获取。

英文摘要:

Outcome-based reinforcement learning provides a stable optimization backbone for language agents, but its sparse trajectory-level rewards provide little guidance on which intermediate decisions should be reinforced or suppressed. On-policy self-distillation offers dense token-level supervision, yet existing skill-conditioned variants often rely on external skill memories or retrieved privileged context, which are costly to maintain and can be mismatched with the state distribution induced by the current policy in multi-turn interaction. We propose \textbf{OPID} (\textbf{O}n-\textbf{P}olicy Sk\textbf{i}ll \textbf{D}istillation), a framework that extracts skill supervision directly from completed on-policy trajectories. OPID represents trajectory hindsight as hierarchical skills: episode-level skills capture global workflows or failure-avoidance rules, while step-level skills capture local decision knowledge at critical timesteps. A critical-first routing mechanism uses step-level skills when critical decisions are identified and falls back to episode-level skills as default guidance otherwise. The selected skill is injected into the interaction history, allowing the old policy to re-score the same sampled response under both original and skill-augmented contexts. The resulting log-probability shift yields a token-level self-distillation advantage, which is combined with the outcome advantage for policy optimization. OPID thus preserves RL as the primary training objective while introducing dense, distribution-matched hindsight supervision. Experiments on ALFWorld, WebShop and Search-based QA demonstrate that OPID generally improves agent performance, sample efficiency, and robustness over outcome-only RL and existing skill-distillation baselines. Our code is available at https://github.com/jinyangwu/OPID/tree/main.

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

↑