Hierarchical Task Network Planning with LLM-Generated Heuristics
Felipe Meneguzzi, Alexandre Buchweitz, Augusto B. Corrêa, Victor S Putrich, André G. Pereira
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › LLM-Driven Tool-Use and Planning · Type: new method · Keywords: HTN planning, LLM heuristics, automated planning, search heuristics, large language models
Areas: AI Agents › Agentic Decision Making › Language Model Agents; Evaluation & Benchmarks › Agent Capabilities and Memory › Automated Planning
Summary
The paper shows that large language models can generate effective search heuristics for hierarchical task network planning, achieving near-state-of-the-art performance while reducing search effort on most problems.
Explained to a 5-year-old
A robot wants to do a big job, like making a sandwich. It needs to know the order of many steps, but guessing every order takes a long time. Scientists used a big computer brain that understands words to help the robot think of good steps. They asked this brain special questions to make the steps fit the robot's job. Because of this help, the robot finds fast solutions most of the time.
Explained to a 5-year-old, longer
A robot wants to do a big job, like building a house. It needs to know the order of many small steps, like putting blocks one on top of another. Doing this by guessing every possible order can take a very long time. Scientists wanted to make this planning faster without writing a lot of special rules. They used a special computer program that can read and understand many words, like a very smart dictionary. They asked this program questions that helped it think of good steps for the robot. The program wrote down ideas for which steps to try first, like a helpful hint. These hints were added to the robot's planning tool, making it choose better steps quickly. The robot was tested on several different planning problems, like moving pieces and solving puzzles. In most of those problems, the robot found a solution much faster than before. Even though the robot didn't always find the absolute best answer, it was good enough for many tasks. This new way shows that a word-understanding computer can be a useful assistant for planning.
For a technical reader
The work adapts large language models to produce search heuristics specifically for hierarchical task network (HTN) planning, extending prior LLM-based heuristic generation from classical planning. These heuristics are integrated into the Pytrich planner and evaluated on six standard total-order HTN benchmark domains, comparing against domain-independent baselines and the PANDA planner. Results show the LLM-generated heuristics achieve coverage comparable to the best existing HTN planner while substantially reducing search effort on most problems. The approach demonstrates a practical way to leverage LLMs for automated planning tasks.
Problem
Hierarchical task network planning suffers from less informative heuristics compared to classical planning, which limits solution speed. The research question is how to generate more effective heuristics for HTN planning without relying on domain-specific hand-crafted designs.
Method
The approach leverages large language models to produce search heuristics tailored to HTN domains, using domain-specific prompting to guide generation. These heuristics are integrated into the Pytrich planner and evaluated against existing domain-independent baselines. The generated heuristics are tested on six standard total-order HTN benchmark domains.
Results
The approach achieves coverage comparable to the best existing HTN planner and reduces search effort on 83% of the problems.
Contributions
It demonstrates that LLMs can generate effective HTN planning heuristics, providing a domain-specific prompting strategy and an empirical evaluation across multiple benchmarks. The work extends prior LLM-based heuristic generation from classical to hierarchical planning.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction