Saved in:
Bibliographic Details
Main Authors: Puerta-Merino, Israel, Núñez-Molina, Carlos, Mesejo, Pablo, Fernández-Olivares, Juan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.18165
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912726021832704
author Puerta-Merino, Israel
Núñez-Molina, Carlos
Mesejo, Pablo
Fernández-Olivares, Juan
author_facet Puerta-Merino, Israel
Núñez-Molina, Carlos
Mesejo, Pablo
Fernández-Olivares, Juan
contents The use of Large Language Models (LLMs) for generating Automated Planning (AP) models has been widely explored; however, their application to Hierarchical Planning (HP) is still far from reaching the level of sophistication observed in non-hierarchical architectures. In this work, we try to address this gap. We present two main contributions. First, we propose L2HP, an extension of L2P (a library to LLM-driven PDDL models generation) that support HP model generation and follows a design philosophy of 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_18165
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards a General Framework for HTN Modeling with LLMs
Puerta-Merino, Israel
Núñez-Molina, Carlos
Mesejo, Pablo
Fernández-Olivares, Juan
Software Engineering
Artificial Intelligence
The use of Large Language Models (LLMs) for generating Automated Planning (AP) models has been widely explored; however, their application to Hierarchical Planning (HP) is still far from reaching the level of sophistication observed in non-hierarchical architectures. In this work, we try to address this gap. We present two main contributions. First, we propose L2HP, an extension of L2P (a library to LLM-driven PDDL models generation) that support HP model generation and follows a design philosophy of 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.
title Towards a General Framework for HTN Modeling with LLMs
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2511.18165