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

Sukai Huang, Nir Lipovetzky, Trevor Cohn

Abstract

Large Language Models (LLMs) have shown promise in solving natural language-described planning tasks, but their direct use often leads to inconsistent reasoning and hallucination. While hybrid LLM-symbolic planning pipelines have emerged as a more robust alternative, they typically require extensive expert intervention to refine and validate generated action schemas. This not only limits scalability but also introduces a potential for biased interpretation, as a single expert's interpretation of ambiguous natural language descriptions might not align with the user's actual intent. To address this, we propose a novel approach that constructs an action schema library to generate multiple candidates, accounting for the diverse possible interpretations of natural language descriptions. We further introduce a semantic validation and ranking module that automatically filters and ranks the generated schemas and plans without an expert-in-the-loop. Our experiments demonstrate the feasibility of a fully automated end-to-end LLM-symbolic planner, opening up AI planning to a broader audience with less prerequisite domain expertise.

The Problem: The Expert Bottleneck

While LLMs excel at natural language understanding, they struggle with consistent logical reasoning, often hallucinating impossible steps in complex plans. Hybrid systems attempt to solve this by using an LLM to translate tasks into formal languages like PDDL (Planning Domain Definition Language), which are then processed by symbolic planners.

However, these systems are notoriously brittle. A minor error in the PDDL code—such as a missing predicate or an incorrect logical operator—can render the planner unable to find a solution. Currently, correcting these errors requires an "expert-in-the-loop" to manually iterate on the code, a process that can take dozens of attempts for a single domain. This introduces a significant scalability bottleneck and risks "expert bias," where the specialist's interpretation of a task may diverge from the user's original intent.

Limitations of current LLM-symbolic planning: expert bottlenecks and subjective interpretation.

Methodology: An Automated Pipeline

To remove the need for human experts, we propose a three-step automated pipeline designed to bridge the gap between ambiguous natural language and rigid symbolic logic:

  1. Building a Diverse Schema Library: Instead of seeking a single "perfect" translation, the system uses multiple LLM instances with high diversity settings to generate a wide array of candidate action schemas. This approach treats natural language ambiguity as a feature rather than a bug.
  2. Semantic Coherence Filtering: To manage the resulting volume of candidates, a fine-tuned Sentence Encoder (based on RoBERTa) measures the semantic alignment between the generated PDDL and the original natural language description. We employ Conformal Prediction (CP) to statistically ensure that high-quality candidates are retained while filtering out noise.
  3. Plan Scoring and Ranking: The remaining valid combinations are processed by a symbolic planner (e.g., DUAL-BWFS). The resulting plans are then ranked based on cumulative semantic similarity scores, providing the user with the most likely intended solutions.
The three-step LLM-symbolic planning pipeline and the underlying semantic filtering mechanism.

A critical technical innovation is the use of "Hard Negatives" to train the sentence encoder. By intentionally introducing subtle logical errors into PDDL code (e.g., swapping preconditions and effects), the model learns to detect catastrophic failures that standard encoders often overlook.

Evaluation and Results

The pipeline was evaluated using 200,000 synthesized samples and three novel test domains: Libraryworld (organizing books), Minecraft (resource gathering), and Dungeon (RPG-style puzzles).

Key findings include:

  • Expert-Free Success: The pipeline consistently identified solvable plans across all domains without human intervention.
  • Efficiency: Conformal Prediction filtering reduced the search space to just 3.3% of the original combinations while doubling the density of solvable schemas.
  • Superior Reasoning: The pipeline significantly outperformed direct LLM planning methods like "Tree-of-Thought" (ToT), particularly on non-linear problems like the Sussman Anomaly, where LLMs typically fail due to linear reasoning biases.
  • Human Alignment: In blind evaluations, human experts ranked the pipeline's top-ranked plans significantly higher than those from direct LLM planning, approaching the quality of human-authored "gold-standard" plans.

Discussion and Future Work

Our approach demonstrates that by generating a library of possibilities, we increase the statistical likelihood of finding a solvable set of actions that aligns with user intent. However, challenges remain. The "Preparedness Paradox" observed in the Dungeon domain—where humans preferred logically unnecessary actions (like grabbing a sword) for stylistic reasons—suggests that future work should focus on aligning symbolic optimality with human common sense. Additionally, the system's performance is still bounded by the underlying LLM's ability to generate at least one viable candidate for the schema library.

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