arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.16867cs.AI
收藏

基于大语言模型的多目标启发式演化

Multi-objective Evolution of Heuristic Using Large Language Model

City University of Hong Kong(香港城市大学);Southern University of Science and Technology(南方科技大学)

Shunyu Yao, Fei Liu, Xi Lin, Zhichao Lu, Zhenkun Wang, Qingfu Zhang

AI总结:

本文提出首个基于大语言模型的多目标启发式搜索框架MEoH,通过零样本生成非支配启发式集合,并在装箱和旅行商问题上验证其能兼顾性能与效率、提供多样化权衡方案。

摘要:

启发式方法通常用于解决各类搜索与优化问题。设计启发式方法通常需要依赖领域知识进行繁琐的人工构造。近期研究已将大语言模型(LLMs)引入自动启发式搜索,利用其强大的语言和编码能力。然而,现有研究仅将目标问题上的最优性能作为唯一目标,忽视了效率和可扩展性等在实践中至关重要的其他标准。为应对这一挑战,我们提出将启发式搜索建模为多目标优化问题,并考虑在最优性能之外引入额外的实用标准。由于搜索空间的复杂性,传统多目标优化方法难以有效处理基于LLM的多目标启发式搜索。我们提出了首个基于LLM的多目标启发式搜索框架——启发式多目标演化(MEoH),该框架以零样本方式集成LLM,生成一组非支配启发式以满足多个设计标准。我们设计了一种新的支配-差异性机制用于有效的种群管理和选择,该机制同时结合了搜索空间中的代码差异性和目标空间中的支配关系。MEoH在两个著名的组合优化问题上进行了验证:在线装箱问题(BPP)和旅行商问题(TSP)。结果表明,单次运行即可自动生成多种精英启发式,提供了比现有方法更多的权衡选择。该方法成功实现了具有竞争力或更优的性能,同时将效率提升高达10倍。此外,我们还观察到多目标搜索为启发式设计引入了新的见解,并促成了多样化启发式的发现。

英文摘要:

Heuristics are commonly used to tackle various search and optimization problems. Design heuristics usually require tedious manual crafting with domain knowledge. Recent works have incorporated Large Language Models (LLMs) into automatic heuristic search, leveraging their powerful language and coding capacity. However, existing research focuses on the optimal performance on the target problem as the sole objective, neglecting other criteria such as efficiency and scalability, which are vital in practice. To tackle this challenge, we propose to model the heuristic search as a multi-objective optimization problem and consider introducing additional practical criteria beyond optimal performance. Due to the complexity of the search space, conventional multi-objective optimization methods struggle to effectively handle LLM-based multi-objective heuristic search. We propose the first LLM-based multi-objective heuristic search framework, Multi-objective Evolution of Heuristic (MEoH), which integrates LLMs in a zero-shot manner to generate a non-dominated set of heuristics to meet multiple design criteria. We design a new dominance-dissimilarity mechanism for effective population management and selection, which incorporates both code dissimilarity in the search space and dominance in the objective space. MEoH is demonstrated in two well-known combinatorial optimization problems: the online Bin Packing Problem (BPP) and the Traveling Salesman Problem (TSP). The results indicate that a variety of elite heuristics are automatically generated in a single run, offering more trade-off options than the existing methods. It successfully achieves competitive or superior performance while improving efficiency up to 10 times. Moreover, we also observe that the multi-objective search introduces novel insights into heuristic design and leads to the discovery of diverse heuristics.

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

↑