Towards a General Framework for HTN Modeling with LLMs. Puerta-Merino, I., Núñez-Molina, C., Mesejo, P., & Fernández-Olivares, J. In Proceedings of the 8th ICAPS Workshop on Hierarchical Planning (HPlan 2025), pages 15–23, 2025.
Towards a General Framework for HTN Modeling with LLMs [pdf]Paper  abstract   bibtex   7 downloads  
The use of Large Language Models (LLMs) for generating Automated Planning (AP) models has been widely explored; however, their application to Hierarchical Planning (HP) remains largely underexplored. In this work, we try to address this gap. We present two main contributions. First, we propose L2HP, an extension to the L2P library to support LLM-driven model generation for HP, with a focus on generality and extensibility. Second, we apply our framework to perform experiments where we compare the modeling capabilities of LLMs for AP and HP. On the PlanBench dataset, results show that parsing success is limited but comparable in both settings (around 36%), while syntactic validity is substantially lower in the hierarchical case (1% vs. 20% of instances). These findings underscore the unique challenges HP presents for LLMs, highlighting the need for further research to improve the quality of generated HP models.

Downloads: 7