Authors: Nicola J. Müller, Naya Rudolph, Katharina Stein, Jörg Hoffmann, Ayal Taitler, Timo P. Gros
Organizations: German Research Center for Artificial Intelligence (DFKI), Saarbrücken, Germany · Saarland University, Saarland Informatics Campus, Saarbrücken, Germany · Center for European Research in Trusted Artificial Intelligence (CERTAIN) · Ben-Gurion University of the Negev
PDDL, the de-facto standard language in the AI Planning community, is designed to specify planning domains: sets of instances that share the same predicates and action schemas. Yet it does not provide any means to specify the actual instance set, i.e., legality constraints on initial states and goal conditions, as well as possibly domain subset constraints specifying an instance subset we are interested in. One consequence of this is that instance generation has always been ad-hoc, with manually written domain- and subset-specific instance generators. Recent work has started to address this, through reasoning and learning methods that however suffer from scalability limitations. Here we introduce an alternative approach, leveraging LLMs to generate instance-generation programs, with built-in soundness guarantees through prescribed checks. We show that these automatically generated instance generators return large numbers of sound and diverse instances efficiently.
Figures & tables
Bug Category
Test
Description
Error Message
Code Bugs
Class Loading Test
Try loading the generator class.
Python error message.
Instance Generation Test
Check whether instance generation terminates without a runtime error.
Python error message.
Efficiency Test
Check whether instance generation exceeds the time limit.
“Generation exceeded the time limit of N seconds.”
Instance File Bugs
Parsing Test
Check whether the instance file can be parsed.
Error message of PDDL parser.
Instance Size Test
Check whether the number of objects in the instance matches the requested size.
“Expected N objects, but got M instead.”
Quality Bugs
Goal Fulfilled Test
Check whether the initial state already satisfies the goal.
“The initial state already fulfills the goal.”
Table 1: Overview of bug categories, tests, and their error messages for LLM-generated instance generators. 1 1 footnotemark: 1 An instance with a finite hFF value may still be unsolvable.
Domain
Iter.
Sound
Diversity Relative to IPC
Blocksworld
3
100
+836.7
Blocksworld S
1
100
-100.0
Childsnack
22
100
+34.8
Childsnack S
14
100
-44.7
Ferry
29
100
+41.8
Ferry S
11
100
+11.5
Table 2: Soundness & diversity of I2G’s generators. We show the increase or decrease (+-) in diversity w.r.t. the IPC generators. S indicates the usage of subset constraints, which can enforce a lower diversity by restricting the instance subset.
Easy
Medium
Hard
Domain
I2G
Gr25
I2G
Gr25
I2G
Gr25
Blocksworld
100
93
100
0
100
0
Childsnack
100
97
100
3
97
0
Ferry
100
100
100
90
100
0
Floortile
100
10
100
0
100
0
Miconic
100
100
100
67
100
0
Table 3: Percentages of successfully generated IPC instances per difficulty. The bottom row shows the total runtime of successful generation attempts.
Domain
Easy
Medium
Hard
Blocksworld S
100
100
100
Childsnack S
100
100
100
Ferry S
100
100
100
Floortile S
100
100
93
Miconic S
100
100
100
Rovers S
83
100
43
Table 4: Percentages of successfully generated IPC instances per difficulty when using subset constraints. The bottom row shows the total runtime of successful generation attempts.
Domain
I2G
I2G S
NeSIG
Blocksworld
6s
6s
26s
Miconic
6s
6s
26s
Satellite
6s
6s
29s
Sokoban
6s
7s
221s
Table 5: Time needed to generate 100 instances from NeSIG’s training sizes. S indicates the usage of subset constraints.
Figure 1: Evaluation of GNN & GenPlan policies on Satellite ( top ) and Satellite S ( bottom ).
Figure 2: Evaluation of GPT-5.4 models on Transport ( top ) and Transport S ( bottom ).
Large language model (LLM)-based program synthesis turns natural-language goals and examples into executable programs, often using tests or formal constraints.
LLMs remain unreliable for long-horizon planning, often generating logically inconsistent or non-applicable plans. Recent hybrid methods instead translate natural language into the Planning Domain Definition Language (PDDL), allowing symbolic planners to produce verifiable plans. However, existing methods frequently rely on rigid generation pipelines, a partial PDDL definition, or human feedback. Furthermore, their evaluation is hindered by the lack of standardized benchmarks with automated verification. To address these limitations, we present PDDLCoder, an agentic framework for PDDL generation from natural language that iteratively generates, analyzes, and refines planning specifications. We further introduce NL-pddlgym, a benchmark dataset comprising 711 planning problems across 23 domains with executable gym environments for the automated verification of plan applicability. Experiments on the NL-pddlgym test set containing 106 problems across 4 held-out domains show that PDDLCoder generates applicable plans for 89.6% of tested planning problems. This improves upon our adaptations of previous PDDL generation methods, which achieved up to 45.3%, and outperforms direct LLM planning approaches, which reached up to 74.5% on the same test set. Our work demonstrates the effectiveness of agentic PDDL generation for planning and establishes a reproducible benchmark for future research on LLM-assisted symbolic planning.
Veit Laule, Jiangtao Shuai, Manfred Hauswirth +1
Technical University of Berlin Berlin, Germany · Fraunhofer FOKUS & Technical University of Berlin Berlin, Germany
Generalized planning aims to compute a plan that solves all instances of a planning domain. Recent work has used LLMs to automatically generate and debug such generalized plans in the form of Python programs and achieved perfect test data coverage for several domains. However, whether these generalized plans are actually complete, i.e. solve all instances of the domain, could only be determined by manual evaluation. Here, we present an approach for automatically generating generalized plans in Lean together with proofs of their completeness relative to a specification of the domain constraints provided as input. We introduce a semantic-preserving PDDL-to-Lean conversion, and use an LLM to generate both the generalized plan and the formal proof that it solves every instance satisfying the domain constraints. The correctness of the completeness proof is determined by Lean's kernel. We evaluate our approach on 13 commonly used benchmark domains, using GPT-5.6-Sol as the LLM. For 12 of the domains we obtain generalized plans together with valid completeness proofs. This is a major advancement of the state of the art in automatic generalized-plan completeness proofs.
Katharina Stein, Chaahat Jain, Jörg Hoffmann +1
Saarland Informatics Campus, Saarland University, Saarbrücken, Germany · German Research Center for Artificial Intelligence (DFKI), Saarbrücken, Germany
We present GenePlan (GENeralized Evolutionary Planner), a novel framework that leverages large language model (LLM) assisted evolutionary algorithms to generate domain-dependent generalized planners for classical planning tasks described in PDDL. By casting generalized planning as an optimization problem, GenePlan iteratively evolves interpretable Python planners that minimize plan length across diverse problem instances. In empirical evaluation across six existing benchmark domains and two new domains, GenePlan achieved an average SAT score of 0.91, closely matching the performance of the state-of-the-art planners (SAT score 0.93), and significantly outperforming other LLM-based baselines such as chain-of-thought (CoT) prompting (average SAT score 0.64). The generated planners solve new instances rapidly (average 0.49 seconds per task) and at low cost (average $1.82 per domain using GPT-4o).
Andrew Murray, Danial Dervovic, Alberto Pozanco +1