NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LLM-Evolved Domain-Independent Heuristics for Symbolic AI Planning

Elliot Gestrin, Jendrik SeipparXiv 2026

TL;DR

Researchers have successfully used Large Language Models (LLMs) within an evolutionary framework to automatically discover domain-independent planning heuristics written in pure C++. Their best evolved heuristic outperforms decades of human expertise, solving more tasks on unseen competition benchmarks than the strongest hand-engineered baselines while maintaining strict soundness and completeness guarantees.

What Problem Does This Paper Address?

In symbolic AI planning, agents must find a sequence of actions to achieve a goal under strict correctness guarantees (e.g., logistics, robotics, scheduling). Because this problem is PSPACE-complete, solvers rely heavily on heuristics—functions that estimate the cost-to-go from a given state to guide the search efficiently.

For decades, creating powerful, domain-independent heuristics (heuristics that work across arbitrary, unseen planning problems) has required years of deep theoretical work and manual tuning by human experts. While recent studies have used LLMs to generate heuristics for specific problem domains, this paper tackles a much harder challenge: can an LLM-driven evolutionary system discover general-purpose, domain-independent heuristics that beat the hand-engineered state of the art?

Methods

The authors framed heuristic discovery as a genetic search over C++ programs using an evolutionary framework built on top of OpenEvolve.

The core architecture consists of:

  • LLM as a Mutation Operator: The system prompts an ensemble of frontier reasoning models (GLM-5.1, Kimi-K2.6, and MiMo-v2.5-pro) to perform targeted, diff-based code rewrites on parent C++ heuristics.
  • Automated Repair Loop: If a generated heuristic fails to compile or crashes on a minimal test problem, a repair prompt feeds the compiler diagnostic back to the LLM to fix the bug.
  • MAP-Elites Archive: To maintain algorithmic diversity, candidates are stored in a multi-dimensional grid based on two behavioral features: informedness (how well it guides search, measured by state expansions normalized against the classic FF heuristic) and speed (evaluation rate per second).
  • Fitness Evaluation: Heuristics are evaluated using Greedy Best-First Search (GBFS) on a training set. The fitness score blends coverage (number of solved tasks) with an agile score (a continuous metric rewarding faster solving times).

Crucially, the system was tested under two seeding conditions: starting from a completely uninformed "blind" heuristic, and starting from the highly optimized, state-of-the-art FF heuristic.

Datasets

  • Training Set: 100 diverse problem instances spanning 10 domains selected from the Autoscale benchmark suite, ordered by escalating difficulty.
  • Evaluation Set: 720 completely unseen tasks across 8 domains from the 2023 International Planning Competition (IPC) Learning Track (including blocksworld, childsnack, ferry, floortile, miconic, rovers, satellite, and spanner). The training and testing suites are entirely disjoint to prevent data contamination.

Key Insights and Ideas

  • Starting Simple Beats Starting Smart: Counterintuitively, seeding the evolutionary process from the trivial "blind" heuristic produced more diverse and higher-performing final heuristics than seeding from the strong FF baseline. Even when the blind seed eventually re-discovered an FF-style variant, the diverse evolutionary path led to superior optimizations.
  • Reasoning Effort Affects Reliability, Not Peak Quality: The authors varied the LLM's reasoning effort (none, low, medium). Interestingly, higher reasoning effort significantly reduced compilation failures and zero-scoring programs, but it did not noticeably shift the quality distribution of the successful heuristics.
Figure 4: Distribution of scores grouped by reasoning effort. The primary effect is to reduce the number of 0-scoring heuris- tics, consistent with Table 1. The distribution of scores above 0 is essentially unchanged, suggesting that reasoning effort primarily affects the likelihood of producing a working heuris- tic rather than the quality of those that work.
  • Zero-Hallucination Deployment: Because the evolved artifacts are compiled directly into the Scorpion planner as plain C++ code, the LLM is completely out of the loop at runtime. This sidesteps the reliability and hallucination issues common to LLM-as-a-planner approaches, preserving the high-assurance guarantees of symbolic AI.

Key Results

  • Exceeding the State of the Art: On the held-out 2023 IPC Learning Track, the best evolved heuristic (evolved-blind-medium-2) solved 368 out of 720 tasks, outperforming the strongest hand-engineered baseline (add, which solved 352 tasks) and the human-designed FF anchor (350 tasks).
  • Spanning the Pareto Frontier: The evolved suite successfully mapped out and dominated the Pareto frontier of the informedness-speed tradeoff, offering a range of options from highly informed but computationally heavy algorithms to lightning-fast, lightweight heuristics.
Figure 1: Informedness–speed tradeoff across heuristics; higher is better on each. Scores are calculated across the 203 test tasks solved by all heuristics, and each task is normalized by the performance of FF before a geometric mean is taken. To increase the number of commonly solved tasks, we only include heuristics that solve at least a third of the tasks. Our evolved blind-seed heuristics (orange stars) span this Pareto frontier of strong baselines.

Limitations and Future Work

  • Scope Restrictions: The framework was only evaluated on typed STRIPS planning tasks with negation and action costs. Extending this to richer formalisms like numeric or temporal planning remains future work.
  • Search Algorithm Bias: All evaluations used greedy best-first search. The evolved heuristics are inadmissible (they don't guarantee mathematically optimal plans), making them unsuitable for optimal search configurations without further modification.
  • Reproducibility & Cost: Due to the high financial cost of commercial LLM APIs and cluster compute times, the authors only ran three trials per configuration, limiting statistical power. Furthermore, reliance on closed, cloud-hosted LLMs introduces risks if providers update the underlying models.
  • Future Directions: The authors suggest applying this quality-diversity evolutionary approach to other core components of symbolic solvers, such as the search algorithms themselves.

Summary updated

BibTeX
@misc{gestrin2026llm,
  author = {Elliot Gestrin and Jendrik Seipp},
  title = {{LLM-Evolved Domain-Independent Heuristics for Symbolic AI Planning}},
  year = {2026},
  eprint = {2605.29649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.29649},
}
Figure