TL;DR
LLM-guided evolutionary search algorithms often hide high run-to-run variance and massive compute budget discrepancies behind cherry-picked "best-of" results. This paper systematically analyzes the trade-offs between search depth and breadth under a fixed budget, revealing that different tasks require completely different allocation strategies. To solve this, the authors introduce BaSE, a multi-armed bandit framework that dynamically routes compute to the most promising evolutionary trajectories, boosting average fitness by 12.3% without changing the underlying model or prompts.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used as mutation engines in evolutionary search to discover novel algorithms or optimize complex structures. However, current state-of-the-art "Evolve" systems suffer from a reporting crisis: they typically report only the single best run out of an unspecified number of attempts, masking massive run-to-run volatility. Furthermore, their reported budgets vary by over two orders of magnitude (~510× spread), making direct comparisons impossible.
Practitioners are left in the dark about how to reliably configure their search under a fixed budget—specifically, how to balance search depth (number of sequential generations) versus breadth (number of parallel mutations per generation).
Methods
The authors tackle this problem in two phases: a systematic empirical sweep and a novel dynamic allocator.
- Depth–Breadth Sweeps: They conduct a comprehensive grid sweep over budget allocations ($C = T \times N$, where $C$ is total calls, $T$ is depth/generations, and $N$ is breadth/children per generation). To ensure fair cost accounting across different model sizes and caching behaviors, they introduce a post-hoc FLOPs metric based on active parameters and KV-cache tokens.
- Bilinear Modeling: They fit the depth-breadth surface to an empirical bilinear form to characterize how performance changes based on allocation: $$\log(1-V) = \beta_0 + a\log T + b\log N + c\log T\log N$$
- BaSE (Bandit-based Self-Evolving): Armed with the insight that trajectories are highly stochastic, they propose treating cross-trajectory allocation as a Multi-Armed Bandit (MAB) problem. BaSE initializes $K$ parallel evolutionary trajectories (arms). At each step, a bandit policy (such as UCB, EXP3.P, or Thompson Sampling) decides which trajectory to allocate the next LLM call to, effectively cutting off dead ends and doubling down on breakthroughs.
Datasets
The paper evaluates these methods on three challenging geometric optimization benchmarks from the OpenEvolve suite:
- Circle Packing (CP, $n=26$): Pack 26 non-overlapping circles into a unit square to maximize the sum of their radii.
- MinMaxDist (MMD, $n=16$): Arrange 16 points in a 2D plane to maximize the ratio of minimum to maximum pairwise distance.
- Heilbronn Triangle (HT, $n=11$): Place 11 points inside an equilateral triangle to maximize the area of the smallest triplet triangle.
Raw objectives are normalized so that a fitness score of 1.0 matches the current state-of-the-art.
Key Insights and Ideas
- The FLOPs Collapse: When performance is plotted against effective FLOPs rather than raw LLM call counts, the performance advantages of larger models largely dissolve into a single shared compute envelope for capable models. Bigger models do better per call, but they cost proportionally more FLOPs.
- Task-Specific Optimization Landscapes: Optimization geometry is highly task-dependent. Circle Packing exhibits a broad plateau favoring depth, whereas MinMaxDist features a sharp "interior ridge" requiring a careful balance of both depth and breadth.
- The Danger of Early Stagnation: Evolutionary runs often fail because the LLM gets trapped in a "wrong" algorithmic family early on. For example, in MinMaxDist, if the LLM introduces a
scipynumerical optimizer early, it gets stuck in local minima; pure analytic geometry approaches perform much better. Breadth helps find the right family, while depth refines it.
Key Results
- Reliability Boost: BaSE improves mean fitness by 12.3% on average over the strongest baseline across 8 different model-task configurations, purely through smarter compute allocation.
- Ceiling Performance: On Circle Packing using Qwen3-14B, BaSE-Thompson achieves a perfect average fitness score of 1.0003, outperforming standard greedy search.
- Sample Efficiency: BaSE reaches high-fitness thresholds much faster. For instance, on MinMaxDist, BaSE-UCB hits a 0.95 fitness threshold in just 92 generations, compared to 485 generations required by standard greedy search—a massive savings in time and compute.
Limitations and Future Work
- Allocation Cannot Create Capability: Smart allocation only amplifies an existing signal. If a model completely lacks the capability to solve a task (e.g., Llama-3.1-8B on the Heilbronn Triangle task, which collapses to 0 fitness), BaSE cannot rescue it.
- Arm Pool Sensitivity: Performance depends on the number of parallel arms ($K$). Too few arms reduce trajectory diversity, while too many arms dilute the refinement budget, making moderate pools ($K \in [5, 20]$) optimal.
- Domain Scope: The empirical regularities were discovered on geometric optimization tasks; validating whether these bilinear fits hold true for broader code generation or symbolic mathematics remains an open avenue for future work.
Summary updated