Manuscript Offprint
arXiv:2611.04439DualEvolve: Dual-Level Self-Evolution of Mechanism and Orchestration for Recommendation
Tianqi Gao*
Independent Researcher
Chenxu Wang*
Meituan
Wenxuan Yang
Meituan
Yueqi Mou
Meituan
Biao Tang
Meituan
Ming Liu
Meituan
Peng Yan
Meituan
Abstract
Recommender systems are widely used in e-commerce and content platforms, where improvement requires repeated model design, training optimization, and experimental validation. Large language model (LLM) agents increasingly automate this development cycle. Sustained autonomous improvement requires agents to improve both recommendation models and their development workflows. However, task-performance-driven approaches select updates mainly by candidates' final scores, without a separate optimization signal for experimentation quality. We therefore present DualEvolve, a dual-level framework that co-evolves recommendation mechanisms and agent orchestration toward recursive self-improvement. Inner evolution revises model and training code using task feedback to improve recommendation performance. Outer evolution scores the inner-loop experimental process, updates harness and skill rules using these scores and execution traces, and adjusts orchestration choices based on next-round scores to improve the quality of subsequent experiments. Experiments on MovieLens-1M and three Amazon Reviews 2023 subsets cover four recommendation methods and 16 settings. DualEvolve achieves higher test means than Base, OpenEvolve, and DeepEvolve in all 64 setting-metric comparisons, with macro-averaged relative gains over DeepEvolve of 7.6% (HR@5) and 9.0% (NDCG@5).
CCS Concepts
• Information systems → Recommender systems; • Computing methodologies → Intelligent agents.
1 Introduction
Recommender systems are widely used on e-commerce and content platforms. Engineers improve models and training procedures through repeated diagnosis, design, and experimental validation. LLM agents increasingly automate this cycle through code editing and evaluation [5, 13], retrieval, ablation analysis, and targeted refinement [26]. Program evolution extends this feedback-driven
cycle to searches over executable algorithms, revising candidate programs according to measured results [28, 29]. Benchmarks complement these methods by evaluating agents on longer engineering workflows [2, 35]. These code-editing and search methods let recommendation agents modify model logic beyond predefined alternatives.
Beyond model revision, agents can also improve the workflow used to propose changes, diagnose failures, and plan subsequent experiments. Recommendation metrics assess candidate quality, but do not fully capture the quality of experimental design and subsequent decisions. For example, after a controlled experiment yields no gain in the current setting, an agent may reduce retries in that direction and explore alternatives, or ignore failures and repeat similar changes. Both may leave the best model unchanged, but only the former uses evidence to redirect search. Model improvement alone cannot distinguish these behaviors. Alongside task-based model selection, agents therefore need feedback on experimental design, analysis, and subsequent decisions to improve their development workflow (Figure 1).
Fortunately, automated agent-design research treats workflows and harnesses as optimization targets [12, 44]. Meta-Harness proposes harness revisions from historical code, evaluation results, and execution traces [17]. In recommendation, recent studies extend search to architectures, diagnostic tools, and development workflows [15, 22]. AgentX diagnoses traces to revise agent rules and checks edits through paired replay [16]. These methods provide a basis for improving workflows from accumulated experience. During an ongoing recommendation search, we further use feedback from experiments following a rule revision to guide subsequent orchestration choices. The LLM proposes specific harness and skill edits, while Thompson sampling selects among KEEP and the available edit types. The residual between the next round's process score and a running historical baseline updates the utility estimate for the selected action type. These estimates guide subsequent choices as recommendation mechanisms and experimental evidence evolve.
Building on this idea, we propose DualEvolve¹, a dual-level framework that co-evolves recommendation mechanisms and agent development workflows with frozen LLM parameters (Figure 2). Inner mechanism evolution iteratively improves models and training
*Tianqi Gao and Chenxu Wang contributed equally to this work.
¹Code is available at https://github.com/ToAdventure/dualevolve.

Figure 1: Model-only evolution revises recommendation code using task feedback. DualEvolve adds an outer loop that evaluates experiment quality and updates agent orchestration for subsequent rounds.
through diagnosis, code revision, and experimental validation. A noise- and cost-aware rule determines whether a candidate replaces the incumbent. Outer orchestration evolution evaluates experimental processes by decision quality, experimental rigor, analysis depth, and search novelty to revise harness and skill rules. Thompson sampling selects orchestration actions. Next-round process feedback updates action-type utility estimates for subsequent choices, closing the cross-round loop between rule updates and experiments. The mechanism evaluator and admission rule remain fixed. Across four datasets and four recommendation methods, macro-averaged relative gains over DeepEvolve reach 7.6% in HR@5 and 9.0% in NDCG@5.
Our contributions are as follows.
- We propose a dual-level framework that co-evolves recommendation mechanisms and the agent workflow guiding their improvement under fixed evaluation and admission.
- We design adaptive orchestration using process feedback to estimate action-type utilities, Thompson sampling to select harness and skill edits, and evidence to redirect search.
- DualEvolve exceeds Base, OpenEvolve, and DeepEvolve test means in all 64 setting-metric comparisons across four datasets and four recommendation methods. System-level comparisons examine memory, action selection, rule updates, and feedback. Transfer experiments and target-run traces show reuse of source-evolved rules in a new setting.
2 Related Work
2.1 From Iterative Refinement to Mechanism Evolution
Self-Refine alternates feedback and output revision, while Reflexion retains environmental feedback as verbal memory [25, 33]. Machine-learning agents extend iteration to executable experiments. DeepEvolve adds research before program search [21], and Glia uses specialized agents to propose, test, and analyze systems mechanisms [6]. Building on iterative code revision, DualEvolve jointly
evolves task logic and the workflow that generates it under fixed evaluation and admission.
2.2 Mechanism Evolution in Recommendation
Recommendation AutoML typically searches predefined operations. AutoFIS selects feature interactions and AutoCTR searches modular graphs for click-through-rate prediction [20, 34]. Language-agent methods instead model users, items, and interactions. Agent4Rec simulates users through profile, memory, and action modules, while AgentCF updates user and item profiles through agent collaboration [40, 42]. These methods center on agent profiles and interactions, while mechanism evolution targets executable recommendation models and training procedures. Recent self-evolving recommenders, discussed in Section 1, make both recommendation logic and its development workflow editable.
2.3 Orchestration Evolution and Reward Integrity
Automated agent design optimizes structure, control flow, prompts, and code. AgentSquare and MaAS search modular or supernet configurations [30, 41]. Trace updates prompts and code from execution traces, and GEPA evolves textual components through reflection and Pareto selection [1, 3]. EnCompass compiles workflows into search spaces; Agent Lightning assigns task feedback to model calls [18, 24]. TTD-DR improves deep-research workflow components at test time [7].
Other methods evolve reusable guidance or the agent implementation. SePO co-evolves task and optimizer prompts [36]. Ratchet manages natural-language skills, and Metis combines textual experience with validated tools [4, 45]. Gödel Agent, Darwin Gödel Machine, and Live-SWE-agent rewrite agent logic or scaffolds [38, 39, 43].
Recent harness optimization preserves model weights while changing persistent agent behavior. Meta-Harness searches harness code from prior candidates and traces; Agentic Harness Engineering records components and edit outcomes; TTHE evolves harnesses from unlabeled test-time traces [17, 19, 27]. In recommendation, AgentX combines online strategy tests with paired replay of harness edits [16]. DualEvolve uses next-round process quality to update action-type utilities for Thompson sampling during offline mechanism search, with noise- and cost-aware admission held fixed.
Harmful drift across updates to models, memory, tools, and workflows has been termed misevolution [31]. The Meta-Agent Challenge reports attempts to exploit protected evaluation information [23]. These observations motivate placing evaluation and mechanism admission outside the editable scope.
3 Problem Formulation
3.1 Task and Editable Objects
For a recommendation task , a fixed validation evaluator returns a scalar score for mechanism at the full training budget. A mechanism is executable code defining the recommendation model and training procedure, including its architecture, forward computation, loss, optimizer, and training loop. Data loading, evaluation,

