Abstract
While Large Language Models (LLMs) possess a "common sense" intuition for many tasks, they often fail at the rigorous state-tracking required for classical planning. This paper identifies a "simulation collapse" where LLM performance degrades significantly as plan length increases. We introduce SimPlan, a hybrid architecture that offloads world-modeling to external symbolic tools while using a specialized LLM as a heuristic guide for a Greedy Best-First Search (GBFS) algorithm. SimPlan achieves a 100% success rate on simple planning tasks and generalizes to complex scenarios where state-of-the-art models like GPT-4 fail.
The Problem: LLMs as Poor World Models
Classical planning involves finding a sequence of actions to reach a goal in structured environments (e.g., Blocksworld or Logistics). Traditionally, this is solved using symbolic solvers and the Planning Domain Definition Language (PDDL). Recently, attempts to use LLMs as end-to-end planners have revealed a critical gap: LLMs struggle to track the "physics" of a domain. They frequently fail to realize that an object cannot be in two places at once or that a door is locked. As the number of required actions increases, LLM accuracy in predicting the resulting state of the world drops by an average of 80% over just seven steps.
Methods: The SimPlan Architecture
To address these failures, we propose SimPlan (Similarity-based Planning), a hybrid system that combines symbolic AI precision with neural intuition:
- External World Modeling: Instead of relying on LLM imagination, SimPlan uses a PDDL-based tool to calculate next states and identify valid actions, ensuring 100% accurate environment simulation.
- LLM as a Heuristic: We fine-tune a smaller model (Flan-T5) to act as a "ranker." It uses a bi-encoder architecture to score how well potential actions align with the current state and the ultimate goal.
- Search Strategy: SimPlan employs Greedy Best-First Search (GBFS), allowing the system to explore promising paths and backtrack if it hits a dead end, a significant improvement over standard LLM beam search.
Datasets and Evaluation
Models were evaluated across five classic planning domains: Blocksworld, Ferry, Grippers, Depots, and Minigrid. We established two difficulty tiers:
- Simple: 2-5 objects, ~13 actions.
- Complex: 11-25 objects, ~357 actions. This "Complex" set is significantly more challenging than benchmarks used in previous LLM planning research.
Key Results
SimPlan significantly outperformed both vanilla LLMs (like GPT-4) and other state-of-the-art fine-tuned planners:
- Simple Tasks: SimPlan achieved a 100% success rate across all five domains.
- Complex Tasks: In the "Complex Blocksworld" setting, SimPlan solved 56% of problems, while GPT-4 and other baselines (like LLM4PDDL and Plansformer) solved 0%.
- Generalization: Despite being trained only on "Simple" instances, SimPlan successfully generalized to "Complex" instances with up to 25 blocks, proving the robustness of the hybrid search approach.
Conclusion
The success of SimPlan demonstrates that LLMs are most effective in planning when used as heuristic guides rather than end-to-end simulators. By offloading state-tracking to symbolic tools, we can leverage the intuitive ranking capabilities of LLMs without suffering from "hallucinated physics." Future work will explore extending this framework to numeric planning and environments with uncertainty.
Summary updated