赫胥黎-哥德尔机:通过近似最优自改进机器开发人类水平编码智能体
Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
AI总结:
针对编码智能体自改进潜力与基准性能不匹配的问题,提出基于后代性能聚合的CMP指标与HGM框架,在基准测试中以更低算力超越现有方法,且经优化的智能体达到人类水平编码性能。
摘要:
近期研究通过能够编辑自身代码库的编码智能体将自改进落地实现。这些研究借助倾向于更高软件工程基准性能的扩展策略,构建出一棵自修改树,其假设是基准性能越高意味着后续自修改的前景越好。然而,我们发现智能体的自改进潜力(元生产力)与其编码基准性能之间存在不匹配,即“元生产力-性能不匹配”。受赫胥黎的进化支概念启发,我们提出了一种度量指标($\boldsymbol{\rm CMP}$),该指标聚合智能体所有后代的基准性能,作为其自改进潜力的衡量指标。我们证明,在我们的自改进编码智能体开发场景中,获取真实的$\rm CMP$足以在特定假设下模拟Gödel Machine(哥德尔机)的行为。我们提出了Huxley-Gödel Machine(HGM,赫胥黎-哥德尔机),它通过估算$\rm CMP$并将其作为指导,在自修改树中进行搜索。在SWE-bench Verified和Polyglot基准测试上,HGM的表现优于此前的自改进编码智能体开发方法,同时消耗的分配CPU时长更少。最后同样重要的是,HGM展现出了对其他编码数据集和大语言模型的强迁移能力。经HGM在SWE-bench Verified上用GPT-5-mini优化的智能体,在SWE-bench Lite上用GPT-5评估时达到了人类水平性能,与人工设计的编码智能体经官方核验的最佳结果持平。我们的代码已公开发布于https://github.com/metauto-ai/HGM。
英文摘要:
Recent studies operationalize self-improvement through coding agents that edit their own codebases. They grow a tree of self-modifications through expansion strategies that favor higher software engineering benchmark performance, assuming that this implies more promising subsequent self-modifications. However, we identify a mismatch between the agent's self-improvement potential (metaproductivity) and its coding benchmark performance, namely the Metaproductivity-Performance Mismatch. Inspired by Huxley's concept of clade, we propose a metric ($\mathrm{CMP}$) that aggregates the benchmark performances of the descendants of an agent as an indicator of its potential for self-improvement. We show that, in our self-improving coding agent development setting, access to the true $\mathrm{CMP}$ is sufficient to simulate how the Gödel Machine would behave under certain assumptions. We introduce the Huxley-Gödel Machine (HGM), which, by estimating $\mathrm{CMP}$ and using it as guidance, searches the tree of self-modifications. On SWE-bench Verified and Polyglot, HGM outperforms prior self-improving coding agent development methods while using fewer allocated CPU hours. Last but not least, HGM demonstrates strong transfer to other coding datasets and large language models. The agent optimized by HGM on SWE-bench Verified with GPT-5-mini and evaluated on SWE-bench Lite with GPT-5 achieves human-level performance, matching the best officially checked results of human-engineered coding agents. Our code is publicly available at https://github.com/metauto-ai/HGM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。