CALM: Co-Evolution of Algorithms and Language Model for Automatic Heuristic Design
Abstract
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 (RL) 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. The code is available at: https://github.com/whxru/CALM.
Cite
Text
Huang et al. "CALM: Co-Evolution of Algorithms and Language Model for Automatic Heuristic Design." International Conference on Learning Representations, 2026.Markdown
[Huang et al. "CALM: Co-Evolution of Algorithms and Language Model for Automatic Heuristic Design." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/huang2026iclr-calm/)BibTeX
@inproceedings{huang2026iclr-calm,
title = {{CALM: Co-Evolution of Algorithms and Language Model for Automatic Heuristic Design}},
author = {Huang, Ziyao and Wu, Weiwei and Wu, Kui and Lee, Wei-Bin and Wang, Jianping},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://mlanthology.org/iclr/2026/huang2026iclr-calm/}
}