LLMs as Planning Modelers: A Survey for Leveraging Large Language Models to Construct Automated Planning Models

Marcus Tantakoun, Christian Muise, Xiaodan Zhu

TL;DR

This paper surveys how Large Language Models (LLMs) can be used to automatically generate planning models (like PDDL) for Automated Planning (AP) systems. It argues that while LLMs struggle with direct planning, they excel at formalizing planning specifications, bridging the gap between natural language and structured reasoning for AP.

What Problem Does This Paper Address?

Automated Planning (AP) systems are powerful for solving complex problems by breaking them down into sequences of actions. However, creating the formal models (domains and problems) that AP systems understand is a tedious and expert-driven process. While LLMs are great at natural language understanding, they often fail at long-horizon reasoning and generating reliable plans directly. This paper addresses the challenge of how to leverage LLMs' strengths in natural language processing to automate the creation of these crucial AP models, making planning more accessible and efficient.

Methods

The paper categorizes LLM applications in AP model construction into three main areas:

  • Model Generation: This is the core focus, involving extracting natural language descriptions into structured planning models. It's further broken down into:
  • Task Modeling: Defining initial and goal states.
  • Domain Modeling: Defining entities, actions, and relationships.
  • Hybrid Modeling: Combining both task and domain generation.
  • Model Editing: Using LLMs to refine and correct existing, ill-defined planning models.
  • Model Benchmarks: Evaluating the performance of LLMs in generating planning models and assessing the quality of these generated models.

The paper surveys existing research within these categories, highlighting various techniques like few-shot prompting, chain-of-thought prompting, and the use of intermediate representations. It also introduces a Python library called L2P (Language-to-Plan) that aims to unify and facilitate research in this area.

Datasets

The paper does not explicitly list specific datasets used for training LLMs for these tasks, as it focuses on surveying existing research. However, it mentions that LLMs are trained on large corpora of diverse data. For evaluation, it refers to various benchmarks used in the surveyed papers, including:

  • Mystery Blocksworld: An obfuscated version of the classic Blocksworld to test for data leakage.
  • ALFWorld and Household: Benchmarks designed to test LLMs on complex real-world household environments.
  • TravelPlanner: A benchmark for evaluating LLM planning abilities in travel-planning scenarios using APIs.
  • PlanBench: A benchmark for systematically evaluating LLM planning capabilities, focusing on cost-optimal planning and plan verification.
  • ACPBench: Standardizes evaluation tasks and metrics for reasoning about actions, changes, and planning across multiple domains.
  • AutoPlan-Bench: Converts PDDL benchmarks into natural language for LLM evaluation.
  • Planetarium: A benchmark for evaluating PDDL task/problem generation by LLMs, focusing on issues like misalignment between NL and PDDL, and the challenge of abstract descriptions.
  • Text2World: An automated pipeline for domain extraction with multi-criteria metrics.

Key Insights and Ideas

  • LLMs as Formalizers, Not Planners: The paper strongly advocates for using LLMs as "formalizers" that translate natural language into structured planning models (like PDDL) for traditional AP solvers, rather than expecting LLMs to perform direct, end-to-end planning. This leverages LLMs' language understanding while relying on AP's proven reliability and reasoning capabilities.
  • Bridging the Gap: LLMs can significantly reduce the manual effort and expertise required to create planning models, making AP more accessible.
  • Challenges in Semantic Alignment: A key challenge is ensuring that the LLM-generated planning specifications accurately reflect human goals and intentions, especially when dealing with ambiguous or minimal natural language descriptions.
  • Importance of Prompting and Intermediate Representations: The way prompts are designed and the use of intermediate representations (like JSON or Python code) can greatly influence the accuracy and reliability of LLM-generated planning models.
  • Need for Robust Benchmarking: Evaluating LLM-generated planning models is difficult due to their non-deterministic nature. There's a need for standardized, dynamic benchmarks that are less susceptible to data leakage.

Key Results

The paper is a survey, so it doesn't present new experimental results. Instead, it synthesizes findings from approximately 80 research papers. The key "results" are the identification of trends, methodologies, and challenges in using LLMs for AP model construction. It highlights that:

  • LLMs can successfully generate PDDL predicates, actions, and even complete domain and problem files with varying degrees of success depending on the complexity and the methods used.
  • Techniques like few-shot prompting, explicit feedback, and iterative refinement show promise in improving the quality of generated models.
  • Despite progress, semantic errors and misalignment with human goals remain significant challenges.

Limitations and Future Work

Limitations:

  • Scope: The survey primarily focuses on PDDL (Planning Domain Definition Language) and related frameworks, with less coverage of other planning techniques.
  • LLM Capabilities: LLM capabilities in planning are still evolving, and the survey acknowledges that LLMs may have principled weaknesses.
  • Page Constraints: The survey provides a brief overview of each work due to space limitations.
  • Potential for Misuse: The proposed L2P library, like any advanced technology, could be misused for unethical purposes.

Future Work:

  • Inferring Implicit Constraints: Developing methods to infer complete and robust PDDL specifications from sparse input, capturing underlying assumptions and constraints.
  • Dynamic Integration of Types and Predicates: Enabling more flexible planning systems by allowing dynamic integration of new types and predicates during generation.
  • Semantic Error Correction: Exploring post-hoc correction strategies for semantic errors in LLM-generated plans, potentially using automated metrics or human evaluation.
  • Standardized Prompting Granularity: Developing standardized prompt granularity for initial generation and iterative feedback to improve consistency.
  • Dynamic Benchmark Standards: Creating dynamic benchmark standards for planning domains that involve the community in ongoing refinement and address data leakage issues.
  • Expanding L2P Library: Extending the L2P library to support a broader range of planning applications, including temporal planning.

Summary updated

Abstract

Large Language Models (LLMs) excel in various natural language tasks but often struggle with long-horizon planning problems requiring structured reasoning. This limitation has drawn interest in integrating neuro-symbolic approaches within the Automated Planning (AP) and Natural Language Processing (NLP) communities. However, identifying optimal AP deployment frameworks can be daunting. This paper aims to provide a timely survey of the current research with an in-depth analysis, positioning LLMs as tools for extracting and refining planning models to support reliable AP planners. By systematically reviewing the current state of research, we highlight methodologies, and identify critical challenges and future directions, hoping to contribute to the joint research on NLP and Automated Planning.
BibTeX
@inproceedings{tantakoun2025llms,
  author = {Marcus Tantakoun and Christian Muise and Xiaodan Zhu},
  title = {{LLMs as Planning Modelers: A Survey for Leveraging Large Language Models to Construct Automated Planning Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure