Successor-Generator Planning with LLM-generated Heuristics
Alexander Tuisov, Yonatan Vernik, Alexander Shleyfman
TL;DR
This work introduces a framework where LLMs synthesize problem-specific heuristic functions directly from Explicit Successor Generator (ESG) definitions implemented in Rust, enabling GBFS-based planning without repeated model calls. By translating traditional problem descriptions into ESG components, the approach generates a tailored heuristic that guides search effectively, even for domains with complex numeric constraints or nonstandard transitions. Empirical results across numeric IPC benchmarks and expressive domains demonstrate state-of-the-art performance in many cases, while also highlighting trade-offs between model cost, reasoning effort, and instance-specific information. The method broadens planning expressiveness beyond PDDL and offers a practical, verifiable pipeline for automatic heuristic generation and planning, with future work on robustness and hybrid strategies.
Abstract
Heuristics are a central component of deterministic planning, particularly in domain-independent settings where general applicability is prioritized over task-specific tuning. This work revisits that paradigm in light of recent advances in large language models (LLMs), which enable the automatic synthesis of heuristics directly from problem definitions -- bypassing the need for handcrafted domain knowledge. We present a method that employs LLMs to generate problem-specific heuristic functions from planning tasks specified through successor generators, goal tests, and initial states written in a general-purpose programming language. These heuristics are compiled and integrated into standard heuristic search algorithms, such as greedy best-first search. Our approach achieves competitive, and in many cases state-of-the-art, performance across a broad range of established planning benchmarks. Moreover, it enables the solution of problems that are difficult to express in traditional formalisms, including those with complex numeric constraints or custom transition dynamics. We provide an extensive empirical evaluation that characterizes the strengths and limitations of the approach across diverse planning settings, demonstrating its effectiveness.
