通过跨框架适配的检索增强技能优化

·

研究论文 · 2026/10/02

智能体技能是一种可复用、可操作的自然语言制品,用于指导智能体在特定执行框架下有效完成任务。近期研究探索了智能体技能的优化,积累了涵盖不同任务、领域和执行框架的公开技能集合。尽管已有数百万公开共享的技能,现有技能优化方法在很大程度上忽略了这些积累的知识,而是仅依赖昂贵的智能体执行轨迹来迭代优化目标任务的技能。为此,我们提出检索增强技能优化(RASO),一个在技能优化全过程中利用外部技能语料库作为先验知识的框架。RASO从现有技能中检索相关知识,并通过跨执行框架适配将其适配到目标任务和执行框架,同时考虑领域和执行框架的不匹配。RASO包含两个互补阶段:检索增强技能初始化(RASI)无需智能体执行轨迹即可构建基于知识的初始技能,而检索增强技能更新(RASU)通过执行反馈引导检索外部知识来迭代优化技能。在四个智能体基准和两个模型上的大量实验表明,RASO始终优于没有检索增强技能初始化和更新的基线。

该研究针对现有技能优化方法忽视公开技能知识、依赖昂贵执行轨迹的问题,提出利用外部技能语料库的检索增强框架,并通过跨执行框架适配提升技能优化效果,实验验证了其有效性。

An agent skill is a reusable, actionable natural-language artifact that guides an agent to perform a task effectively under a given harness. Recent studies have explored the optimization of agent skills, contributing to a growing collection of publicly available skills spanning diverse tasks, domains, and harnesses. Despite millions of publicly shared skills, existing skill optimization methods largely overlook this accumulated knowledge, instead relying solely on expensive agent rollouts to iteratively refine skills for a target task. To address this, we propose Retrieval-Augmented Skill Optimization (RASO), a framework that leverages an external skill corpus as prior knowledge throughout skill optimization. RASO retrieves relevant knowledge from existing skills and adapts it to the target task and harness via Cross-Harness Adaptation, accounting for mismatches in both domain and harness. RASO comprises two complementary stages: Retrieval-Augmented Skill Initialization (RASI) constructs a knowledge-grounded initial skill without requiring agent rollouts, while Retrieval-Augmented Skill Update (RASU) iteratively refines the skill by retrieving external knowledge guided by execution feedback. Across four agent benchmarks and two models, extensive experiments show that RASO consistently outperforms baselines without retrieval-augmented skill initialization and updating.

阅读原文

参与讨论