arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.03350cs.AI
收藏

利用大型语言模型为新兴优化问题开发启发式算法

Leveraging Large Language Models to Develop Heuristics for Emerging Optimization Problems

TU Dortmund University(多特蒙德工业大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院)

Thomas Bömer, Nico Koltermann, Max Disselnmeyer, Laura Dörr, Anne Meyer

AI总结:

本研究提出上下文启发式进化(CEoH)框架,通过结合特定问题描述增强上下文学习,使较小LLMs能为新兴优化问题高效生成高质量启发式算法,甚至优于大模型。

摘要:

组合优化问题通常依赖启发式算法来生成高效解。然而,手动设计启发式算法资源消耗大且受限于设计者的专业知识。人工智能的最新进展,特别是大型语言模型(LLMs),已展现出通过进化框架实现启发式生成自动化的潜力。近期在设计构造性启发式算法时,工作仅关注旅行商问题和在线装箱问题等著名的组合优化问题。本研究调查了LLMs能否有效地为小众、尚未被广泛研究的优化问题生成启发式算法,并以单位负载预调度问题为例。我们提出了上下文启发式进化(CEoH)框架,作为启发式进化(EoH)框架的扩展,该框架结合了特定问题的描述,以增强启发式生成过程中的上下文学习。通过计算实验,我们评估了CEoH和EoH并对结果进行了比较。结果表明,CEoH使较小的LLMs能够更一致地生成高质量启发式算法,甚至优于较大模型。较大模型在有无上下文提示的情况下均表现出稳健的性能。生成的启发式算法对多样的实例配置展现出可扩展性。

英文摘要:

Combinatorial optimization problems often rely on heuristic algorithms to generate efficient solutions. However, the manual design of heuristics is resource-intensive and constrained by the designer's expertise. Recent advances in artificial intelligence, particularly large language models (LLMs), have demonstrated the potential to automate heuristic generation through evolutionary frameworks. Recent works focus only on well-known combinatorial optimization problems like the traveling salesman problem and online bin packing problem when designing constructive heuristics. This study investigates whether LLMs can effectively generate heuristics for niche, not yet broadly researched optimization problems, using the unit-load pre-marshalling problem as an example case. We propose the Contextual Evolution of Heuristics (CEoH) framework, an extension of the Evolution of Heuristics (EoH) framework, which incorporates problem-specific descriptions to enhance in-context learning during heuristic generation. Through computational experiments, we evaluate CEoH and EoH and compare the results. Results indicate that CEoH enables smaller LLMs to generate high-quality heuristics more consistently and even outperform larger models. Larger models demonstrate robust performance with or without contextualized prompts. The generated heuristics exhibit scalability to diverse instance configurations.

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

↑