TL;DR
PlanBench is a new, extensible benchmark designed to rigorously evaluate the planning and reasoning capabilities of Large Language Models (LLMs) using formal domains from the automated planning community. The study reveals that even state-of-the-art models like GPT-4 struggle significantly with actual plan generation and reasoning about change, often relying more on linguistic pattern matching than true planning logic.
What Problem Does This Paper Address?
While LLMs have shown impressive performance on common-sense tasks, there is a growing debate about whether they are actually "planning" or simply retrieving patterns from their massive training data. For example, if you ask an LLM how to make a sandwich, it likely retrieves a sequence it has seen thousands of times.
To truly test planning—the ability to reason about actions, preconditions, and effects to reach a goal—we need benchmarks where the solution cannot be simply "remembered." The authors address this by bridging the gap between Natural Language Processing (NLP) and the Automated Planning community, using formalisms like PDDL (Planning Domain Definition Language) to create a systematic assessment framework.
Methods
The authors developed an assessment architecture that translates formal planning problems into natural language prompts and back again. The system consists of two main parts:
- Domain-Independent Components: These include a symbolic planner (Fast-Downward) and a plan validator (VAL). These tools generate ground-truth solutions and verify the LLM's output with mathematical precision.
- Domain-Dependent Components: These include a problem generator and a template-based translator that converts PDDL states and actions into readable English.
The framework is illustrated in the diagram below:
The benchmark employs a "curriculum" of eight distinct tasks, ranging from basic Plan Generation and Cost-Optimal Planning to auxiliary reasoning tasks like Plan Verification, Replanning (handling unexpected changes), and Plan Generalization (extracting procedural patterns).
Datasets
PlanBench initializes with two classic domains from the International Planning Competition (IPC):
- Blocksworld: A domain focused on stacking colored blocks on a table using a single robotic hand. The authors generated 600 instances varying in object count and plan length.
- Logistics: A domain involving moving packages between locations using trucks and airplanes across different cities.
The distribution of the Blocksworld dataset is shown below:
Crucially, the authors also introduced obfuscated versions of these domains (e.g., "Mystery Blocksworld"). By replacing common words like "stack" or "block" with random alphanumeric strings or misleading words, they can test if the LLM is actually reasoning about the underlying logic or just relying on semantic associations.
Key Insights and Ideas
- Reasoning vs. Retrieval: The most striking insight is the performance drop on obfuscated domains. When the familiar "Blocksworld" semantics are removed, GPT-4’s plan generation accuracy plummets from ~34% to ~2%. This suggests that current LLMs rely heavily on linguistic cues rather than an internal model of the world's physics or logic.
- Verification is Easier than Generation: LLMs are significantly better at checking if a plan is valid (Plan Verification) than they are at creating one from scratch.
- Shallow Reasoning Limits: The models struggle with "Reasoning about Plan Execution"—predicting the final state of the world after a sequence of actions—even when those actions are perfectly valid.
- Brittleness to Reformulation: While GPT-4 is somewhat robust to shuffling the order of goal predicates, it still shows inconsistent performance when the same goal is described in slightly different ways.
Key Results
The authors evaluated GPT-4 and Instruct-GPT3 (text-davinci-002) on the Blocksworld domain. The quantitative results highlight a significant gap between LLM capabilities and human-level (or symbolic-planner-level) planning:
- Plan Generation: GPT-4 achieved only 34.3% accuracy, while Instruct-GPT3 managed a meager 6.8%.
- Cost-Optimal Planning: GPT-4 dropped to 33%, showing difficulty in not just finding a plan, but finding the best plan.
- Plan Verification: This was a relative strength for GPT-4, reaching 58.6% accuracy.
- Obfuscation: In the "Mystery Blocksworld" (Randomized) task, GPT-4's performance crashed to 2%, indicating a lack of robust, domain-independent reasoning.
Limitations and Future Work
The authors acknowledge several limitations:
- Domain Variety: The current benchmark only includes two IPC domains. Expanding to more complex domains (e.g., those with temporal constraints or uncertainty) is a priority.
- Evaluation Metrics: Currently, the benchmark uses a binary "correct/incorrect" metric. Future versions could incorporate partial correctness metrics to give a more nuanced view of progress.
- Prompt Engineering: The study primarily focused on one-shot natural language prompts. Exploring different prompting strategies (like Chain-of-Thought) more deeply within this framework is a suggested next step.
PlanBench is intended to be a "living" benchmark, and the authors have made the code and datasets publicly available to encourage the community to add new domains and test new models.
Summary updated