NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Extensive Evaluation of PDDL Capabilities in off-the-shelf LLMs

Kaustubh Vyas, Damien Graux, Sébastien Montella, Pavlos Vougiouklis, Ruofei Lai, Keshuang Li, Yang Ren, Jeff Z. PanarXiv 2025 · DOI

TL;DR

This paper rigorously evaluates the capabilities of 20 off-the-shelf Large Language Models (LLMs) in understanding and generating PDDL, a formal language for AI planning. While LLMs show promise in generating syntactically correct PDDL, they largely struggle with producing semantically accurate and executable plans, highlighting the gap between natural language fluency and formal reasoning.

What Problem Does This Paper Address?

Artificial intelligence planning has traditionally relied on formal languages like PDDL to represent actions, states, and goals. With the recent surge in LLM capabilities, there's growing interest in their potential to bridge the gap between natural language instructions and these formal planning representations. Previous studies have shown LLMs can translate natural language to PDDL, but often produce outputs that are syntactically valid yet semantically incorrect or unusable by planners. This paper aims to provide a comprehensive, zero-shot evaluation of a wide range of LLMs on their ability to parse, generate, and reason with PDDL, identifying their strengths and weaknesses in this domain.

Methods

The authors conducted a zero-shot evaluation of 20 LLMs across three core PDDL tasks:

  • Action Generation: LLMs were tasked with generating PDDL actions from natural language descriptions and a given PDDL domain.
  • Problem Generation: LLMs were asked to generate complete PDDL problems (initial state and goal) from natural language instructions and a PDDL domain.
  • Plan Generation: LLMs were prompted to generate a sequence of actions (a plan) given a PDDL domain and problem.

The evaluation used established benchmarks and metrics, including:

  • Parsable: Checks for correct PDDL syntax.
  • Solvable: Assesses if the generated PDDL can be processed by standard PDDL planners.
  • Equivalent: Measures how closely the generated PDDL matches a gold standard in structure and semantics.
  • Similarity Metrics: Normalized differences for action generation and ChrF for problem generation were used to quantify similarity to gold standards.

The study specifically focused on zero-shot prompting to assess the LLMs in their unmodified state.

Datasets

The study utilized two primary datasets:

  • Oswald et al. (2024) dataset: Used for evaluating action generation. This dataset was enriched with NL variations to increase its size.
  • Planetarium benchmark (Zuo et al., 2024): A subset of this benchmark was used for evaluating problem and plan generation.

Key Insights and Ideas

  • Syntactic Fluency vs. Semantic Correctness: LLMs excel at generating syntactically correct PDDL (high "parsable" scores) but often falter when it comes to semantic correctness and producing executable plans. This highlights a fundamental challenge in translating natural language understanding to formal logical reasoning.
  • LLMs as "Co-pilots": Despite limitations in independent planning, LLM-generated PDDL actions and problems show a high degree of closeness to gold standards. This suggests they can be valuable "co-pilots" to assist human experts by streamlining the drafting process, allowing experts to focus on refinement.
  • Model Size Isn't Everything: For most LLM families, increasing parameter count doesn't consistently lead to better PDDL fluency. This indicates that current pre-training and fine-tuning methods may not be optimally scaling LLMs for complex PDDL tasks.
  • Family-Specific Biases: The LLaMA family, for instance, showed a notable struggle with action generation syntax (e.g., using ":preconditions" instead of ":precondition"), despite performing better in problem generation.
  • Plan Generation is the Hardest: Generating a valid plan from a PDDL domain and problem is the most challenging task for LLMs, with even top performers achieving very low success rates.

Key Results

  • Action Generation: Top performers like GPT-40, Qwen2.5-72B-instruct, and Mistral-Large2 showed strong results across parsable, solvable, and equivalent metrics. However, the LLaMA family performed poorly.
  • Problem Generation: Most models could produce syntactically correct PDDL problems, but their performance declined for generating equivalent or solvable problems. The LLaMA family showed improved accuracy here, though overall equivalency rates remained inadequate.
  • Plan Generation: This was the weakest area for all LLMs. Gemini-1.5-Pro performed best, but only achieved a valid plan in 16.87% of cases, significantly lower than traditional planners (e.g., BFWS-FF at 86.25%).
  • Cost vs. Performance: There was no clear correlation between LLM cost and performance. Some expensive models performed similarly to cheaper ones, though within a family, more expensive models generally performed better.
  • Horizon Distance: Medium-horizon PDDL problems (11-50 actions) generally yielded better results than short or long horizons, suggesting a sweet spot for context length. Long horizons proved particularly challenging due to coherence and alignment issues.

Limitations and Future Work

  • Zero-Shot Limitation: The study focused solely on zero-shot prompting. Few-shot prompting or fine-tuning might improve LLM performance, but this was outside the scope to assess unmodified models.
  • Inadequate for Independent Use: The results strongly suggest that current off-the-shelf LLMs are not yet reliable for independent PDDL generation or planning tasks.
  • Future Directions: The authors suggest exploring problem decomposition strategies to handle long-horizon planning and further investigate techniques like few-shot prompting and fine-tuning to enhance LLM capabilities in PDDL. They also highlight the potential for LLMs to act as supportive tools in LLM-modulo planning frameworks.

Summary updated

BibTeX
@misc{vyas2025extensive,
  author = {Kaustubh Vyas and Damien Graux and Sébastien Montella and Pavlos Vougiouklis and Ruofei Lai and Keshuang Li and Yang Ren and Jeff Z. Pan},
  title = {{An Extensive Evaluation of PDDL Capabilities in off-the-shelf LLMs}},
  year = {2025},
  eprint = {2502.20175},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.20175},
}
Figure