Improved Generalized Planning with LLMs through Strategy Refinement and Reflection
Katharina Stein, Nils Hodel, Daniel Fi\v{s}er, J\"org Hoffmann, Michael Katz, Alexander Koller

TL;DR
This paper enhances generalized planning with LLMs by introducing strategy pseudocode, automatic debugging, reflection, and multiple program variants, significantly improving plan quality across diverse domains.
Contribution
It proposes a novel approach that refines LLM-generated strategies through pseudocode, debugging, reflection, and multiple variants, leading to better generalized plans.
Findings
Achieved an average coverage of 82% across 17 benchmark domains.
Extensions substantially improve plan quality and robustness.
Effective in both reasoning and non-reasoning LLMs.
Abstract
LLMs have recently been used to generate Python programs representing generalized plans in PDDL planning, i.e., plans that generalize across the tasks of a given PDDL domain. Previous work proposed a framework consisting of three steps: the LLM first generates a summary and then a strategy for the domain, both in natural language, and then implements that strategy as a Python program, that gets debugged on example planning tasks. In that work, only one strategy is generated and passed directly to the program generation. If the strategy is incorrect, its implementation will therefore result in an incorrect generalized plan. Here, we introduce an approach that generates the strategy in the form of pseudocode and enables automatic debugging of the pseudocode, hence allowing us to identify and fix errors prior to the generation of the generalized plan itself. Additionally, we extend the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAI-based Problem Solving and Planning · Multi-Agent Systems and Negotiation · Semantic Web and Ontologies
