Automating the Generation of Prompts for LLM-based Action Choice in PDDL Planning

Authors

  • Katharina Stein Saarland University, Saarbrücken, Germany
  • Daniel Fišer Aalborg University, Denmark
  • Jörg Hoffmann Saarland University, Saarbrücken, Germany German Research Center for Artificial Intelligence (DFKI), Saarbrücken, Germany
  • Alexander Koller Saarland University, Saarbrücken, Germany

DOI:

https://doi.org/10.1609/icaps.v35i1.36126

Abstract

Large language models (LLMs) have revolutionized a large variety of NLP tasks. An active debate is to what extent they can do reasoning and planning. Prior work has assessed the latter in the specific context of PDDL planning, based on manually converting three PDDL domains into natural language (NL) prompts. Here we automate this conversion step, showing how to leverage an LLM to automatically generate NL prompts from PDDL input. Our automatically generated NL prompts result in similar LLM-planning performance as the previous manually generated ones. Beyond this, the automation enables us to run much larger experiments, providing for the first time a broad evaluation of LLM planning performance in PDDL. Our NL prompts yield better performance than PDDL prompts and simple template-based NL prompts. Compared to symbolic planners, LLM planning lags far behind; but in some domains, our best LLM configuration scales up further than A* using LM-cut.

Downloads

Published

2025-09-16

How to Cite

Stein, K., Fišer, D., Hoffmann, J., & Koller, A. (2025). Automating the Generation of Prompts for LLM-based Action Choice in PDDL Planning. Proceedings of the International Conference on Automated Planning and Scheduling, 35(1), 250-259. https://doi.org/10.1609/icaps.v35i1.36126