Elicitation or Expansion? Demystifying Gains from Agent Harness Optimization
Organizations: FuriosaAI · Yonsei University · University of California, Berkeley
Abstract
Recent studies in harness optimization have shown substantial performance gains in language model agents without updating model weights. A well-designed harness more effectively leverages the underlying model's capabilities by shaping context, tool use, and execution workflows. However, naïve success rates alone do not fully characterize whether optimized harness yields more reliable success on tasks already within reach (elicitation) or a broader range of solvable tasks (expansion). This distinction is crucial for recursive self-improvement and evolutionary search, as expansion may provide a broader range of successful experiences to push the capability boundaries. Despite the growing significance, this distinction remains underexplored in harness optimization. We conduct a systematic analysis to study the effect of gains from harness optimization. Building on pass@k analyses in the reinforcement learning (RL) literature that compare models before and after RL training, we compare optimized harnesses with their pre-optimization counterparts. Specifically, we assess changes in reachable task coverage, compare harness optimization with model scaling and increased inference-time compute, and examine how gains vary with task difficulty. Across static prediction and dynamic tasks, we find that pass@1 advantages of harness over stronger interventions can reverse at larger attempt budgets and aggregate gains conceal shortfalls on hard tasks, underscoring the need for a fine-grained diagnosis.
Figures & tables
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Prep. | Search/val. | Select. | Test |
|---|---|---|---|---|
| Symptom2Disease (ID) | 200 | 50 | reused | 212 |
| LawBench (ID) | 200 | 50 | reused | 100 |
| USPTO (ID) | 50 | 30 | reused | 100 |
| FiNER (OOD) | 200 | — | — | 100 |
| GoEmotions (OOD) | 200 | — | — | 150 |
| Banking77 (OOD) | 200 | — | — | 150 |
| Question | Reference answer | Complete recorded answer |
|---|---|---|
| Which band was formed first, Loudspeakers or Marcy Playground? | Marcy Playground | Marcy Playground was formed first. |
| Which dog is larger, the Cirneco dell’Etna or the Siberian Husky? | Siberian Husky | The Siberian Husky is larger than the Cirneco dell’Etna. |
| John Alexander is the uncle of the player who plays what position for Liverpool? | right-back | The player is a right-back for Liverpool. |
| Intimidad de los parques was based on a short story by the novelist and essayist of what nationality? | Argentine | The novelist and essayist was Argentine . |
| When was the direct-to-video movie that borrows heavily from a 1988 American action film starring Bruce Willis released? | 1996 | The direct-to-video movie was released in 1996 . |
| Tasks | gain (pp) | |||||||
|---|---|---|---|---|---|---|---|---|
| Dataset | Total | |||||||
| Symptom2Disease | 3 | 5 | 198 | |||||
| LawBench | 7 | 4 | 49 | |||||
| USPTO | 7 | 3 | 25 | |||||
| Dataset | 20B | Rebuilt | Frozen | 120B | 20B | Rebuilt | Frozen | 120B |
|---|---|---|---|---|---|---|---|---|
| Symptom2Disease | 82.08 | 84.66 | 86.34 | 85.08 | 95.75 | 94.81 | 92.45 | 95.75 |
| LawBench | 18.86 | 44.00 | 43.53 | 27.95 | 53.00 | 56.00 | 53.00 | 60.00 |
| USPTO | 6.25 | 9.64 | 10.03 | 16.94 | 28.00 | 32.00 | 30.00 | 35.00 |
| Dataset | Guessing | Guessing | ||||
|---|---|---|---|---|---|---|
| In-distribution | ||||||
| Symptom2Disease | 16.98 | 89.86 | 90.72 | 31.08 | 92.08 | 92.16 |
| LawBench | — | 35.12 | 50.51 | — | 42.15 | 52.59 |
| USPTO | — | 12.90 | 16.10 | — | 16.08 | 19.30 |
| Out-of-distribution | ||||||
| Caps | ||
|---|---|---|
| Relaxed | ||
| Tight |
Agent Harness Optimization
Agent harness optimization improves the prompts, tools, memory, workflows, and control code that shape how AI agents act.
See all 183 papers