Abstract
LLMs are being increasingly used for planning-style tasks, but their capabilities for planning and reasoning are poorly understood. We present a novel method for automatically converting planning benchmarks written in PDDL into textual descriptions and offer a benchmark dataset created with our method. We show that while the best LLM planners do well on many planning tasks, others remain out of reach of current methods.
Introduction
Evaluating Large Language Models (LLMs) on planning tasks typically involves the Planning Domain Definition Language (PDDL), the standard in the automated planning community. However, LLMs often struggle with raw PDDL code. Previous research has relied on humans manually translating PDDL domains into natural language (NL) descriptions. This approach faces two major hurdles: it is not scalable to hundreds of domains, and human-written prompts may inadvertently introduce biases or "hints" that simplify the task.
To overcome these limitations, we introduce AutoPlanBench, a framework that includes PDDL2NL, a pipeline for automatically converting PDDL tasks into natural language prompts. This enables the first large-scale, domain-independent evaluation of LLM planning capabilities.
Methodology
The PDDL2NL Pipeline
The PDDL2NL system employs a multi-stage LLM-based approach to translate formal logic into English. First, an LLM (GPT-4o) uses a few generic examples to learn how to translate PDDL predicates into NL templates. For example, the predicate (at ?obj ?loc) might become {?obj} is at {?loc}. Next, the system converts action schemas—including their preconditions and effects—into descriptive sentences. These snippets are then combined using fixed rules to ensure the logical structure of the original PDDL is preserved exactly.
Action Choice Mechanisms
We evaluated two primary paradigms for utilizing LLMs in planning:
- LLM Planning: The model attempts to generate a complete, multi-step plan in a single output.
- LLM Policy: The model acts as an iterative policy, selecting one action at a time. In this mode, a simulator provides feedback (the resulting state) after each step, allowing the model to react to the environment.
Experimental Evaluation
The study assessed performance across 13 classical planning domains (such as Blocksworld and Logistics) and a massive set of 675 instances from 41 domains of the International Planning Competition (IPC). We compared four specific configurations: Basic (full plan), Chain-of-Thought (CoT), Act (step-by-step), and ReAct (step-by-step with reasoning).
Key Results and Insights
The Superiority of Policy-based Acting
The most significant finding is that LLMs perform substantially better as policies than as planners. When the LLM selects actions one at a time and receives feedback from a simulator (the "Act" and "ReAct" modes), performance improves dramatically compared to generating a full plan from scratch. In the 13 primary domains, the ReAct mechanism solved 194/260 tasks, while the Basic plan generation only solved 100/260.
Automated vs. Manual Prompts
Automatically generated prompts were found to be just as effective as carefully handcrafted human prompts. In the Logistics domain, the PDDL2NL prompts actually enabled the LLM to solve more tasks than the manual prompts used in previous high-profile studies. This suggests that LLMs benefit from the clarity of the natural language structure rather than specific human "storytelling" elements.
Comparison with Symbolic Planners
While LLMs show promise, a significant gap remains between neural and symbolic planners. State-of-the-art symbolic solvers (like the FF heuristic) solve nearly 100% of these test cases almost instantaneously. LLMs do not perform an explicit search of the state space; instead, they rely on latent knowledge to guess the next move. However, the ReAct configuration showed impressive scaling in specific domains like Blocksworld, occasionally outperforming certain optimal symbolic configurations.
Conclusion
AutoPlanBench demonstrates that automatically generated natural language benchmarks are a viable and scalable way to evaluate LLMs. Our findings suggest that the future of AI planning may lie in "Neurosymbolic" systems—using LLMs to provide heuristics or intuitive "hints" to guide the rigorous search processes of symbolic planners.
Summary updated