ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution

Haoran Ye, Jiarui Wang, Zhiguang Cao, Guojie Song
2/3/2026

No official code found. Best implementation: ai4co/reevo (302 stars, MIT, last commit 2026-01-24).

Abstract

The omnipresence of NP-hard combinatorial optimization problems (COPs) compels domain experts to engage in trial-and-error heuristic design. The long-standing endeavor of design automation has gained new momentum with the rise of large language models (LLMs). This paper introduces Language Hyper-Heuristics (LHHs), an emerging variant of Hyper-Heuristics that leverages LLMs for heuristic generation, featuring minimal manual intervention and open-ended heuristic spaces. To empower LHHs, we present Reflective Evolution (ReEvo), a novel integration of evolutionary search for efficiently exploring the heuristic space, and LLM reflections to provide verbal gradients within the space. Across five heterogeneous algorithmic types, six different COPs, and both white-box and black-box views of COPs, ReEvo yields state-of-the-art and competitive meta-heuristics, evolutionary algorithms, heuristics, and neural solvers, while being more sample-efficient than prior LHHs.

View on arXivView PDF

Code Implementations(1)

ai4co/reevoCommunity81%
MIT

[NeurIPS 2024] ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution

30265Python, Jupyter NotebookNov 20, 20239 months agoMIT
ant-colony-optimizationautomatic-algorithm-generationbin-packing-problemelectronic-design-automationevolutionary-algorithms+10 more

Cite this paper

@article{ye2026reevo,
  title  = {ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution},
  author = {Haoran Ye and Jiarui Wang and Zhiguang Cao and Guojie Song},
  year   = {2026},
  eprint = {2402.01145},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.01145},
  url    = {https://arxiv.org/abs/2402.01145},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.01145.svg)](https://codeofpaper.com/paper/2402.01145)

Discussion