What they did
The authors model the value of a selected skill set as a monotone submodular function, meaning that skills remain useful but provide diminishing returns when they overlap with already selected material. Selection must fit within a hard context-token budget, and the objective subtracts a penalty for context use.
They develop Best Prefix Selection (BPS), a polynomial-time algorithm for this objective, and evaluate it on a contamination-controlled variant of BigCodeBench. Comparisons include released skill routers, text retrieval systems, and the executor LLM’s own skill-selection strategy.
Key findings
- BPS attained 0.73 measured task success, versus 0.20–0.52 across the evaluated baselines.
- It used 28% fewer tokens than the strongest released skill router.
- The authors prove a bicriteria guarantee of (1−1/e, 1): roughly a 63.2% coefficient on the modeled submodular benefit while retaining the full context-penalty term.
- They show that the 1−1/e benefit coefficient is optimal for polynomial-time algorithms under the problem’s stated complexity assumptions.
Why it matters
Skill retrieval is often treated as a ranking problem, even though independently relevant documents can be redundant when combined. This work provides a set-level, cost-aware formulation that can choose complementary capabilities under a fixed context window and offers a formal performance guarantee absent from top-k and greedy packing approaches.
Caveats
The empirical evidence comes from one contamination-controlled coding benchmark, so it is unclear whether the gains extend to other tasks, skill formats, context sizes, or agent architectures. The theorem also depends on benefit being monotone and submodular; real LLM behavior may include harmful interactions or complementarities that violate those assumptions, and measured task success does not by itself establish that the model accurately captures execution outcomes.