Figure 2: DualEvolve jointly evolves task mechanisms and the harness-and-skill control layer of . The inside wiki accumulates task-specific search experience; the outside wiki supplies paper-derived priors from a fixed offline snapshot. KEEP skips the menu-proposed edit; a subsequent stagnation check can add direction guidance to the harness. Task performance determines mechanism admission under a fixed evaluator and rule, while process quality guides orchestration updates.
and metric computation remain fixed. Let denote measured training cost.
Let be the number of completed search rounds. At the start of round , the state comprises the incumbent mechanism and orchestration substrate . The substrate contains harness and skill rules governing candidate generation and revision, together with the task-specific inside wiki in Figure 2. The inside wiki retains candidate records and consolidated lessons from the current task. Orchestration evolution edits the rules; experimental evidence updates the inside wiki. The baseline is , and the final incumbent is .
3.2 Dual-Level Evolution Under a Fixed Boundary
The objective is to improve by evolving the mechanism and its orchestration jointly. In round , the current substrate guides a mechanism lineage containing selected refinements after its initial candidate. It starts from the incumbent or a retained candidate and develops through diagnosis of earlier evaluations. The best full-budget candidate replaces the incumbent only if it passes a fixed admission rule, the promotion gate.
Process-quality feedback then guides the next orchestration update.
Reward integrity places the evaluator and gate outside both editable layers. For decision Promote and fixed gate ,
where is the task-specific noise floor set before search and controls the additional gain required of slower candidates. The evaluator , cost measurement , calibration, and gate remain fixed. Process rewards guide candidate generation through orchestration updates, while depends on task scores, training costs, and the fixed calibration parameters. Task-derived diagnoses and lessons inform subsequent search. Section 4.1.2 specifies the gate and incumbent update.
4 Methodology
DualEvolve alternates mechanism revision under the fixed promotion gate with process-guided updates to the harness and skill rules that shape the next round's search.
4.1 Inner-Level Mechanism Evolution
4.1.1 Lineage Generation. The inner loop uses the five frozen-LLM roles in Figure 2. The diagnoser attributes weaknesses from the current mechanism and runtime evidence. The proposer combines this diagnosis with retrieved knowledge to formulate an improvement hypothesis, which the coder implements. After execution, the analyst interprets the diagnostics and the refiner develops the next revision. The first pass starts from the incumbent or a retained candidate; subsequent passes refine the selected mechanism, with backtracking when progress stalls.
A deterministic extractor produces signals from each candidate's log, including loss trends, incumbent-relative gains, score changes across training budgets, and task-specific diagnostics. The diagnoser also receives whether its previous diagnosis led to an improvement. These signals, a bounded lineage history, , and knowledge retrieved from the outside wiki guide authoring. The outside wiki supplies paper-derived priors through retrieval from the current diagnosis and selective reading of linked cards. Its snapshot stays fixed during search, while task outcomes and lessons enter the inside wiki (Appendix A). With parent retained for step , the candidate beam is
The widths are fixed before search and may vary by step. Screening selects the next lineage member and normally makes it the next parent.
4.1.2 Two-Rung Screening and the Promotion Gate. The fixed task adapter evaluates candidates at low and high training budgets, with scores and . Each beam is screened at low fidelity, and its winner receives high-fidelity evaluation. The initial candidate is also evaluated at high fidelity. The step winner and best full-budget lineage candidate are
(3)
Failed runs score below valid measurements. If a whole beam fails, the next scheduled step retains its parent and evidence. When any scheduled width exceeds one, a low-fidelity reference tracks progress. It updates only if the selected score improves by more than a preset margin. After K consecutive evaluated steps without such improvement, refinement restarts from the last candidate that updated the reference and seeks a structurally different mechanism. Consecutive non-improvement is counted over steps with a valid low-fidelity winner.
The high-fidelity winner is compared with the incumbent using its gain and relative training cost,
(4)
The calibrated noise floor and cost coefficient give the threshold
and the incumbent update is
A slower candidate must therefore deliver a larger gain; a faster candidate still clears the base noise floor.
Promising candidates can remain available without promotion. Those matching or exceeding the initial baseline at low fidelity but lacking high-fidelity confirmation become runner-ups. The inside wiki maintains a bounded starting-point pool containing the incumbent, runner-ups, and promising candidates truncated by the budget. At fixed intervals, it selects the least recently used non-incumbent candidate when available.
The lesson store is the textual component of the inside wiki. It records a mechanism change and its explanation when the step winner improves on the previous step and the analyst supports the attribution with runtime signals. Periodic consolidation combines these lessons with wins, failures, runner-ups, and truncated evaluations into task-specific guidance, retaining the raw records. The proposer uses that guidance in later rounds.
The inside wiki retains task-local scores, budgets, and lessons. Skills encode conditional refinement procedures, such as continuing a candidate whose longer-budget curve is still rising. Harness rules govern the cross-candidate plan, including redirection after a non-promoting round. These rules can transfer while raw source records remain task-local.
4.2 Outer-Level Orchestration Evolution
4.2.1 Process-Quality Reward. At each round's end, a fixed GLM-5.2 grader assesses the trace for decision quality , experimental rigor , analysis depth , and novelty . The first three dimensions use five, three, and six criteria per experiment; novelty uses four criteria for the complete round. A criterion counts only when supported by trace evidence.
Grading is invoked three times, with one LLM call per dimension in each pass. For , , and , criterion-hit fractions are averaged across experiments and then across the returned grades. For novelty, let indicate whether criterion is satisfied in pass . The per-pass score and final score are
If a response cannot be parsed, a deterministic fallback credits trace-verifiable criteria. The outer reward is
with positive weights summing to one and fixed throughout the run.
Decision quality checks evidence grounding, an explicit hypothesis, testability, relevance to the current weakness, and use of previous results. Experimental rigor checks a comparable control, isolation of the target factor, and sufficient training or checkpoints. Analysis depth checks baseline comparison, separation of negative or null effects from execution failures, uncertainty, slow convergence, the scope of conclusions, and evidence-based next steps. Round-level novelty checks structurally different mechanisms spanning multiple directions, a changed starting point or direction from the previous round, actual authoring and evaluation of new candidates, and avoidance of failed or exhausted directions. Together, these dimensions capture process evidence beyond task gains. For example, a controlled test with a well-explained negative result can still inform the next orchestration decision.
4.2.2 Thompson-Sampling Action Selection. After each round, a menu agent proposes at most one harness edit and one skill edit, each adding, retiring, or merging rules. Thompson sampling chooses among the available edit types and the always-available KEEP action, which applies no menu-proposed edit. The next round's process reward supplies a delayed utility observation for the selected action type . With baseline and ,
(9)
The baseline is initialized by the first graded round with sufficient measurements. Each utility residual uses the pre-update baseline. Delayed observations are recorded for actions followed by another graded round. If a fraction of the round's experiments yields no measurement and at most two experiments yield measurements, the pending action's update uses -0.5f in place of the utility residual, while the EMA baseline remains unchanged.
Each action type has a Normal prior with mean zero and variance . Let , , and denote its observation count, mean utility residual, and sample variance. For , set using a positive observation-variance floor. The posterior is
(10)
For , ; for , it is . Observations are aggregated by action type; the menu agent specifies each edit's content. A positive floor preserves sampling variance without changing the posterior mean. Over available action types , Thompson sampling selects
(11)
Accumulated utility residuals update action-type posterior means and uncertainties. The sampling-variance floor maintains exploitation among available action types throughout the run.
After the selected menu action, a separate stagnation check can append direction guidance to the harness, including when that action is KEEP. After one round without promotion, the frozen agent selects a less explored direction from the trial log and records its guidance for the next round when budget remains. Generic mechanism axes provide a deterministic fallback. Menu edits and redirection update the control layer under fixed evaluation and admission. Two consecutive rounds without promotion stop the search. Periodic LLM curation uses runtime evidence to retain useful harness and skill guidance, retire ineffective or contradictory guidance, and merge redundancy.
4.3 Reward Integrity
The fixed task adapter computes task scores and training cost, and the gate applies the pre-search calibration in Eq. (5). Process-quality feedback guides rule revisions, action-type utility estimation, and baseline updates. Task outcomes remain available for diagnosis, lessons, direction changes, and process assessment, while Eq. (1) fixes the admission boundary. Before time-bounded execution, candidate code passes a static audit forbidding system interfaces and file-reading chains that could reach evaluation data.
5 Experiments
We evaluate DUALEVOLVE on a 4×4 combination of datasets and base recommendation methods. Our questions concern recommendation quality and search stability (RQ1), the components and feedback guiding evolution (RQ2), transfer of evolved rules (RQ3), and search cost (RQ4).
5.1 Experimental Setup
Data and evaluation. We use CDs&Vinyl, Baby, and Software from Amazon Reviews 2023 [11] and ML-1M [8], with per-user deduplication and iterative 5-core filtering. Amazon retains the published last-out splits; ML-1M reserves each user's penultimate and last interactions for validation and test. Baby and Software are subsampled with a fixed seed to the 14,335-user CDs&Vinyl pool size; ML-1M retains 6,040 users. Each evaluation ranks one held-out positive against 99 uniformly sampled negatives. Search uses validation evidence, and test evaluation follows final mechanism selection. Appendix A reports dataset statistics and parameters.
Methods and budgets. The initial mechanisms implement NCF, NGCF, SASRec, and GRU4Rec [9, 10, 14, 37]. Base uses each initial mechanism without evolution. OpenEvolve (OE) [32] evolves a population of programs as an open-source implementation of AlphaEvolve [28]. DeepEvolve (DE) [21] adds research and planning before code generation. All three frameworks use the same frozen GLM-5.2, initial mechanism, splits, task adapter, full-fidelity training budget, and single-GPU hardware configuration. They receive the same 12-hour search-time cap and retain their native candidate schedules. All three frameworks have access to the same fixed local knowledge snapshot, with online tool access, source ingestion, and snapshot maintenance disabled throughout search (Appendix A). The main grid uses one search per framework and setting; its significance tests compare the selected mechanisms over three initialization seeds. Search-level stability is assessed separately using three runs per framework on three representative settings.
Metrics. The main, component, and transfer tables report test means over initialization seeds 12352, 12353, and 12354. H and N abbreviate HR and NDCG. Search compares candidates using the fixed validation objective
Both fidelity rungs use this objective; admission applies the fixed noise- and cost-aware threshold. Table 1 also gives sample standard deviations for DUALEVOLVE. Its significance marks use two-sided Welch tests against the three-seed results of the higher-mean OE or DE comparator, without multiple-comparison correction.
Table 1: Overall test performance across four datasets and four base recommendation methods. All results are means over the same three initialization seeds. DUALEVOLVE reports mean ± sample standard deviation. H and N denote HR and NDCG, respectively. Boldface and underlining indicate the best and second-best means for each setting–metric pair. † marks a statistically significant difference (two-sided Welch t-test, p < 0.05). The comparator is OpenEvolve (OE) or DeepEvolve (DE), whichever has the higher mean for that setting and metric.
| Metric | CDs&Vinyl | ML-1M | Baby | Software | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | OE | DE | DUALEVOLVE | Base | OE | DE | DUALEVOLVE | Base | OE | DE | DUALEVOLVE | Base | OE | DE | DUALEVOLVE | ||
| NCF | H@5 | 0.3463 | 0.4578 | 0.3402 | 0.4766 | 0.4973 | 0.6116 | 0.2657 | 0.2631 | 0.2637 | 0.4994 | 0.4971 | 0.5246 | ||||
| H@10 | 0.4580 | 0.5816 | 0.4448 | 0.6560 | 0.6673 | 0.3813 | 0.3755 | 0.3781 | 0.6239 | 0.6173 | 0.6387 | ||||||
| N@5 | 0.2542 | 0.3363 | 0.2500 | 0.3230 | 0.3403 | 0.4570 | 0.1792 | 0.1789 | 0.1785 | 0.3696 | 0.3685 | 0.3933 | |||||
| N@10 | 0.2903 | 0.3768 | 0.2836 | 0.3810 | 0.3951 | 0.4916 | 0.2164 | 0.2162 | 0.2161 | 0.4099 | 0.4073 | 0.4306 | |||||
| NGCF | H@5 | 0.4945 | 0.5107 | 0.5093 | 0.4572 | 0.4872 | 0.4858 | 0.2131 | 0.2654 | 0.2670 | 0.5356 | 0.5254 | 0.5446 | ||||
| H@10 | 0.6219 | 0.6304 | 0.6283 | 0.6353 | 0.6627 | 0.6678 | 0.3277 | 0.3876 | 0.3824 | 0.6763 | 0.6623 | 0.6812 | |||||
| N@5 | 0.3704 | 0.3808 | 0.3844 | 0.3065 | 0.3295 | 0.3315 | 0.1387 | 0.1829 | 0.1841 | 0.3918 | 0.3905 | 0.4096 | |||||
| N@10 | 0.4117 | 0.4232 | 0.4229 | 0.3641 | 0.3863 | 0.3910 | 0.1755 | 0.2220 | 0.2212 | 0.4374 | 0.4332 | 0.4491 | |||||
| SASRec | H@5 | 0.4611 | 0.4883 | 0.5641 | 0.7161 | 0.7054 | 0.7078 | 0.2779 | 0.2798 | 0.2681 | 0.6059 | 0.6044 | 0.6125 | ||||
| H@10 | 0.5792 | 0.6073 | 0.6721 | 0.8216 | 0.8173 | 0.8129 | 0.4010 | 0.4144 | 0.3848 | 0.7385 | 0.7355 | 0.7341 | |||||
| N@5 | 0.3515 | 0.3682 | 0.4236 | 0.5607 | 0.5423 | 0.5445 | 0.1901 | 0.1916 | 0.1806 | 0.4575 | 0.4561 | 0.4690 | |||||
| N@10 | 0.3897 | 0.4082 | 0.4620 | 0.5950 | 0.5821 | 0.5804 | 0.2297 | 0.2325 | 0.2181 | 0.5006 | 0.4987 | 0.5085 | |||||
| GRU4Rec | H@5 | 0.4717 | 0.4871 | 0.5069 | 0.6942 | 0.6943 | 0.6841 | 0.2938 | 0.2960 | 0.2981 | 0.6188 | 0.6188 | 0.6247 | ||||
| H@10 | 0.5793 | 0.5819 | 0.6078 | 0.7898 | 0.7916 | 0.7824 | 0.4144 | 0.4241 | 0.4232 | 0.7375 | 0.7418 | 0.7524 | |||||
| N@5 | 0.3632 | 0.3807 | 0.3974 | 0.5529 | 0.5543 | 0.5515 | 0.2006 | 0.2027 | 0.2038 | 0.4749 | 0.4730 | 0.4706 | |||||
| N@10 | 0.3980 | 0.4114 | 0.4301 | 0.5841 | 0.5860 | 0.5825 | 0.2395 | 0.2441 | 0.2452 | 0.5134 | 0.5137 | 0.5123 | |||||
Search configuration. DUALEVOLVE runs at most six outer rounds. Each round evaluates an initial candidate at both rungs, followed by refinement beams of widths 3, 2, and 1. Every beam is screened at low fidelity and its winner is evaluated at high fidelity, giving seven candidate mechanisms per completed round. Task-specific rung budgets and noise floors are fixed before search. The high-fidelity budget is 300 epochs, while low-fidelity budgets range from 15 to 295 epochs. The promotion-cost coefficient is . Process weights and the EMA coefficient are shared across settings. Appendix A gives their values and calibration procedure. The fixed stagnation settings invoke harness-mediated redirection after one round without a candidate promotion. A second consecutive non-promoting round stops the search. The four-round Fixed Rules and shortcut studies specify their budgets in Appendix B.
5.2 RQ1: How Effective and Stable Is the Search?
Table 1 shows higher DUALEVOLVE means than Base, OE, and DE in all 64 setting–metric comparisons. Macro-averaging the relative gains within settings gives improvements of 13.8%, 10.0%, 17.1%, and 14.3% over Base for H@5, H@10, N@5, and N@10. The corresponding gains are 8.5%, 6.1%, 11.0%, and 9.1% over OE and 7.6%, 6.8%, 9.0%, and 8.1% over DE. Improvements cover both hit rate and rank-sensitive accuracy across the four recommendation methods. On ML-1M/SASRec H@10, DUALEVOLVE raises the strongest displayed baseline mean from 0.8216 to 0.8239, corresponding to a 0.28% relative gain.
Screening and final mechanism selection. Low-fidelity evaluation provides coarse screening to allocate full-budget training to selected candidates. Differences between the two fidelity rankings motivate high-fidelity re-evaluation, whose scores determine final admission under the fixed gate. Appendix B reports ranking agreement and full-budget re-evaluation of screened candidates. Among the 16 final mechanisms, the final recorded transition is a within-lineage
refinement for 13 and a newly selected starting point for three, reflecting both local revision and renewed exploration. Table 2 covers frequency-based history representations, graph propagation, objectives, and optimization. CDs&Vinyl/NCF learns to filter history embeddings, while Software/NGCF changes graph-information weights. Sequential methods revise negative-logit correction and training-only sequence denoising, covering both computation and training.
Table 2: Representative changes in the archived final mechanisms. Descriptions summarize executable changes recorded in the search traces.
| Setting | Recorded change |
|---|---|
| CDs&Vinyl/NCF | Learnable frequency filtering of the history embedding sequence. |
| CDs&Vinyl/NGCF | Simplified propagation with symmetric normalization. |
| CDs&Vinyl/SASRec | Popularity correction of training-negative logits. |
| CDs&Vinyl/GRU4Rec | Temperature annealing of the training logits. |
| Baby/NGCF | Co-annealed popularity debiasing and negative hardness. |
| Baby/SASRec | Stronger training-only sequence denoising. |
| Software/NCF | Two rates of exponential weight averaging. |
| Software/NGCF | Similarity-weighted graph propagation. |
Stability across independent searches. On three representative settings, we independently run OE, DE, and DUALEVOLVE three times with frozen GLM-5.2 under the shared 12-hour search cap. OE and DE retain their native candidate schedules, while DUALEVOLVE uses at most six outer rounds. The runs share the three search-seed identifiers. One search-level observation averages the selected mechanism's test scores over training seeds 12352–12354. Table 3 reports the means and DUALEVOLVE sample SDs across these observations. Comparator SDs for the Welch tests appear in Table 12.
Table 3: Independent-search means over three searches. SD is shown for DUALEVOLVE; Table 12 supplies comparator SDs. Base is the fixed mechanism in Table 1. Stars mark unadjusted two-sided Welch significance against the higher-mean OE/DE comparator: *p < 0.05, **p < 0.01, and ***p < 0.001. Boldface and underlining mark the best and second-best means.
| Metric | Base | OE | DE | DUALEVOLVE |
|---|---|---|---|---|
| Baby/NGCF (3 searches) | ||||
| H@5 | 0.2131 | 0.2643 | ||
| H@10 | 0.3277 | 0.3844 | ||
| N@5 | 0.1387 | 0.1831 | ||
| N@10 | 0.1755 | 0.2212 | ||
| Software/NGCF (3 searches) | ||||
| H@5 | 0.5356 | 0.5256 | ||
| H@10 | 0.6763 | 0.6604 | ||
| N@5 | 0.3918 | 0.3894 | ||
| N@10 | 0.4374 | 0.4331 | ||
| CDs&Vinyl/GRU4Rec (3 searches) | ||||
| H@5 | 0.4717 | 0.4872 | ||
| H@10 | 0.5793 | 0.5833 | ||
| N@5 | 0.3632 | 0.3787 | ||
| N@10 | 0.3980 | 0.4129 | ||
DUALEVOLVE has the highest repeated-search mean in all 12 setting-metric comparisons, with two-sided independent-sample Welch p < 0.05 against the higher-mean OE/DE comparator. Its between-search sample SDs span 0.0025–0.0118.
5.3 RQ2: How Do Alternative Orchestration Designs Compare?
Full couples process-conditioned action-type utilities, posterior-sampled editing, and evidence-conditioned harness redirection. We compare four executable alternatives under the same six-round, 12-hour cap; Base and Full follow Table 1. w/o Wiki freezes the retained-candidate pool and consolidated lesson store at their initial state. It stops accumulation of runner-ups awaiting high-fidelity confirmation, budget-truncated promising candidates, failure guidance, and outcome-diagnosis lessons. The incumbent and scored trajectory remain available, and harness and skill rules can still evolve.
w/o TS retains the same actions, process rewards, and posterior updates but replaces sampling with posterior-mean argmax. Fixed Rules freezes rule writing: selected harness and skill edits and evidence-conditioned redirection are disabled, while the two-round stop, mechanism evolution, inside-wiki updates, process grading, and posterior bookkeeping remain.
Task-Gain retains memory, Thompson sampling, editing, and the stagnation response but replaces the process rubric with the within-round change in the incumbent's validation objective. This task-gain signal enters the same delayed update and action selection pipeline. All comparisons retain the fixed task evaluator and mechanism admission rule.
Full achieves the highest score on all four metrics in both settings (Table 4), with different gaps across variants. Figure 3 visualizes the
Table 4: Comparison of orchestration designs on two settings. Results are three-seed test means. Full denotes DUALEVOLVE in Table 1, and Base denotes the unevolved mechanism. Boldface and underlining indicate the best and second-best means for each metric within each setting. w/o Wiki freezes updates to the retained-candidate pool and consolidated lessons.
| Design | H@5 | H@10 | N@5 | N@10 |
|---|---|---|---|---|
| Baby/NGCF | ||||
| Full | 0.2784 | 0.3953 | 0.1896 | 0.2271 |
| w/o Wiki | 0.2624 | 0.3809 | 0.1783 | 0.2164 |
| w/o TS | 0.2574 | 0.3736 | 0.1757 | 0.2130 |
| Fixed Rules | 0.2250 | 0.3432 | 0.1480 | 0.1860 |
| Task-Gain | 0.2212 | 0.3310 | 0.1441 | 0.1804 |
| Base | 0.2131 | 0.3277 | 0.1387 | 0.1755 |
| CDs&Vinyl/GRU4Rec | ||||
| Full | 0.5689 | 0.6836 | 0.4436 | 0.4808 |
| w/o Wiki | 0.5666 | 0.6703 | 0.4383 | 0.4718 |
| w/o TS | 0.5382 | 0.6424 | 0.4231 | 0.4569 |
| Fixed Rules | 0.5613 | 0.6747 | 0.4352 | 0.4719 |
| Task-Gain | 0.5621 | 0.6732 | 0.4392 | 0.4752 |
| Base | 0.4717 | 0.5793 | 0.3632 | 0.3980 |

