Aha.
正在载入中英对照阅读…

arXiv:2605.09359 · 中英对照阅读

Skill-R1:通过强化学习实现智能体技能演化

Skill-R1: Agent Skill Evolution via Reinforcement Learning

Yash Vishe、Rohan Surana、Xunyi Jiang、Zihan Huang、Xintong Li、Nikki Lijing Kuang、Tong Yu、Ryan A. Rossi、Jingbo Shang、Julian McAuley、Junda Wu

中文速览

复杂的多步推理和工具使用任务,往往难靠一条固定技能指令做好,而反复手动改指令又费时,也无法根据结果稳定改进。Skill-R1让任务模型保持不变,另训练一个轻量的技能生成器:它根据任务、此前的执行过程和可验证的结果,逐轮修改技能,再用两层强化学习信号同时判断单次执行好不好、技能这一轮是否比上一轮更好。在 GAIA 和 WebWalker 等基准上,这种方法持续优于不使用技能和标准 GRPO,尤其在复杂多步任务上优势明显。它说明,即使不改动昂贵或闭源的任务模型,也能让智能体通过反复实践有方向地改进技能。

摘要

智能体大语言模型通常依赖技能,即可复用的自然语言流程,用于指导规划、行动和工具使用。然而在实践中,技能通常通过提示工程来改进,或通过使任务大语言模型本身与修订后的技能对齐来改进;这种做法成本高、依赖特定模型,而且对于闭源模型往往不可行。与此同时,技能优化并非一次性的提示工程问题,而是一个循环过程,其中包含两个相互耦合的层次的信用分配。有效的技能必须在当前条件下提升轨迹采样质量,而有效的修订则必须将观察到的成功与失败转化为更好的技能,以供下一轮使用。因此,我们将技能演化表述为一个双层优化问题,分别针对每一代内的轨迹选择以及各代之间的技能改进。我们提出 Skill-R1,这是一种基于可验证奖励进行实例级循环式技能优化的强化学习框架。Skill-R1 不更新任务大语言模型,而是训练一个轻量级技能生成器,使其根据任务上下文、先前的采样轨迹及其经验证的结果生成技能,以引导冻结的任务大语言模型。该设计在兼容开源模型和闭源模型的同时,保留了黑盒兼容性,且使适应过程的成本显著低于模型级更新。Skill-R1 通过多代迭代推进。在每一代中,当前技能促使任务大语言模型生成采样轨迹,其经验证的结果会反馈用于生成下一轮修订。为在这一循环过程中优化技能生成器,我们引入一种结合代内优势与代际优势的双层组相对策略优化目标。代内项比较共享技能条件下的采样轨迹,代际项则奖励那些能在连续各代中改善所诱导行为的修订。这两项共同构成了一个原则性目标,用于引导技能演化,而非进行一次性或启发式的自我改进。实证评估表明,在具有可验证奖励的各项基准测试中,Skill-R1 相较于无技能基线和标准组相对策略优化均取得了稳定提升。在复杂的多步任务上,提升尤为显著,而单轮改进方法在这类任务上表现不佳。

Agentic large language models often rely on skills, reusable natural-language procedures that guide planning, action, and tool use. In practice, however, skills are typically improved through prompt engineering or by aligning the task LLM itself to revised skills, which is costly, model-specific, and often infeasible for closed-source models. Meanwhile, skill optimization is not a one-step prompt engineering problem, but a recurrent process with two coupled levels of credit assignment. A useful skill must improve rollout quality under the current conditioning, while a useful revision must turn observed successes and failures into a better skill for the next round. We therefore formulate skill evolution as a bi-level optimization problem over rollout selection within each generation and skill improvement across generations. We propose Skill-R1, a reinforcement learning framework for instance-level recurrent skill optimization from verifiable rewards. Rather than updating the task LLM, Skill-R1 trains a lightweight skill generator that conditions on the task context, prior rollouts, and their verified outcomes to produce skills that steer a frozen task LLM. This design preserves black-box compatibility with both open- and closed-source models while making adaptation substantially cheaper than model-level updates. Skill-R1 proceeds over multiple generations. At each generation, the current skill induces rollouts from the task LLM, whose verified outcomes are fed back to produce the next revision. To optimize the skill generator over this recurrent process, we introduce a bi-level group-relative policy optimization objective with intra-generation and inter-generation advantages. The intra-generation term compares rollouts under shared skill conditioning, while the inter-generation term rewards revisions that improve the induced behavior over successive generations. Together, these terms provide a principled objective for directional skill evolution rather than one-shot or heuristic self-refinement. Empirical evaluations suggest that Skill-R1 achieves consistent improvements over both no-skill baselines and standard GRPO across benchmarks with verifiable rewards. The gains are particularly strong on complex, multi-step tasks, where single-pass refinement methods struggle.

术语表

Agentic large language model
智能体大语言模型
Agent skill
智能体技能
Skill-R1
Skill-R1
Skill generator
技能生成器
Task LLM
任务大语言模型
Frozen task LLM
冻结的任务大语言模型
Skill evolution
技能演化
Recurrent skill optimization
循环式技能优化
Instance-level optimization
实例级优化
Bi-level optimization
双层优化
Bi-level group-relative policy optimization
双层组相对策略优化
GRPO
组相对策略优化
Intra-generation advantage
代内优势
Inter-generation advantage
代际优势
Credit assignment
信用分配
Rollout
轨迹采样
Rollout trajectory
采样轨迹
Rollout selection
轨迹选择
Verifiable reward
可验证奖励
Verifier
验证器
Verified outcome
经验证的结果
Task context
任务上下文
Instance-specific history
实例特定历史
Tool use
工具使用
Self-refinement
自我改进
Prompt engineering
提示工程
Open-source model
开源模型
Closed-source model
闭源模型
Black-box compatibility
黑盒兼容性
Multi-step task
多步任务