Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Generalizable Heuristic Generation Through LLMs with Meta-Optimization

About

Heuristic design with large language models (LLMs) has emerged as a promising approach for tackling combinatorial optimization problems (COPs). However, existing approaches often rely on manually predefined evolutionary computation (EC) heuristic-optimizers and single-task training schemes, which may constrain the exploration of diverse heuristic algorithms and hinder the generalization of the resulting heuristics. To address these issues, we propose Meta-Optimization of Heuristics (MoH), a novel framework that operates at the optimizer level, discovering effective heuristic-optimizers through the principle of meta-learning. Specifically, MoH leverages LLMs to iteratively refine a meta-optimizer that autonomously constructs diverse heuristic-optimizers through (self-)invocation, thereby eliminating the reliance on a predefined EC heuristic-optimizer. These constructed heuristic-optimizers subsequently evolve heuristics for downstream tasks, enabling broader heuristic exploration. Moreover, MoH employs a multi-task training scheme to promote its generalization capability. Experiments on classic COPs demonstrate that MoH constructs an effective and interpretable meta-optimizer, achieving state-of-the-art performance across various downstream tasks, particularly in cross-size settings. Our code is available at: https://github.com/yiding-s/MoH.

Yiding Shi, Jianan Zhou, Wen Song, Jieyi Bi, Yaoxin Wu, Zhiguang Cao, Jie Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Online Bin PackingOnline BPP (test)
Gap (%)0.032
120
Traveling Salesperson ProblemTSP N=200 (Generalization (128 instances))
Optimality Gap0.177
35
Traveling Salesperson ProblemTSP N=1000 Generalization (128 instances)
Optimality Gap1.363
30
Traveling Salesperson ProblemTSP N=500 Generalization (128 instances)
Optimality Gap0.805
30
Traveling Salesperson ProblemTSP n=100 (train)
Objective Value7.766
26
Traveling Salesperson ProblemTSP-20 (train)
Objective Value3.84
17
Traveling Salesperson ProblemTSP-50 (train)
Objective Value5.715
17
Traveling Salesperson ProblemTSP Overall
Average Gap0.391
16
Capacitated Vehicle Routing ProblemCVRP (train)
CVRP Cost (20)4.704
4
Capacitated Vehicle Routing ProblemCVRP Generalization
Total Cost (Instance 100)15.563
4
Showing 10 of 14 rows

Other info

Follow for update