Abstract
While Large Language Models (LLMs) are notoriously poor at direct step-by-step planning, they show significant promise as formalizers—translating natural language into symbolic representations like PDDL that a deterministic solver can then execute. This paper reveals that while this "neuro-symbolic" approach outperforms direct planning, its success hinges heavily on the "naturalness" of the input; as descriptions become more human-like and omit "obvious" common-sense details, even the strongest models begin to stumble.
Introduction
In the world of AI planning, there is a sharp divide between informal plans (like an LLM suggesting how to throw a party) and formal plans (executable instructions for a robot in a grounded environment). LLMs generally fail at the latter because they lack grounded reasoning. Recent research has pivoted toward using LLMs as "formalizers": the LLM reads a text description and generates a Planning Domain Definition Language (PDDL) file, which is then handed off to a traditional symbolic solver.
However, previous studies often simplified the task by providing the model with the "Domain" file (the rules of the world) or using highly structured, "templated" text. This paper removes those "training wheels," forcing LLMs to generate the entire PDDL stack from descriptions ranging from "heavily templated" to "natural."
Methodology
The authors evaluate two primary methodologies:
- LLM-as-Planner: The model is given a text description and asked to output the plan directly.
- LLM-as-Formalizer: The model generates both a PDDL Domain File (actions, preconditions, effects) and a Problem File (objects, initial state, goal). These are fed into a deterministic solver to find a plan.
The core of the experiment lies in varying the naturalness of the input descriptions across three levels:
- Heavily Templated: A near word-for-word translation of PDDL.
- Moderately Templated: Structured but uses more natural phrasing.
- Natural: Human-like descriptions that omit implicit information (e.g., omitting that a block must be "clear" to be picked up).
Datasets
The study utilizes four classic planning simulations from the International Planning Competition (IPC): BlocksWorld, Logistics, Barman, and Mystery BlocksWorld. The "Mystery" domain replaces standard names with nonsense words to test if models are reasoning or merely memorizing training data. The authors contributed new, human-validated "Natural" and "Moderately Templated" versions of these datasets.
Key Insights
- The "Common Sense" Gap: In "Natural" descriptions, humans omit obvious state variables. LLMs frequently fail to infer these implicit predicates (like
clearorarm-empty), leading to unsolvable PDDL files. - Formalization > Planning: For almost every model-data combination, the "formalizer" approach beat the "planner" approach. LLMs are better at information extraction and translation than at the combinatorial search required for planning.
- Robustness to Lexical Perturbation: The formalizer approach is remarkably robust. In the "Mystery" domain, the planner's performance tanked, while the formalizer maintained high accuracy by treating the task as a translation problem.
- The Model Divide: There is a massive performance gap between "reasoning" models (GPT-4o, o3-mini, DeepSeek-R1) and standard open-weights models like Llama-3.1, which often struggle with basic PDDL syntax.
Key Results
- BlocksWorld Success: On heavily templated data, GPT-4o as a formalizer achieved 60% correctness, compared to only 33% when acting as a direct planner.
- Mystery Domain Dominance: On obfuscated data, GPT-4o as a formalizer hit 70% correctness, while the direct planner failed completely (0%).
- Natural Language Penalty: Performance dropped significantly as language became more natural. For GPT-4o on BlocksWorld, correctness fell from nearly 90% (templated) to 60% (natural).
- DeepSeek-R1 Outlier: DeepSeek-R1 was the only model that occasionally performed better as a planner than a formalizer on complex tasks, likely due to its internal "Chain-of-Thought" reasoning.
Conclusion
While LLMs excel as formalizers, they hit a "complexity ceiling" in domains like Barman. Semantic errors, such as swapping parameters in actions, remain common. Future work should explore few-shot prompting or fine-tuning specifically on PDDL to bridge the gap in weaker models and address dynamic, partially-observed environments.
Summary updated