arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.07367cs.AIcs.LGcs.LO
收藏

自主代码进化遭遇NP完全性

Autonomous Code Evolution Meets NP-Completeness

NVIDIA Research(NVIDIA研究)

Cunxi Yu, Rongjian Liang, Chia-Tung Ho, Haoxing Ren

AI总结:

受AlphaEvolve启发,提出SATLUTION框架,将LLM代码进化扩展到完整仓库规模,针对SAT问题进化求解器,在2024基准上超越2024和2025年SAT竞赛人类冠军。

摘要:

大型语言模型(LLM)近期展现出强大的编码能力,不仅能够进行静态代码生成,还能通过智能体框架实现迭代式代码自我进化。最近,AlphaEvolve \n\cite{novikov2025alphaevolve} 证明了基于LLM的编码智能体能够自主改进算法并超越人类专家,但其范围仅限于包含数百行代码的孤立内核。受AlphaEvolve启发,我们提出了SATLUTION,这是第一个将基于LLM的代码进化扩展到完整仓库规模(涵盖数百个文件和数万行C/C++代码)的框架。SATLUTION针对布尔可满足性(SAT)问题——这一经典的NP完全问题,也是理论与应用领域的基石。SATLUTION编排LLM智能体,在严格的正确性保证和分布式运行时反馈下直接进化求解器仓库,同时自主进化其自身的进化策略和规则。从SAT竞赛2024的代码库和基准出发,SATLUTION进化出的求解器在2024年基准上显著超越了SAT竞赛2025的人类设计冠军,同时也超越了2024年和2025年的冠军。

英文摘要:

Large language models (LLMs) have recently shown strong coding abilities, enabling not only static code generation but also iterative code self-evolving through agentic frameworks. Recently, AlphaEvolve \cite{novikov2025alphaevolve} demonstrated that LLM-based coding agents can autonomously improve algorithms and surpass human experts, with scopes limited to isolated kernels spanning hundreds of lines of code. Inspired by AlphaEvolve, we present SATLUTION, the first framework to extend LLM-based code evolution to the full repository scale, encompassing hundreds of files and tens of thousands of lines of C/C++ code. Targeting Boolean Satisfiability (SAT), the canonical NP-complete problem and a cornerstone of both theory and applications. SATLUTION orchestrates LLM agents to directly evolve solver repositories under strict correctness guarantees and distributed runtime feedback, while simultaneously self-evolving its own evolution policies and rules. Starting from SAT Competition 2024 codebases and benchmark, SATLUTION evolved solvers that decisively outperformed the human-designed winners of the SAT Competition 2025, and also surpassed both 2024 and 2025 champions on the 2024 benchmarks.

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

↑