Agent Tuning & Optimization 相关度: 8/10

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

Chuyang Xiang, Yichen Wei, Jiale Ma, Handing Wang, Junchi Yan
arXiv: 2604.12898v1 发布: 2026-04-14 更新: 2026-04-14

AI 摘要

提出BEAM算法,通过双层优化和自适应记忆机制,提升LLM在启发式算法设计中的性能。

主要贡献

  • 提出了BEAM:双层记忆自适应算法演化框架
  • 引入自适应记忆模块,促进复杂代码生成
  • 提出了知识增强(KA)管道

方法论

使用遗传算法(GA)和蒙特卡洛树搜索(MCTS)进行双层优化,并结合自适应记忆模块。

原文摘要

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 \textbf{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.

标签

LLM Hyper Heuristic Genetic Algorithm Monte Carlo Tree Search

arXiv 分类

cs.AI math.CO