Hierarchical Self-Improvement: A Framework for Task-Specific Evolvable Agent Harnesses

πŸ“… 2026-08-09
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses the limitation of conventional LLM agent execution frameworks (harnesses), which are typically fixed after deployment and struggle to continuously adapt to evolving task demands. To overcome this, the authors propose a Hierarchical Self-Improvement (HSI) framework that, for the first time, treats the harness as an evolvable component. While keeping the backbone model frozen, HSI employs a three-tier architecture to simultaneously perform tasks, rewrite the harness, and optimize the evolution strategy. A novel thinking-on/off mechanism decouples task execution from self-modification, enabling more stable and effective adaptation. Experiments demonstrate that HSI achieves up to a 39.3% improvement in task progression on medium-complexity benchmarks such as BabyAI and Crafter, and attains near-perfect test scores (0.98–1.00) on unseen subsets of BabaIsYou, confirming the efficacy of harness evolution and revealing its performance boundaries governed by feedback fidelity and backbone capability.
πŸ“ Abstract
Modern LLM agents are often improved by modifying prompts, tools, or workflows manually, while the executable scaffold surrounding the model---the \emph{harness}---is typically treated as a fixed artifact after deployment. This work studies an alternative where the harness is \emph{task-specific and continuously evolvable}: each task family maintains its own harness, which is hot-swapped across iterations through a fixed task-injection seam and rewritten using environment feedback. We introduce \textbf{Hierarchical Self-Improvement (HSI)}, a framework in which a single frozen LLM $M$ operates across three hierarchical scopes: a task harness $H$ that executes tasks, an evolver that rewrites $H$, and a meta-evolver that rewrites the evolver's strategy code under a frozen outer anchor. A thinking-on/off design isolates the contribution of harness evolution by disabling reasoning during task execution while enabling it during self-modification. HSI is bounded by two factors: a \emph{feedback-fidelity bound}, since evolution requires informative reward signals to guide selection, and a \emph{backbone capability bound}, since harness redesign cannot overcome limitations of the frozen model. On BALROG with DeepSeek-V4-Flash-Preview as the frozen backbone, HSI achieves consistent gains over the initial harness on moderate-difficulty tasks ($+39.3$ on BabyAI, $+33.0$ on Crafter, $+25.0$ on TextWorld, and $+15.0$ on MiniHack, all in raw \% Progress), while obtaining strong held-out generalization on BabaIsAI sub-suites ($0.98$ best-test on BreakStop and $1.00$ on GoTo from a $20\%$ unseen split). On tasks beyond the backbone's capability (NLE), harness evolution provides no improvement. These results demonstrate task-specific harness evolution as a viable axis for improving frozen LLM agents under clear empirical limits. Code is available at https://github.com/TailinZhou/hsi.
Problem

Research questions and friction points this paper is trying to address.

harness evolution
frozen LLM
task-specific adaptation
self-improvement
agent performance
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hierarchical Self-Improvement
Evolvable Harness
Frozen LLM
Task-Specific Evolution
Feedback-Fidelity Bound