Was Fixing This Really That Hard? On the Complexity of Correcting HTN Domains
Songtuan Lin, Pascal Bercher
Abstract
Automated modeling assistance is indispensable to the AI planning being deployed in practice, notably in industry and other non-academic contexts. Yet, little progress has been made that goes beyond smart interfaces like programming environments. They focus on autocompletion, but lack intelligent support for guiding the modeler. As a theoretical foundation of a first step towards this direction, we study the computational complexity of correcting a flawed Hierarchical Task Network (HTN) planning domain. Specifically, a modeler provides a (white) list of plans that are supposed to be solutions, and likewise a (black) list of plans that shall not be solutions. We investigate the complexity of finding a set of (optimal or suboptimal) model corrections so that those plans are (resp. not) solutions to the corrected model. More specifically, we factor out each hardness source that contributes towards NP-hardness, including one that we deem important for many other complexity investigations that go beyond our specific context of application. All complexities range between NP and Sigma-2-p, rising the hope for efficient practical tools in the future.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Towards Automated Modeling Assistance: An Efficient Approach for Repairing Flawed Planning DomainsSongtuan Lin, Alban Grastien, Pascal BercherAAAI 2023 · 24 citations
- On Total-Order HTN Plan Verification with Method Preconditions - An Extension of the CYK Parsing AlgorithmSongtuan Lin, Gregor Behnke, Simona Ondrcková, Roman Barták et al.AAAI 2023 · 6 citations
- On the Computational Complexity of Plan Verification, (Bounded) Plan-Optimality Verification, and Bounded Plan ExistenceSongtuan Lin, Conny Olz, Malte Helmert, Pascal BercherAAAI 2024 · 3 citations
- Automated Repair of Totally-Ordered Hierarchical Task Network Domains via Context-Free Grammars with Large Language Model SupportDaniel Lutalo, Pascal BercherAAAI 2026
Builds on1
Related papers
- Symmetries and Other Variations of "End-Recursive" HTN Problems: Mapping the Border Between Decidable and Undecidable RestrictionsHadyn Tang, Pascal BercherAAAI 2026
- Revealing Hidden Preconditions and Effects of Compound HTN Planning Tasks - A Complexity AnalysisConny Olz, Susanne Biundo, Pascal BercherAAAI 2021 · 21 citations
- Told You That Will Not Work: Optimal Corrections to Planning Domains Using Counter-Example PlansSongtuan Lin, Alban Grastien, Rahul Shome, Pascal BercherAAAI 2025 · 5 citations
- Landmark Generation in HTN PlanningDaniel Höller, Pascal BercherAAAI 2021 · 15 citations
- Refining HTN Methods via Task Insertion with PreferencesZhanhao Xiao, Hai Wan, Hankz Hankui Zhuo, Andreas Herzig et al.AAAI 2020 · 9 citations
