Generalizable Heuristic Generation Through LLMs with Meta-Optimization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shi, Yiding, Zhou, Jianan, Song, Wen, Bi, Jieyi, Wu, Yaoxin, Cao, Zhiguang, Zhang, Jie
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912979471040512
author Shi, Yiding
Zhou, Jianan
Song, Wen
Bi, Jieyi
Wu, Yaoxin
Cao, Zhiguang
Zhang, Jie
author_facet Shi, Yiding
Zhou, Jianan
Song, Wen
Bi, Jieyi
Wu, Yaoxin
Cao, Zhiguang
Zhang, Jie
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20881
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Generalizable Heuristic Generation Through LLMs with Meta-Optimization
Shi, Yiding
Zhou, Jianan
Song, Wen
Bi, Jieyi
Wu, Yaoxin
Cao, Zhiguang
Zhang, Jie
Machine Learning
Artificial Intelligence
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.
title Generalizable Heuristic Generation Through LLMs with Meta-Optimization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.20881