Self-Evolving Agent Harnesses via Gated Semantic Quality-Diversity

πŸ“… 2026-07-15
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses how to enhance the performance of large language models on real-world tasks without updating their weights, while avoiding spurious improvements caused by self-generated feedback noise or overfitting. The authors propose a self-evolving agent framework in which the language model diagnoses failures and generates patches, while sampling, evaluation, and significance testing are handled by deterministic code to ensure credible improvements. A key innovation is the introduction of a Gated Quality-Diversity archive based on Pathological Semantics (WHEREΓ—WHY), which categorizes patches according to root causes, enabling generalization across tasks and model families. Evaluated on seven domains using frozen open-source models, the method achieves performance gains of 9–15.5 percentage points on held-out test sets, preserving 86%–147% of the training-time gains, thereby demonstrating both efficacy and transferability.
πŸ“ Abstract
An LLM agent's real-task performance is shaped as much by the harness around its model as by the frozen model itself: its prompts, injected knowledge, runtime control, and configuration. In deployment the harness is often the only lever available, so improving it automatically is the natural way to raise performance without touching the weights. The hard part is not generating changes but knowing which one truly helped. Self-generated feedback is noisy, and an apparent gain can be a measurement artifact or an edit that merely overfits the tasks it was tuned on. We present a self-evolving agent-harness framework that separates proposing changes from crediting them: a language model diagnoses failures and proposes patches, while all sampling, measurement, and significance testing are owned by deterministic code, so every credited improvement is trustworthy by construction. Patches populate a gated, categorical quality-diversity archive (GSME) keyed on the (WHERE x WHY) pathology an edit addresses rather than the tasks it fixes, an anti-overfitting inductive bias; generalization is measured on a sealed test scored only after evolution. Across seven domains with a frozen open-weight model, the harness is train-selected and scored once on a sealed test; its credited gains there are +9 to +15.5pp and retain 86-147% of the training gain, evidence they generalize rather than overfit. The winning patch tracks the model's dominant pathology, not its size or family: changing the model can change the pathology and the patch, while the same pathology-to-patch match recurs across two model families. What transfers is the diagnose-and-credit loop, not any specific harness.
Problem

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

LLM agent
harness optimization
quality-diversity
overfitting
self-evolution
Innovation

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

self-evolving agent
harness optimization
quality-diversity archive
anti-overfitting
diagnose-and-credit loop