cs.AIApr 14, 2026

BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design

Authors: Chuyang Xiang, Yichen Wei, Jiale Ma, Handing Wang, Junchi Yan

Abstract

Large Language Model-based Hyper Heuristic (LHH) has recently emerged as an efficient way for automatic heuristic design. However, most existing LHHs just perform well in optimizing a single function within a pre-defined solver. Their single-layer evolution makes them not effective enough to write a competent complete solver. While some variants incorporate hyperparameter tuning or attempt to generate complex code through iterative local modifications, they still lack a high-level algorithmic modeling, leading to limited exploration efficiency. To address this, we reformulate heuristic design as a Bi-level Optimization problem and propose BEAM (Bi-level Memory-adaptive Algorithmic Evolution). BEAM's exterior layer evolves high-level algorithmic structures with function placeholders through genetic algorithm (GA), while the interior layer realizes these placeholders via Monte Carlo Tree Search (MCTS). We further introduce an Adaptive Memory module to facilitate complex code generation. To support the evaluation for complex code generation, we point out the limitations of starting LHHs from scratch or from code templates and introduce a Knowledge Augmentation (KA) Pipeline. Experimental results on several optimization problems demonstrate that BEAM significantly outperforms existing LHHs, notably reducing the optimality gap by 37.84% on aggregate in CVRP hybrid algorithm design. BEAM also designs a heuristic that outperforms SOTA Maximum Independent Set (MIS) solver KaMIS.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. MeEvo: Metacognitive Evolution Combined with Natural Evolution for Automatic Heuristic Design

    Jun 12, 2026Zishang Qiu, Xinan Chen, Rong Qu +1Automated Heuristic DesignEvolutionary Optimization

  2. A2DEPT: Large Language Model-Driven Automated Algorithm Design via Evolutionary Program Trees

    Apr 27, 2026Bin Chen, Shouliang Zhu, Beidan Liu +4Automated Algorithm DiscoveryAutomated Heuristic Design

  3. ES-AHD: An Evolution Strategy Framework for Automatic Heuristic Design

    Aug 26, 2026Yutao Lai, Kezhao Lai, Hai-Lin Liu +2Automated Heuristic DesignLarge Language Model-Guided Optimization