DeltaEvolve: Accelerating Scientific Discovery through Momentum-Driven Evolution

Jiachen Jiang, Tianyu Ding, Zhihui Zhu

Introduction

Large Language Models (LLMs) are increasingly being deployed as "evolutionary agents" to automate scientific discovery. By iteratively writing code—such as novel optimization algorithms or physics solvers—evaluating its performance, and refining it based on feedback, these agents can autonomously navigate complex problem spaces.

However, state-of-the-art systems like AlphaEvolve face a critical bottleneck: they rely on feeding the LLM the full source code of previous high-performing iterations. This full-code history approach suffers from two major flaws:

  1. Context Inefficiency: Source code is token-heavy. As programs grow in complexity, the LLM’s context window quickly fills up, artificially limiting the agent's historical memory.
  2. Diluted Guidance: Full code is laden with boilerplate and implementation details. This "noise" obscures the core algorithmic breakthroughs, making it difficult for the LLM to isolate exactly why a previous iteration succeeded.

To overcome these limitations, researchers introduce DeltaEvolve, a momentum-driven evolutionary framework. By replacing bulky full-code histories with concise "semantic deltas"—structured descriptions of how and why code changed—DeltaEvolve achieves higher-quality scientific solutions while slashing token consumption by an average of 36.79%.

The DeltaEvolve Framework

The authors formalize evolutionary agents through an Expectation-Maximization (EM) lens. In this framework, the LLM sampling candidate programs represents the E-step, while updating the control context with evaluation feedback represents the M-step. Providing full-code snapshots constitutes a suboptimal M-step because it offers a static state rather than a dynamic trajectory of improvement.

DeltaEvolve addresses this by capturing the evolutionary trajectory through three core innovations:

  • Semantic Deltas: Instead of storing the full code of an iteration ($p_i$), the system extracts and stores the "delta" ($\delta_i$). This delta isolates the interpretable logic change and the underlying scientific hypothesis for why it improved performance.
  • Multi-Level Database: Discoveries are organized into a hierarchical pyramid structure to optimize context usage:
  • Level 1 (Summary): A highly compressed (20-40 token) description of the high-level strategy shift (e.g., "Switched from Greedy to Simulated Annealing").
  • Level 2 (Plan Details): A structured breakdown of specific module modifications and their scientific reasoning.
  • Level 3 (Full Code): The complete, executable program.
  • Progressive Disclosure Sampler: This mechanism dynamically regulates the level of detail provided to the LLM. It supplies the full code (Level 3) for the immediate "parent" program but compresses older historical nodes into Level 1 or Level 2 summaries. This mimics momentum in classical optimization, providing the LLM with a clear, directional gradient of past improvements without overwhelming its context window.

Experimental Domains

DeltaEvolve was rigorously evaluated across five diverse scientific and algorithmic domains:

  1. Blackbox Optimization: Minimizing complex mathematical functions using the BBOB suite.
  2. Hexagon Packing: A geometric constraint problem requiring the packing of 11 unit hexagons into the smallest possible container.
  3. Symbolic Regression: Discovering mathematical expressions to accurately model nonlinear harmonic oscillators.
  4. PDE Solver: Evolving iterative linear solvers (e.g., Conjugate Gradient methods) for partial differential equations.
  5. Efficient Convolution: Optimizing 2D convolution kernels to maximize execution speed.

Key Findings and Results

DeltaEvolve consistently outperformed full-code baselines like AlphaEvolve, discovering superior solutions (higher "Best Scores") across all five tasks while demonstrating massive efficiency gains.

Token Efficiency and Momentum

By utilizing semantic deltas, DeltaEvolve reduced total token consumption by 36.79% on average. In the Efficient Convolution task, it achieved a higher speedup score while using nearly 50% fewer tokens than the baseline. This token efficiency is a feature, not just a cost-saving measure: it allows the agent to attend to a much longer, more informative history of the evolutionary process.

By observing a sequence of changes ($\delta_1, \delta_2, \dots$), the agent perceives a "gradient" or trajectory of success. This momentum allows it to accelerate toward better solutions and avoid local optima. For instance, in the Blackbox Optimization task, DeltaEvolve successfully evolved a sophisticated CMA-ES (Covariance Matrix Adaptation Evolution Strategy) algorithm from a simple random search baseline.

Context Selection Over Scalar Feedback

An ablation study revealed a surprising insight into how LLMs learn during evolution: they do not meaningfully regress on numerical scores. Removing numerical scores entirely (providing only the "best" code) barely degraded performance. Conversely, removing the selection policy (providing random code with scores) caused the system to collapse. This demonstrates that in-context learning from high-quality structural examples—not scalar reward tracking—is the primary driver of LLM-guided evolution.

Limitations and Future Directions

While DeltaEvolve represents a significant leap in automated scientific discovery, the authors note several considerations:

  • Safety and Sandboxing: Because these agents autonomously generate and execute code, secure and sandboxed environments are critical to prevent unintended or harmful system behaviors.
  • LLM Bias and Knowledge Limits: The evolutionary ceiling is inherently tied to the pre-trained knowledge of the underlying LLM. Inherent biases or gaps in domain-specific scientific knowledge can limit the agent's discovery potential.
  • Beyond Test-Time Scaling: DeltaEvolve focuses on optimizing the context (test-time scaling). Future research could explore hybrid approaches that combine this momentum-driven context with active "weight-tuning" (fine-tuning the model itself) to forge even more powerful, specialized scientific discovery engines.

Summary updated

BibTeX
@inproceedings{jiang2026deltaevolve,
  author = {Jiachen Jiang and Tianyu Ding and Zhihui Zhu},
  title = {{DeltaEvolve: Accelerating Scientific Discovery through Momentum-Driven Evolution}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ownPRHrXMx},
}
Figure