Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar. Lutalo, D. & Bercher, P. In Proceedings of the 9th ICAPS Workshop on Hierarchical Planning (HPlan 2026), pages 69–77, 2026.
Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar [pdf]Paper  abstract   bibtex   2 downloads  
We study automated repair of totally ordered hierarchical task network (TO-HTN) domains when a trusted primitive plan is given but the domain cannot derive it because primitive tasks are missing from method bodies. Previous work either encoded the repair task as a more general TO-HTN planning problem or used an LLM-assisted pipeline over a context-free grammar encoding. We present a fast near-optimal fully symbolic repair algorithm that works directly on the context-free grammar (CFG) view of the domain by using relaxed dynamic programming, then validating repairs with a CFG membership verifier. On the 193-instance benchmark from prior work, our new solver repairs all 193 instances at low cost, at or below that of every comparable o4-mini and GPT-OSS-120B repair, improving coverage over both the earlier encoding-based baseline and the earlier LLM-assisted pipeline. This case study shows that the CFG structure underlying TO-HTN repair yields a stronger practical symbolic procedure than either indirect encoding into a more general planning task or LLM-hybrid proposal and verification.

Downloads: 2