让AI从过往经验中自动生成可复用的决策技能,提升长任务规划能力。
SEED: Self-Evolving On-Policy Distillation for Agentic Reinforcement Learning

- 通过分析完成轨迹自动生成自然语言技能,实现事后经验的动态提炼。
- 在训练中同时优化策略与技能提取,使监督信号随策略进化而增强。
- 适用于需要多轮交互和工具使用的长程智能体任务,尤其适合样本稀缺场景。
大语言模型正被用于执行涉及多轮交互、工具使用和环境反馈的长周期任务。基于结果的强化学习(RL)虽具实用性,但其稀疏的轨迹级奖励难以指导中间决策,导致任务结果与令牌级策略学习之间存在监督空白。本文提出SEED(Self-Evolving On-Policy Distillation),一种自演化框架,将已完成的在线策略轨迹转化为训练时的后见技能,并将其行为影响回传至策略模型。SEED首先微调策略以分析已完成轨迹,生成捕捉可复用工作流程、关键观察或避错规则的自然语言技能。在强化学习过程中,当前策略同时负责收集轨迹并作为分析器从中提取后见技能。策略更新因此共同改进后续决策与技能分析,使后见监督随策略同步演进。随后,系统在常规与技能增强上下文中重评分采样动作,将技能引发的概率变化转化为密集的令牌级在线策略蒸馏信号。该信号与基于结果的强化学习联合优化,确保辅助监督与当前轨迹分布保持一致。在文本与视觉基础的智能体任务上进行的大量实验表明,SEED持续提升性能与样本效率,对未见场景具有强泛化能力。代码已开源:https://github.com/jinyangwu/SEED。
原文摘要 · Abstract (English)
Large language models are increasingly trained as interactive agents for long-horizon tasks involving multi-turn interaction, tool use, and environment feedback. Outcome-based reinforcement learning (RL) provides a practical optimization paradigm, but its sparse trajectory-level rewards offer limited guidance on intermediate decisions, leaving a supervision gap between episode-level outcomes and token-level policy learning. We propose SEED (SElf-Evolving On-Policy Distillation), a self-evolving framework that converts completed on-policy trajectories into training-time hindsight skills and distills their behavioral effect back into the policy model. SEED first fine-tunes the policy to analyze completed trajectories and generate natural-language skills that capture reusable workflows, decisive observations, or failure-avoidance rules. During RL, the current policy both collects trajectories and serves as the analyzer that extracts hindsight skills from them. Policy updates therefore improve subsequent decision making and skill analysis together, allowing hindsight supervision to evolve with the policy. SEED then re-scores the sampled actions under ordinary and skill-augmented contexts, converting the skill-induced probability shift into a dense token-level on-policy distillation signal. This signal is jointly optimized with outcome-based RL, keeping the auxiliary supervision aligned with the current trajectory distribution. Extensive experiments on text-based and vision-based agentic tasks show that SEED consistently improves performance and sample efficiency, exhibiting robust generalization to unseen scenarios. Our code is available at https://github.com/jinyangwu/SEED.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。