We introduce CodeEvolve, an open-source framework that combines large language models (LLMs) with evolutionary search to synthesize high-performing algorithmic solutions. CodeEvolve couples an islands-based genetic algorithm with modular LLM orchestration, using execution feedback and task-specific metrics to guide selection and variation. Exploration and exploitation are balanced through context-aware recombination, adaptive meta-prompting, and targeted refinement of promising solutions. We evaluate CodeEvolve on benchmarks previously used to assess Google DeepMind's AlphaEvolve, showing superior performance on several tasks and competitive results overall. Notably, open-weight models often match or exceed closed-source baselines at a fraction of the compute cost. We provide extensive ablations analyzing the contribution of each component and release our framework and experimental results at https://github.com/inter-co/science-codeevolve.


翻译:本文介绍CodeEvolve,这是一个结合大型语言模型(LLMs)与进化搜索以合成高性能算法解决方案的开源框架。CodeEvolve将基于岛屿模型的遗传算法与模块化LLM编排相耦合,利用执行反馈和任务特定指标来指导选择与变异过程。通过上下文感知重组、自适应元提示以及对有潜力解决方案的定向精化,实现了探索与利用的平衡。我们在曾用于评估Google DeepMind的AlphaEvolve的基准测试上对CodeEvolve进行评估,结果显示其在多项任务上具有优越性能,整体表现具有竞争力。值得注意的是,开源模型仅需少量计算成本,其性能即可匹配甚至超越闭源基线模型。我们提供了详尽的消融实验以分析各组件的贡献,并将框架及实验结果发布于https://github.com/inter-co/science-codeevolve。

0
下载
关闭预览

相关内容

在数学和计算机科学之中,算法(Algorithm)为一个计算的具体步骤,常用于计算、数据处理和自动推理。精确而言,算法是一个表示为有限长列表的有效方法。算法应包含清晰定义的指令用于计算函数。 来自维基百科: 算法
【2020新书】高级Python编程,620页pdf
专知会员服务
240+阅读 · 2020年7月31日
TextInfoExp:自然语言处理相关实验(基于sougou数据集)
全球人工智能
12+阅读 · 2017年11月12日
大数据分析研究组开源Easy Machine Learning系统
中国科学院网络数据重点实验室
17+阅读 · 2017年6月13日
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
14+阅读 · 2015年12月31日
国家自然科学基金
46+阅读 · 2015年12月31日
国家自然科学基金
8+阅读 · 2014年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
VIP会员
相关基金
国家自然科学基金
9+阅读 · 2015年12月31日
国家自然科学基金
14+阅读 · 2015年12月31日
国家自然科学基金
46+阅读 · 2015年12月31日
国家自然科学基金
8+阅读 · 2014年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
Top
微信扫码咨询专知VIP会员