DyACE: Dynamic Algorithm Co-evolution for Online Automated Heuristic Design with Large Language Model

Guidong Lu, Yiping Liu, Xiangxiang ZengarXiv 2026

TL;DR

Instead of using Large Language Models (LLMs) to design a single, fixed optimization algorithm, DyACE reframes automated heuristic design as a dynamic control problem. By continuously analyzing the search landscape in real-time, DyACE co-evolves the algorithm's logic alongside the solution population, shattering the "scalability wall" of traditional static approaches.

What Problem Does This Paper Address?

Automated Heuristic Design (AHD) has recently undergone a paradigm shift thanks to LLMs, which excel at synthesizing complex algorithmic code. However, current state-of-the-art methods (like FunSearch or ReEvo) rely on a Static Algorithm Paradigm: they use a large computational budget offline to find one optimal algorithm, freeze it, and deploy it.

The flaw? Optimization is inherently non-stationary. A search process requires high exploration (broad scanning) in its early stages to escape local optima, but high exploitation (fine-grained tweaking) near the end to converge. A single frozen algorithm cannot excel at both throughout the entire search trajectory, causing static methods to hit a performance plateau when tackling high-dimensional, complex problems.

Methods

The authors introduce DyACE (Dynamic Algorithm Co-evolution), which treats heuristic design as a closed-loop feedback control task using a Receding Horizon Control architecture.

Figure 1: Overview of the DyACE framework. It illustrates the closed-loop interaction between look-ahead perception, meta-reasoning, and adaptive evolution.

The framework operates via three main modules:

  1. Look-Ahead Rollout Search: Instead of evaluating an algorithm through a full, expensive optimization cycle, DyACE runs short-term "shadow" rollouts from the current population. It extracts Search Trajectory Features (like optimization velocity, acceleration, and operator success rates) to understand the real-time geometry of the landscape.
  2. Decoupled Meta-Reasoning: To prevent the LLM from hallucinating or writing broken code, DyACE splits the reasoning into a two-stage "Think-then-Code" process:
  3. Phase I (Diagnosis Agent): Translates the trajectory features into natural language "Verbal Gradients" (e.g., “Single-block crossover limits mixing; refactor to Two-Point Crossover...”).
  4. Phase II (Coding Agent): Takes these verbal gradients and synthesizes the actual Python code and hyperparameters using one of three modes: Combine, Mutate, or Explore.
  5. Receding Horizon Evolution: The newly synthesized algorithm is applied to the solution population for a short horizon, driving the state forward before the loop repeats and re-calibrates.

Datasets

DyACE was evaluated on three classic, NP-hard Combinatorial Optimization Problems (COPs):

  • Job Shop Scheduling Problem (JSSP): Tested using the standard Taillard Benchmark (16 instances ranging from 15×15 to large-scale 100×20 sizes).
  • Traveling Salesman Problem (TSP): 6 classic instances from TSPLIB (51 to 200 nodes) restricted to pure crossover and mutation operators to isolate algorithmic quality.
  • Capacitated Vehicle Routing Problem (CVRP): 6 instances from CVRPLIB (CMT dataset) with sizes between 50 and 199 nodes.

Key Insights and Ideas

  • Grounded Perception is Mandatory: The most surprising finding came from the ablation studies. When the authors ran a "blind" version of DyACE (adapting dynamically but without reading trajectory features), it performed worse than static baselines. Dynamic adaptation is only beneficial if it is causally aligned with the real-time state of the solution population.
  • Staircase Convergence: Unlike static baselines that quickly plateau, DyACE exhibits a staircase-like convergence pattern. The inner loop refines solutions under the current logic, while the outer loop periodically injects new algorithmic momentum to break through local traps.

Key Results

DyACE consistently outperformed state-of-the-art LLM-based static frameworks (FunSearch, EoH, and ReEvo) across all benchmarks:

  • JSSP: DyACE achieved the lowest optimality gap on every single instance, yielding an average gap of 14.73% compared to the next-best baseline, ReEvo, at 19.38%.
  • Scalability: On the largest JSSP instance (TA71, 100×20), static methods hit a wall, plateauing around 17.4%–26.4% gap. DyACE successfully pushed the gap down to 11.13%.
Figure 2: Evolutionary iterative process on JSSP instance TA71. (a) The optimality gap of the best algorithm’s Monte Carlo evalution at each generation of the algorithm population. (b) The optimality gap of the best solution throughout the entire search process.
  • Routing Problems: On medium-scale TSP instances, while baselines failed to maintain optimality, DyACE consistently converged to the global optimum (0.00% gap). For CVRP, DyACE dominated the entire suite, demonstrating superior stability where static methods fluctuated wildly.

Limitations and Future Work

  • Inference Latency: The primary bottleneck is the time cost of querying the LLM meta-controller at multiple intervals. While short-horizon rollouts mitigate evaluation costs, the LLM generation time remains high. The authors suggest future work could use smaller, faster models for minor hyperparameter tuning, reserving large models for major logic shifts.
  • Cross-Domain Transfer: Currently, DyACE starts learning from scratch for each problem instance. However, because it generates natural language "Verbal Gradients," there is an exciting opportunity to store and transfer these insights across related problem domains (e.g., transferring escape mechanisms from TSP to CVRP).

Summary updated

BibTeX
@misc{lu2026dyace,
  author = {Guidong Lu and Yiping Liu and Xiangxiang Zeng},
  title = {{DyACE: Dynamic Algorithm Co-evolution for Online Automated Heuristic Design with Large Language Model}},
  year = {2026},
  eprint = {2603.13344},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.13344},
}
Figure