HackerPapers

arXiv:2505.22954cs.AI

Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents

Jenny Zhang, Shengran Hu, Cong Lu, Robert Lange, Jeff Clune

Abstract

Today's AI systems have human-designed, fixed architectures and cannot autonomously and continuously improve themselves. The advance of AI could itself be automated. If done safely, that would accelerate AI development and allow us to reap its benefits much sooner. Meta-learning can automate the discovery of novel algorithms, but is limited by first-order improvements and the human design of a suitable search space. The Gödel machine proposed a theoretical alternative: a self-improving AI that repeatedly modifies itself in a provably beneficial manner. Unfortunately, proving that most changes are net beneficial is impossible in practice. We introduce the Darwin Gödel Machine (DGM), a self-improving system that iteratively modifies its own code (thereby also improving its ability to modify its own codebase) and empirically validates each change using coding benchmarks. Inspired by Darwinian evolution and open-endedness research, the DGM maintains an archive of generated coding agents. It grows the archive by sampling an agent from it and using a foundation model to create a new, interesting, version of the sampled agent. This open-ended exploration forms a growing tree of diverse, high-quality agents and allows the parallel exploration of many different paths through the search space. Empirically, the DGM automatically improves its coding capabilities (e.g., better code editing tools, long-context window management, peer-review mechanisms), increasing performance on SWE-bench from 20.0% to 50.0%, and on Polyglot from 14.2% to 30.7%. Furthermore, the DGM significantly outperforms baselines without self-improvement or open-ended exploration. All experiments were done with safety precautions (e.g., sandboxing, human oversight). The DGM is a significant step toward self-improving AI, capable of gathering its own stepping stones along paths that unfold into endless innovation.

arXiv comments
Code at https://github.com/jennyzzt/dgm
Journal reference
DOI
Subjects
cs.AIArtificial Intelligence

On Hacker News

Linked by 5 identifiable commenters in 6 comments across 6 threads, from May 2025 to Apr 2026. Found in 2 HN submissions from May 2025 to Jun 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments6 threads

    • Just because it is a nice meme I want to throw in Schmidhuber's work on (do not treat this comment as serious except you are Schmidhuber himself): * Gödel Machine (2006-2007) [1] * Optimal Ordered Problem Solver (2002) [2] * Meta-Learning and Artificial Curiosity (1990s onward)…

      riedelView on HNParent context

    • If you are interested, here is a link to the technical report: https://arxiv.org/abs/2505.22954 Also the reference implementation on GitHub: https://github.com/jennyzzt/dgm Enjoy!

      hardmaruView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.