MeEvo: Metacognitive Evolution Combined with Natural Evolution for Automatic Heuristic Design

Zishang Qiu, Xinan Chen, Rong Qu, Ruibin Bai
6/12/2026
cs.NEcs.AI

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) have advanced Automatic Heuristic Design (AHD) by enabling heuristic generation through reasoning and code synthesis. In LLM-based AHD, the LLM reasons about algorithm design and generates executable heuristic code.

Show full abstract

Existing architectures adopt two main paradigms: Natural Evolution applies crossover and mutation to this code to explore diverse strategies, but discards the reasoning traces behind the design decisions, weakening knowledge retention; Metacognitive Evolution retains these reasoning traces and refines them through reflection, but lacks population-level recombination, limiting exploration. These limitations reduce search efficiency, stability, and solution quality on complex problems. To address this gap, we propose MeEvo, an AHD framework that cyclically couples Natural Evolution and Metacognitive Evolution with operator balance that shifts from exploration to exploitation. Natural Evolution explores heuristic code while recording LLM-generated reasoning traces, fitness values, errors and best heuristic into a shared history; Metacognitive Evolution then reflects on this history to generate improved heuristics that feed into the next Natural Evolution cycle. This design enables population-driven exploration and reflection-driven refinement to reinforce each other. Experiments on five optimization problems show that MeEvo achieves stronger performance and lower variance than tested LLM-based AHD architectures, especially on complex constrained tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qiu2026meevo,
  title  = {MeEvo: Metacognitive Evolution Combined with Natural Evolution for Automatic Heuristic Design},
  author = {Zishang Qiu and Xinan Chen and Rong Qu and Ruibin Bai},
  year   = {2026},
  eprint = {2606.14202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.14202v5}
}

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/2606.14202.svg)](https://codeofpaper.com/paper/2606.14202)

Discussion