Mendel Gödel Machine: Recursive Self-Improving Coding Agents via Comparative Evolution
Abstract
Mendel Gödel Machine improves self-improving coding agents by using multi-trajectory mutations and cross-lineage hybridization to accelerate convergence and boost performance.
Self-improving coding agents that iteratively rewrite their own source code have demonstrated impressive performance on coding tasks. However, existing solutions generally derive self-modification from a single failure trajectory at a time, overlooking rich comparative signals available in the agent's expanding archive of past attempts. According to Mendelian principles of controlled inheritance, we introduce Mendel Gödel Machine (MGM). In addition to the general single-trajectory clonal mutation, MGM includes two new types of self-modification that better utilizes evidences accumulated: the reaction-norm mutation edits an agent based on its trajectories on multiple tasks simultaneously, and the cross-lineage hybridization edits an agent using the trajectory of a reference agent from another lineage on the same task. Under an additive fitness landscape model, we prove theoretically and demonstrate via controlled surrogate simulation that the new strategies facilitate a faster and better convergence over single-trajectory baselines. Experiments on SWE-bench and Polyglot confirm MGM's consistent improvement in performance, efficiency, and generalizability.
Community
Excited to share Mendel Gödel Machine (MGM)! 🧬
Recent self-evolving agents have shown that agents can improve themselves through iterative evaluation and modification. But in many existing systems, each evolution step is still driven by only a single evaluation trajectory, while a large amount of informative experience generated during evaluation is left unused. At the same time, tree-based evolution naturally organizes agents into separate lineages, making it difficult for valuable discoveries from one branch to benefit others.
MGM is motivated by a simple idea: self-evolution should learn from the broader evolutionary process, not just from one local failure. By better exploiting comparative signals across evaluation trajectories and enabling information transfer across lineages, we aim to make each evolution step more informed, efficient, and reliable.
Our key question is no longer just “Can agents evolve?”, but “How can they evolve with higher quality—and ultimately scale self-evolution?”
Get this paper in your agent:
hf papers read 2608.07645 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper