Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
Wenyi Wang, Piotr Piękos, Li Nanbo, Firas Laakom, Yimeng Chen, Mateusz Ostaszewski, Mingchen Zhuge, Jürgen Schmidhuber
International Conference on Learning Representations 2026 · Oral
Overview
The talk introduces the Huxley-Gödel Machine (HGM), a groundbreaking self-improving agent designed to achieve human-level performance in the development of coding agents. Presented by Piotr Piękos and Wenyi Wang, this work addresses a fundamental limitation of modern AI systems: their static nature. Current models are typically trained once and then deployed into complex, dynamic environments that are impossible to fully capture during initial training. This mismatch necessitates a paradigm shift towards systems that can continuously adapt and improve, not just in their knowledge, but in their very capacity to learn and evolve.

Key moments
- 0:00 Introduction: The need for self-improving AI
- 2:00 Self-improvement, intelligence explosion, and Godel Machine
- 3:20 Limitations of current self-improvement methods
- 4:10 Introducing Huxley-Gödel Machine and CMP metric
- 5:30 CMP's theoretical link to optimal Godel Machine
- 6:50 HGM's experimental results: Outperforming prior methods
- 7:50 HGM achieves human-level coding agent performance
- 8:10 Q&A: Expanding metrics beyond raw performance
Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
Speakers: Wenyi Wang, Piotr Piękos, Li Nanbo, Firas Laakom, Yimeng Chen, Mateusz Ostaszewski, Mingchen Zhuge, Jürgen Schmidhuber
Conference: ICLR 2026
YouTube: https://slideslive.com/39062230
Overview
The talk introduces the Huxley-Gödel Machine (HGM), a groundbreaking self-improving agent designed to achieve human-level performance in the development of coding agents. Presented by Piotr Piękos and Wenyi Wang, this work addresses a fundamental limitation of modern AI systems: their static nature. Current models are typically trained once and then deployed into complex, dynamic environments that are impossible to fully capture during initial training. This mismatch necessitates a paradigm shift towards systems that can continuously adapt and improve, not just in their knowledge, but in their very capacity to learn and evolve.
HGM tackles this challenge by framing self-improvement as a principled search process guided by a novel metric, CMP (Conditional Mean Performance), which estimates an agent's long-term improvement potential rather than just its immediate performance. By approximating the theoretical Godel Machine, HGM represents a significant step towards realizing truly autonomous and adaptive AI. The work demonstrates that HGM-discovered agents can outperform even human-engineered coding solutions and generalize across various benchmarks, offering a glimpse into a future where AI systems can recursively enhance their own capabilities, potentially leading to an "intelligence explosion."
The significance of the Huxley-Gödel Machine lies in its potential to unlock a new era of AI development where systems are not limited by their initial design or training data. In a world too complex and dynamic for any fixed design, the ability of an AI to learn how to learn, and to improve its own learning process, becomes paramount. HGM provides a concrete, empirically validated framework for achieving this, moving beyond theoretical constructs to deliver practical, superior performance in a demanding domain like coding agent development. This research pushes the boundaries of meta-learning and self-modifying systems, addressing a core challenge identified by leading AI researchers.
Background
▶ Watch: Introduction: The need for self-improving AI (0:00)
Modern AI systems, particularly large language models (LLMs), have achieved remarkable feats, yet they fundamentally operate as static entities. Once trained, their knowledge and capabilities are fixed. This poses a significant problem in the "big world," a concept emphasized by Richard Sutton in his 2025 NeurIPS keynote, describing environments too complex, large, and dynamic to be fully modeled or anticipated during training. In such a world, a fixed design is inherently insufficient; systems must adapt. This need for adaptation extends beyond mere knowledge acquisition to the very process of learning itself, a phenomenon observed in humans, who constantly refine their learning methods (e.g., adapting to new tools like ChatGPT for educational purposes).
This human capacity for "learning how to learn" is known as meta-learning in AI research. In standard machine learning, a designer specifies a learning algorithm. In meta-learning, the learning algorithm itself is learned, albeit guided by a higher-level algorithm specified by the designer. The natural extension of this idea is a recursive hierarchy where each level optimizes the one below it. The ultimate question then becomes: what happens if this loop is closed, making the learning procedure and the learning system one and the same? This concept is self-improvement.
Self-improvement creates a positive feedback loop: better systems can produce even better systems, and each improvement not only enhances task performance but also the system's ability to improve itself. This recursive self-enhancement, in its theoretical limit, could lead to rapidly accelerating progress, a concept first described by I.J. Good in 1966 as the "intelligence explosion." Early pioneering work by Jürgen Schmidhuber implemented the idea of recursive self-improvement, which later led to the principled formulation of the Godel Machine. The Godel Machine conceptualizes the system as a program that searches for modifications to its own code. Critically, it applies a modification only if it can formally prove that the change will improve its future performance, taking into account all subsequent self-modifications of both the modified and unmodified systems. This long-term, provable benefit is a hallmark of the Godel Machine.
More recently, attempts at self-improvement have emerged with LLMs on coding agents. These approaches typically involve agents iteratively modifying their own code and retaining changes if they prove beneficial on a given benchmark. Examples include self-improving coding agents guided by benchmark performance, and the Darwin-Godel Machine, which frames self-modification as a search process also guided by benchmark outcomes. However, a critical limitation across these existing methods is their reliance on immediate benchmark performance as the signal for improvement. The underlying assumption is that strong coding performance on a benchmark directly correlates with the potential for future self-improvement. Empirical analysis, as highlighted by the HGM researchers, reveals this correlation to be weak; systems that are currently good at coding do not necessarily exhibit a strong capacity for producing future improvements. This disconnect between short-term performance and long-term evolutionary potential is precisely the gap the Huxley-Gödel Machine aims to bridge.
Key Findings
▶ Watch: Limitations of current self-improvement methods (3:20)
The Huxley-Gödel Machine presents several pivotal contributions and empirical findings that advance the field of self-improving AI:
- Introduction of CMP (Conditional Mean Performance): HGM introduces a novel metric, CMP, which measures an agent's effectiveness at producing future self-improvements, rather than just its current performance. This metric is defined as the expected best agent performance in the subtree rooted at the agent, capturing a long-term notion of value that is empirically shown to be much better aligned with the real objective of self-improvement.
- Approximation of the Optimal Godel Machine: The theoretical core of HGM demonstrates that CMP corresponds to the Q-function of the optimal Godel Machine. This provides a principled, theoretically grounded framework for self-improvement. While true CMP is intractable, HGM approximates it statistically, realizing the original vision of self-improving agents in a practical setting.
- Superior Performance on Coding Benchmarks: Empirically, HGM consistently outperforms existing self-improving methods for searching coding agents across various benchmarks. It not only discovers stronger agents but also does so more efficiently, showcasing its effectiveness in optimizing the self-improvement process.
- Human-Level Performance and Generalizability: A key result is HGM's ability to discover agents that compete with, and in some cases outperform, the best officially verified human-engineered coding agents. Crucially, these HGM-discovered agents demonstrate strong generalizability, performing well even when tested on different benchmarks and with different underlying LLMs, suggesting they learn fundamental principles rather than overfitting to specific tasks or environments.
- Improved Correlation with Self-Improvement Potential: HGM's expansion guidance signal, based on its CMP estimate, shows a significantly stronger correlation with an agent's true effectiveness in producing self-improvements compared to raw performance metrics used by prior methods. This validates the core hypothesis that a long-term oriented metric is essential for effective self-improvement.
Technical Deep Dive
▶ Watch: CMP's theoretical link to optimal Godel Machine (5:30)
The Huxley-Gödel Machine formalizes self-improvement as a tree search process. At each step, the algorithm can perform one of two actions:
- Expand: Select an existing agent and allow it to produce a self-modification, which becomes a child node in the search tree.
- Evaluate: Test an existing agent on one or more tasks to gather more performance data.
The central challenge is how to intelligently allocate the limited budget for expansion and evaluation. The core idea behind HGM is to differentiate between agents that perform well now on benchmarks and agents that are good at producing future self-improvements. An agent might have high current performance but generate weak descendants, making it a poor candidate for expansion.
To address this, HGM introduces CMP (Conditional Mean Performance). More precisely, CMP for an agent is defined as the expected best agent performance in the subtree rooted at that agent, assuming it is chosen now for producing a self-modification. This metric includes future nodes, emphasizing the long-term utility of an agent as a starting point for further evolution, not just its immediate prowess. CMP thus captures a long-term notion of value, aligning it much better with the true objective of self-improvement.
The main theoretical insight of HGM is that CMP corresponds to the Q-function of the optimal Godel Machine. In the context of reinforcement learning, the Q-function estimates the expected future reward for taking a particular action in a given state. Here, choosing an agent for self-modification is an "action," and CMP quantifies the long-term utility (future performance) resulting from that choice. Under specific technical assumptions, access to the true CMP is sufficient to implement the optimal Godel Machine, providing a rigorous foundation for HGM.
In practice, the true CMP is intractable to calculate. HGM therefore relies on statistical estimation of CMP. This estimation is based on a weighted average of existing evaluations within the subtree rooted at an agent. Crucially, the evaluation policy allows for placing more weight on higher-performing descendants, effectively recovering a "max operator" in the CMP estimation. This means the estimator is biased towards identifying the potential for strong future agents, not just the average performance. This estimated CMP then serves as the primary signal to guide which agent should be expanded next in the search tree. HGM, therefore, replaces the intractable proof-based criteria of the theoretical Godel Machine with this empirically estimated, long-term utility metric, hence approximating the Godel Machine.
The search process itself is framed as two joint multi-armed bandit problems:
- Which existing agent should be expanded to produce better self-improvements? (Exploration of new branches)
- Which existing agent should be evaluated more to better estimate the best-performing agent? (Refinement of existing branch evaluations)
These decisions are guided by the CMP estimate and the observed benchmark outcomes. Each time an agent is expanded, a descendant is created, which becomes a new candidate "arm" in the bandit problem. HGM utilizes Thompson sampling in a novel way to handle both these expansion and evaluation problems simultaneously. Thompson sampling, a Bayesian approach for balancing exploration and exploitation, naturally fits this scenario by sampling from the posterior distribution of expected rewards (in this case, CMP values) to make decisions, thereby managing the uncertainty inherent in both expanding new agents and evaluating existing ones. This integrated approach allows HGM to efficiently navigate the vast search space of potential self-modifications, prioritizing agents with high long-term improvement potential.
Experimental Setup & Results
▶ Watch: HGM's experimental results: Outperforming prior methods (6:50)
The experimental validation of the Huxley-Gödel Machine was structured to address several key questions regarding its effectiveness and underlying principles.
1. Correlation between Guidance Signals and Empirical CMP:
The first set of experiments focused on validating the core hypothesis that HGM's CMP estimate provides a superior signal for self-improvement compared to raw performance. Researchers measured the correlation between various expansion guidance signals (e.g., immediate benchmark performance of an agent vs. HGM's CMP estimate) and the empirical CMP – a proxy for the true long-term improvement potential observed over many self-improvement steps. The results showed that while raw performance was related to future improvement potential, the correlation was not strong. In contrast, HGM's CMP estimate demonstrated a significantly stronger alignment with the agents' actual effectiveness in producing future self-improvements. This finding provides crucial empirical support for HGM's foundational metric.
2. Comparison Against Prior Self-Improving Methods:
Next, HGM was benchmarked against existing self-improving methods for searching coding agents. These comparisons were conducted across different coding benchmarks (though specific benchmark names were not detailed in the transcript, the plural "benchmarks" implies a suite of tasks). The results consistently showed that HGM found stronger agents. Furthermore, HGM proved to be more efficient than prior self-improvement methods, meaning it achieved higher quality agents with fewer computational resources or in less time, highlighting the efficacy of its principled search strategy guided by CMP.
3. Human-Level Performance and Generalization:
Perhaps the most compelling experimental result addressed a "stronger question": can HGM discover agents that compete with human-designed ones, and do these agents generalize? To answer this, agents discovered by HGM were tested on other benchmarks and with different Large Language Models (LLMs) than those used during their self-improvement process. The findings were striking: the HGM-discovered agents not only competed with but often outperformed the best officially verified human-engineered coding agents. This suggests that HGM is not merely overfitting to specific benchmarks or underlying LLMs but is discovering more fundamental and generalizable principles for coding agent development.
Regarding the nature of the benchmarks, an audience question probed whether metrics beyond raw performance, such as code maintainability, were considered. The speakers acknowledged that current benchmarks primarily focus on functional correctness and performance, not maintainability, which is a harder metric to quantify. However, they emphasized that the HGM algorithm is generic; if a benchmark that accurately measures maintainability (or any other desired metric) were available, the algorithm could optimize for that metric directly by simply replacing the performance signal. While the code produced was inspected and found "somewhat readable" by human evaluation, this remains an area for future research and benchmark development.
Overall, the experimental results robustly support the claims of the Huxley-Gödel Machine: its novel long-term metric (CMP) effectively guides self-improvement, leading to the discovery of highly capable and generalizable coding agents that surpass both prior AI self-improvement techniques and human engineering efforts.
Practical Implications
▶ Watch: Q&A: Expanding metrics beyond raw performance (8:10)
The Huxley-Gödel Machine carries profound practical implications for the development and deployment of AI systems, particularly in complex and dynamic domains like software engineering.
Firstly, HGM offers a viable path towards truly adaptive and autonomous AI development. By enabling systems to improve not just what they know but how they learn and evolve, it moves beyond the limitations of static, pre-trained models. This is crucial for applications in the "big world" where no human designer can anticipate every future scenario or requirement. Infrastructure teams and model deployers could leverage HGM to develop agents that continuously optimize themselves in production environments, reducing the need for constant human intervention and re-training cycles.
For model builders and practitioners, HGM provides a principled framework for meta-learning and self-improvement. The introduction of CMP as a long-term evaluation metric offers a concrete alternative to short-sighted benchmark chasing. This means that instead of optimizing for immediate performance, developers can design systems that inherently seek out pathways for sustained growth and capability enhancement. This shifts the focus from building the best current model to building the best learning system. The generic nature of the algorithm also means it's not limited to coding agents; it could be applied to other domains if suitable long-term evaluation metrics and environments can be defined.
However, there are tradeoffs and limitations. The computational cost associated with long-term evaluation, especially in a tree search framework like HGM, can be significant. Estimating CMP requires observing or simulating future self-modifications, which can be resource-intensive. Practitioners would need to carefully balance the depth and breadth of the search with available computational budgets. Furthermore, the effectiveness of HGM heavily relies on the quality and alignment of the evaluation benchmarks. As noted in the Q&A, current coding benchmarks often lack metrics for "human-centered" qualities like code maintainability or readability. While the algorithm is generic, the challenge lies in designing benchmarks that accurately reflect these complex, multi-faceted objectives.
The ability of HGM to discover agents that outperform human-engineered ones also has implications for the future of AI-assisted development. It suggests a future where AI systems can autonomously generate and refine highly optimized solutions, potentially accelerating innovation cycles and tackling problems currently beyond human capacity. This could lead to a significant increase in productivity for software development teams, with AI acting not just as a tool, but as a co-developer that can learn and improve its own development process.
In essence, HGM provides a blueprint for building AI systems that are not just intelligent, but self-improving and self-reliant. It moves the field closer to realizing the vision of the Godel Machine, where AI can recursively enhance its own intelligence, potentially leading to an "intelligence explosion" and fundamentally changing how we approach AI design and deployment.
Key Takeaways
- Self-improvement is critical for AI in dynamic "big world" environments: Static AI systems fail to adapt to unpredictable, complex realities; continuous self-improvement is essential for long-term intelligence.
- Huxley-Gödel Machine (HGM) introduces a novel long-term metric (CMP): Unlike prior methods relying on immediate benchmark performance, HGM uses Conditional Mean Performance (CMP) to evaluate an agent's potential for producing future self-improvements, which is empirically better aligned with sustained progress.
- HGM approximates the optimal Godel Machine: The theoretical framework shows CMP corresponds to the Q-function of the optimal Godel Machine, providing a principled method for practical self-improvement.
- HGM outperforms existing self-improving methods: Through a sophisticated search process combining Thompson sampling and CMP-guided expansion/evaluation, HGM discovers stronger and more efficient coding agents.
- HGM achieves human-level performance and strong generalization: Agents discovered by HGM can outperform human-engineered solutions and generalize effectively across different benchmarks and underlying LLMs, indicating the discovery of fundamental principles.
- The algorithm is generic but relies on robust benchmarks: While HGM can optimize for any measurable metric, the practical adoption for complex objectives like code maintainability requires the development of suitable and quantifiable benchmarks.
About the Speaker(s)
The talk was primarily presented by Piotr Piękos and Wenyi Wang. Both speakers are currently finishing their PhDs and will soon be entering the industry and academia market. Their work on the Huxley-Gödel Machine is a significant contribution to the fields of self-improving AI and meta-learning, building upon the foundational concepts of the Godel Machine developed by their co-author, Jürgen Schmidhuber, a renowned figure in AI research. The team includes Li Nanbo, Firas Laakom, Yimeng Chen, Mateusz Ostaszewski, and Mingchen Zhuge, indicating a collaborative effort across a group of accomplished researchers.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026