arXivPreprintOpen accesscs.AI

Which LLM is Best for Translating Natural Language Goals to PDDL

Tomas Balyo, Lukas Chrpa, G. Michael Youngblood

Computational

Key points

From the paper's conclusion
  • Empirically evaluated whether current Large Language Models (LLMs) can reliably translate natural language testing goals into well-formed PDDL targets suitable for classical planning using real-world, domain-specific benchmarks.
  • Six contemporary models were systematically assessed on correctness, speed, and error tendencies using a carefully designed prompt template, with all models demonstrating high correctness, exceeding 92%, with Gemini 2.5 Flash achieving the highest accuracy at 96% and GPT-4.1 leading in response speed.
  • LLMs demonstrate significant progress in enabling them to act as robust bridges between natural language objectives and automated planning pipelines, despite occasional failures arising from language ambiguity and limitations in domain representation.

Abstract

Bridging the gap between human intent and machine execution remains a challenge in automated planning, where expressing goals in formal languages like PDDL restricts accessibility to non-experts. This paper empirically evaluates whether current Large Language Models (LLMs) can reliably translate natural language testing goals, written in informal language by video game testers, into well-formed PDDL targets suitable for classical planning. We present a carefully designed prompt template, integrating insights from iterative experimentation, aimed at maximizing both accuracy and response coherence from multiple state-of-the-art LLMs. Six contemporary models are systematically assessed on correctness, speed, and error tendencies using real-world, domain-specific benchmarks. All models demonstrate high correctness, exceeding 92\%, with Gemini 2.5 Flash achieving the highest accuracy at 96\% and the lowest incidence of false positives, while GPT-4.1 leads in response speed. Despite these advances, critical distinctions exist in model performance, and occasional failures arise from language ambiguity and limitations in domain representation. Our analysis underscores both the significant progress and ongoing gaps in enabling LLMs to act as robust bridges between natural language objectives and automated planning pipelines.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • Empirically evaluated whether current Large Language Models (LLMs) can reliably translate natural language testing goals into well-formed PDDL targets suitable for classical planning using real-world, domain-specific benchmarks.
  • Six contemporary models were systematically assessed on correctness, speed, and error tendencies using a carefully designed prompt template, with all models demonstrating high correctness, exceeding 92%, with Gemini 2.5 Flash achieving the highest accuracy at 96% and GPT-4.1 leading in response speed.
  • LLMs demonstrate significant progress in enabling them to act as robust bridges between natural language objectives and automated planning pipelines, despite occasional failures arising from language ambiguity and limitations in domain representation.

Readers' thoughts

No reader thoughts yet.

Related papers