CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Design

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huang, Ziyao, Wu, Weiwei, Wu, Kui, Wang, Jianping, Lee, Wei-Bin
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918023951024128
author Huang, Ziyao
Wu, Weiwei
Wu, Kui
Wang, Jianping
Lee, Wei-Bin
author_facet Huang, Ziyao
Wu, Weiwei
Wu, Kui
Wang, Jianping
Lee, Wei-Bin
contents Tackling complex optimization problems often relies on expert-designed heuristics, typically crafted through extensive trial and error. Recent advances demonstrate that large language models (LLMs), when integrated into well-designed evolutionary search frameworks, can autonomously discover high-performing heuristics at a fraction of the traditional cost. However, existing approaches predominantly rely on verbal guidance, i.e., manipulating the prompt generation process, to steer the evolution of heuristics, without adapting the underlying LLM. We propose a hybrid framework that combines verbal and numerical guidance, the latter achieved by fine-tuning the LLM via reinforcement learning based on the quality of generated heuristics. This joint optimization allows the LLM to co-evolve with the search process. Our method outperforms state-of-the-art (SOTA) baselines across various optimization tasks, running locally on a single 24GB GPU using a 7B model with INT4 quantization. It surpasses methods that rely solely on verbal guidance, even when those use significantly more powerful API-based models.
format Preprint
id arxiv_https___arxiv_org_abs_2505_12285
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Design
Huang, Ziyao
Wu, Weiwei
Wu, Kui
Wang, Jianping
Lee, Wei-Bin
Neural and Evolutionary Computing
Tackling complex optimization problems often relies on expert-designed heuristics, typically crafted through extensive trial and error. Recent advances demonstrate that large language models (LLMs), when integrated into well-designed evolutionary search frameworks, can autonomously discover high-performing heuristics at a fraction of the traditional cost. However, existing approaches predominantly rely on verbal guidance, i.e., manipulating the prompt generation process, to steer the evolution of heuristics, without adapting the underlying LLM. We propose a hybrid framework that combines verbal and numerical guidance, the latter achieved by fine-tuning the LLM via reinforcement learning based on the quality of generated heuristics. This joint optimization allows the LLM to co-evolve with the search process. Our method outperforms state-of-the-art (SOTA) baselines across various optimization tasks, running locally on a single 24GB GPU using a 7B model with INT4 quantization. It surpasses methods that rely solely on verbal guidance, even when those use significantly more powerful API-based models.
title CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Design
topic Neural and Evolutionary Computing
url https://arxiv.org/abs/2505.12285