SkillComposer: 学习演化智能体技能以实现特化与泛化
SkillComposer: Learning to Evolve Agent Skills for Specification and Generalization
AI总结:
提出SkillComposer框架,通过创建、改进和合并三种可学习操作,使语言模型在推理时自我演化技能,支持离线、在线和混合部署模式,在多个基准上提升性能。
摘要:
智能体技能由指导智能体推理和行动的可重用策略组成,在推理时展现出提升模型能力的强大潜力。然而,当前的技能构建方法将问题视为一次性提取,忽略了一个基本矛盾:针对特定任务的技能难以迁移,而抽象化的技能往往提供不足的指导。我们将这种脆弱性归因于缺乏明确的技能特化和泛化机制。为解决这一问题,我们引入了SkillComposer框架,该框架将技能构建分解为三种可学习操作:创建、改进和合并。通过系统性的拒绝采样方案进行训练,SkillComposer使语言模型能够在推理时自我演化技能,并支持三种部署模式:离线构建通用库、在线进行任务特定优化以及混合模式结合两者。在$τ^2$-Bench、LiveCodeBench v6和AppWorld上的综合实验表明,SkillComposer持续优于基线方法。我们的SkillComposer-4B将27B执行器在智能体任务上提升了最多+4.5,在代码任务上提升了最多+3.4,同时泛化到训练中未见过的领域和任务类型。分析表明,合并和改进操作处理正交的质量维度,且技能组合是一种可迁移的元能力,为技能增强推理提供了实用方案。
英文摘要:
Agent skills, which consist of reusable strategies that guide agent reasoning and action, have shown strong potential for improving model capability at inference time. However, current skill construction methods treat the problem as one-shot extraction, overlooking a fundamental tension: a skill tailored to the specific task fails to transfer, while the abstracted skill often provides insufficient guidance. We attribute this fragility to the absence of explicit mechanisms for skill specification and generalization. To address this gap, we introduce SkillComposer, a framework that decomposes skill construction into three learnable operations: create, improve, and merge. Trained via systematic rejection sampling recipe, SkillComposer enables language models to self-evolve skills at inference time and supports three deployment modes: offline for building generalized libraries, online for task-specific refinement, and hybrid for combining both. Comprehensive experiments on $τ^2$-Bench, LiveCodeBench v6, and AppWorld show that SkillComposer consistently outperforms baselines. Our SkillComposer-4B improves a 27B executor by up to +4.5 on agent tasks and +3.4 on code tasks, while generalizing across domains and task types unseen during training. Analysis reveals that merge and improve address orthogonal quality dimensions and that skill composition is a transferable meta-ability, providing a practical recipe for skill-augmented inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。