arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.20086cs.NEcs.AIcs.LG
收藏

进化编码代理进化什么?

What Do Evolutionary Coding Agents Evolve?

Zuse Institute Berlin(柏林Zuse研究所);Technical University of Berlin(柏林技术大学);Hong Kong Baptist University(香港 Baptist大学);RIKEN Center for Advanced Intelligence Project(RIKEN高级智能项目中心)

Nico Pelleriti, Sree Harsha Nelaturu, Zhanke Zhou, Zongze Li, Max Zimmer, Bo Han, Sebastian Pokutta

AI总结:

本文研究了进化编码代理在数学发现和算法设计中通过任务特定反馈生成、修改和选择代码的过程,通过EvoTrace数据集和EvoReplay方法分析了进化过程中的机制,发现大部分得分提升来自少数几种编辑类型,并发现存在确定性的循环模式。

摘要:

最近的研究将大型语言模型与进化搜索结合,通过任务特定反馈迭代地生成、修改和选择代码。这些系统在数学发现和算法设计中取得了显著成果,但一个基本问题仍然存在:它们实际上进化了什么?进展通常通过任务特定评估器下最佳得分来总结,但该得分可能反映多种不同的机制:新的算法结构、重新调整现有策略、重新组合已存在于模型内部知识中的想法,或过度拟合评估器。区分这些机制需要检查搜索过程本身,而不是仅其最终结果。我们引入了EvoTrace,一个涵盖四个进化框架、推理和非推理模型以及16个数学和算法设计任务的进化编码轨迹数据集。为了分析这些轨迹,我们开发了EvoReplay,一种基于回放的方法,可以重建高分解决方案背后的局部搜索状态,并测试受控干预,包括调整常数、删除程序组件和替换模型或提示上下文。我们使用LLM-as-judge流程对EvoTrace中的每个代码编辑注释为九种 recurring 编辑类型之一,并通过盲人人工重新注释验证了该流程。在EvoTrace中,大部分得分提升来自少数几种编辑类型。我们进一步发现一种确定性的循环模式:大约30%的搜索过程中添加的代码行是字节相同的重新引入先前删除的行,几乎在每个运行中都存在。这些结果表明,进化编码代理的基准提升可能来自质的不同机制,其中只有某些机制对应于新的算法结构。EvoTrace使进化编码代理的评估超越了最终基准得分。

英文摘要:

Recent work pairs LLMs with evolutionary search to iteratively generate, modify, and select code using task-specific feedback. These systems have produced strong results in mathematical discovery and algorithm design, yet a fundamental question remains: what do they actually evolve? Progress is typically summarized by the best score a run reaches under a task-specific evaluator, but that score can reflect several different mechanisms: new algorithmic structure, re-tuning an existing strategy, recombining ideas already in the model's internal knowledge, or overfitting to the evaluator. Distinguishing these mechanisms requires inspecting the search process itself, not only its final outcome. We introduce EvoTrace, a dataset of evolutionary coding traces spanning four evolutionary frameworks, reasoning and non-reasoning models, and 16 tasks across mathematics and algorithm design. To analyze these traces, we develop EvoReplay, a replay-based methodology that reconstructs the local search states behind high-scoring solutions and tests controlled interventions, including adjusting constants, removing program components and substituting models or prompting contexts. We annotate every code edit in EvoTrace with one of nine recurring edit types using an LLM-as-judge pipeline validated against blind human re-annotation. Across EvoTrace, most score gains come from a small subset of these edit types. We further find a deterministic cycling pattern: about 30% of code lines added during search are byte-identical re-introductions of previously-deleted lines, present throughout nearly every run. These results show that benchmark gains in evolutionary coding agents can arise from qualitatively different mechanisms, only some of which correspond to new algorithmic structure. EvoTrace enables more diagnostic evaluation of evolutionary coding agents beyond final benchmark scores.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