Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning
Lin Guan, Karthik Valmeekam, Sarath Sreedharan, Subbarao Kambhampati
Abstract
There is a growing interest in applying pre-trained large language models (LLMs) to planning problems. However, methods that use LLMs directly as planners are currently impractical due to several factors, including limited correctness of plans, strong reliance on feedback from interactions with simulators or even the actual environment, and the inefficiency in utilizing human feedback. In this work, we introduce a novel alternative paradigm that constructs an explicit world (domain) model in planning domain definition language (PDDL) and then uses it to plan with sound domain-independent planners. To address the fact that LLMs may not generate a fully functional PDDL model initially, we employ LLMs as an interface between PDDL and sources of corrective feedback, such as PDDL validators and humans. For users who lack a background in PDDL, we show that LLMs can translate PDDL into natural language and effectively encode corrective feedback back to the underlying domain model. Our framework not only enjoys the correctness guarantee offered by the external planners but also reduces human involvement by allowing users to correct domain models at the beginning, rather than inspecting and correcting (through interactive prompting) every generated plan as in previous work. On two IPC domains and a Household domain that is more complicated than commonly used benchmarks such as ALFWorld, we demonstrate that GPT-4 can be leveraged to produce high-quality PDDL models for over 40 actions, and the corrected PDDL models are then used to successfully solve 48 challenging planning tasks. Resources, including the source code, are released at: https://guansuns.github.io/pages/llm-dm .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
58 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- PlanGenLLMs: A Modern Survey of LLM Planning Capabilities cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
- PlanGenLLMs: A Modern Survey of LLM Planning Capabilities cites Language Models are Few-Shot Learners
- PlanGenLLMs: A Modern Survey of LLM Planning Capabilities cites Thought of Search: Planning with Language Models Through The Lens of Efficiency
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents cites Language Models are Few-Shot Learners
- PaLM-E: An Embodied Multimodal Language Model cites Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents
- PaLM-E: An Embodied Multimodal Language Model cites Language Models are Few-Shot Learners
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Search cites Language Models are Few-Shot Learners
- Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Search cites WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environment
- WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environment cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
Cited by top-tier papers58
- Evaluating the World Model Implicit in a Generative ModelKeyon Vafa, Justin Y. Chen, Ashesh Rambachan, Jon M. Kleinberg et al.NeurIPS 2024 · 166 citations
- WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the EnvironmentHao Tang, Darren Key, Kevin EllisNeurIPS 2024 · 123 citations
- PlanGenLLMs: A Modern Survey of LLM Planning CapabilitiesHui Wei, Zihao Zhang, Shenghua He, Tian Xia et al.ACL 2025 · 78 citations
- Thought of Search: Planning with Language Models Through The Lens of EfficiencyMichael Katz, Harsha Kokel, Kavitha Srinivas, Shirin SohrabiNeurIPS 2024 · 50 citations
- Generating Code World Models with Large Language Models Guided by Monte Carlo Tree SearchNicola Dainese, Matteo Merler, Minttu Alakuijala, Pekka MarttinenNeurIPS 2024 · 49 citations
Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- PaLM-E: An Embodied Multimodal Language ModelDanny Driess, Fei Xia, Mehdi S. M. Sajjadi, Corey Lynch et al.ICML 2023 · 2,601 citations
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied AgentsWenlong Huang, Pieter Abbeel, Deepak Pathak, Igor MordatchICML 2022 · 1,539 citations
- ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk et al.ICLR 2021 · 819 citations
Related papers
- Leveraging Environment Interaction for Automated PDDL Translation and Planning with Large Language ModelsSadegh Mahdavi, Raquel Aoki, Keyi Tang, Yanshuai CaoNeurIPS 2024 · 28 citations
- Generalized Planning in PDDL Domains with Pretrained Large Language ModelsTom Silver, Soham Dan, Kavitha Srinivas, Joshua B. Tenenbaum et al.AAAI 2024 · 194 citations
- On the Limit of Language Models as Planning FormalizersCassie Huang, Li ZhangACL 2025
- One Demo Is All It Takes: Planning Domain Derivation with LLMs from A Single DemonstrationJinbang Huang, Yixin Xiao, Zhanguang Zhang, Mark Coates et al.ICLR 2026 · 9 citations
- Text2World: Benchmarking Large Language Models for Symbolic World Model GenerationMengkang Hu, Tianxing Chen, Yude Zou, Yuheng Lei et al.ACL Findings 2025 · 3 citations
