Lune

ICLR2026Top-tier venue

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

Ziyao Huang, Weiwei Wu, Kui Wu, Wei-Bin Lee, Jianping Wang

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 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. Searching superior heuristics on the problem.name problem in an evolutionary manner through conversation between User and Assistant. In this problem, problem.description The User provides existing algorithms and requests a new one. ## Your Task You should first present a concise conceptual description, followed by a complete code implementation. * The description must: * Be enclosed with a double brace and starts with "The idea of the algorithm is to". * Ensure it is self-contained, insightful, and creatively original. * Not reference or rely on any prior ideas or existing code. * The code must: * Strictly follow the input-output variable names and types used in the provided implementation. * Be a single Python function formatted within Python code blocks. * Exclude any usage examples. * Ensure the algorithm is deterministic.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • EoH-S: Evolution of Heuristic Set Using LLMs for Automated Heuristic Design cites ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
  • EoH-S: Evolution of Heuristic Set Using LLMs for Automated Heuristic Design cites Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model
  • HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Design cites POMO: Policy Optimization with Multiple Optima for Reinforcement Learning
  • HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Design cites ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
  • HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Design cites Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model
  • ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution cites POMO: Policy Optimization with Multiple Optima for Reinforcement Learning
  • MCCE: A Framework for Multi-LLM Collaborative Search in Discrete Spaces with Similarity-Filtered Preference Learning cites Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model
  • Refining Hybrid Genetic Search for CVRP via Reinforcement Learning-Finetuned LLM cites POMO: Policy Optimization with Multiple Optima for Reinforcement Learning
  • Refining Hybrid Genetic Search for CVRP via Reinforcement Learning-Finetuned LLM cites ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
  • OptMaster: A DAG-Based Framework for Formulation and Heuristic Discovery in Optimization cites ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
  • OptMaster: A DAG-Based Framework for Formulation and Heuristic Discovery in Optimization cites Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic DesignChentongChen, Mengyuan Zhong, Jialong Shi, Jianyong Sun et al.ICLR 2026 · 17 citations
  2. EoH-S: Evolution of Heuristic Set Using LLMs for Automated Heuristic DesignFei Liu, Yilu Liu, Qingfu Zhang, Xialiang Tong et al.AAAI 2026 · 11 citations
  3. Refining Hybrid Genetic Search for CVRP via Reinforcement Learning-Finetuned LLMRongjie Zhu, Cong Zhang, Zhiguang CaoICLR 2026 · 5 citations
  4. MCCE: A Framework for Multi-LLM Collaborative Search in Discrete Spaces with Similarity-Filtered Preference LearningNian Ran, Zhongzheng Li, Yue Wang, Qingsong Ran et al.ICML 2026
  5. OptMaster: A DAG-Based Framework for Formulation and Heuristic Discovery in OptimizationHang Lin, Yuanpeng Gao, Yuzhi Zhang, Kun Yuan et al.ICML 2026

Builds on10

  1. POMO: Policy Optimization with Multiple Optima for Reinforcement LearningYeong-Dae Kwon, Jinho Choo, Byoungjip Kim, Iljoo Yoon et al.NeurIPS 2020 · 731 citations
  2. ReEvo: Large Language Models as Hyper-Heuristics with Reflective EvolutionHaoran Ye, Jiarui Wang, Zhiguang Cao, Federico Berto et al.NeurIPS 2024 · 424 citations
  3. Statistical Rejection Sampling Improves Preference OptimizationTianqi Liu, Yao Zhao, Rishabh Joshi, Misha Khalman et al.ICLR 2024 · 346 citations
  4. Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language ModelFei Liu, Xialiang Tong, Mingxuan Yuan, Xi Lin et al.ICML 2024 · 238 citations
  5. NetLLM: Adapting Large Language Models for NetworkingDuo Wu, Xianda Wang, Yaqi Qiao, Zhi Wang et al.SIGCOMM 2024 · 162 citations

Related papers

  1. Experience-Driven Reflective Co-Evolution of Prompts and Heuristics for Autonomous Algorithm DesignYihong Liu, Junyi Li, Hongyu Lu, Xin Zhao et al.ACL Findings 2026
  2. Hierarchical Representations for Cross-task Automated Heuristic Design using LLMsFei Liu, Rui Zhang, Shunyu Yao, Qinglong Hu et al.ICML 2026
  3. A2A_2DEPT: Large Language Model–Driven Automated Algorithm Design via Evolutionary Program TreesBin Chen, Shouliang Zhu, Beidan Liu, Yong Zhao et al.ICML 2026 · 3 citations
  4. Generalizable Heuristic Generation Through LLMs with Meta-OptimizationYiding Shi, Jianan Zhou, Wen Song, Jieyi Bi et al.ICLR 2026 · 14 citations
  5. DecAEvolve: Decompose, Adapt, and Evolve for Effective LLM-based Scientific Equation DiscoveryPouya Behzadifar, Parshin Shojaee, Sanchit Kabra, Kazem Meidani et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines