PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Change

Karthik Valmeekam, Matthew Marquez, Alberto Olmo, Sarath Sreedharan, Subbarao Kambhampati

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:

  1. 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.
  2. 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:

Figure 1: The diagrammatic overview of the overall test framework. Our system consists of a domain- specific component that allows the generation of various instances of the specific PDDL planning problems and the translation from PDDL to text and back. The domain-independent component is responsible for generating the test instances that will be fed into the LLM and verifying the output generated by the LLM.

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:

Figure 2: Distribution of the number of objects and optimal plan length for the Blocksworld problem set While PlanBench makes it easy to run the curriculum on new domains, we initialize it with two different International Planning Competition (IPC) [13] domains: Blocksworld and Logistics. For each domain, we provide a description, distribution of selected problems, and details on domain- specific curriculum configurations 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

Abstract

Generating plans of action, and reasoning about change have long been considered a core competence of intelligent agents. It is thus no surprise that evaluating the planning and reasoning capabilities of large language models (LLMs) has become a hot topic of research. Most claims about LLM planning capabilities are however based on common sense tasks-where it becomes hard to tell whether LLMs are planning or merely retrieving from their vast world knowledge. There is a strong need for systematic and extensible planning benchmarks with sufficient diversity to evaluate whether LLMs have innate planning capabilities. Motivated by this, we propose PlanBench, an extensible benchmark suite based on the kinds of domains used in the automated planning community, especially in the International Planning Competition, to test the capabilities of LLMs in planning or reasoning about actions and change. PlanBench provides sufficient diversity in both the task domains and the specific planning capabilities. Our studies also show that on many critical capabilities-including plan generation-LLM performance falls quite short, even with the SOTA models. PlanBench can thus function as a useful marker of progress of LLMs in planning and reasoning.
BibTeX
@inproceedings{valmeekam2023planbench,
  author = {Karthik Valmeekam and Matthew Marquez and Alberto Olmo and Sarath Sreedharan and Subbarao Kambhampati},
  title = {{PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Change}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=YXogl4uQUO},
}
Figure