Reproduce “Meta-Harness: End-to-End Optimization of Model Harnesses” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, Chelsea Finn

Meta-Harness automates refinement of harness code around fixed language models by letting a coding-agent proposer inspect prior candidates’ code, scores, and execution traces before proposing changes. With GPT-OSS-120B, its harness averages 48.6% accuracy versus ACE’s 40.9% on classification, using 11.4K versus 50.8K additional input-context tokens. The study does not establish that full-history access alone causes gains or generalizes across proposer agents.

Key insights

  • Full, uncompressed access to historical diagnostic data (raw code, execution traces, and evaluation scores) is critical for an agent to perform causal reasoning and targeted modifications in complex, stateful code-space search.
  • Direct optimization in the code space, enabled by an agentic proposer, facilitates algorithmic modifications and complete program rewrites, providing a natural regularization bias towards coherent solutions.
  • An agent, when provided with rich, granular feedback, can effectively identify and address complex, long-horizon failures in stateful programs, going beyond fixed templates or summary-based feedback.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.