Improved Generalized Planning with LLMs through Strategy Refinement and Reflection
Not on the map. Why?
Abstract (arXiv)
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 Python debugging phase with a reflection step prompting the LLM to pinpoint the reason for the observed plan failure. Finally, we take inspiration from LLM code generation to produce several program variants and pick the best one. Running experiments on 17 benchmark domains with two reasoning and two non-reasoning LLMs, we show that these extensions substantially improve the quality of the generalized plans. Our best performing configuration achieves an average coverage of 82% across the domains.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 7 of its 23 references that are in the map. First posted on arXiv 19 Aug 2025.
Builds on
7 of 23 references.
References · 7
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 312
- 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 142
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
- 2023Automating the Generation of Prompts for LLM-based Action Choice in PDDL Planningcited by 24
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026What's the plan? Metrics for implicit planning in LLMs and their application to rhyme generation and question answeringcited by 6
- 2026Language Models as Higher-Order Planning Formalizerscited by 1
- 2026Learning and Reusing Policy Decompositions for Hierarchical Generalized Planning with LLM Agentscited by 1
- 2026LLM-Evolved Domain-Independent Heuristics for Symbolic AI Planningcited by 1
- 2026Provably Complete Generalized Planning with LLMscited by 1
- 2026LLM-Evolved Pattern Generators for Optimal Classical Planningcited by 0
- 2026Generating Instance Generators in PDDL Planningcited by 0
- 2026Provably Complete Generalized Planning with LLMs22 Sep 2026
- 2026Generating Instance Generators in PDDL Planning5 Sep 2026
- 2026LLM-Evolved Pattern Generators for Optimal Classical Planning1 Jun 2026
- 2026LLM-Evolved Domain-Independent Heuristics for Symbolic AI Planning28 May 2026
- 2026Learning and Reusing Policy Decompositions for Hierarchical Generalized Planning with LLM Agents7 May 2026
- 2026Language Models as Higher-Order Planning Formalizers25 Mar 2026
- 2026What's the plan? Metrics for implicit planning in LLMs and their application to rhyme generation and question answering28 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2023Generalized Planning in PDDL Domains with Pretrained Large Language Models
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Code
- 2025An Extensive Evaluation of PDDL Capabilities in off-the-shelf LLMs
- 2026PDDLCoder: Agentic PDDL Generation for LLM-Assisted Symbolic Planning
- 2025Language Models For Generalised PDDL Planning: Synthesising Sound and Programmatic Policies
- 2026GenePlan: Evolving Better Generalized PDDL Plans using Large Language Models
- 2025Teaching LLMs to Plan: Logical Chain-of-Thought Instruction Tuning for Symbolic Planning
- 2024LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworks