Preprint
Large Language Models

Teaching LLMs to Plan

Pulkit Verma, Ngoc La, Anthony Favier, Swaroop Mishra, Julie A. Shah
September 14, 2025arXiv.org11 citations

11

Citations

0

Influential Citations

arXiv.org

Venue

2025

Year

Abstract

Large language models (LLMs) have demonstrated impressive capabilities across diverse tasks, yet their ability to perform structured symbolic planning remains limited, particularly in domains requiring formal representations like the Planning Domain Definition Language (PDDL). In this paper, we present a novel instruction tuning framework, PDDL-Instruct, designed to enhance LLMs'symbolic planning capabilities through logical chain-of-thought reasoning. Our approach focuses on teaching models to rigorously reason about action applicability, state transitions, and plan validity using explicit logical inference steps. By developing instruction prompts that guide models through the precise logical reasoning required to determine when actions can be applied in a given state, we enable LLMs to self-correct their planning processes through structured reflection. The framework systematically builds verification skills by decomposing the planning process into explicit reasoning chains about precondition satisfaction, effect application, and invariant preservation. Experimental results on multiple planning domains show that our chain-of-thought reasoning based instruction-tuned models are significantly better at planning, achieving planning accuracy of up to 94% on standard benchmarks, representing a 66% absolute improvement over baseline models. This work bridges the gap between the general reasoning capabilities of LLMs and the logical precision required for automated planning, offering a promising direction for developing better AI planning systems.

Analysis

Why This Paper Matters

Large language models have shown remarkable fluency in natural language tasks but often falter on structured symbolic reasoning, especially in planning domains that require formal logic. This paper addresses a critical bottleneck: the inability of LLMs to reliably reason about action preconditions, state transitions, and plan validity in formal languages like PDDL. By introducing PDDL-Instruct, the authors demonstrate that instruction tuning with explicit chain-of-thought reasoning can dramatically improve planning accuracy, from baseline levels to 94%. This is significant because planning is a core component of many AI applications, from robotics to logistics, and current LLM-based approaches often produce plausible but invalid plans.

The paper's focus on self-correction through structured reflection is particularly noteworthy. Rather than treating planning as a single-shot generation task, the framework teaches models to verify their own reasoning steps, mimicking the iterative refinement process used in classical planning systems. This aligns with broader trends in AI toward neurosymbolic methods that combine neural language models with symbolic reasoning engines.

Technical Contributions

  • PDDL-Instruct Framework: A novel instruction tuning approach that generates training data by decomposing planning problems into logical reasoning chains. Each chain explicitly checks action applicability, state transitions, and invariant preservation.
  • Chain-of-Thought Prompts: Carefully designed prompts guide the model through step-by-step reasoning, including precondition satisfaction checks, effect application, and plan validity verification.
  • Self-Correction Mechanism: The model learns to detect and correct errors in its own planning process by reflecting on logical inconsistencies, enabling iterative improvement without external feedback.
  • Systematic Decomposition: The planning process is broken into explicit reasoning steps: (1) determine current state, (2) check action preconditions, (3) apply effects, (4) verify invariants, (5) update state, and (6) repeat until goal is reached.

Results

The paper reports planning accuracy of up to 94% on standard benchmarks across multiple planning domains, representing a 66% absolute improvement over baseline LLMs. This is a substantial gain, indicating that the instruction tuning approach effectively transfers logical reasoning skills to the model. The results are consistent across different domains, suggesting the framework generalizes well within the PDDL formalism. However, the paper does not provide detailed comparisons with classical planners or other neurosymbolic approaches, which would help contextualize the performance.

Significance

This work has broad implications for AI planning systems. By enabling LLMs to perform reliable symbolic planning, it opens the door to hybrid systems that combine the flexibility of language models with the rigor of formal methods. The self-correction capability is particularly valuable for real-world applications where plans must be validated and refined. Future work could extend this approach to other formal languages, integrate with external verifiers, or scale to more complex planning domains. The paper represents a meaningful step toward trustworthy AI systems that can reason logically while leveraging the knowledge and fluency of large language models.