SkillForge:通过动态技能生命周期共同进化技能与智能体

·

研究论文 · 2026/10/08

记忆增强的强化学习增强了LLM智能体解决复杂长时程任务的能力。技能是其中一种记忆形式,将指令与任务类型的适用条件配对。然而,随着策略改进,不加区分地保留所有技能会让过时或有害的条目积累并误导智能体。我们提出SkillForge,一种智能体强化学习方法,通过适应度驱动的技能生命周期(试验、活跃、稳定和退役状态)来编译和演化技能库,使技能和模型在训练过程中共同演化。预强化学习评估阶段首先使用基础模型自身的推演来预退役低适应度技能,产生一个过滤后的技能库,然后用于监督微调。强化学习从此检查点接管,在每次迭代中,选择性退役、稳定化和LLM引导的变异继续与策略优化一起锻造技能库。在多个交互式智能体基准测试中,SkillForge实现了最高的总体成功率,相对于最强基线相对提高了高达7.8%,同时在整个训练过程中保持技能库紧凑。我们引入了SkillFurnace,一个包含5k+注释记录的数据集,捆绑了退役过滤的SFT轨迹、带有适应度注释的演化技能库以及带有人类注释失败类别的退役事件,以支持技能质量和生命周期管理的研究。

该研究解决了技能库中过时或有害技能积累的问题,通过动态生命周期管理提升智能体性能,并提供了支持进一步研究的数据集。

Memory-augmented reinforcement learning strengthens LLM agents' ability to solve complex long-horizon tasks. Skills are one such form of memory, pairing instructions with an applicability condition over task types. However, retaining every skill indiscriminately as the policy improves lets obsolete or harmful entries accumulate and mislead the agent. We propose SkillForge, an agentic RL method that compiles and evolves the skill library through a fitness-driven skill lifecycle of trial, active, stable, and retired states, so that the skills and the model co-evolve throughout training. A pre-RL evaluation phase first uses the base model's own rollouts to pre-retire low-fitness skills, yielding a filtered library that then seeds supervised fine-tuning. Reinforcement learning takes over from this checkpoint, and at each iteration selective retirement, stabilization, and LLM-guided mutation continue to forge the skill library alongside policy optimization. Across multiple interactive agent benchmarks, SkillForge achieves the highest aggregate success rate, delivering up to 7.8% relative improvement over the strongest baseline while keeping the skill library compact throughout training. We introduce SkillFurnace, a dataset of 5k+ annotated records bundling retirement-filtered SFT trajectories, evolved skill libraries with fitness annotations, and retirement events with human-annotated failure categories to support research on skill quality and lifecycle management.

阅读原文

参与讨论