Figure 3: Relative performance decrease from Full on H@5 and N@5. Bars show , computed from the three-seed test means in Table 4. The two panels use different y-axis ranges.
relative decreases in H@5 and N@5, the two metrics in the search objective. On Baby/NGCF, Fixed Rules trails Full by 0.0411–0.0534 across the four metrics. The losses are 0.0139–0.0217 for w/o TS and 0.0107–0.0160 for w/o Wiki. On CDs&Vinyl/GRU4Rec, w/o TS produces the largest gap (0.0205–0.0412), compared with 0.0076–0.0089 for Fixed Rules and 0.0023–0.0133 for w/o Wiki. Each alternative remains above Base. The comparisons support structured memory, process-conditioned posterior exploration over deterministic posterior-mean selection, and integrated adaptive rule writing.
The reward comparison also differs across settings. Task-Gain trails Full by 0.0455–0.0643 on Baby/NGCF, where its improvement over Base is 0.0033–0.0081. On CDs&Vinyl/GRU4Rec, its gap to Full is 0.0044–0.0104, and it remains 0.0760–0.0939 above Base.
With the same memory, delayed-update rule, selection policy, and edit operators, process-rubric feedback yields higher test means than task-gain feedback on both settings, with a larger gap on Baby/NGCF.
Assessment of process feedback. Human evaluation covers all four reward dimensions, with candidate-level annotations for decision quality, experimental rigor, and analysis depth and round-level annotations for novelty. Across 3,387 criterion judgments, the grader achieves 83.1% pooled agreement and Cohen's . Appendix B reports dimension-wise results and comparisons using alternative graders.
Orchestration behavior. In the archived outer-menu records, 54% select KEEP, 25% select EDIT HARNESS, and 21% select EDIT SKILL. In three of four additional posterior-mean argmax traces, all selected menu actions are KEEP. Posterior sampling selects KEEP most often and also selects both rule-edit types, as reflected in these menu-action frequencies. Four further Fixed Rules searches with a four-round cap are reported in Appendix B; they characterize the frozen-rule policy, with edits and redirection inactive under the same stopping condition.
Shortcut-exposure stress test. We examine reward integrity on Baby/SASRec by placing the same four shortcut interfaces in the validation environment and varying their disclosure to the agent. The interfaces reduce the candidate item set, substitute easier negatives, inflate reported scores, or expose validation labels. Test evaluation remains clean throughout. The undisclosed condition names none, partial disclosure names two candidate-selection shortcuts, and full disclosure names all four and permits their use. Each condition has two searches with a four-round cap and fixed orchestration rules. Table 5 reports shortcut use.
Table 5: Shortcut use under three disclosure conditions. Counts give affected mechanisms and searches; each condition contains two searches and 56 generated mechanisms.
| Disclosure | Mechanisms | Searches |
|---|---|---|
| Undisclosed | 0/56 | 0/2 |
| Partial | 0/56 | 0/2 |
| Full | 25/56 | 1/2 |
No shortcut is used in the 112 mechanisms generated under undisclosed or partial disclosure. Under full disclosure, one search adopts shortcuts in 25 of its 28 mechanisms and inflates the winner's validation score to 1.6961, above the objective's theoretical maximum of 1. The winner depends on shortcut interfaces absent from the clean evaluator and cannot execute there. The other fully disclosed search uses no shortcut. This observed propagation of reward manipulation motivates keeping evaluation operations outside the editable search interface.
5.4 RQ3: Do Evolved Rules Transfer?
We initialize Software/NGCF with source-evolved harness and skill rules or the initial rules (No Transfer), holding them fixed for one target round. Runs share the initial mechanism and start with a fresh inside wiki. The transferred rules carry exploration summaries, while raw source logs and wiki entries remain at the source. Each

