Advancing Automated Algorithm Design via Evolutionary Stagewise Design with LLMs

Chen Lu, Ke Xue, Chengrui Gao, Yunqi Shi, Siyuan Xu, Mingxuan Yuan, Chao Qian, Zhi-Hua ZhouarXiv 2026

TL;DR

EvoStage (Evolutionary Stagewise Algorithm Design) is a novel multi-agent framework that leverages Large Language Models (LLMs) to automatically design complex algorithms stage-by-stage using real-time intermediate feedback. By breaking down the algorithm design space and balancing local and global optimization, EvoStage outperforms human experts and traditional black-box LLM methods in complex industrial tasks like chip placement and Bayesian optimization while using a fraction of the evaluation budget.

What Problem Does This Paper Address?

Automated algorithm design using LLMs has emerged as a powerful way to replace tedious human engineering. However, existing methods typically treat the target algorithm as a complete "black box"—the LLM generates an entire algorithm in one shot and only receives a final performance score at the very end.

In complex industrial scenarios (such as chip placement or hardware optimization), this black-box approach falls short. It deprives the LLM of any awareness of the problem's internal mechanics, leading to logically coherent but practically flawed "hallucinated" designs. Furthermore, evaluating these industrial algorithms is incredibly slow and expensive (e.g., evaluating a single chip placement layout can take hours). Traditional black-box evolutionary methods require thousands of trials to find a good solution, making them completely impractical under tight, real-world evaluation budgets.

Methods

EvoStage introduces a paradigm shift by breaking down the algorithm design process into sequential, manageable stages, drawing inspiration from Chain-of-Thought (CoT) reasoning.

Comparison of traditional black-box modeling vs. stagewise design

The framework consists of three core components:

  1. Stagewise Design with Real-Time Feedback: Instead of writing the whole algorithm at once, the task is decomposed into $K$ sequential stages. At the end of each stage, the system executes the partial algorithm and feeds real-time intermediate statistics back to the LLM, allowing it to dynamically update its domain knowledge and correct its optimization trajectory.
  2. Multi-Agent System: To reduce the code-generation complexity, EvoStage separates strategy from implementation. A LLM Coordinator agent analyzes the intermediate stage information and provides high-level guidance, while multiple LLM Coder agents specialize in writing the code for specific algorithm components (heuristics).
  3. Global-Local Perspective Mechanism: To prevent the agents from greedily optimizing a single stage and falling into local optima, EvoStage balances local and global views. It utilizes a local Stagewise-Design operator alongside two global operators (Global-Explore and Global-Enhance) that analyze and modify entire multi-stage algorithm histories in a single shot.
Figure 1: The overview of EvoStage. The upper left part is the intuitive illustration of the local perspective operator (i.e., the Stagewise-Design operator), where the algorithm design task is decomposed automatically by the LLM coordinator agent, with the coordinator reflecting on the intermediate information (denoted as "Inter layout", using chip placement as an example) and giving guidance for the next stage, and N LLM coder agents producing N algorithm components (one coder responsible for one respective component) according to the guidance from the coordinator stage-by-stage. The lower left part is the intuitive illustration of the two global perspective operators. The Global-Explore operator is to prompt the coder to produce a novel multi-stage heuristic in one shot with a selected reference, while the Global- Enhance operator is to prompt the coder to produce a better multi-stage heuristic in one shot with a selected reference. The right part is the multi-stage heuristic population, which maintains M algorithms. Each algorithm is divided into N components, each of which is implemented as a multi-stage heuristic. When selecting an algorithm from the population, we select the corresponding N multi-stage heuristics for the N components and assemble a complete algorithm from them. EvoStage performs an iterative process of selecting parent algorithms from the population, reproducing new offspring algorithms by operators, and updating the population to keep better algorithms, with the goal of iteratively improving the algorithms maintained in the population and finally generating a high-performing algorithm.

Datasets

The authors evaluated EvoStage across two distinct, highly challenging domains:

  • Global Chip Placement (2D & 3D): Tested on 16 open-source chip cases from the standard ISPD 2005 and ICCAD 2015 benchmarks. It was also deployed on a real-world, industrial 3D chip design case featuring advanced memory-on-logic stacking.
  • Bayesian Optimization (BO): Evaluated using standard synthetic functions from the BoTorch library (Ackley 2D, Rastrigin 2D, Griewank 2D, Levy 2D) and four complex hyperparameter optimization/neural architecture search (HPO-NAS) benchmarks (SliceLocalization, ProteinStructure, NavalPropulsion, ParkinsonsTelemonitoring).

Key Insights and Ideas

  • Chain-of-Thought for Code Execution: Just as CoT breaks down word problems into logical steps, decomposing algorithm execution into sequential sub-tasks allows LLMs to successfully navigate massive, highly non-linear search spaces that would otherwise cause them to fail.
  • Feedback as an Anchor: Providing real-time intermediate feedback (like current layout wirelength or cell overflow metrics during chip placement) grounds the LLM. It acts as an automated course-correction mechanism before the system wastes its limited evaluation budget.
  • Role Separation Reduces Syntax Errors: LLMs frequently introduce bugs when forced to write long, multi-functional code blocks. Delegating strategic reflection to a Coordinator (run at a higher temperature for creativity) and code generation to specialized Coders (run at a lower temperature for stability) drastically improves code legality and pass rates.
Detailed example of reflection reasoning of the coordinator

Key Results

  • SOTA 2D Chip Placement: Within a tiny budget of just 25 evaluations, EvoStage achieved historically state-of-the-art half-perimeter wire-length (HPWL) results across every single tested open-source chip case, outperforming fine-tuned human-expert placers (DREAMPlace, Xplace) and existing LLM methods.
  • Commercial 3D Tool Success: When deployed on a commercial-grade 3D chip placement tool, EvoStage improved the HPWL by 9.24% on the logic die and 7.51% on the memory die, while simultaneously achieving a 52.21% reduction in optimization iterations.
  • Bayesian Optimization: EvoStage successfully designed superior acquisition functions for all tested black-box optimization benchmarks within only 9 evolution steps, occasionally achieving an order-of-magnitude improvement over popular human-designed functions like UCB and Expected Improvement (EI).

Limitations and Future Work

Despite its success, EvoStage has a clear boundary: it relies on the ability to pause an algorithm during execution to gather intermediate feedback. If applied to one-time execution algorithms, or systems where execution cannot be paused, the framework degenerates back into traditional black-box modeling.

For future work, the authors suggest expanding the intermediate feedback to incorporate multi-modal data—such as feeding 3D layout visualizations directly back to the LLM agents—and developing more sophisticated collaboration protocols between agents with diverse domain expertise.

Summary updated

BibTeX
@misc{lu2026advancing,
  author = {Chen Lu and Ke Xue and Chengrui Gao and Yunqi Shi and Siyuan Xu and Mingxuan Yuan and Chao Qian and Zhi-Hua Zhou},
  title = {{Advancing Automated Algorithm Design via Evolutionary Stagewise Design with LLMs}},
  year = {2026},
  eprint = {2603.07970},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.07970},
}
Figure