Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planning

Pulkit Verma, Ngoc La, Anthony Favier, Swaroop Mishra, Julie A. Shah · DOI

Abstract

Large Language Models (LLMs) excel at natural language tasks but struggle with the rigorous logical requirements of symbolic planning. This paper introduces PDDL-INSTRUCT, a two-phase instruction tuning framework designed to bridge the gap between linguistic fluency and symbolic reasoning. By decomposing plans into verifiable logical chains and integrating feedback from an external symbolic verifier (VAL), PDDL-INSTRUCT significantly enhances the planning capabilities of LLMs. Experimental results on the PlanBench benchmark show accuracy improvements of up to 66%, with models achieving up to 94% accuracy on complex tasks.

Introduction

Symbolic planning involves finding a sequence of actions to transition a system from an initial state to a goal state, governed by strict preconditions and effects. This task is typically formalized using the Planning Domain Definition Language (PDDL). While LLMs can generate text that resembles PDDL plans, they often fail to maintain logical consistency, frequently hallucinating state changes or ignoring physical constraints. Because planning is PSPACE-complete, it requires a level of precision that standard next-token prediction models struggle to achieve without specific grounding.

Methodology: The PDDL-INSTRUCT Framework

The researchers propose a two-phase training approach to instill logical rigor into LLMs, moving beyond simple pattern matching toward verifiable reasoning.

The PDDL-INSTRUCT framework, illustrating the two-phase instruction tuning process using symbolic feedback from the VAL verifier.

Phase 1: Initial Instruction Tuning

The model is first fine-tuned on a dataset of planning problems paired with natural language explanations. This phase includes both successful plans and "negative" examples—plans that fail—accompanied by explanations of the specific logical errors (e.g., "The action failed because the robot's hand was not empty").

Phase 2: Chain-of-Thought (CoT) Instruction Tuning

The core innovation lies in Phase 2, where the model is trained to generate plans as a sequence of (state, action, next_state) triplets. This output is passed to an external symbolic verifier, VAL.

  • Reasoning Chain Optimization: The model is tuned to ensure its internal state tracking matches the verifier’s feedback.
  • End-Task Optimization: The model is further refined to ensure the complete sequence of actions successfully reaches the goal state.

The framework explores two feedback levels: Binary (success/failure) and Detailed (specific reasons for failure, such as which precondition was not met).

Experimental Setup and Results

The framework was evaluated using PlanBench, focusing on three domains: Blocksworld (stacking blocks), Mystery Blocksworld (obfuscated semantics), and Logistics (transporting packages).

Performance comparison across different domains and training configurations for Llama-3 and GPT-4, showing the impact of PDDL-INSTRUCT.

Key Findings

  1. Significant Accuracy Gains: In the Blocksworld domain, Llama-3-8B's accuracy jumped from a baseline of 28% to 94% after PDDL-INSTRUCT tuning.
  2. Overcoming Semantic Bias: In "Mystery Blocksworld," where action names are obfuscated to prevent reliance on semantic memory, the baseline model failed almost entirely (1% accuracy). PDDL-INSTRUCT enabled the model to achieve 64% accuracy, suggesting it learned the underlying rules of PDDL reasoning rather than just memorizing common patterns.
  3. The Power of Detailed Feedback: Providing specific reasons for failure was consistently more effective than simple binary feedback. Detailed feedback allows the model to pinpoint and correct specific logical misconceptions during the tuning process.
  4. Competitive Performance: A tuned Llama-3-8B model outperformed the base GPT-4 model in several scenarios, demonstrating that specialized instruction tuning can be more effective than simply increasing model scale.

Discussion and Future Work

While PDDL-INSTRUCT represents a major step forward, several challenges remain. The current implementation focuses on the STRIPS subset of PDDL and does not yet address complex features like temporal constraints or numerical costs. Furthermore, the framework currently relies on an external verifier; a key future objective is "self-verification," where the LLM can autonomously critique and correct its own plans without an external oracle.

By transforming planning from a "black box" generation task into a series of atomic, verifiable logical steps, PDDL-INSTRUCT provides a robust pathway for deploying LLMs in environments requiring high-stakes symbolic reasoning.

Summary updated

BibTeX
@misc{verma2025teaching,
  author = {Pulkit Verma and Ngoc La and Anthony Favier and Swaroop Mishra and Julie A. Shah},
  title = {{Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planning}},
  year = {2025},
  eprint = {2509.13351},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.13351},
}
Figure