AI 资讯 知识库 智能体生态观察COBRA-Skills: Contextual Bandit-Guided Evolution for Agent Skill Optimization

COBRA-Skills: Contextual Bandit-Guided Evolution for Agent Skill Optimization

Papers

arxiv:2609.11682

Published on Sep 10

· Submitted by

Jerry smith on Sep 14

· Chinese University of Hong Kong, Shenzhen

Upvote

45

Authors:

Pingchen Lu ,

,

,

,

,

,

,

,

Abstract

COBRA-Skills improves LLM agent skill optimization by using contextual-bandit prioritization and evidence-based evolution to cut evaluation costs while maintaining high performance.

Generated by thinkingmachines/Inkling-Small

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.

View arXiv page View PDF GitHub 14 Add to collection

Community

Lpc206

Paper author Paper submitter 9 days ago

How can we optimize Agent Skills without repeatedly spending large amounts of computation on weak candidates and costly LLM-based refinement?

COBRA-Skills treats skill optimization as a sequential budget-allocation problem:

Which skill is most worth evaluating next?

Instead of exhaustively trying and refining candidate skills, COBRA-Skills maintains a population of skills and uses:

  • a neural predictor to estimate skill utility,

  • LinearUCB to balance exploration and exploitation,

  • target-agent execution feedback to update the bandit,

  • scheduled evolution operators (regeneration, rollout mutation, and crossover) to evolve the skill population.

Results

We evaluate COBRA-Skills on 6 diverse agent benchmarks × 3 target models, covering search QA, spreadsheets, document understanding, mathematical reasoning, social reasoning, and embodied tasks.

COBRA-Skills achieves:

  • 🏆 the best average performance among the compared methods,

  • 💰 ~55–58% lower optimization cost than SkillOpt,

  • 📊 only 50 optimization examples per benchmark,

  • 🔧 consistent effectiveness under Codex and Claude Code harnesses,

  • 🤖 strong performance even when the target model itself generates and refines skills.

An interesting finding is that the cost reduction does not mainly come from reducing target-agent executions. A large part comes from avoiding repeated LLM-based trajectory analysis and skill rewriting.

📄 Paper: https://arxiv.org/abs/2609.11682 💻 Code: https://github.com/Jerry-LuP/COBRA-Skills

Feedback and discussions are very welcome!

librarian-bot

8 days ago

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on HF Mirror checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.

Tap or paste here to upload images

· Sign up or log in to comment

Upvote

45

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2609.11682 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2609.11682 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2609.11682 in a Space README.md to link it from this page.

Collections including this paper 2