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.
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.
@InProceedings{Lutalo2026CFGFixing,
author = {Daniel Lutalo and Pascal Bercher},
booktitle = {Proceedings of the 9th ICAPS Workshop on Hierarchical Planning (HPlan 2026)},
title = {Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar},
year = {2026},
pages = {69--77},
abstract = {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.},
url_Paper = {https://bercher.net/publications/2026/Lutalo2026CFGFixing.pdf},
keywords = {workshop,DECRA}
}
Downloads: 2
{"_id":"FB2MA9y9fTTYikwwq","bibbaseid":"lutalo-bercher-improvedautomatedrepairoftotallyorderedhierarchicaltasknetworkdomainsbyfixingtheunderlyingcontextfreegrammar-2026","author_short":["Lutalo, D.","Bercher, P."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["Daniel"],"propositions":[],"lastnames":["Lutalo"],"suffixes":[]},{"firstnames":["Pascal"],"propositions":[],"lastnames":["Bercher"],"suffixes":[]}],"booktitle":"Proceedings of the 9th ICAPS Workshop on Hierarchical Planning (HPlan 2026)","title":"Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar","year":"2026","pages":"69–77","abstract":"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.","url_paper":"https://bercher.net/publications/2026/Lutalo2026CFGFixing.pdf","keywords":"workshop,DECRA","bibtex":"@InProceedings{Lutalo2026CFGFixing,\n author = {Daniel Lutalo and Pascal Bercher},\n booktitle = {Proceedings of the 9th ICAPS Workshop on Hierarchical Planning (HPlan 2026)},\n title = {Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar},\n year = {2026},\n pages = {69--77},\n abstract = {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.},\n url_Paper = {https://bercher.net/publications/2026/Lutalo2026CFGFixing.pdf},\n keywords = {workshop,DECRA}\n}\n\n","author_short":["Lutalo, D.","Bercher, P."],"key":"Lutalo2026CFGFixing","id":"Lutalo2026CFGFixing","bibbaseid":"lutalo-bercher-improvedautomatedrepairoftotallyorderedhierarchicaltasknetworkdomainsbyfixingtheunderlyingcontextfreegrammar-2026","role":"author","urls":{" paper":"https://bercher.net/publications/2026/Lutalo2026CFGFixing.pdf"},"keyword":["workshop","DECRA"],"metadata":{"authorlinks":{}},"downloads":2},"bibtype":"inproceedings","biburl":"https://bercher.net/bibtex/bibliography.bib","dataSources":["T9LQLt3D2MDhrCfjh","bPpsmYWjffAy6QHP5"],"keywords":["workshop","decra"],"search_terms":["improved","automated","repair","totally","ordered","hierarchical","task","network","domains","fixing","underlying","context","free","grammar","lutalo","bercher"],"title":"Improved Automated Repair of Totally-Ordered Hierarchical Task Network Domains by Fixing the Underlying Context-Free Grammar","year":2026,"downloads":2}