Evo$^2$:通过权重与框架协同进化来进化演化器
摘要
Evo²提出权重-支架协同进化框架,通过双角色(Proposer/Reflector)管线和EvoTIDE训练流程(SFT+GRPO),在Polyglot达到82.1%、SWE-bench Verified达到48.3%,显著优于现有自进化方法,并可跨模型与任务迁移。
查看缓存全文
缓存时间: 2026/10/12 06:51
# Evo2: Evolving the Evolver through Weight-Harness Co-Evolution
Source: [https://arxiv.org/html/2610.13025](https://arxiv.org/html/2610.13025)
\\uselogo
Chejian XuAffiliation:University of Illinois, Urbana\-ChampaignAffiliation:Work done as a student researcher at\\thepaWenxuan ZhouAffiliation:\\thepaJohn LambertAffiliation:\\thepaBeck ChenAffiliation:\\thepaBo LiAffiliation:University of Illinois, Urbana\-ChampaignAndrew HardAffiliation:\\thepaRajiv MathewsAffiliation:\\thepa
###### Abstract
Self\-evolving agents are increasingly used to improve language model systems without human intervention through either weight updates or harness improvements\. Existing approaches typically pursue these directions separately: some methods update model weights using self\-generated experience, while others rewrite the harness that defines how an agent uses prompts, tools, context, and execution feedback\. However, these approaches overlook the relationship between model weights and the agent harness\. To connect these processes and ensure effective and smooth agent self\-evolving, we proposeEvo2, a framework for weight\-harness co\-evolution\. For harness updates, we design a unified dual\-role pipeline that a single policy serves as both a Proposer, which writes harness edits, and a Reflector, which diagnoses their effects and guides revision\. For weight updates, harness modifications and their execution outcomes guide the training of both the Proposer and the Reflector\. We further developEvoTIDE, a training pipeline that recovers usable trajectories through edit extraction and prefix continuation, then combines SFT with interleaved GRPO across the two roles\. Extensive experiments across three coding benchmarks demonstrate thatEvo2significantly outperforms existing self\-evolution methods\. It achieves 82\.1% on Polyglot and 48\.3% on SWE\-bench Verified, compared with 62\.6% and 41\.0% for the strongest baseline, respectively\. We also show that the evolved harnesses transfer to different tasks without further evolution and rank first in cross\-benchmark evaluations\. Our dual\-role harness improvement framework is also able to extend to self\-evolution with proprietary models, improving a GPT\-5\-mini agent’s performance from 24\.4% to 48\.3%\. In addition,Evo2generalizes to other tasks smoothly\. We extend self\-evolution to memory tasks, achieving the best performance on the LoCoMo and LongMemEval benchmarks\. These results demonstrate the applicability of the frameworkEvo2across domains and its broad transferability across models and tasks\.
## 1Introduction
Self\-evolving agents offer a way to improve language model systems through their own experience and without human intervention\. Existing approaches typically follow two directions\. The first updates*model weights*: a model generates solutions, selects useful outputs using task feedback, and trains on them to improve its ability to solve similar problems\([Zelikman et al\., 2022](https://arxiv.org/html/2610.13025#bib.bib10);[Singh et al\., 2024](https://arxiv.org/html/2610.13025#bib.bib11)\)\. The second modifies the*agent harness*: a model inspects and rewrites the program that defines how an agent uses prompts, tools, context, and execution feedback\([Robeyns et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib4);[Zhang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib3)\)\. By evaluating these edits and retaining useful changes, an agent improves its task performance through modifications to its own code\. These approaches accumulate experience in model parameters and executable programs, respectively, but typically pursue the two forms of improvement separately\.
Treating these directions separately overlooks the relationship between model weights and the agent harness\. The model’s capabilities shape the modifications it proposes and how it interprets execution feedback\. In turn, each evaluated modification reveals which changes are useful, why an edit fails, and how different improvements interact\. This experience can guide the training of the model responsible for evolution\. In particular, proposing edits and diagnosing their effects are skills that can themselves be learned from earlier evolution attempts, connecting harness improvement to weight updates\.
We introduceEvo2, a framework for*weight\-harness co\-evolution*in self\-evolving agents \(Figure[1](https://arxiv.org/html/2610.13025#S1.F1)\)\. We train the model to become a better*evolver*: to propose useful harness modifications, interpret their outcomes, and revise them accordingly\. A better evolver builds better harnesses, whose modifications and execution outcomes provide further experience for training the evolver\. Harness evolution, therefore, supplies training signals for weight updates, while the updated model guides subsequent harness search\.
Figure 1:Weight\-harness co\-evolution inEvo2\.A shared Proposer–Reflector policy evolves the agent harness\. Harness edits and execution outcomes provide training experience for the policy, whose updated weights guide subsequent search\. Crossover searching transfers useful strategies between branches\.For harness updates,Evo2uses a unified dual\-role pipeline in which a single policy serves as both a*Proposer*and a*Reflector*\. The Proposer writes harness edits, while the Reflector examines their execution outcomes and provides feedback for further revision\. Both roles share parameters and learn from the effects of the modifications they produce\. We organize the search as a tree of harness variants and introduce*crossover searching*to combine useful strategies discovered on different branches\. The Reflector identifies a strategy that addresses a weakness in the current harness, and the Proposer adapts it to that harness, allowing each branch to build on discoveries made elsewhere in the tree\.
For weight updates, we developEvoTIDE\(Tree\-guided Interleaved Dual\-role Evolution\) for weight updates, to train the shared policy on experience collected during harness evolution\. We collect trajectories from both the Proposer and the Reflector, using edit extraction and prefix continuation to recover usable trajectories from incomplete or partially invalid rollouts\. These trajectories support an SFT warm start, followed by interleaved GRPO across the two roles\. A maintained parent pool exposes the policy to harnesses at different depths and performance levels, so it learns both to improve strong candidates and to repair weaker ones\. The updated policy then generates the proposals and feedback used in subsequent evolution rounds\.
Extensive experiments across three coding benchmarks demonstrate thatEvo2outperforms existing self\-evolution methods\. It achieves 82\.1% on Polyglot and 48\.3% on SWE\-bench Verified, compared with 62\.6% and 41\.0% for the strongest respective baselines\. The evolved harnesses also transfer across benchmarks without further evolution\. We further apply the dual\-role harness improvement framework to proprietary models with fixed weights and extend self\-evolution to memory tasks, achieving the best performance on LoCoMo and LongMemEval\. These experiments demonstrate both the applicability of the framework across domains and the transferability of its evolved harnesses\.
Our contributions are:
- •Weight\-harness co\-evolution:We introduceEvo2, which connects harness evolution with the training of a unified Proposer–Reflector policy through harness modifications and their execution outcomes\.
- •Crossover searching:We combine reflection and directed editing to adapt useful strategies across branches of the harness tree\.
- •A training pipeline for the evolver:We developEvoTIDE, which combines trajectory recovery, SFT, and interleaved GRPO with a parent pool spanning different depths and performance levels\.
- •A reusable framework and evolved harnesses:We demonstrate self\-evolution on coding and memory tasks, harness transfer across benchmarks, and harness improvement with fixed proprietary models\.
## 2Related Work
##### Self\-improving language models\.
Self\-improvement through training forms an iterative loop: a model generates experience, learns from feedback, and uses its updated weights to collect the next round of training data\([Gao et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib22);[Fang et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib23)\)\. STaR and ReSTEMtrain on successful model outputs\([Zelikman et al\., 2022](https://arxiv.org/html/2610.13025#bib.bib10);[Singh et al\., 2024](https://arxiv.org/html/2610.13025#bib.bib11)\), while Absolute Zero and R\-Zero develop tasks and solvers through self\-play\([Zhao et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib12);[Huang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib15)\)\. Other methods improve training signals through trajectory selection, semantic voting, or learned evaluators\([Zhong et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib8);[Jiang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib20);[Wang et al\., 2024](https://arxiv.org/html/2610.13025#bib.bib16)\)\. EvolveR combines reusable experience with policy reinforcement\([Wu et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib17)\)\. ReVeal, Agent0\-VL, and Self\-Distillation Zero train generation together with verification or revision\([Jin et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib13);[Liu et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib6);[He et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib14)\); EvoLM and CoNL co\-train generation and feedback mechanisms within shared policies\([Li et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib2);[Sui and Hooi, 2026](https://arxiv.org/html/2610.13025#bib.bib19)\)\.Evo2applies shared\-role training to harness modification:EvoTIDEuses supervised fine\-tuning and interleaved GRPO to train a unified Proposer–Reflector model on evaluated edits and their outcomes\.
##### Self\-evolving agent harnesses\.
Agents can also accumulate improvements in the harness that manages their prompts, tools, and control flow\. They propose modifications, evaluate the resulting agent, and use the outcomes to guide further changes\. SICA edits its own implementation\([Robeyns et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib4)\), DGM maintains an archive for branching self\-modification\([Zhang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib3)\), and HGM selects promising parents using estimated descendant performance\([Wang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib5)\)\. Meta\-Harness searches over code using prior candidates and execution traces\([Lee et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib21)\)\. GEPA combines reflection with prompt evolution\([Agrawal et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib9)\), while GEA shares experience across evolving agents\([Weng et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib18)\)\. The Red Queen Gödel Machine extends evolution to changing evaluation utilities\([Iacob et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib7)\)\. Prior work also demonstrates harness transfer across tasks and models\([Wang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib5);[Lee et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib21);[Weng et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib18)\)\.Evo2makes harness search a source of self\-improvement for the evolver itself: crossover searching lets the Reflector select a donor strategy and the Proposer adapt it to a recipient harness, while the resulting experience trains both roles to guide subsequent search\. We evaluate the framework’s applicability across coding and memory domains as well as the transfer of its evolved harnesses across benchmarks and executors\.
## 3Method
### 3\.1Overview
Evo2integrates harness evolution with weight evolution \(Figure[2](https://arxiv.org/html/2610.13025#S3.F2)\)\. A harness,hh, is the executable program that manages an agent’s prompts, tools, context, and control flow\. A language model policy,πθ\\pi\_\{\\theta\}, serves as the evolver, acting as both Proposer and Reflector through different role prompts\. We train its parameters,θ\\theta, on the outcomes of harness modifications\. The task executor, denotedMexecM\_\{\\mathrm\{exec\}\}, runs inside each candidate harness and remains fixed during co\-evolution, so candidate performance measures the effect of changing the harness\.
Harness evolution proceeds through iterative tree search\. Each node stores a harness and its task evaluation records; an edge records the edits made to its parent\. At each iteration, we sample a parent, use the Proposer to modify it, and evaluate the resulting candidate\. The Reflector then examines the execution feedback and recommends a revision, integration of a strategy from another branch, or retention of the candidate\. The Proposer implements any recommended change, which is evaluated in turn\. The resulting harnesses extend the tree, while the role trajectories and task outcomes provide data for weight evolution\.EvoTIDEuses these data for supervised fine\-tuning followed by interleaved reinforcement learning\. Updated weights are used in subsequent rounds of search and data collection\.
Figure 2:Harness evolution and trajectory collection\.Parents sampled from the harness pool receive autonomous Type A edits from the Proposer and are evaluated with a fixed task executor\. The Reflector uses execution feedback to direct revision or crossover, or to keep the candidate without further editing\. Both roles share model parameters, and evaluated candidates extend the pool\. The lower panels illustrate prefix continuation, edit extraction, and crossover searching\.
### 3\.2Harness evolution through dual\-role self\-modification
##### Proposer\.
The Proposer operates in two modes\. In*Type A*, it receives a parent harnesshph\_\{p\}and its measured task performance, chooses a modification, and produces editse0e\_\{0\}to obtain an initial candidateh0h\_\{0\}\. In*Type B*, it receives a harness and an explicit edit directiveddfrom the Reflector\. It implements that directive against the current source through editse1e\_\{1\}, producing a revised candidateh1h\_\{1\}\. Type A develops the ability to identify improvements independently; Type B develops the ability to turn feedback into working code\. Both modes can generate a sequence of file edits\.
##### Reflector\.
The Reflector receives the candidate source, the edits relative to its parent, the change in task performance, and execution traces from relevant successes and failures\. It identifies the strategy attempted by the Proposer, diagnoses remaining problems, and chooses one of three actions:reviseprovides a directive to improve the candidate;crossoverprovides a directive to incorporate a strategy from another branch; andkeepretains the candidate without another edit\. A revision directive describes a concrete change and the execution evidence that motivates it\. Its quality is measured by the performance of the harness produced when the Proposer follows it\. This also allows the Reflector to learn when an additional modification is unlikely to help\.
Letzpz\_\{p\}contain the parent’s evaluation records andz0z\_\{0\}contain the candidate’s edit diff and execution feedback\. With available donor strategies𝒮\\mathcal\{S\}, the shared policy implements the cycle
e0\\displaystyle e\_\{0\}∼πθ\(⋅∣PA,hp,zp\),\\displaystyle\\sim\\pi\_\{\\theta\}\(\\cdot\\mid P\_\{A\},h\_\{p\},z\_\{p\}\),h0\\displaystyle h\_\{0\}=Apply\(hp,e0\),\\displaystyle=\\operatorname\{Apply\}\(h\_\{p\},e\_\{0\}\),\(1\)\(m,d,j\)\\displaystyle\(m,d,j\)∼πθ\(⋅∣R,hp,h0,z0,𝒮\),\\displaystyle\\sim\\pi\_\{\\theta\}\(\\cdot\\mid R,h\_\{p\},h\_\{0\},z\_\{0\},\\mathcal\{S\}\),e1\\displaystyle e\_\{1\}∼πθ\(⋅∣PB,h0,d\),\\displaystyle\\sim\\pi\_\{\\theta\}\(\\cdot\\mid P\_\{B\},h\_\{0\},d\),h1\\displaystyle h\_\{1\}=Apply\(h0,e1\)\.\\displaystyle=\\operatorname\{Apply\}\(h\_\{0\},e\_\{1\}\)\.HerePAP\_\{A\},PBP\_\{B\}, andRRspecify role prompts; all calls use the same model parametersθ\\theta\. We write the Reflector’s decision compactly as its actionmm, directivedd, and donor identifierjj, which is used only for crossover\. The last line is executed for revision or crossover; forkeep,h1=h0h\_\{1\}=h\_\{0\}and no further edit is sampled\. During training, counterpart calls use the frozen snapshot described in Section[3\.3\.3](https://arxiv.org/html/2610.13025#S3.SS3.SSS3)\.
##### Crossover searching\.
Different branches may discover complementary improvements\. To make these discoveries available to the Reflector, we maintain a library𝒮=\{sj\}\\mathcal\{S\}=\\\{s\_\{j\}\\\}of strategies extracted from evaluated harnesses\. Each entry describes a mechanism and its observed effect, together with whether it is already present in the current candidate\. Given this context, the Reflector can select a donor strategy that addresses a problem revealed by the candidate’s execution\. Its directiveddspecifies how to integrate the selectedsjs\_\{j\}intoh0h\_\{0\}\. The Type B Proposer then adapts the mechanism to the candidate’s source and combines it with the existing behavior\. We evaluate the combined harness to determine whether the integration helps\. A crossover child retains the recipient as its tree parent and records the donor strategy, so it can receive further revision or crossover\.
### 3\.3Weight evolution throughEvoTIDE
EvoTIDEturns the trajectories generated during harness evolution into training data for the shared policy\. We first collect an initial dataset and perform supervised fine\-tuning \(SFT\)\. We then continue collecting experience from the evolving tree while training both roles with group relative policy optimization \(GRPO\)\([Shao et al\., 2024](https://arxiv.org/html/2610.13025#bib.bib1)\)\.
#### 3\.3\.1Data collection
For each evolution attempt, we record the role prompts, model responses, applied edits, parent and child harnesses, and task evaluation results\. One propose\-evaluate\-reflect\-revise cycle provides an autonomous Proposer trajectory, a Reflector trajectory, and, when a revision is requested, a directed Proposer trajectory\. The same evaluated harness can also serve as a parent in a later round or contribute a strategy to the crossover library\.
##### Recovering Proposer trajectories\.
An otherwise useful rollout may fail to produce an executable edit because of how the response is expressed\. We use two recovery procedures during data collection\.*Edit extraction*handles rollouts that end without an explicit edit action: we search the recorded reasoning and chat messages for concrete file edits and convert them into the required action format\.*Prefix continuation*handles a sequence of edits in which a later edit is invalid, for example because of a malformed tool call or an incorrect edit format\. We truncate the rollout after the last successfully applied edit, restore the corresponding intermediate harness, and resume generation from that prefix\. This preserves the valid earlier edits while allowing the model to regenerate the failed suffix\. Recovered proposals pass the same application, startup, and task evaluation checks as other candidates before entering the training data\.
##### Collecting Reflector trajectories\.
Evaluated proposals become reflection cases, including edits that improve performance, leave it unchanged, or cause regressions\. For each case, we generate feedback and evaluate the candidate obtained by implementing it; akeepresponse retains the initial candidate\. These outcomes provide supervision for the Reflector’s diagnosis and choice of action\. Connecting strategies from other branches adds crossover cases, so the dataset includes both local revisions and the integration of previously discovered mechanisms\.
#### 3\.3\.2Reward design
Both roles are rewarded by the change in task performance caused by their decisions\. LetV^\(h\)∈\[0,1\]\\widehat\{V\}\(h\)\\in\[0,1\]be the mean externally evaluated task score of harnesshh; for tasks with a binary correctness signal, this is its success rate\. For a valid Proposer edit fromhhtoh′h^\{\\prime\}, and a valid Reflector intervention fromh0h\_\{0\}toh1h\_\{1\}, the execution rewards are
rPexec=V^\(h′\)−V^\(h\),rRexec=V^\(h1\)−V^\(h0\)\.r\_\{P\}^\{\\mathrm\{exec\}\}=\\widehat\{V\}\(h^\{\\prime\}\)\-\\widehat\{V\}\(h\),\\qquad r\_\{R\}^\{\\mathrm\{exec\}\}=\\widehat\{V\}\(h\_\{1\}\)\-\\widehat\{V\}\(h\_\{0\}\)\.\(2\)For Type A, the Proposer is compared with its sampled parent; for Type B, it is compared with the candidate it was instructed to revise\. Akeepaction hash1=h0h\_\{1\}=h\_\{0\}and receives zero execution reward\. We evaluate each comparison on the same tasks under matched execution conditions, averaging repeated runs when available\.
Malformed outputs and edits that cannot be applied or started receive a negative reward\. No\-op edits, unusable harnesses, and invalid crossover directives are also penalized\. Type B receives a small additional bonus or penalty according to whether the edit touches a file named in the directive\. For Reflector interventions, positive gains are credited only when the traces contain evidence that the added mechanism ran; otherwise the gain is set to zero\.
#### 3\.3\.3Training process
##### Supervised fine\-tuning\.
We initialize the shared policy with a mixture of successful autonomous edits, directed edits, and Reflector responses selected using their downstream evaluation results\. The model is trained to predict the recorded response from its role prompt and harness context\. We balance the training mixture across roles and modes to establish both the editing and reflection behavior needed for online training\.
##### Tree maintenance and parent sampling\.
During online training, evaluated candidates extend the harness tree and refresh a bounded parent pool\. We retain nodes at multiple depths so the model encounters both early modifications and harnesses with several accumulated changes\. Within each depth, we reserve part of the pool for the strongest candidates and sample the remainder from other executable candidates\. This retains weaker harnesses that need repair as well as strong harnesses that can be improved further\. Let𝒫r\\mathcal\{P\}\_\{r\}be the retained pool at roundrr, and let𝒩r=𝒫r∖\{hroot\}\\mathcal\{N\}\_\{r\}=\\mathcal\{P\}\_\{r\}\\setminus\\\{h\_\{\\mathrm\{root\}\}\\\}contain its non\-root harnesses\. The root has a permanent place and an allocated sampling shareρ∈\(0,1\)\\rho\\in\(0,1\)\. With weightsw\(h\)=ϵp\+\|V^\(h\)−12\|w\(h\)=\\epsilon\_\{p\}\+\|\\widehat\{V\}\(h\)\-\\tfrac\{1\}\{2\}\|, whereϵp\>0\\epsilon\_\{p\}\>0, parent samples follow
pr\(h\)=\{ρ,h=hroot,\(1−ρ\)w\(h\)∑u∈𝒩rw\(u\),h∈𝒩r\.p\_\{r\}\(h\)=\\begin\{cases\}\\rho,&h=h\_\{\\mathrm\{root\}\},\\\\\[2\.0pt\] \(1\-\\rho\)\\dfrac\{w\(h\)\}\{\\sum\_\{u\\in\\mathcal\{N\}\_\{r\}\}w\(u\)\},&h\\in\\mathcal\{N\}\_\{r\}\.\\end\{cases\}\(3\)If𝒩r\\mathcal\{N\}\_\{r\}is empty, we sample only the root\. This distribution gives both high and low\-scoring parents more exposure while keeping every retained parent available\. Updating the pool across rounds lets the training distribution develop with the harnesses produced by the model\.
##### Interleaved role training\.
We optimize a single policy for both roles\. At the beginning of training roundrr, we setθ¯r=θr\\bar\{\\theta\}\_\{r\}=\\theta\_\{r\}and freezeπθ¯r\\pi\_\{\\bar\{\\theta\}\_\{r\}\}to provide the counterpart behavior needed to evaluate training samples\. For Proposer training, this copy provides Reflector directives for Type B prompts\. For Reflector training, it acts as the Proposer that implements sampled directives\. Each optimization step uses a Proposer group and a Reflector group, with advantages computed separately for each prompt\. Both role updates change the live parametersθ\\theta, whileθ¯r\\bar\{\\theta\}\_\{r\}stays fixed\. After the round yieldsθr\+1\\theta\_\{r\+1\}, we refresh the snapshot by settingθ¯r\+1=θr\+1\\bar\{\\theta\}\_\{r\+1\}=\\theta\_\{r\+1\}and collect new cases\. An improved Proposer therefore generates new modifications for the Reflector to learn from, while an improved Reflector generates new directives for the Proposer\. Both skills improve through successive rounds of this interaction\.
##### Balancing modes within each role\.
We interleave Type A and Type B Proposer prompts so that training covers both autonomous improvement and implementation of feedback\. For the Reflector, we sample half of the inputs with an empty strategy set and half with crossover strategies\. We also construct paired SFT prompts: when a target response is valid in either context, the same response is used with and without the strategy set\. This teaches the model to retain a useful diagnosis even when donor information is unavailable\. Targets that depend on a specific crossover donor are used only with the corresponding strategy context\. The mixture includes revision, crossover, and retention decisions, and is refreshed as new trajectories become available\.
##### Policy optimization\.
For a role promptqq, we sample a group ofGGresponsesy1,…,yGy\_\{1\},\\ldots,y\_\{G\}from the current policy and compute rewardsr1,…,rGr\_\{1\},\\ldots,r\_\{G\}\. We use the group mean baselineAi=ri−1G∑j=1GrjA\_\{i\}=r\_\{i\}\-\\frac\{1\}\{G\}\\sum\_\{j=1\}^\{G\}r\_\{j\}and normalize the token losses by a fixed maximum response lengthLmaxL\_\{\\max\}\. We average the losses from the two role groups and take one update per sampled batch\. Truncated responses are masked from the loss\. All responses within a group share the same role and input, so their advantages compare alternative edits or reflections for the same harness context\.
The trained evolver can run the same search procedure on a new initial harness given an evaluator for its tasks\. An evolved harness can also be deployed directly on new tasks with compatible model and tool interfaces\. These two forms correspond to the outputs of co\-evolution: weights that encode how to improve a harness, and harnesses that incorporate the improvements found during search\.
## 4Experiments
### 4\.1Experimental Settings
Models\.Our main experiments use Qwen3\.8\-27B, served in FP8 with greedy decoding, as the fixed task executor\. We use the same model as the evolver: the untrained base model for the baselines and the model fine\-tuned byEvoTIDEforEvo2, where a single policy serves as both Proposer and Reflector\. For memory tasks, we additionally use a Qwen3\-Embedding\-0\.6B retriever\. In the proprietary\-model experiments, GPT\-5\-mini and Claude Haiku 4\.5 each serve as both executor and evolver, with their weights fixed throughout evolution\.
Benchmarks and metrics\.We evaluate coding harness evolution on Polyglot, SWE\-bench Verified \(SWE\), and LiveCodeBench \(LCB\)\. We report held\-out pass@1 on Polyglot tasks over three evaluation runs, the resolved rate on SWE\-bench Verified instances, and pass@1 on LCB problems\. Proprietary models are evaluated on a 60\-task SWE\-bench Verified subset\. For memory tasks, we evolve harnesses on LoCoMo and report mean F1 on three held\-out conversations\. We also evaluate the same harnesses on LongMemEval\-S using accuracy over 500 instances, with GPT judging and three evaluation runs\.
Baselines\.We compare against four representative self\-evolving agent frameworks:SICA\([Robeyns et al\., 2025](https://arxiv.org/html/2610.13025#bib.bib4)\), which edits its own implementation along a single lineage;DGM\([Zhang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib3)\), which maintains an open\-ended archive and branches self\-modifications from stored agents;HGM\([Wang et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib5)\), which selects parents based on the estimated performance of their descendants; andGEA\([Weng et al\., 2026](https://arxiv.org/html/2610.13025#bib.bib18)\), which enables concurrently evolving agents to share experience\. All baselines use the untrained model as the evolver and follow their own selection rules\.
Table 1:Self\-evolution on coding benchmarks\. Each column reports the held\-out performance of the harness evolved on that benchmark, using Qwen3\.8\-27B\. All scores are percentages; higher is better\.
### 4\.2Self\-Evolution on Coding Benchmarks
Evo2evolves the strongest harness on every benchmark\.Table[1](https://arxiv.org/html/2610.13025#S4.T1)reports the held\-out performance of the best harness evolved by each method on each benchmark\. On Polyglot,Evo2achieves 82\.1% pass@1, compared with 62\.6% for the strongest baseline, GEA\. On SWE\-bench Verified, it resolves 48\.3% of held\-out instances, compared with 41\.0% for HGM\. On LiveCodeBench,Evo2reaches 58\.0% pass@1, while the four baselines range from 39\.0% to 56\.0%\. These results demonstrate consistent improvements across all three coding benchmarks\.
Table 2:Transfer across coding benchmarks, using Qwen3\.8\-27B\. The upper header identifies the benchmark used to evolve and select the best harness; the lower header identifies its evaluation benchmark\. Each method contributes one harness per source, evaluated on both other benchmarks without further evolution\. Scores use the target benchmark’s metric from Table[1](https://arxiv.org/html/2610.13025#S4.T1)\.
### 4\.3Harness Transfer across Benchmarks
For each method and source benchmark, we take the harness reported in Table[1](https://arxiv.org/html/2610.13025#S4.T1)and evaluate it on the other two benchmarks\. Table[2](https://arxiv.org/html/2610.13025#S4.T2)reports all six transfer directions\.
Evo2achieves the best transfer performance in five of six directions\.The harness evolved on SWE\-bench Verified achieves 72\.4 on Polyglot and 53\.0 on LCB, while the harness evolved on LCB achieves 74\.0 on Polyglot and 43\.0 on SWE\-bench Verified\. In each case,Evo2outperforms every baseline, with margins ranging from 2\.5 to 18 points\. These results show that the improvements discovered during evolution remain useful beyond the tasks used to select the harness\.
Table 3:Self\-evolution with proprietary models on a 60\-task SWE\-bench Verified subset\. We report the resolved rate on each model\. InEvo2, each model serves as executor, Proposer, and Reflector with fixed weights\.
Table 4:Self\-evolution on memory tasks\. LoCoMo: held\-out F1 of the harness evolved and selected on LoCoMo\. LongMemEval: accuracy of the same harness on LongMemEval\-S without further evolution or selection\.
### 4\.4Self\-Evolution with Proprietary Models
Table[4](https://arxiv.org/html/2610.13025#S4.T4)reports self\-evolution results on the 60\-task SWE\-bench Verified subset with GPT\-5\-mini and Claude Haiku 4\.5\. In each column, the named model performs both task execution and harness evolution\. ForEvo2, it serves as executor, Proposer, and Reflector with fixed weights; the dual\-role reflection and crossover search therefore constitute the differences from the baselines\. We conduct three independent searches per method and model on a small search subset and report the mean over seeds\. Each baseline evaluates its top\-ranked harness, whileEvo2reports the better result of its two top\-ranked harnesses\.
Dual\-role search improves proprietary agents with fixed weights\.With GPT\-5\-mini,Evo2achieves a 48\.3% resolved rate, compared with 19\.4–24\.4% for the baselines, nearly doubling the strongest baseline’s performance\. With Claude Haiku 4\.5, whose unevolved harness already performs strongly,Evo2reaches 47\.8%, compared with 42\.2–45\.0% for the baselines\. These results demonstrate that harness search provides improvements on its own\. When the evolver can be trained, weight evolution provides additional gains, as shown in Section[4\.6](https://arxiv.org/html/2610.13025#S4.SS6)\.
### 4\.5Self\-Evolution on Memory Tasks
To evaluate the framework in another domain, we instantiate it with a memory harness and perform self\-evolution on LoCoMo\. We retain the Proposer–Reflector interaction, crossover search, and training procedure, while adapting the editable harness and task evaluator to memory tasks\. Each search evaluates 1,500 questions drawn from seven training conversations\. Table[4](https://arxiv.org/html/2610.13025#S4.T4)reports the results\.
Evo2outperforms the strongest baseline on LoCoMo and transfers better to LongMemEval\.On LoCoMo,Evo2achieves 60\.4 F1, compared with 56\.2 for HGM and 53\.2–55\.8 for SICA, DGM, and GEA\. On LongMemEval, which is unseen during both evolution and selection, everyEvo2search achieves a score between 67\.9 and 73\.9, exceeding the HGM mean of 64\.4\. GEA performs below the other baselines\. All numbers are percentages averaged over independent searches\.
Table 5:Effect of weight evolution\. Each row compares the untrained evolver \(the base Qwen3\.8\-27B acting as Proposer and Reflector\) with the evolver trained byEvoTIDE\.
### 4\.6In\-Depth Analysis ofEvo2
Figure 3:Held\-out accuracy versus inference cost\.Held\-out LiveCodeBench pass@1 of the harnesses in Table[1](https://arxiv.org/html/2610.13025#S4.T1), plotted against mean executor completion tokens per held\-out task\.Evo2achieves the highest accuracy, while HGM and DGM use about1\.9×1\.9\\timesas many tokens and2\.6×2\.6\\timesand3\.6×3\.6\\timesas many LLM calls per task, respectively\.Weight evolution improves the evolver on every benchmark\.Table[5](https://arxiv.org/html/2610.13025#S4.T5)isolates the contribution ofEvoTIDE\. Each comparison fixes the search procedure, the executor, and the parent harnesses, varying only whether the evolver’s weights are trained\. The trained evolver produces stronger champions on Polyglot \(\+16\.3\+16\.3points\) and LoCoMo \(\+9\.3\+9\.3\), while its LoCoMo champion transfers better to LongMemEval \(\+10\.6\+10\.6\)\. Crossover search provides a further 4\.1\-point improvement on Polyglot in Table[1](https://arxiv.org/html/2610.13025#S4.T1)\. The trained evolver produces better children on average\.
Performance gains do not require additional inference compute\.Figure[3](https://arxiv.org/html/2610.13025#S4.F3)compares held\-out LiveCodeBench accuracy with the inference cost of each evolved harness\. TheEvo2harness uses 3\.6K completion tokens and 10\.2 LLM calls per task\. HGM and DGM achieve lower accuracy despite using 6\.6K–6\.9K tokens and 26–37 calls per task\. The same pattern holds on Polyglot, where our champion uses fewer calls and tokens than the unevolved harness: 36 versus 43 calls and 3\.6K versus 4\.0K tokens per task\. These results show that harness evolution improves how effectively the agent uses a fixed inference budget\.
## 5Conclusion
We presentedEvo2, a framework for weight\-harness co\-evolution in self\-evolving agents\. A single policy serves as both Proposer and Reflector, learning from harness modifications and their execution outcomes to improve its ability to propose edits and guide revision\. Crossover searching combines useful strategies across branches, whileEvoTIDEtrains the shared policy through trajectory recovery, SFT, and interleaved GRPO\. Experiments on coding and memory tasks demonstrate improved task performance and transfer of evolved harnesses across benchmarks\. The dual\-role search also supports harness improvement with fixed proprietary models\. Our analyses show that weight evolution improves search reliability and that crossover searching reduces the evaluation budget needed to reach strong performance\. Evolving the evolver allows experience to accumulate in both the executable harness and the policy that guides future evolution\.
## References
- Agrawalet al\.\(2026\)L\. A\. Agrawal, S\. Tan, D\. Soylu, N\. Ziems, R\. Khare, K\. Opsahl\-Ong, A\. Singhvi, H\. Shandilya, M\. J\. Ryan, M\. Jiang,et al\.Gepa: reflective prompt evolution can outperform reinforcement learning\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 8479–8565\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1)\.
- Fanget al\.\(2025\)J\. Fang, Y\. Peng, X\. Zhang, Y\. Wang, X\. Yi, G\. Zhang, Y\. Xu, B\. Wu, S\. Liu, Z\. Li,et al\.A comprehensive survey of self\-evolving ai agents: a new paradigm bridging foundation models and lifelong agentic systems\.arXiv preprint arXiv:2508\.07407\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Gaoet al\.\(2025\)H\. Gao, J\. Geng, W\. Hua, M\. Hu, X\. Juan, H\. Liu, S\. Liu, J\. Qiu, X\. Qi, Y\. Wu,et al\.A survey of self\-evolving agents: what, when, how, and where to evolve on the path to artificial super intelligence\.arXiv preprint arXiv:2507\.21046\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Heet al\.\(2026\)Y\. He, S\. Kaur, A\. Bhaskar, Y\. Yang, J\. Liu, N\. Ri, L\. Fowl, A\. Panigrahi, D\. Chen, and S\. AroraSelf\-distillation zero: self\-revision turns binary rewards into dense supervision\.arXiv preprint arXiv:2604\.12002\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Huanget al\.\(2026\)C\. Huang, W\. Yu, X\. Wang, H\. Zhang, Z\. Li, R\. Li, J\. Huang, H\. Mi, and D\. YuR\-zero: self\-evolving reasoning llm from zero data\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 130770–130790\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Iacobet al\.\(2026\)A\. Iacob, A\. Jovanović, W\. F\. Shen, D\. Burkhardt, M\. Kurmanji, N\. Tastan, L\. Sani, N\. A\. E\. Venanzi, A\. Odonnat, Z\. Cao,et al\.The Red Queen Gödel Machine: co\-evolving agents and their evaluators\.arXiv preprint arXiv:2606\.26294\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1)\.
- Jianget al\.\(2026\)C\. Jiang, Y\. Zhang, Y\. Cai, C\. Chan, Y\. Liu, M\. Chen, W\. Xue, and Y\. GuoSemantic voting: a self\-evaluation\-free approach for efficient llm self\-improvement on unverifiable open\-ended tasks\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 36536–36556\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Jinet al\.\(2026\)Y\. Jin, K\. Xu, H\. Li, X\. Han, Y\. Zhou, C\. Li, and J\. BaiReveal: self\-evolving code agents via reliable self\-verification\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 149800–149824\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Leeet al\.\(2026\)Y\. Lee, R\. S\. Nair, Q\. Zhang, K\. Lee, O\. Khattab, and C\. FinnMeta\-harness: end\-to\-end optimization of model harnesses\.InThird Conference on Language Modeling,Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1)\.
- Liet al\.\(2026\)S\. S\. Li, R\. Xin, T\. Xiao, Y\. Wang, R\. Shao, Z\. Hao, M\. Sclar, S\. Oh, F\. Brahman, P\. W\. Koh,et al\.EvoLM: self\-evolving language models through co\-evolved discriminative rubrics\.arXiv preprint arXiv:2605\.03871\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Liuet al\.\(2025\)J\. Liu, K\. Xiong, P\. Xia, Y\. Zhou, H\. Ji, L\. Feng, S\. Han, M\. Ding, and H\. YaoAgent0\-vl: exploring self\-evolving agent for tool\-integrated vision\-language reasoning\.arXiv preprint arXiv:2511\.19900\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Robeynset al\.\(2025\)M\. Robeyns, M\. Szummer, and L\. AitchisonA self\-improving coding agent\.arXiv preprint arXiv:2504\.15228\.Cited by:[§1](https://arxiv.org/html/2610.13025#S1.p1.1),[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2610.13025#S4.SS1.p3.1)\.
- Shaoet al\.\(2024\)Z\. Shao, P\. Wang, Q\. Zhu, R\. Xu, J\. Song, X\. Bi, H\. Zhang, M\. Zhang, Y\. Li, Y\. Wu,et al\.Deepseekmath: pushing the limits of mathematical reasoning in open language models\.arXiv preprint arXiv:2402\.03300\.Cited by:[§3\.3](https://arxiv.org/html/2610.13025#S3.SS3.p1.1)\.
- Singhet al\.\(2024\)A\. Singh, J\. D\. Co\-Reyes, R\. Agarwal, A\. Anand, P\. Patil, X\. Garcia, P\. J\. Liu, J\. Harrison, J\. Lee, K\. Xu,et al\.Beyond human data: scaling self\-training for problem\-solving with language models\.Transactions on Machine Learning Research\.External Links:[Link](https://arxiv.org/abs/2312.06585)Cited by:[§1](https://arxiv.org/html/2610.13025#S1.p1.1),[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Sui and Hooi \(2026\)Y\. Sui and B\. HooiConversation for non\-verifiable learning: self\-evolving llms through meta\-evaluation\.arXiv preprint arXiv:2601\.21464\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Wanget al\.\(2024\)T\. Wang, I\. Kulikov, O\. Golovneva, P\. Yu, W\. Yuan, J\. Dwivedi\-Yu, R\. Y\. Pang, M\. Fazel\-Zarandi, J\. Weston, and X\. LiSelf\-taught evaluators\.arXiv preprint arXiv:2408\.02666\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Wanget al\.\(2026\)W\. Wang, P\. Piękos, L\. Nanbo, F\. Laakom, Y\. Chen, M\. Ostaszewski, M\. Zhuge, and J\. SchmidhuberHuxley\-Gödel Machine: human\-level coding agent development by an approximation of the optimal self\-improving machine\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 80356–80386\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2610.13025#S4.SS1.p3.1)\.
- Wenget al\.\(2026\)Z\. Weng, A\. Antoniades, D\. Nathani, Z\. Zhang, X\. Pu, and X\. E\. WangGroup\-evolving agents: open\-ended self\-improvement via experience sharing\.arXiv preprint arXiv:2602\.04837\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2610.13025#S4.SS1.p3.1)\.
- Wuet al\.\(2025\)R\. Wu, X\. Wang, J\. Mei, P\. Cai, D\. Fu, C\. Yang, L\. Wen, X\. Yang, Y\. Shen, Y\. Wang,et al\.Evolver: self\-evolving llm agents through an experience\-driven lifecycle\.arXiv preprint arXiv:2510\.16079\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Zelikmanet al\.\(2022\)E\. Zelikman, Y\. Wu, J\. Mu, and N\. GoodmanSTaR: bootstrapping reasoning with reasoning\.Advances in Neural Information Processing Systems35,pp\. 15476–15488\.Cited by:[§1](https://arxiv.org/html/2610.13025#S1.p1.1),[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Zhanget al\.\(2026\)J\. Zhang, S\. Hu, C\. Lu, R\. Lange, and J\. CluneDarwin gödel machine: open\-ended evolution of self\-improving agents\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 104223–104294\.Cited by:[§1](https://arxiv.org/html/2610.13025#S1.p1.1),[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2610.13025#S4.SS1.p3.1)\.
- Zhaoet al\.\(2026\)A\. Zhao, Y\. Wu, T\. Wu, Q\. Xu, Y\. Yue, M\. Lin, S\. Wang, Q\. Wu, Z\. Zheng, and G\. HuangAbsolute zero: reinforced self\-play reasoning with zero data\.Advances in Neural Information Processing Systems38,pp\. 105816–105879\.Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.
- Zhonget al\.\(2026\)Q\. Zhong, L\. Ding, J\. Liu, B\. Du, L\. Rutkowski, and D\. TaoBetter, faster: harnessing self\-improvement in large reasoning models\.InForty\-third International Conference on Machine Learning,Cited by:[§2](https://arxiv.org/html/2610.13025#S2.SS0.SSS0.Px1.p1.1)\.相似文章
@Xudong07452910:如今许多 Agent 都在自我进化,大致走两条路径:一条修改模型权重,另一条修改 Harness……
这篇关于 Evo² 的文章提出将自进化 Agent 的两条路径(修改模型权重与修改 Harness)连接起来,让 Proposer 与 Reflector 双角色进入持续训练循环,在 Polyglot 上达到 82.1%、SWE-bench Verified 上达到 48.3%,且演化出的 Harness 可直接迁移复用。
EvoDuet:网络搜索与任务求解的双层协同进化用于科学发现
EvoDuet 提出了一种双层优化框架,在 LLM 参数固定的情况下协同进化解决方案与网络搜索查询,并通过检索门控决定何时获取新文档、何时复用已有文档。在 21 个任务上,它显著提升了 OpenEvolve 的归一化发现增益(例如在 Gemini-3.8-Flash 上从 61.3% 提升至 82.3%),在八个任务上超越了此前的最佳成绩,并在不同的进化搜索脚手架上表现出良好的泛化能力。
Hybrid Open-Ended Tri-Evolution 打造更好的深度研究者
本文提出混合开放式三方进化(HOTE)框架,该框架使用混合模式强化学习协同进化提议者、求解者和评判者,用于深度研究任务,以8B模型实现了超越更大静态模型的最优结果。
EvoMap/evolver
Evolver 是一个由 GEP 驱动的 AI 代理自演化引擎,可自动化提示词优化并创建可审计、可复用的演化资产。该项目正从完全开源过渡到源代码可用,同时保持与现有 MIT 和 GPL-3.0 版本的向后兼容性。
FlowEvo:通过工作流与可执行技能的协同演化实现自演化智能体
FlowEvo是一个免训练框架,使得大语言模型智能体能够在推理时协同演化可复用技能和工作流,在ALFWorld、HumanEval和GSM8K等基准测试中实现了最先进的准确性和效率。