Large Language Models as Planning Domain Generators

James Oswald, Kavitha Srinivas, Harsha Kokel, Junkyu Lee, Michael Katz +1 more
4/2/2024
cs.CLcs.AI

Official code: IBM/NL2PDDL (21 stars, MIT, last commit 2025-09-18).

Abstract

Developing domain models is one of the few remaining places that require manual human labor in AI planning. Thus, in order to make planning more accessible, it is desirable to automate the process of domain model generation. To this end, we investigate if large language models (LLMs) can be used to generate planning domain models from simple textual descriptions. Specifically, we introduce a framework for automated evaluation of LLM-generated domains by comparing the sets of plans for domain instances. Finally, we perform an empirical analysis of 7 large language models, including coding and chat models across 9 different planning domains, and under three classes of natural language domain descriptions. Our results indicate that LLMs, particularly those with high parameter counts, exhibit a moderate level of proficiency in generating correct planning domains from natural language descriptions. Our code is available at https://github.com/IBM/NL2PDDL.

View on arXivView PDF

Code Implementations(1)

IBM/NL2PDDLOfficial100%
MIT

this is for fun, ain't it grand!

212PDDL, ShellMar 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{oswald2024large,
  title  = {Large Language Models as Planning Domain Generators},
  author = {James Oswald and Kavitha Srinivas and Harsha Kokel and Junkyu Lee and Michael Katz and Shirin Sohrabi},
  year   = {2024},
  eprint = {2405.06650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.06650v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.06650.svg)](https://codeofpaper.com/paper/2405.06650)

Discussion