RSI-Harness: Optimizing the Harness Optimizer via Recursive Self-Improvement

The performance of an LLM agent depends heavily on its harness, which manages the model's context, tool use and control flow. Recent approaches automate harness design, yet the improver that edits the harness is written by hand and never changes, so it cannot learn from the outcomes of its past edits. Self-referential systems relax this restriction by letting the improver update itself, but it remains unclear whether they learn a better improver or merely find a better task harness along one search trajectory. We address this question by making the improver itself an explicit optimization target, so that it learns from its own search experience and becomes a better optimizer. We realize this idea in RSI-Harness, a dual-loop recursive self-improvement framework in which an inner loop uses the current improver to refine the task harness, while an outer loop revises the improver from the history of successful and failed attempts. Each revision may start from any archived improver, and an acceptance gate adopts it only if it produces a better task harness than the current improver under matched tasks and budget. Across five benchmarks and three frozen backbones, RSI-Harness achieves the best average score on every backbone (as a point estimate; the 95% confidence interval of its margin over the strongest baseline includes zero), improving the initial harness by 7.7 points on average with 32-83% fewer optimization tokens than Self-Harness, GEPA and Meta-Harness. More importantly, the improver itself recursively gets better, with its gain on the same starting harness growing from 1.3 to 6.2 points. The final improver also transfers to unseen models, benchmarks and domains, gaining 2.7 times as much as the initial improver on average, while the optimized task harness transfers poorly.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24686628
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

RSI-Harness: Optimizing the Harness Optimizer via Recursive Self-Improvement

Julien Monteil, Eduard H. Hovy, Caren Han, Paul Albert et al.
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

RSI-Harness: Optimizing the Harness Optimizer via Recursive Self-Improvement

Julien Monteil, Eduard H. Hovy, Caren Han, Paul Albert, Jun Wang, Fan Jiang, Shuo Yang
preprint en

Abstract

The performance of an LLM agent depends heavily on its harness, which manages the model's context, tool use and control flow. Recent approaches automate harness design, yet the improver that edits the harness is written by hand and never changes, so it cannot learn from the outcomes of its past edits. Self-referential systems relax this restriction by letting the improver update itself, but it remains unclear whether they learn a better improver or merely find a better task harness along one search trajectory. We address this question by making the improver itself an explicit optimization target, so that it learns from its own search experience and becomes a better optimizer. We realize this idea in RSI-Harness, a dual-loop recursive self-improvement framework in which an inner loop uses the current improver to refine the task harness, while an outer loop revises the improver from the history of successful and failed attempts. Each revision may start from any archived improver, and an acceptance gate adopts it only if it produces a better task harness than the current improver under matched tasks and budget. Across five benchmarks and three frozen backbones, RSI-Harness achieves the best average score on every backbone (as a point estimate; the 95% confidence interval of its margin over the strongest baseline includes zero), improving the initial harness by 7.7 points on average with 32-83% fewer optimization tokens than Self-Harness, GEPA and Meta-Harness. More importantly, the improver itself recursively gets better, with its gain on the same starting harness growing from 1.3 to 6.2 points. The final improver also transfers to unseen models, benchmarks and domains, gaining 2.7 times as much as the initial improver on average, while the optimized task harness transfers poorly.

Zenodo (CERN European Organization for Nuclear Research)
Amazon (United States) (US), The University of Melbourne (AU), Carnegie Mellon University (US)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon