Manuscript Offprint

arXiv:2610.28706

SpecEvo: Speculative Evolution with Large Language Models for Cost-Efficient Scientific Discovery

Ha Minh Hieu, Tongyao Zhu, Do Xuan Long, Min-Yen Kan

ABSTRACT

LLM-driven evolutionary search is a promising paradigm for scientific discovery, but existing methods remain costly and slow, often applying expensive reasoning uniformly while underusing evidence from failed, redundant, and saturated trials. We introduce Speculative Evolution (SPECEVO), a multi-LLM framework that coordinates lightweight and frontier models through continual consolidation of search evidence. Lightweight models power both parallel Speculators, which generate and refine candidate programs, and an Advisor, which distills accumulated successes, failures, and saturated directions into persistent guidance for subsequent exploration. At sparse checkpoints, a frontier-model Navigator inspects the evolving population and intervenes through synthesis, surgical refinement, or reframing according to search stagnation. This speculate-then-consolidate workflow delegates routine exploration and evidence consolidation to inexpensive models while reserving frontier reasoning for strategic interventions whose benefits extend across many subsequent low-cost evaluations. Across 176 tasks spanning four scientific and algorithmic discovery domains, SPECEVO matches or outperforms frontier-model baselines while reducing API cost by up to 80%, achieves up to 1.5×1.5\times greater evaluation efficiency than cost-efficient baselines on equation discovery, and improves over the strongest CO-Bench baseline by 3.8%. These results support trajectory-conditioned model coordination as an effective approach to cost-efficient scientific discovery. 3^{3}

1 INTRODUCTION

Recent advances in large language models have enabled a new paradigm of evolutionary search for automated scientific discovery (Yamada et al., 2025; Liu et al., 2026b). LLMs act as semantic variation operators, proposing meaningful modifications to candidate programs that are refined through execution-based evaluation and selection (Liu et al., 2026a; Wu et al., 2024). Such approaches have achieved strong results across mathematical discovery, combinatorial optimization, and systems engineering (Hieu et al., 2026; Cemri et al., 2026; Novikov et al., 2025; Liu et al., 2024b).

Despite their strong results, many systems nevertheless use a single backbone for candidate generation and higher-level search decisions (Agrawal et al., 2025; Cemri et al., 2026; Liu et al., 2026b). When that backbone is a frontier model, routine proposals repeatedly incur expensive inference. Figure 1 illustrates the resulting performance–cost trade-off: using lightweight backbones lowers API expenditure but can substantially reduce solution quality in the evaluated baselines. Lightweight models offer inexpensive exploration, but without reusable guidance they can repeatedly revisit similar strategies or reproduce implementation errors (Dat et al., 2025; Liu et al., 2024a). Merely generating more affordable proposals therefore does not ensure sustained search progress. Heterogeneous-model approaches address part of this problem by assigning different search operations to different models.

∗^{*}Work done during the internship at WING, NUS.

†^{\dagger}Corresponding author.

3^{3}Our code is available at https://github.com/langkhachhoha/SpecEvo or transferring a population from lightweight exploration to frontier-model refinement (Tanveer, 2026; Luo et al., 2026a; Huang et al., 2026). These approaches motivate a complementary question: How can accumulated successes, failures, and signs of saturation continually inform both subsequent lightweight proposals and the scope of frontier-model intervention?

To address these gaps, we present SPECEVO, a multi-LLM evolutionary framework organized around a workflow we call speculate-then-consolidate (StC). StC repeatedly converts accumulated search evidence into guidance and strategic interventions that inform subsequent low-cost exploration; SPECEVO provides its concrete realization through specialized model roles and shared search state. Consolidation occurs periodically while lightweight exploration continues. A central design choice is to distinguish the programs retained for further search from the evidence retained for learning. An adaptive MAP-Elites-style (Mouret & Clune, 2015) archive maintains one elite per structural-semantic niche, allowing programs outside the global top ranks to remain available when they improve their own niches. A separate history records all evaluated attempts, including rejected programs and execution failures. Together, these structures expose which strategies remain competitive, which directions consume evaluations without progress,

Figure

Cost per task (USD)

Figure 1: Top: Performance vs. API cost on mathematical discovery tasks; SPECEVO forms the Pareto frontier. Bottom: Best-so-far NMSE on LSR-Synth Biology and Chemistry over 500 evaluations.

and which implementation errors recur. This evidence supports both revisable guidance for lightweight models and search-state-dependent choices about frontier intervention. Across model configurations, SPECEVO improves the performance–cost trade-off over methods built around a single frontier model. Its advantages over cost-efficient allocation strategies persist under matched model-call and evaluation budgets, supporting the value of coordinating model use through accumulated search evidence. Ablations and search-trajectory analyses further support the importance of preserving diverse candidates, adapting intervention scope to stagnation, and revising guidance as evidence accumulates. Our main contributions are:

• We introduce SPECEVO, an asynchronous realization of StC with parallel lightweight Speculators, a lightweight Advisor, and a sparsely invoked frontier-model Navigator.

• We develop coordinated feedback mechanisms that combine failure- and niche-progress-aware guidance with a stagnation signal controlling parent sampling and selecting among synthesis, surgical refinement, and reframing at fixed Navigator checkpoints.

• We provide a systematic evaluation on 176 tasks spanning mathematical discovery, systems optimization, combinatorial optimization, and scientific equation discovery, combining comparisons under matched budgets with controlled model-allocation studies, component ablations, and analyses of search dynamics.

References (42)