Planning in the Dark: LLM-Symbolic Planning Pipeline Without Experts

Sukai Huang, Nir Lipovetzky, Trevor Cohn

Abstract

Researchers have developed a new pipeline that converts ambiguous natural language instructions into rigorous symbolic plans without requiring a human expert in the loop. By generating a diverse library of potential action schemas and using a fine-tuned semantic filter, the system automatically identifies the most likely interpretations and produces valid, executable plans that outperform direct LLM reasoning.

Introduction

Large Language Models (LLMs) excel at natural language understanding but often struggle with the strict, multi-step logic required for complex planning, frequently resulting in "hallucinations." To mitigate this, hybrid pipelines are often employed: an LLM translates natural language into a formal language like PDDL (Planning Domain Definition Language), and a classical symbolic planner then computes a mathematically sound solution.

However, a significant bottleneck remains: the human expert. Current hybrid systems typically require a PDDL expert to manually review and correct the LLM's output. A single missing predicate can invalidate an entire plan, and studies suggest it can take over 50 iterations of human-led debugging to refine a single domain. Furthermore, experts may misinterpret a user's ambiguous intent, leading to subjective and limited interpretations. This research aims to remove the expert from the loop, creating a fully automated end-to-end pipeline.

The human-in-the-loop bottleneck and the challenge of subjective interpretation in current planning systems.

Methodology: The Three-Step Pipeline

The proposed system handles "planning in the dark"—situations where the system lacks a perfect initial model of the world—through a three-step process:

  1. Building a Diverse Schema Library: Rather than seeking a single "perfect" PDDL translation, the system utilizes multiple LLM instances with high "temperature" settings. This generates a wide range of candidate action schemas, capturing various possible interpretations of the user's natural language.
  2. Semantic Coherence Filtering: To manage the resulting candidate explosion, a sentence encoder scores how well each PDDL schema aligns with the original text. The system employs Conformal Prediction—a statistical framework—to prune low-confidence candidates while maintaining a high probability that the "correct" schema is retained.
  3. Plan Scoring and Ranking: The remaining schemas are processed by a symbolic planner (Dual-BWFS). Since multiple valid plans may emerge from different interpretations, the system ranks them based on their cumulative semantic similarity to the original instructions.
The three-step automated pipeline: building a diverse library, semantic filtering via conformal prediction, and plan ranking.

A key technical innovation is the training of the semantic filter using triplet loss and "hard negatives"—PDDL schemas that are logically flawed but semantically similar to correct ones—to enhance the encoder's discernment.

Experimental Evaluation

The system was evaluated on three domains designed to be unfamiliar to LLMs to prevent data leakage: Libraryworld (stacking/categorizing books), Minecraft (resource gathering/crafting), and Dungeon (navigation/item usage). Training and calibration of semantic encoders utilized data from the International Planning Competition (IPC) and PDDLGym.

Key Results

  • Efficiency: Conformal Prediction reduced the number of schema combinations to just 3.3% of the original set, while doubling the ratio of solvable schemas from 10.9% to 23.0%.
  • Reliability: While a single LLM instance rarely generates a perfectly solvable schema set for complex tasks, deploying 10 LLM instances was sufficient to consistently find solvable sets across all test domains.
  • Human Preference: In blind tests, human assessors preferred plans from this automated pipeline over those generated by direct-LLM methods like Tree-of-Thought (ToT).

Discussion

A core insight of this work is that ambiguity is a feature. By generating multiple schemas, the system preserves the inherent ambiguity of natural language. For instance, in "Libraryworld," different LLM instances might interpret "organize" as "stack by color" or "stack by category," and the pipeline provides valid plans for both. Furthermore, the system leverages symbolic planners as error detectors; they can quickly discard hallucinated logic that is mathematically unsolvable. This allows the hybrid system to solve complex non-linear problems, such as the Sussman Anomaly, which typically baffle direct LLM reasoning.

Conclusion and Future Work

The system's performance is currently tied to the underlying LLM's reasoning capabilities; open-source models generally underperform compared to proprietary models like GPT-4. Future research will focus on developing direct evaluation metrics for "schema quality" and better methods for measuring "domain equivalence" to ensure different PDDL rules accurately describe the same physical reality.

Summary updated

BibTeX
@inproceedings{huang2025planning,
  author = {Sukai Huang and Nir Lipovetzky and Trevor Cohn},
  title = {{Planning in the Dark: LLM-Symbolic Planning Pipeline Without Experts}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i25.34855},
}
Figure