Papers
Topics
Authors
Recent
Search
2000 character limit reached

SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolution

Published 14 May 2026 in cs.AI, cs.LG, and cs.MA | (2605.15308v1)

Abstract: LLM-driven program evolution has emerged as a powerful tool for automated scientific discovery, yet existing frameworks offer no principled guide for designing their individual components and provide no guarantee that the search converges. We introduce SMCEvolve, which recasts program search as sampling from a reward-tilted target distribution and approximates it with a Sequential Monte Carlo (SMC) sampler. From this view, three core mechanisms emerge as principled components: adaptive parent resampling, mixture of mutation with acceptance, and automatic convergence control. We further provide a finite-sample complexity analysis that bounds the LLM-call budget required to reach a target approximation error. Across math, algorithm efficiency, symbolic regression, and end-to-end ML research benchmarks, SMCEvolve surpasses state-of-the-art evolving systems while using fewer LLM calls under self-determined termination. The code is available at https://github.com/kongwanbianjinyu/SMCEvolve.

Summary

  • The paper's main contribution is the formulation of program evolution as sampling from a reward-tilted SMC distribution, providing finite-sample convergence guarantees.
  • It employs adaptive parent resampling, a diverse mixture of mutation kernels, and effective sample size control to balance exploration and exploitation.
  • Empirical evaluations across domains demonstrate superior performance, significant speedups, and reduced LLM calls compared to existing methods.

SMCEvolve: A Principled Framework for LLM-Driven Program Evolution via Sequential Monte Carlo

Motivation and Problem Statement

Automated scientific discovery through LLM-driven program evolution has demonstrated substantial empirical progress in diverse domains such as mathematical conjecture formation, symbolic regression, materials optimization, and algorithmic acceleration. However, contemporary evolutionary frameworks are largely empirical, relying on hand-crafted population management, mutation schedules, and termination heuristics. This ad-hoc design lacks theoretical convergence guarantees, optimization efficiency, and formal sample complexity bounds, impeding practical scalability and scientific reliability. "SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolution" (2605.15308) addresses these deficiencies by establishing a rigorous probabilistic framework: casting program search as sampling from a reward-tilted target distribution and solving it via a Sequential Monte Carlo (SMC) sampler.

SMC Formulation for Program Evolution

The central insight is to recast program evolution as sampling from the reward-tilted distribution pโˆ—(xโˆฃq)โˆp0(xโˆฃq)eฮฒR(x)p^*(x|q) \propto p_0(x|q) e^{\beta R(x)}, where p0p_0 is the LLM prior over the program space, R(x)R(x) the task-specific reward, and ฮฒ\beta a reward intensity parameter. Direct sampling from pโˆ—p^* is intractable due to the exponential size of the discrete program space. To address this, SMCEvolve constructs an SMC sampler that advances a population of candidate programs (particles) through geometrically annealed "bridging" distributions, progressively increasing reward focus while preserving prior plausibility. Each SMC iteration comprises three coupled steps:

  1. Adaptive Parent Resampling: Ancestor selection probability is determined by temperature-controlled importance weighting. Early phases employ near-uniform resampling for exploration, while later phases focus on high-reward parents for exploitation. This interpolates between exploration and exploitation, with softmax weights parameterized by ฮฒtโˆ’ฮฒtโˆ’1\beta_t - \beta_{t-1}.
  2. Mixture of Mutation Kernels with Acceptance: Mutation is performed by LLM-proposed edits, organized as a mixture over four kernels (local diff with/without inspiration, full rewrite with/without inspiration). Inspiration kernels use top-performing and diverse reference programs; adaptive selection among kernels is achieved via Thompson sampling. Each proposal undergoes a Metropolis-Hastings accept/reject filter, mitigating drift and enforcing pt-invariance in principle. Although only reward-based acceptance is feasible with black-box LLMs, empirical diagnostics confirm kernel ergodicity and mixing.
  3. Automatic Convergence Control: Termination is determined by monitoring the effective sample size (ESS) of the particle population as a function of annealing temperature. The SMC schedule is adaptively constructed by bisection, ensuring the bridging distributions remain sufficiently close and preventing premature convergence/stalling. This obviates the need for pre-fixed iteration counts.

