COBRA-Skills:上下文赌博机引导的智能体技能优化进化
研究论文 · 2026/09/14
大型语言模型(LLM)智能体可从先前任务经验中提炼的可复用技能中受益,但现有技能优化方法往往依赖昂贵的基于执行的评估和大量任务数据。我们提出 COBRA-Skills,一种高效框架,将技能优化形式化为动态演化候选空间上的预算约束序列优化问题。COBRA-Skills 将上下文赌博机引导的优先级排序与基于证据的技能演化相结合,有选择地将评估分配给有前景或信息量大的候选技能,同时根据执行反馈持续改进技能种群。在六个异构智能体基准和三个目标模型上,COBRA-Skills 在对比方法中始终取得最强的平均性能,同时相对于 SkillOpt 将优化成本降低 55--58%,且每个基准仅使用 50 个唯一优化示例。进一步分析表明,COBRA-Skills 对智能体框架的变化保持稳健,并且在目标模型本身用于技能生成和精炼时也能有效运行。
该工作提出了一种高效且通用的技能优化框架,在多个基准上以显著更低的成本和更少的数据达到最优性能,对智能体技能学习与优化领域具有重要参考价值。
Large language model (LLM) agents can benefit from reusable skills distilled from prior task experience, yet existing skill optimization methods often rely on costly execution-based evaluation and substantial task data. We introduce COBRA-Skills, an efficient framework that formulates skill optimization as budgeted sequential optimization over a dynamically evolving candidate space. COBRA-Skills couples contextual-bandit-guided prioritization with evidence-grounded skill evolution, selectively allocating evaluations to promising or informative candidates while continually refining the skill population from execution feedback. Across six heterogeneous agent benchmarks and three target models, COBRA-Skills consistently achieves the strongest average performance among compared methods, while reducing optimization cost by 55--58\% relative to SkillOpt and using only 50 unique optimization examples per benchmark. Further analyses show that COBRA-Skills remains robust to changes in the agent harness and performs effectively when the target model itself is used for skill generation and refinement.