Table of Contents

LLM+P: LLMs with Classical Planners

LLM+P is a framework that combines the natural language understanding capabilities of large language models with the formal guarantees of classical AI planners.1) Introduced by Liu et al., 2023, the approach uses an LLM to translate natural language problem descriptions into Planning Domain Definition Language (PDDL), which is then solved by an established planner such as Fast Downward. This hybrid architecture leverages the strengths of both paradigms: LLMs handle ambiguous natural language input while classical planners provide optimal and correct solutions for well-defined planning problems.

PDDL Translation and Problem Formulation

The core LLM+P pipeline operates in three stages:

  1. Problem Translation: The LLM receives a natural language task description along with a PDDL domain template. It generates the PDDL problem file specifying the initial state, goal conditions, and relevant objects.
  2. Classical Planning: An off-the-shelf planner (e.g., Fast Downward, LAMA, FF) solves the PDDL problem, producing a guaranteed-valid action sequence.
  3. Plan Translation: The solution is converted back to natural language or executable actions for the user or downstream agent.

This separation of concerns ensures that the LLM handles what it excels at (language understanding, common sense, disambiguation) while the planner handles what it excels at (combinatorial search with correctness guarantees).

LLM as Planning Formalizer

A 2025 survey by Tantakoun, Muise, and Zhu (ACL Findings 2025) reframes LLMs not as planners themselves but as planning formalizers that construct and iteratively refine PDDL models. Key contributions:

Integration with Classical Planners

Common planners used in LLM+P architectures:

The 2025 International Planning Competition evaluation tested frontier LLMs (DeepSeek R1, Gemini 2.5 Pro, GPT-5) directly against LAMA on standard IPC domains. While GPT-5 was competitive on standard domains, all LLMs degraded significantly on obfuscated variants where semantic cues were removed, confirming that pure LLM planning relies heavily on pattern matching rather than formal reasoning.

Advantages Over Pure LLM Approaches

The LLM+P paradigm has inspired several extensions:

Limitations and Open Challenges

Active research directions include automated PDDL domain learning, end-to-end differentiable planning, and integration with reinforcement learning for problems that resist pure symbolic formulation.

See Also

References