Finite-Sample Complexity and Convergence Guarantees

SMCEvolve delivers the first finite-sample complexity analysis in LLM-driven program evolution. It proves that for any bounded statistic ff and desired accuracy ฯต\epsilon, the empirical measure of the terminal particle population achieves ฯต\epsilon-approximation to the reward-tilted target expectation pโˆ—(f)p^*(f) with high confidence, under explicit bridge regularity and kernel mixing assumptions. The total computational budget p0p_00 (particles, annealing stages, mutation steps) is bounded as p0p_01, where p0p_02 is the MH chain length, p0p_03 the ergodicity rate, p0p_04 the target reward intensity, and p0p_05 the reward oscillation. This result provides a formal interpretation of the explorationโ€“exploitation trade-off and clarifies the effect of kernel mixing, annealing path, and mutation diversity on sample efficiency.

Empirical Evaluation: Summary and Numerical Results

The framework was evaluated across four domains:

  • Mathematical Optimization (AlphaEvolve benchmark): SMCEvolve achieved highest rewards on most tasks, often approaching or exceeding theoretical optima, e.g., Circle Packing in Rect. (N=21): 0.9993 vs. previous best 0.9514; Min-Max-Min Dist. (n=16, d=2): 1.0 vs. previous best 0.9915.
  • Algorithm Efficiency (AlgoTune benchmark): Substantial speedups with minimal LLM calls, e.g., polynomial_real: 33.88x speedup vs. baseline 1.69x; fft_convolution: 19.90x vs. 1.98x.
  • Symbolic Regression (LLM-SRBench): Significantly improved regression accuracy, e.g., MatSci2: 8.25 vs. baseline 6.96; bio_pop_growth BPG0: 7.10 vs. baseline 6.47.
  • End-to-End ML (AutoResearch): SMCEvolve delivered the highest final reward and terminated with fewer LLM calls than fixed-budget baselines.

Across all domains, automatic ESS-driven stopping reduced mean LLM call counts below baseline budgets, demonstrating improved sample efficiency and convergence reliability.

Ablative Analysis

Critical design ablations underscore the necessity of adaptive parent resampling, kernel diversity, and balanced MH chain depth. Fixing resampling at either uniform or greedy degraded reward performance; single-kernel or uniform-mix mutation choices underperformed the adaptive mixture; imbalanced N vs. K splits led to premature convergence or insufficient local refinement. The methodology thus validates each architectural component as essential for robust optimization.

Theoretical and Practical Implications

The formalization of evolutionary program search as SMC sampling elucidates the underlying mechanism of LLM-driven scientific agents, aligning exploration, mutation, and convergence scheduling under a single temperature parameter. The approach generalizes prior heuristics and subsumes existing frameworks (AlphaEvolve, ShinkaEvolve) as special cases at fixed parameter settings. The finite-sample guarantee elevates reliability and interpretability, critical for autonomous research systems. Practically, this enables principled program discovery at reduced computational cost and justifies early stopping, enhancing scalability in large domains (e.g., high-dimensional scientific search, automated code engineering).

Speculations on Future Directions

Potential future directions entail tightening the theoretical bounds (e.g., sharper bridge ratio analysis, non-reward-only accept/reject), extending the SMC formulation to multi-objective or reward-free settings, leveraging richer proposal distributions (e.g., controlled LLM steering), and exploring broader spaces (modular program evolution, system-level optimization). The SMC framework is also amenable to hybrid particle-island parallelism, further increasing scalability in distributed evolutionary search.

Conclusion

SMCEvolve establishes a principled evolutionary search framework for LLM-driven scientific discovery, grounded in Sequential Monte Carlo sampling from reward-tilted distributions. It delivers formally justified adaptive resampling, kernel diversity, and automatic convergence, achieving superior performance and efficiency across multiple domains with finite-sample guarantees. The work provides a unified theoretical foundation for future research in automated program discovery and LLM agent design.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.