|国家预印本平台
首页|LLM-Driven Instance-Specific Heuristic Generation and Selection

LLM-Driven Instance-Specific Heuristic Generation and Selection

LLM-Driven Instance-Specific Heuristic Generation and Selection

来源:Arxiv_logoArxiv
英文摘要

Combinatorial optimization problems are widely encountered in real-world applications. Designing high-quality heuristic algorithms that efficiently approximate optimal solutions within reasonable time is a critical research challenge. In recent years, many works have explored integrating Large Language Models (LLMs) with Evolutionary Algorithms to automate heuristic algorithm design through prompt engineering. However, these approaches generally adopt a problem-specific paradigm, applying a single algorithm across all problem instances, failing to account for the heterogeneity across instances. In this paper, we propose InstSpecHH, a novel framework that introduces the concept of instance-specific heuristic generation. InstSpecHH partitions the overall problem class into sub-classes based on instance features and performs differentiated, automated heuristic design for each problem subclass. By tailoring heuristics to the unique features of different sub-classes, InstSpecHH achieves better performance at the problem class level while avoiding redundant heuristic generation for similar instances, thus reducing computational overhead. This approach effectively balances the trade-off between the cost of automatic heuristic design and the quality of the obtained solutions. To evaluate the performance of InstSpecHH, we conduct experiments on 4,500 subclasses of the Online Bin Packing Problem (OBPP) and 365 subclasses of the Capacitated Vehicle Routing Problem (CVRP). Experimental results show that InstSpecHH demonstrates strong intra-subclass and inter-subclass generalization capabilities. Compared to previous problem-specific methods, InstSpecHH reduces the average optimality gap by more than 5.6\% for OBPP and 0.9\% for CVRP. These results highlight the potential of instance-aware automatic heuristic design to further enhance solution quality.

Shaofeng Zhang、Shengcai Liu、Ning Lu、Jiahao Wu、Ji Liu、Yew-Soon Ong、Ke Tang

计算技术、计算机技术

Shaofeng Zhang,Shengcai Liu,Ning Lu,Jiahao Wu,Ji Liu,Yew-Soon Ong,Ke Tang.LLM-Driven Instance-Specific Heuristic Generation and Selection[EB/OL].(2025-05-31)[2025-07-18].https://arxiv.org/abs/2506.00490.点此复制

评论