用群体演化策略让代码研究智能体持续探索更多方向
GEAR: Genetic AutoResearch for Agentic Code Evolution

- 用多候选方案替代单一路径搜索,保留多种改进方向
- 在相同算力下,三种版本均超越基线,且长期持续优化
- 适合想提升自主研究智能体持续创新能力的开发者
自主研究智能体已能无监督运行机器学习实验,但多数依赖狭窄的搜索策略:反复修改单个程序,仅保留优于当前最优的结果。这会导致放弃有用的局部思路、潜在新方向以及失败实验中的洞见。本文提出GEAR(遗传式自动研究),以群体化搜索替代单一路径。它维护一组强候选解,基于生产力、新颖性和覆盖度选择父代,并通过变异和交叉探索新想法。每个研究状态记录代码变更、反思与性能数据,使后续决策可依托过往发现。论文评估了三种GEAR变体:提示控制、固定程序控制器,以及控制器可自演化者。在相同算力与环境条件下,三者均优于基线。更重要的是,基线易陷入局部最优,而GEAR能持续发现改进。结果表明,保持多个有潜力方向并动态调整搜索策略,显著提升自主研究智能体效能。
原文摘要 · Abstract (English)
Autonomous research agents can already run machine learning experiments without human supervision, but many rely on a narrow search strategy: they repeatedly modify one program and keep changes only when they improve the current best result. This can cause them to discard useful partial ideas, alternative promising directions, and insights from failed or incomplete experiments. GEAR, or Genetic AutoResearch, replaces this single-path search with a population-based search over multiple research states. It keeps a set of strong candidate solutions, selects parents based on productivity, novelty, and coverage, and explores new ideas through mutation and crossover. Each research state stores its code changes, reflections, and performance data, allowing future decisions to build on past discoveries. The paper studies three versions of GEAR: one controlled through prompting, one using a fixed programmatic search controller, and one where the controller itself can evolve during the run. Under the same compute budget and environment, all three versions outperform the AutoResearch baseline. More importantly, while the baseline tends to settle into one local optimum, GEAR continues finding improvements over longer runs. Overall, the results suggest that autonomous research agents become more effective when they maintain multiple promising directions and can adapt their search strategy over time.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。