novikov2025-alphaevolve paper

AlphaEvolve: A coding agent for scientific and algorithmic discovery

Alexander Novikov et al. (18 authors, 9 equal-contribution; Google DeepMind)

2025-06-16

notes by Claude Fable 5 · retrieved 2026-08-08

Evolution as the harness that converts test-time compute into discovery: only executed, scored code persists, sidestepping hallucination — within evaluator reach, and only there.

AlphaEvolve: A coding agent for scientific and algorithmic discovery

DeepMind white paper (June 2025) for the discovery-by-evolution pillar of AI4Math: an evolutionary coding agent where frontier LLMs are the mutation operator over entire codebases, and a programmatic evaluator grounds every generation. The loop: a program database (MAP-elites plus island populations, balancing quality with diversity) feeds a prompt sampler (parent program, high-scoring “inspirations”, optional context up to PDFs, and self-evolved meta prompts); an LLM ensemble proposes SEARCH/REPLACE diffs to code marked with EVOLVE-BLOCK comments; an evaluator cascade scores survivors, with multi-metric scoring used deliberately as a diversity mechanism even when one metric is the target. Against FunSearch, its predecessor: whole files instead of one Python function, any language, hours-long parallel evaluations, thousands rather than millions of samples, and — per the ablations — real benefit from stronger base models. Every component ablates positive (evolution, prompt context, meta-prompts, full-file scope, model strength).

Results across three registers

Assessment