Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Hierarchical Task Network Planning with LLM-Generated Heuristics

About

HTN planning is a variation of classical planning where, instead of searching for a linear sequence of actions, an algorithm decomposes higher-level tasks using a method library until only executable actions remain. On one hand, this allows one to introduce domain knowledge that can speed up the search for a solution through the method library. On the other hand, it creates challenges that go beyond those of classical state-space search. While recent research produced a number of heuristics and novel algorithms that speed up HTN planning, these heuristics are not yet as informative as those available in classical planning algorithms. We investigate whether large language models (LLMs) can generate effective search heuristics for HTN planning, extending the methodology of Corr\^ea, Pereira, and Seipp (2025) from classical to hierarchical planning. Using the Pytrich planner on six standard total-order HTN benchmark domains, we evaluate heuristics generated by nine LLMs under domain-specific prompting and compare them against the TDG and LMCount domain-independent baselines and the PANDA planner. Our results show that LLM-generated heuristics nearly match the coverage of the best available HTN planner, while substantially reducing search effort on 83% of shared problems.

Felipe Meneguzzi, Alexandre Buchweitz, Augusto B. Corr\^ea, Victor Scherer Putrich, Andr\'e Grahl Pereira• 2026

Related benchmarks

TaskDatasetResultRank
HTN PlanningBarman-BDI
Coverage20
6
HTN PlanningBarman-BDI
Median Plan Length (Primitive Actions)38
6
HTN PlanningRover-GTOHP
Coverage27
6
HTN PlanningRover-GTOHP
Median Plan Length (Actions)90
6
HTN PlanningBlocksworld GTOHP
Coverage30
6
HTN PlanningDepots
Coverage27
6
HTN PlanningRobot
Coverage12
6
HTN PlanningTowers
Coverage15
6
HTN PlanningRobot
Median Plan Length7
6
HTN PlanningTowers
Median Plan Length95
6
Showing 10 of 10 rows

Other info

Follow for update