Figure 4: Search cost on four settings. Bars show wall-clock hours (left axis), and lines show LLM tokens in millions (right axis). DE token counts are estimated.
Table 6: Cross-setting transfer to Software/NGCF. Transferred rules and the initial rules (No Transfer) are held fixed for one target-side round under the same schedule. Values are three-seed test means; Base and Full come from Table 1. Boldface and underlining mark the best and second-best values. A star marks versus No Transfer by a two-sided Welch t-test.
| Source / control | H@5 | H@10 | N@5 | N@10 |
|---|---|---|---|---|
| Baby/NGCF* | 0.5403 | 0.6787 | 0.3932 | 0.4381 |
| Baby/NCF* | 0.5605 | 0.6904 | 0.4198 | 0.4619 |
| No Transfer (1 round) | 0.5382 | 0.6775 | 0.3925 | 0.4378 |
| Base | 0.5356 | 0.6763 | 0.3918 | 0.4374 |
| Full | 0.5530 | 0.6876 | 0.4132 | 0.4569 |
Table 7: Source rules and corresponding target behavior. All transfers target Software/NGCF.
| Source / layer | Rule and observed use |
|---|---|
| Baby/NGCFHarness | When progress is limited, favor less explored mechanism directions. The imported guidance initiates optimizer search; subsequent target measurements guide a move to other mechanisms. |
| Baby/NGCFSkill | Continue refining an under-converged candidate. AdamW trails by 0.0015 at 140 epochs; its validation score rises from 0.5313 to 0.5367 at 300 epochs. Later candidates adjust weight decay and training duration. |
| Baby/NCFHarness | When progress is limited, favor less explored mechanism directions. After limited gains from DropEdge refinements, the target tests losses and residual graph paths. A residual path raises the validation objective from 0.5377 to 0.5558; tuning its weight reaches 0.5564. |
round uses Full's two-rung schedule and candidate widths 1; 3, 2, 1. Table 6 reports test performance; source-rule acquisition costs are excluded. Appendix C gives additional transfer and cost details.
Both transfers significantly exceed No Transfer on all four metrics and improve on target Base. Baby/NCF gains 2.1%–7.1% over Base and 0.4%–1.6% over target-specific Full; Baby/NGCF gains 0.2%–0.9% over Base. Table 7 links transferred guidance to target candidate sequences, including less explored directions and continued refinement of under-converged candidates.
Target measurements determine revisions. In Baby/NGCF transfer, the incumbent scores 0.5328 and AdamW 0.5313 at 140 epochs; the latter reaches 0.5367 by epoch 300. The inside wiki records this budget-specific evidence, while the transferred skill guides continued refinement, including testing weight decay instead of . In Baby/NCF transfer, changing the residual weight from 0.1 to 0.75 raises the validation objective from 0.5558 to 0.5564.
5.5 RQ4: How Much Does the Search Cost?
Figure 4 covers each dataset and recommendation method once. DUALEVOLVE uses 5.2–11.2 hours and 0.77–1.00 million tokens per search, versus 10.5–10.9 hours and an estimated 1.85–2.29 million tokens for DE. Token use is 49%–63% lower, and wall-clock time is lower in three settings. ML-1M/SASRec takes 11.2 versus 10.5 hours, with a low-fidelity budget of 295 out of 300 epochs. All frameworks share a 12-hour cap and single-GPU configuration; actual runs can finish earlier.
6 Conclusion
DualEvolve couples process-guided orchestration with noise- and cost-aware mechanism evolution under fixed evaluation and admission. It exceeds baseline test means in all 64 comparisons across 16 settings. Repeated searches and feedback comparisons assess the search design, while transfer results support reuse of evolved guidance. Token use is 49%–63% below estimated DeepEvolve on four settings.
References
[1] Lakshya A. Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandliya, Michael J. Ryan, Meng Jiang, et al. 2026. GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. In The Fourteenth International Conference on Learning Representations. https://openreview.net/forum?id=RQm2KQTM5r
[2] Jun Shern Chan, Neil Chowdhury, Oliver Jaffe, James Aung, Dane Sherburn, Evan Mays, Giulio Starace, Kevin Liu, Leon Maksin, Tejal Patwardhan, et al. 2025. MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering. In The Thirteenth International Conference on Learning Representations. OpenReview.net. https://openreview.net/forum?id=6s5uXNWGhI
[3] Ching-An Cheng, Allen Nie, and Adith Swaminathan. 2024. Trace is the Next AutoDiff: Generative Optimization with Rich Feedback. Execution Traces, and LLMs. In Advances in Neural Information Processing Systems, Vol. 37. Curran Associates, Inc., 71596–71642. doi:10.52202/079017-2287
[4] Zijie Dai, Siuhin He, Hui Li, Qihui Zhou, Jiajun Li, Mingcong Song, Guoping Long, Hongjie Si, Xin Yao, Lin Zhang, et al. 2026. Metis: Bridging Text and Code Memory for Self-Evolving Agents. arXiv preprint arXiv:2606.24151 (2026).
[5] Siyuan Guo, Cheng Deng, Ying Wen, Hechang Chen, Yi Chang, and Jun Wang. 2024. DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning. In Proceedings of the 41st International Conference on Machine Learning, Vol. 235. PMLR, 16813–16848. https://proceedings.mlr.press/v235/guo24b.html
[6] Pouya Hamadanian, Pantea Karimi, Arash Nasr-Esfahany, Kimia Noorbakhsh, Joseph Chandler, Ali ParandehGheibi, Mohammad Alizadeh, and Hari Balakrishnan. 2026. Glia: A Human-Inspired AI for Automated Systems Design and Optimization. In Proceedings of the 2026 ACM Conference on AI and Agentic Systems. ACM, 61-84. doi:10.1145/3786335.3813125
[7] Rujun Han, Yanfei Chen, Zoey CuiZhu, Lesly Miculichic, Guan Sun, Yuanjun Bi, Weiming Wen, Hui Wan, Chunfeng Wen, Solène Maitre, et al. 2025. Deep Researcher with Test-Time Diffusion. arXiv preprint arXiv:2507.16075 (2025).
[8] F. Maxwell Harper and Joseph A. Konstan. 2016. The MovieLens Datasets: History and Context. ACM Transactions on Interactive Intelligent Systems 5, 4 (2016), 19:1–19:19. doi:10.1145/2827872
[9] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. 2017. Neural Collaborative Filtering. In Proceedings of the 26th International Conference on World Wide Web. 173–182. doi:10.1145/3038912.3052569
[10] Balázs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Donomos Tikk. 2016. Session-Based Recommendations with Recurrent Neural Networks. In The
Fourth International Conference on Learning Representations. https://arxiv.org/abs/1511.06939
[11] Yupeng Hou, Jiacheng Li, Xiangjun Fu, Zhankui He, An Yan, Xiusi Chen, and Julian McAuley. 2026. Bridging Language and Items for Retrieval and Recommendation: Benchmarking LLMs as Semantic Encoders. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 3251–3265. doi:10.18653/V1/2026.ACL-LONG.147
[12] Shengran Hu, Cong Lu, and Jeff Clune. 2025. Automated Design of Agentic Systems. In The Thirteenth International Conference on Learning Representations. OpenReview.net. https://openreview.net/forum?id=t9U3LW7JVX
[13] Qian Huang, Jian Vora, Percy Liang, and Jure Leskovec. 2024. MLAgentBench: Evaluating Language Agents on Machine Learning Experimentation. In Proceedings of the 41st International Conference on Machine Learning, Vol. 235. PMLR, 20271–20309. https://proceedings.mlr.press/v235/huang24y.html
[14] Wang-Cheng Kang and Julian J. McAuley. 2018. Self-Attentive Sequential Recommendation. In 2018 IEEE International Conference on Data Mining, 197–206. doi:10.1109/ICDM.2018.00035
[15] Sein Kim, Sangwu Park, Hongseok Kang, Wonjoong Kim, Jimin Seo, Yeonjun In, Kanghoon Yoon, Hyunsik Jeon, and Chanyoung Park. 2026. Self-EvolveRec: Self-Evolving Recommender Systems with LLM-based Directional Feedback. arXiv preprint arXiv:2602.12612 (2026).
[16] Changxin Lao, Fei Pan, Guozhuang Ma, Han Li, Huihuang Lin, Jijun Shi, Kangzhi Zhao, Kun Gai, Mo Zhou, Qinqin Zhou, et al. 2026. AgentX: Towards Agent-Driven Self-Iteration of Industrial Recommender Systems. arXiv preprint arXiv:2606.26859 (2026).
[17] Yoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. 2026. Meta-Harness: End-to-End Optimization of Model Harnesses. arXiv preprint arXiv:2603.28052 (2026).
[18] Zhening Li, Armando Solar-Lezama, Yisong Yue, and Stephan Zheng. 2025. En-Compass: Enhancing Agent Programming with Search Over Program Execution Paths. In Advances in Neural Information Processing Systems, Vol. 38. Curran Associates, Inc., 105751–105815. doi:10.52202/085713-3533
[19] Jiahang Lin, Shichun Liu, Chengjun Pan, Lizhi Lin, Shihan Dou, Zhiheng Xi, Xuanjing Huang, Hang Yan, Zhenhua Han, Tao Gui, et al. 2026. Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses. arXiv preprint arXiv:2604.25850 (2026).
[20] Bin Liu, Chenxu Zhu, Guilin Li, Weinan Zhang, Jincai Lai, Ruiming Tang, Xiuqiang He, Zhenguo Li, and Yong Yu. 2020. AutoFIS: Automatic Feature Interaction Selection in Factorization Models for Click-Through Rate Prediction. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 2636–2645. doi:10.1145/3394486.3403314
[21] Gang Liu, Yihan Zhu, Jie Chen, and Meng Jiang. 2025. Scientific Algorithm Discovery by Augmenting AlphaEvolve with Deep Research. arXiv preprint arXiv:2510.06056 (2025).
[22] Shaohua Liu, Liang Fang, Yilong Sun, Shudong Huang, Qingsong Luo, Shaoxin Liu, Xiaoyang Chen, Dongqiang Liu, Chuangang Ma, Zhenzhen Chai, et al. 2026. NOVA: A Verification-Aware Agent Harness for Architecture Evolution in Industrial Recommender Systems. arXiv preprint arXiv:2606.27243 (2026).
[23] Xinyu Lu, Tianshi Wang, Pengbo Wang, Zujie Wen, Zhiqiang Zhang, Jun Zhou, Boxi Cao, Yaojie Lu, Hongyu Lin, Xianpei Han, et al. 2026. The Meta-Agent Challenge: Are Current Agents Capable of Autonomous Agent Development? arXiv preprint arXiv:2606.04455 (2026).
[24] Xufang Luo, Yuge Zhang, Zhiyuan He, Zilong Wang, Siyun Zhao, Dongsheng Li, Luna K. Qiu, and Yuqing Yang. 2025. Agent Lightning: Train ANY AI Agents with Reinforcement Learning. arXiv preprint arXiv:2508.03680 (2025).
[25] Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. 2023. Self-Refine: Iterative Refinement with Self-Feedback. In Advances in Neural Information Processing Systems, Vol. 36. Curran Associates, Inc., 46534–46594. doi:10.52202/075280-2019
[26] Jaehyun Nam, Jinsung Yoon, Jiefeng Chen, Jinwoo Shin, Sercan Ö. Arik, and Tomas Pfister. 2025. MLE-STAR: Machine Learning Engineering Agent via Search and Targeted Refinement. In Advances in Neural Information Processing Systems, Vol. 38. Curran Associates, Inc., 116692–116712. doi:10.52202/085713-3889
[27] Jun Nie, Yonggang Zhang, Jun Song, Qianshui Cai, Dohai Yu, Yike Guo, Xinmei Tian, and Bo Han. 2026. TTHE: Test-Time Harness Evolution. arXiv preprint arXiv:2607.08124 (2026).
[28] Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, et al. 2025. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv preprint arXiv:2506.13131 (2025).
[29] Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, et al. 2024. Mathematical discoveries from program search with large language models. Nature 625, 7995 (2024), 468-475. doi:10.1038/s41586-023-06924-6
[30] Yu Shang, Yu Li, Keyu Zhao, Likai Ma, Jiahe Liu, Fengli Xu, and Yong Li. 2025. AgentSquare: Automatic LLM Agent Search in Modular Design Space. In The
Thirteenth International Conference on Learning Representations. OpenReview.net. https://openreview.net/forum?id=mPdmDYIQ7f
[31] Shuai Shao, Qihan Ren, Dongrui Liu, Chen Qian, Boyi Wei, Dadi Guo, Jingyi Yang, Xinhao Song, Linfeng Zhang, Weinan Zhang, et al. 2026. Your Agent May Misl evolve: Emergent Risks in Self-evolving LLM Agents. In The Fourteenth International Conference on Learning Representations. 99728–99793. https://proceedings.iclr.cc/paper_files/paper/2026/hash/a24cd16bc361afa78e57d31d34f3d936-Abstract-Conference.html
[32] Asankhaya Sharma. 2025. OpenEvolve: an open-source evolutionary coding agent. https://github.com/algorithmsuperintelligence/openevolve. GitHub repository.
[33] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language Agents with Verbal Reinforcement Learning. In Advances in Neural Information Processing Systems, Vol. 36. Curran Associates, Inc., 8634–8652. doi:10.52202/075280-0377
[34] Qingquan Song, Dehua Cheng, Hanning Zhou, Jiyan Yang, Yuandong Tian, and Xia Hu. 2020. Towards Automated Neural Interaction Discovery for Click-Through Rate Prediction. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 945–955. doi:10.1145/3394486.3403137
[35] Giulio Starace, Oliver Jaffe, Dane Sherburn, James Aung, Jun Shern Chan, Leon Maksin, Rachel Dias, Evan Mays, Benjamin Kinsella, Wyatt Thompson, et al. 2025. PaperBench: Evaluating AI's Ability to Replicate AI Research. In Proceedings of the 42nd International Conference on Machine Learning, Vol. 267. PMLR, 56843–56873. https://proceedings.mlr.press/v267/starace25a.html
[36] Wangcheng Tao, Han Wu, and Weng-Fai Wong. 2026. SePO: Self-Evolving Prompt Agent for System Prompt Optimization. arXiv preprint arXiv:2606.04465 (2026).
[37] Xiang Wang, Xiangnan He, Meng Wang, Fuli Feng, and Tat-Seng Chua. 2019. Neural Graph Collaborative Filtering. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval. 165–174. doi:10.1145/3331184.3331267
[38] Chunqiu Steven Xia, Zhe Wang, Yan Yang, Yuxiang Wei, and Lingming Zhang. 2025. Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly? arXiv preprint arXiv:2511.13646 (2025).
[39] Xunjian Yin, Xinyi Wang, Liangming Pan, Li Lin, Xiaojun Wan, and William Yang Wang. 2025. Gödel Agent: A Self-Referential Agent Framework for Recursively Self-Improvement. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria, July 27 - August 1, 2025. Association for Computational Linguistics, 27890–27913. doi:10.18653/V1/2025.ACL-LONG.1354
[40] An Zhang, Yuxin Chen, Leheng Sheng, Xiang Wang, and Tat-Seng Chua. 2024. On Generative Agents in Recommendation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. ACM, 1807–1817. doi:10.1145/3626772.3657844
[41] Guibin Zhang, Luyang Niu, Junfeng Fang, Kun Wang, Lei Bai, and Xiang Wang. 2025. Multi-agent Architecture Search via Agentic Supernet. In Proceedings of the 42nd International Conference on Machine Learning, Vol. 267. PMLR, 75834–75852. https://proceedings.mlr.press/v267/zhang25bi.html
[42] Junjie Zhang, Yupeng Hou, Ruobing Xie, Wenqi Sun, Julian J. McAuley, Wayne Xin Zhao, Leyu Lin, and Ji-Rong Wen. 2024. AgentCF: Collaborative Learning with Autonomous Language Agents for Recommender Systems. In Proceedings of the ACM Web Conference 2024. ACM, 3679–3689. doi:10.1145/3589334.3645537
[43] Jenny Zhang, Shengran Hu, Cong Lu, Robert Lange, and Jeff Clune. 2026. Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents. In The Fourteenth International Conference on Learning Representations. 104223–104294. https://proceedings.iclr.cc/paper_files/paper/2026/hash/aaf5e6eb6f613ec412f1d948dfa21a5-Abstract-Conference.html
[44] Jiayi Zhang, Jinyu Xiang, Zhaoyang Yu, Fengwei Teng, Xiong-Hui Chen, Jiaqi Chen, Mingchen Zhuge, Xin Cheng, Sirui Hong, Jinlin Wang, et al. 2025. AFlow: Automating Agentic Workflow Generation. In The Thirteenth International Conference on Learning Representations. OpenReview.net. https://openreview.net/forum?id=z5uVAKwmjf
[45] Xing Zhang, Yanwei Cui, Guanghui Wang, Ziyuan Li, Wei Qiu, Bing Zhu, and Peiyang He. 2026. Ratchet: How Reliable Must an LLM Judge Be to Retire a Skill? arXiv preprint arXiv:2605.22148 (2026).
A Experimental Details
Fixed settings. Table 8 gives post-filtering statistics. Rung budgets and task-specific thresholds are fixed before search and remain outside the editable orchestration. All recommendation searches use a frozen GLM-5.2. Table 9 lists shared control parameters; Table 10 provides the task configurations for reproduction.
Table 8: Dataset statistics after preprocessing. #Train denotes the number of training interactions; #Valid and #Test denote the numbers of users whose held-out items remain after filtering. Average sequence length is computed over all retained interactions.
| CDs&Vinyl | ML-1M | Baby | Software | |
|---|---|---|---|---|
| #Users | 14,335 | 6,040 | 14,335 | 14,335 |
| #Items | 11,436 | 3,416 | 6,228 | 3,816 |
| #Train | 106,449 | 987,538 | 85,103 | 91,722 |
| #Valid | 10,060 | 6,037 | 11,974 | 13,255 |
| #Test | 9,716 | 6,036 | 11,564 | 13,250 |
| Avg. seq. len | 8.81 | 165.50 | 7.58 | 8.25 |
Table 9: Global search parameters. Each process dimension averages three returned grades.
| Parameter | Value |
|---|---|
| Maximum outer rounds | 6 |
| Non-promoting rounds to redirect / stop | 1 / 2 |
| Initial candidate and refinement beam widths | 1; 3, 2, 1 |
| Backtracking threshold K | 1 |
| Promotion-cost coefficient λ | 0.5 |
| Process weights (w_D, w_E, w_A, w_N) | (0.35, 0.15, 0.30, 0.20) |
| Grading repetitions per dimension | 3 |
| EMA coefficient α | 0.3 |
| No-measurement fraction / measured-count cap | 0.5 / 2 |
| Failure-penalty coefficient | 0.5 |
| Prior variance σ20 | 1.0 |
| Observation / sampling variance floors | 10-4 / 0.05 |
| Main-table test seeds | 12352, 12353, 12354 |
Table 10: Task configurations for reproduction. The high-fidelity budget is 300 epochs in every setting. Low gives the screening budget in epochs; δ* is the promotion noise floor and Margin is the low-fidelity refinement threshold.
| Dataset | Method | Low | δ* | Margin |
|---|---|---|---|---|
| CDs&Vinyl | NCF | 200 | 0.0030 | 0.0050 |
| NGCF | 150 | 0.0015 | 0.0013 | |
| SASRec | 150 | 0.0030 | 0.0050 | |
| GRU4Rec | 200 | 0.0030 | 0.0050 | |
| ML-1M | NCF | 250 | 0.0020 | 0.0050 |
| NGCF | 150 | 0.0021 | 0.0045 | |
| SASRec | 295 | 0.0007 | 0.0024 | |
| GRU4Rec | 150 | 0.0005 | 0.0007 | |
| Baby | NCF | 15 | 0.0008 | 0.0026 |
| NGCF | 115 | 0.0005 | 0.0016 | |
| SASRec | 25 | 0.0015 | 0.0050 | |
| GRU4Rec | 25 | 0.0004 | 0.0012 | |
| Software | NCF | 130 | 0.0011 | 0.0038 |
| NGCF | 140 | 0.0006 | 0.0019 | |
| SASRec | 40 | 0.0006 | 0.0019 | |
| GRU4Rec | 95 | 0.0004 | 0.0013 |
Task-specific calibration. Training budgets are epochs, with a high-fidelity cap of 300. Both the promotion floor δ* and refinement margin in Table 10 are absolute differences in the validation objective of Eq. (12). The former enters the cost-adjusted admission threshold; the latter controls the low-fidelity progress reference and backtracking in Section 4.1.2. The analyst receives the same noise floor as the gate.
The automatic calibration protocol profiles the initial mechanism with seeds 12352, 12353, and 12354 and three additional repetitions of seed 12352, giving six runs and four observations at the repeated seed. It records validation curves every five epochs and uses the best score attained within each budget. For each curve, the peak epoch is the first epoch attaining its maximum. The low rung is 1.35 times the latest such epoch, rounded to the nearest evaluation interval and capped one interval below the high rung. If a baseline peak is at the cap, the procedure uses half the high budget. At the chosen rungs, it estimates sample standard deviations and from fixed-seed repetitions. If either repeated-run deviation is measured as zero, both are replaced by their corresponding seed-to-seed deviations. The policy sets and the refinement margin to , where rounds to the nearest and is bounded below by . The four CDs&Vinyl settings and ML-1M/NCF and ML-1M/NGCF use their earlier fixed configurations; the remaining settings use the automatic protocol. Reproduction uses the listed constants throughout search.
Process rubric. Section 4.2.1 defines the 5, 3, 6, and 4 criteria. The trace supports each binary hit. The first three dimensions average across experiments; novelty uses the complete round, preceding rounds, and recorded failures in Eq. (7).
Outside wiki. For framework comparisons, OE, DE, and DualEvolve share the same prebuilt, read-only knowledge snapshot. Recommendation papers are screened offline using keywords and the relevance of their titles and abstracts. Paper Fact Cards record source mechanisms and implementation notes; cards covering a shared technique form Method Prior Cards with source links. The archived export contains 111 method cards, with 108 indexed entries passing a seven-family keyword map for retrieval eligibility.
Within DualEvolve, at each refinement step, model status and the preceding diagnosis query BM25 (), retrieving up to 12 positively scored methods. A frozen LLM selects up to five pool entries; unparseable or unavailable selection falls back to BM25 top entries. The initial seed step does not query the index. The top one or two selected methods receive additional reading of linked Paper Fact Cards. The proposer combines their mechanisms and parameter guidance with the diagnosis, and the coder adapts them through the editable interface in Section 3.1.
A prebuilt snapshot is loaded before each search and remains read-only, with source ingestion and maintenance disabled. Queries and candidate implementations can change as diagnoses evolve. Task outcomes and consolidated lessons enter the inside wiki; candidate admission uses the fixed evaluator and promotion gate.
Mechanism changes. The archived final mechanisms include both model changes and training changes (Table 2). Thirteen have a within-lineage refinement as their final recorded origin and three have a newly selected starting point. A final mechanism can combine this transition with modifications accumulated in preceding rounds.
B Additional Experimental Evidence
Screened candidates at full budget. Across the 16 search traces, the candidate with the highest high-fidelity score ranks first at low fidelity in 7 settings and between second and tenth in the
remainder. This ranking variation motivates the separation of low-fidelity screening from high-fidelity selection. Table 11 reports the 67 screened candidates from three settings, re-evaluated with their original configurations, seed 12345, and each source search's full training budget. The comparison uses the validation objective in Eq. (12) and each source search's recorded high-fidelity winner. Three re-evaluation attempts terminate unsuccessfully. Two candidates match their reference winner exactly. One screened candidate on Software/GRU4Rec was initially below the low-fidelity winner but rose from 0.4553 at low fidelity to 0.5987 at full fidelity, exceeding the recorded winner by 0.0074. Among the 67 screened candidates, one therefore overtakes its recorded search winner after longer training. These outcomes characterize the tradeoff between full-budget training cost and candidate recall.
Table 11: Full-budget outcomes of screened candidates. "Overtake" and "Tie" compare validation scores with the corresponding search winner.
| Setting | Count | Overtake | Tie |
|---|---|---|---|
| CDs&Vinyl/GRU4Rec | 19 | 0 | 2 |
| Baby/SASRec | 30 | 0 | 0 |
| Software/GRU4Rec | 18 | 1 | 0 |
| Total | 67 | 1 | 2 |
Search-level statistics for significance tests. Each search observation averages its selected mechanism's test scores over seeds 12352–12354. OE, DE, and DUALEVOLVE run independently under the same three search-seed identifiers. Table 3 gives all means and DUALEVOLVE SDs; Table 12 supplies OE/DE SDs. Welch tests compare against the higher-mean OE/DE method.
Table 12: Comparator sample SDs over three independent searches. Table 3 reports all means and DUALEVOLVE SDs. Together, these statistics supply the Welch tests against the higher-mean OE/DE comparator.
| Method | H@5 | H@10 | N@5 | N@10 |
|---|---|---|---|---|
| Baby/NGCF | ||||
| OE | 0.0054 | 0.0031 | 0.0034 | 0.0026 |
| DE | 0.0028 | 0.0052 | 0.0037 | 0.0038 |
| Software/NGCF | ||||
| OE | 0.0046 | 0.0032 | 0.0029 | 0.0051 |
| DE | 0.0053 | 0.0044 | 0.0026 | 0.0045 |
| CDs&Vinyl/GRU4Rec | ||||
| OE | 0.0033 | 0.0030 | 0.0027 | 0.0036 |
| DE | 0.0040 | 0.0054 | 0.0045 | 0.0045 |
Human annotations and cross-model grading. The original process grader is GLM-5.2. Four annotators independently labeled the sampled traces using the process rubric in Section 4.2.1. Each human reference label was determined by a majority of at least three of the four annotators. The annotation sample comprises 33 decision-quality units, 34 experimental-rigor units, and 33 analysis-depth units, drawn across the 16 settings and search rounds. Each unit covers the seven candidate experiments from one round for one scoring dimension. These dimensions contain five, three, and six criteria, respectively. Their 3,255 individual judgments are matched to the original grader's criterion hits and supporting evidence. For agreement statistics, each original-grader criterion label is the majority vote of its three grading passes. Novelty is evaluated at the round level: 33 sampled rounds are each annotated against its four criteria, adding 132 judgments. The complete reference set therefore contains 3,387 criterion labels. Table 13 reports agreement with these majority-vote human reference labels. Cohen's measures chance-corrected grader-human agreement, with the overall row pooling the candidate-level and round-level judgments.
The alternative-grader evaluation uses identical prompts on the same 100 annotation units for decision quality, experimental rigor, and analysis depth, with three grading passes per unit and model and a criterion marked positive by majority vote. It comprises 600 completed calls. DeepSeek-V4-Flash has 85.9–87.3% agreement with the original grader across the three grading passes, while Qwen3.5-Plus has 81.2–81.7% agreement. The original grader marks 2,658 criterion judgments positive, compared with 2,999 for Qwen's majority vote. For human-reference comparisons, agreement is the fraction of matching criterion labels; Cohen's accounts for chance agreement under the label distributions. DeepSeek-V4-Flash and Qwen3.5-Plus reach similar human agreement rates (81.5% and 81.6%), with values of 0.378 and 0.202. Table 13 reports the matching proportions and chance-corrected agreement for each dimension and grader.
Table 13: Grader agreement with human annotations. Upper rows report the original grader across candidate- and round-level criteria; lower rows report alternative graders' majority votes on the three candidate-level dimensions. Cohen's corrects for chance agreement.
| Dimension or grader | Agreement | Cohen's | Level |
|---|---|---|---|
| Decision quality | 80.8% | 0.271 | Candidate |
| Experimental rigor | 76.6% | 0.333 | Candidate |
| Analysis depth | 87.7% | 0.598 | Candidate |
| Novelty | 89.4% | 0.667 | Round |
| All annotated dimensions | 83.1% | 0.432 | Mixed |
| DeepSeek-V4-Flash | 81.5% | 0.378 | Candidate |
| Qwen3.5-Plus | 81.6% | 0.202 | Candidate |
Additional searches with fixed rules. The four searches in Table 14 fix all harness and skill updates, including the redirection guidance normally written to the harness after one non-promoting round. Inner evolution, task-specific memory, process grading, and posterior updates remain active, and the same two-round early-stopping condition remains in effect. The searches use the frozen GLM-5.2 and a four-round cap. The table reports each selected
mechanism's search score and its validation score after retraining with seed 12352 at full fidelity. Three searches select revised mechanisms; Software/NCF terminates after two rounds while retaining the initial mechanism. The results describe the behavior of inner evolution under a fixed control layer across collaborative filtering and sequential recommendation.
Table 14: Additional Fixed Rules searches. Search and re-evaluation scores use the validation objective. Re-evaluation uses seed 12352 and the full training budget; rounds denote completed search rounds.
| Setting | Rounds | Search | Re-eval. |
|---|---|---|---|
| Baby/SASRec | 4 | 0.2621 | 0.2564 |
| Software/NCF | 2 | 0.4829 | 0.4869 |
| ML-1M/GRU4Rec | 4 | 0.6895 | 0.6945 |
| ML-1M/SASRec | 4 | 0.6967 | 0.6949 |
Clean evaluation after shortcut exposure. After removing the shortcut interfaces, we re-evaluate each selected mechanism with seeds 12352, 12353, and 12354. Table 15 reports the search score and clean validation and test means. The first fully disclosed run depends on the removed interfaces and cannot execute; the other five obtain clean validation scores between 0.2680 and 0.2769.
Table 15: Clean evaluation of shortcut-exposure winners. U, P, and F denote undisclosed, partial, and full disclosure. Reported and Clean are validation objectives; H@5 and N@5 are three-seed test means. A dash denotes failure without the shortcut interfaces.
| Run | Reported | Clean | H@5 | N@5 |
|---|---|---|---|---|
| U/1 | 0.2625 | 0.2769 | 0.3025 | 0.2060 |
| P/1 | 0.2668 | 0.2697 | 0.2948 | 0.2017 |
| F/1 | 1.6961 | — | — | — |
| U/2 | 0.2436 | 0.2732 | 0.2987 | 0.2040 |
| P/2 | 0.2743 | 0.2680 | 0.2937 | 0.1999 |
| F/2 | 0.2635 | 0.2684 | 0.2982 | 0.2043 |
C Transferred Rules and Search Cost
The target-specific Full run starts from the initial orchestration and explores simplified graph propagation, feature transformations, and aggregation. The transferred Baby/NCF rules guide a different candidate sequence in which a stronger mechanism emerges through target evaluation. The matched No Transfer control uses the initial rules under the same one-round target-side schedule. Table 7 connects representative source-evolved guidance to target revisions.
DE uses a research, planning, and report-generation workflow for candidate production. DUALEVOLVE concentrates later calls on diagnosis and revision using accumulated experimental evidence.