arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12898cs.AImath.CO
收藏

BEAM:基于LLM的双层记忆自适应算法进化用于启发式设计

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

IEEE

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

AI总结:

BEAM通过双层优化方法,结合遗传算法和MCTS,改进LLM驱动的启发式设计,有效提升复杂代码生成效率,实验显示在CVRP混合算法设计中优化差距减少37.84%。

摘要:

基于大型语言模型的超启发式(LHH)最近作为一种高效的自动启发式设计方法出现。然而,现有大多数LHH只能在预定义求解器内优化单一函数,其单层进化不足以编写有效的完整求解器。尽管一些变种整合了超参数调优或尝试通过迭代局部修改生成复杂代码,但缺乏高层算法建模,导致探索效率有限。为此,我们将启发式设计重新表述为双层优化问题,并提出BEAM(双层记忆自适应算法进化)。BEAM的外部层通过遗传算法(GA)进化高层算法结构和函数占位符,内部层通过蒙特卡洛树搜索(MCTS)实现这些占位符。我们进一步引入了自适应记忆模块以促进复杂代码生成。为支持复杂代码生成的评估,我们指出了从头开始或从代码模板启动LHH的局限性,并引入了知识增强(KA)流水线。在多个优化问题上的实验结果表明,BEAM显著优于现有LHH,特别是在CVRP混合算法设计中,整体优化差距减少了37.84%。此外,BEAM还设计了一个优于SOTA最大独立集(MIS)求解器KaMIS的启发式方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