让大模型智能体在学习中自动创建并优化可复用技能。
ReSkill: Reconciling Skill Creation with Policy Optimization in Agentic RL

- 通过闭环机制同步更新技能与策略,避免冲突。
- 在未见过的任务上性能提升显著,最高超越基线37%。
- 适合需要持续进化能力的自主智能体研究者。
自主强化学习(Agentic RL)使大语言模型代理能从环境奖励中持续改进,但现有方法生成的策略难以系统积累可泛化复用的通用策略。模块化技能可提供此类策略,但现有技能增强型强化学习方法将技能创建与策略优化分离,可能导致所采纳技能与动态演化的策略相冲突。受Anthropic Skill Creator启发,我们提出ReSkill,一种强化学习闭环下的技能创建框架,实现技能演化与策略学习的协调统一。ReSkill利用GRPO的组结构,仅以微小额外开销嵌入三种机制:(1) 基于断言的技能创建器,从过往经验中诊断失败并提出条件性、触发式技能修订;(2) 组内回放采样,实现技能版本的可控对比,识别最支持策略学习的版本;(3) 自适应折扣的Thompson采样,随策略演进动态平衡技能选择中的探索与利用。在多个领域任务中,ReSkill始终优于现有基于记忆和技能的RL方法,尤其在未见任务上表现最优,最大增益达37%。对技能生命周期的分析表明,技能会随策略提升自动创建、测试、优化与淘汰,验证了技能与策略的协同进化能力。
原文摘要 · Abstract (English)
Agentic reinforcement learning (RL) enables LLM agents to improve continuously from environment rewards, yet the resulting policies do not systematically accumulate reusable strategies that generalize across tasks. Modular skills can provide such reusable strategies, yet existing skill-augmented RL methods decouple skill creation from policy optimization, risking adopting skills that conflict with the evolving policy. Inspired by Anthropic's Skill Creator, we introduce ReSkill, an RL-in-the-loop skill creation framework that reconciles skill evolution with policy learning. ReSkill exploits the group-wise structure of GRPO to naturally embed three mechanisms with only marginal additional overhead: (1) an assertion-driven skill creator that diagnoses failures from past experience and proposes conditional, trigger-based skill revisions; (2) within-group rollout sampling that enables controlled comparison of skill versions, capturing which version best supports the policy's ongoing learning; and (3) Thompson Sampling with adaptive discounting to balance exploration and exploitation in skill version selection as the policy evolves. Across several domains, ReSkill consistently outperforms existing memory and skill-based RL methods, with the largest gains on unseen tasks. Analysis of the skill lifecycle shows skills being automatically created, tested, refined, and pruned as the policy improves, demonstrating reconciled skill-policy co-evolution.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。