Grounded Evaluation and Repair for NL-to-PDDL Problem Generation
Summary
The paper proposes an end-to-end pipeline for natural language to PDDL translation using LLMs with iterative repair and comprehensive evaluation, highlighting gaps between operational success and semantic faithfulness in benchmarks.
View Cached Full Text
Cached at: 09/11/26, 08:42 AM
# Grounded Evaluation and Repair for NL-to-PDDL Problem Generation
Source: [https://arxiv.org/html/2609.09898](https://arxiv.org/html/2609.09898)
Pedro SantosValdemar OliveiraRomão SilvaL\. Miguel SilveiraBruno Martins
###### Abstract
Large Language Models \(LLMs\) have shown promise for translating Natural Language \(NL\) planning descriptions into PDDL problem instances\. However, standard evaluation criteria such as syntactic validity or planner success can substantially overestimate faithfulness to the described task: a generated problem may be parseable and solvable while misrepresenting the intended initial state, goal, object structure, or optimization target\. This paper studies an end\-to\-end NL\-to\-PDDL pipeline that combines LLM generation, checks in terms of PDDL parsing, planning and validation, a domain\-conformance checker, an LLM critic, and iterative repair\. Fine\-grained repair feedback is constructed from the domain description, the generated problem, the natural language problem description, and operational diagnostics\. Reference\-based comparisons against curated benchmark PDDL problem descriptions are used for post\-hoc benchmark analysis, and these offline checks include renaming\-invariant structural matching and semantic equivalence, where domain support is available\. Across Planetarium, AutoPlanBench, and curated PDDL 2\.1 problems, results show that operational success and benchmark\-reference reconstruction can diverge substantially\. Results also show that structured repair can be useful, and that PDDL 2\.1 remains challenging for reference reconstruction, even when operational success improves\.
1INESC INOV, Lisbon, Portugal
2INESC ID, Lisbon, Portugal
3Instituto Superior Técnico, Universidade de Lisboa, Lisbon, Portugal
4Motamineral Minerais Industriais S\.A\.
\{joana\.rosa, pedro\.santos\}@inov\.pt
\{bruno\.g\.martins, lms\}@tecnico\.ulisboa\.pt
\{valdemar\.oliveira, romao\.silva\}@mota\-sc\.com
## 1Introduction
Large Language Models \(LLMs\) are increasingly being used to translate Natural Language \(NL\) task descriptions into formal planning representations that can be solved by symbolic planners\([Liu et al\. 2023](https://arxiv.org/html/2609.09898#bib.bib8);[Gestrin et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib2)\)\. Within this setting, NL\-to\-PDDL generation has emerged as a central problem\. The Plan Domain Definition Language \(PDDL\) is the standard formal language for symbolic planning, being supported by many classical and temporal planners\. Still, writing PDDL specifications requires substantial expertise\. Translating natural language task descriptions into PDDL offers a natural interface between non\-expert users and symbolic planning systems, but it is also demanding: small errors in object declarations, initial predicates, goals, optimization metrics, or numeric fluents, may significantly alter the resulting planning problem\.
A major difficulty in this area concerns evaluation\. A generated instance may be parseable and even solvable, while encoding the wrong initial state, omitting required predicates, specifying a subtly incorrect goal, or optimizing the wrong quantity\. Stronger result validation protocols are therefore needed beyond parseability and planner success alone\([Zuo et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib1)\), although strong semantic evaluation is challenging and likely only available for a restricted subset of planning domains\.
Considering the aforementioned challenges, this paper reports a detailed analysis guided by three main questions: how can NL\-to\-PDDL generation be evaluated in a deployment\-realistic setting that considers few\-shot examples and iterative repairs; how large is the gap between operational acceptance and stricter reference\-based benchmark reconstruction metrics; and how well do operational evaluation and repair procedures transfer to PDDL 2\.1 benchmarks with temporal and numeric constructs\. Through experiments, we show that few\-shot prompting and iterative repair improve operational performance in several settings, although reconstructing the curated benchmark references remains difficult, especially in the case of PDDL 2\.1\.
Feedback\-guided repair is an established strategy in LLM\-assisted planning model generation, where prior work has used formal, symbolic, validator, and environment feedback to refine generated models\. This paper studies the same general repair philosophy in the narrower setting of NL\-to\-PDDL generation of problem descriptions, assuming that the domain model is already given\. Concretely, we combine parser, domain\-conformance, planner, validation with VAL, and NL critic feedback in a unified problem generation loop\. We also distinguish operational acceptance from benchmark\-reference reconstruction, and empirically examine how these signals diverge across Planetarium, AutoPlanBench, and curated PDDL 2\.1 settings\.
## 2Background
Research connecting LLMs and automated planning has developed along two broad directions\. One line of work studies whether language models can act as planners directly\([Verma et al\. 2025](https://arxiv.org/html/2609.09898#bib.bib16)\), often generating or selecting plans from NL task descriptions\([Valmeekam et al\. 2023](https://arxiv.org/html/2609.09898#bib.bib7);[Silver et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib9)\)\. Another direction instead uses language models as planning formalizers, translating user descriptions into structured representations that can be processed by symbolic planning systems\([Oswald et al\. 2026](https://arxiv.org/html/2609.09898#bib.bib11)\)\. This second direction has become increasingly important because it separates two difficult problems: interpreting natural language and solving the resulting planning problem once a correct formal model is available\.
Planning formalization has indeed been increasingly treated as a language generation task\. Some studies focus on restricted forms of formalization, such as translating NL goals into structured planning goals\([Xie et al\. 2023](https://arxiv.org/html/2609.09898#bib.bib6)\), while others consider richer settings in which complete planning representations must be recovered from text\([Huang and Zhang 2024](https://arxiv.org/html/2609.09898#bib.bib5)\)\. Recent datasets have pushed the problem beyond closed benchmark descriptions and toward open\-domain procedural text, showing that performance degrades substantially once the input becomes less templated and more semantically demanding\([Zhang et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib4)\)\. A related line of work has also begun to address domain generation, moving beyond problem\-instance specification toward full planning model acquisition from natural language\([Gestrin et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib2);[Oswald et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib10)\)\.
Several closely related systems use feedback to refine generated planning models\. Guan et al\. use PDDL validators and human corrective feedback to improve generated world/domain models\. In turn, Mahdavi et al\. use environment\-interaction feedback for automated PDDL translation and planning, while Oswald et al\. study symbolic feedback\-driven search over planning domain model spaces, including validator output\([Guan et al\. 2023](https://arxiv.org/html/2609.09898#bib.bib13);[Mahdavi et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib14);[Oswald et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib10);[Oswald et al\. 2026](https://arxiv.org/html/2609.09898#bib.bib11)\)\. Recent surveys position this line of work as part of a broader shift from using LLMs directly as planners toward using them as planning formalizers that construct or refine symbolic planning models for downstream planners\([Tantakoun et al\. 2025](https://arxiv.org/html/2609.09898#bib.bib15)\)\. Together, these studies show that formal, symbolic, and interaction\-based feedback are increasingly central to LLM\-assisted planning formalization\.
Related work has further shown that language models can be combined with formal verification or satisfiability\-based reasoning tools to handle planning problems more reliably than by direct plan generation alone\([Hao et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib12)\)\.
## 3Method
We define a pipeline that takes as input a NL problem description and a PDDL domain file and produces a candidateproblem\.pddl\. The overall workflow combines initial generation, operational evaluation, feedback construction, and iterative repair\. As shown in Figure[1](https://arxiv.org/html/2609.09898#S3.F1), the same generation step is reused throughout the loop: a candidate instance is generated, checked for operational acceptability, and either accepted or revised through structured feedback\. The same architecture is used for both classical PDDL and PDDL 2\.1, with the latter additionally requiring metric\-sensitive checking and planner selection that distinguishes temporal\-only from numeric\-fluent problems\.
Figure 1:Overview of the proposed NL\-to\-PDDL generation, evaluation, and repair pipeline\.### 3\.1Initial Generation
Given a NL problem description and a PDDL domain file, a language model is prompted to generate a completeproblem\.pddlinstance, including objects, initial state, goals, and, when applicable, optimization metrics and numeric initializations\. The output must be consistent with the predicate vocabulary and action schema defined in the PDDL problem domain specification\.
In selected settings, the prompt is augmented with a small number of same\-domain few\-shot examples\. Each example pairs a NL planning description with its corresponding referenceproblem\.pddl, thereby demonstrating how descriptions in that domain map to object declarations, initial facts, and goal conditions\. These examples are distinct from the target instance and serve only as demonstrations of the intended translation pattern\.
The model must infer the correct inventory of objects, determine which relations belong in the initial state, identify the intended goal, recover the intended optimization target when one is present, and preserve consistency with the formal domain definition\.
### 3\.2Online Operational Evaluation and Offline Benchmark Analysis
The pipeline distinguishes between*online operational evaluation*, which determines whether the repair loop should stop, and*offline benchmark analysis*, which is computed for benchmarking and when a referenceproblem\.pddlis available\. This distinction is central to the experimental methodology adopted in this work\.
#### Online Operational Evaluation\.
Each generated problem is first subjected to a sequence of checks\.
1. 1\.Parsing:The generatedproblem\.pddldescription must be parseable\.
2. 2\.Domain Conformance:A static checker verifies that all referenced objects are declared, predicate names belong to the domain vocabulary, predicate arities are respected, and typing constraints are not violated\. The checker is intentionally local and conservative, in the sense that it detects violations of the given domain rather than proving full semantic faithfulness to the NL description\.
3. 3\.Planning and Validation:If parsing and static checks succeed, a planner is executed and any returned plan is validated with VAL111https://github\.com/KCL\-Planning/VAL\. For classical domains, we use the Fast Downward planner222https://www\.fast\-downward\.org/latest/\. For PDDL 2\.1, time\-simple domains are handled with TFD333https://tfd\.informatik\.uni\-freiburg\.de/, and numeric\-fluent domains are processed with ENHSP444https://sites\.google\.com/view/enhsp/\.
4. 4\.LLM Critic:An additional LLM critic compares the NL description with the generatedproblem\.pddl, taking into account the domain file and the automated diagnostics\. When it rejects an input instance, it returns a structured judgment identifying each detected problem, its location, and its type\.
A candidate is accepted only if it is parseable, domain\-conformant, solvable, VAL\-valid, and accepted by the LLM critic\. We refer to this conjunction of conditions as*operational success*\. This criterion is deliberately stricter than parser/planner success alone, yet it does not depend on access to a curated reference problem file\.
The LLM critic is instructed to be conservative\. In particular, it must anchor its claims in explicit evidence from the NL description, the domain, or the generated PDDL\. It must also distinguish object\-existence issues from state\-level issues, and prefer reporting ambiguity rather than inventing unsupported mismatches\. Together, parse success, domain conformance, planner success, VAL validity, and critic acceptance, provide the operational backbone of the pipeline\.
#### Stopping Criteria\.
The repair loop stops under any of the following conditions\.
- •Operational Success:All the aforementioned online checks succeed\.
- •Unchanged Generation:The currentproblem\.pddlis identical to the previous attempt, indicating that the model is not making progress under the current feedback\.
- •No Actionable Feedback:The evaluator cannot provide concrete repair guidance, even though operational success has not been reached\.
- •Maximum Attempts Exhausted:The configured value for the maximum number of attempts is reached\.
Theunchanged generationandno actionable feedbackconditions are important in practice because they prevent the loop from wasting attempts once it has become stagnant or diagnostically uninformative\.
#### Semantic Evaluation:
When the domain has semantic support, the generated problem can be evaluated against the reference instance through a semantic\-equivalence procedure\. In this work, this is possible for domains supported by the Planetarium\([Zuo et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib1)\)benchmark, which represents PDDL problems as graphs over objects and propositions, and checks equivalence after completing partially specified goals\. This support is domain\-specific, as semantic evaluation is available only for domains for which the required oracle and graph\-construction functions have been implemented\. Note that semantic equivalence is used only as an*offline benchmark\-analysis signal*\. This signal is highly informative for reference\-based analysis, but it is not used inside the repair loop because a reference problem instance would not be available\.
#### Structural Evaluation\.
In all runs, a renaming\-invariant structural comparison can be computed between the generated problem and the reference instance\. The comparison checks four components explicitly:
- •the typed object declarations in:objects,
- •the atomic facts in:init,
- •the atomic facts in:goal,
- •the optimization objective in:metric\.
For PDDL 2\.1, the same comparison also evaluates numeric fluents structurally, by checking the corresponding assignments and numeric initial values in canonical form\. The metric clause is evaluated strictly: both the optimization direction \(e\.g\.,minimizevs\.maximize\) and the optimized expression itself must match after canonicalization\.
Rather than requiring literal identity of object names, the comparison abstracts away from naming and searches for a consistent bijection between generated and reference objects\. To reduce unnecessary computation, the structural comparison first checks whether an identity mapping already yields a match when the object names coincide\. Only if that fast path fails does it search over alternative bijections\. After aligning objects under the selected mapping, it compares the resulting object declarations, initial facts, goal facts, and metric clause\. The comparison is order\-insensitive and based on a canonical PDDL problem representation \(e\.g\., line comments are ignored before fact extraction so that annotations do not introduce spurious mismatches\)\.
When semantic support is available, both semantic equivalence and structural matching can be computed offline\. However, neither is used as the online acceptance criterion, due to the dependence on access to a curated reference problem file\. Instead, both serve as post\-hoc measures of benchmark\-reference reconstruction, allowing us to quantify the gap between operational success and recovery of the curated reference encoding\. An example for the structured matching procedure is provided in Appendix[E](https://arxiv.org/html/2609.09898#A5)\.
### 3\.3Iterative Repair
Whenever the generated problem fails the online acceptance criterion, feedback is constructed and returned to the model for repair\. The feedback includes both coarse\-grained and fine\-grained signals\. Coarse\-grained feedback reports whether the instance parsed successfully, whether it passed the domain checker, whether a plan was found, whether validation succeeded, and whether the critic accepted it\. Fine\-grained feedback is constructed from the checker diagnostics, planner/validator outcomes, and critic output, identifying issues such as undeclared objects, predicate\-arity mismatches, domain\-incompatible facts, critic\-identified initialization or goal mismatches, or suspected discrepancies between the NL description and the generated problem\.
As illustrated in Figure[1](https://arxiv.org/html/2609.09898#S3.F1), the repair loop does not rely on a separate repair module\. Instead, the generation step is invoked again with the same task inputs, augmented with the previously generatedproblem\.pddland the structured feedback derived from evaluation\. The loop continues until operational success is reached, the generation stops changing, no actionable feedback is available, or the maximum attempt budget is exhausted\.
### 3\.4Offline Benchmark Analysis Across Different Planning Tasks
The same generate\-and\-repair pipeline was applied across both the Planetarium and the AutoPlanBench benchmarks\. When reference problems are available, we compute benchmark\-based analysis signals offline\. In domains with Planetarium semantic support, this includes both semantic equivalence and renaming\-invariant structural matching\. In unsupported domains, the available offline signal is the structural criterion alone\. This yields a unified operational pipeline with broader domain coverage and stronger post\-hoc analysis whenever benchmark references exist\.
We additionally considered PDDL 2\.1 planning, using six manually curated benchmark domains derived from IPC 2002 domains:depot\-numeric,depot\-time\-simple,driverlog\-numeric,driverlog\-time\-simple,rovers\-numeric, androvers\-time\-simple\. In this setting, the generation and repair logic are the same, while planner support is split across Temporal Fast Downward \(TFD\) for time\-simple domains, and the Expressive Numeric Heuristic Search Planner \(ENHSP\) for numeric\-fluent domains\. This allows testing the pipeline on temporal and numeric PDDL 2\.1 settings, using efficient planners according to different problem requirements\. Overall, we assessed a unified operational evaluation\-and\-repair framework for NL\-to\-PDDL tasks, that can be applied across benchmarks and planning formalisms, while retaining semantic and structural comparison as offline benchmark analysis signals whenever they are available\.
## 4Experimental Setup
We now discuss the considered experimental setup\.
### 4\.1Benchmarks and Data
As mentioned in the previous section, two main benchmark sources were used for classical planning experiments\. The first was Planetarium\([Zuo et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib1)\), which provides native support for semantic equivalence checking in selected domains\. The second was AutoPlanBench\([Stein et al\. 2025](https://arxiv.org/html/2609.09898#bib.bib3)\), which provides NL resources across a broader range of planning domains\.
AutoPlanBench was integrated through a dataset adapter that normalizes each instance into a common representation, consisting of a NL input, a domain file, and a referenceproblem\.pddlfile\. In this setting, the NL input was not read from per\-instance description files\. Instead, it was generated automatically from each referenceproblem\.pddlusing AutoPlanBench’s domain\-level natural language resources, which provide object\-name mappings and predicate verbalizations through templates\. This yields a standardized NL description of the objects, initial state, and goal, while preserving the benchmark’s domain\-specific verbalization\.
The experimental analysis covers three main subsets\.
- •Classical, Semantically Supported:Planetarium and AutoPlanBench domains for which Planetarium\-style semantic support is available, namelyblocksworld,gripperandfloor\-tile/floortile\. Each run attempts 60 problem instances\.
- •Classical, Structurally Evaluated:AutoPlanBench domains without Planetarium semantic support, namelydepot,logisticsandsatellite\. A total of 60 problem instances are considered\.
- •PDDL 2\.1, Structurally Evaluated:Six sets of manually curated domain variants derived from IPC 2002, namelydepot\-numeric,depot\-time\-simple,driverlog\-numeric,driverlog\-time\-simple,rovers\-numeric, androvers\-time\-simple\. Each of the six sets contains ten benchmark instances together with a same\-domain few\-shot example\.
To characterize the benchmark instances more concretely, we also computed simple size statistics from the curated reference problems\. Classical semantically supported examples contain on average 8\.2 objects \(range 4–19\), 13\.0 initial facts \(6–57\), and 4\.8 goal atoms \(1–11\)\. Unsupported classical AutoPlanBench examples are somewhat larger in the initial state, with 13\.4 objects \(6–18\), 20\.0 initial facts \(5–28\), and 2\.5 goal atoms \(1–5\)\. The curated PDDL 2\.1 examples contain 9\.1 objects \(7–13\), 23\.4 initial facts or numeric initializations \(10–44\), and 1\.6 goal atoms \(1–3\), with a metric clause present in all instances\.
### 4\.2Prompting Conditions
Experiments were conducted withgpt\-4\.1\-minias the base generation model and the critic\. Each example was processed with up to three attempts, consisting of one initial generation followed by up to two repair iterations\. All LLM calls used a default decoding temperature of0\.00\.0, including generation, repair, and critic calls\.
Two prompting conditions were considered:
- •Baseline:Direct generation from the PDDL domain file and natural language description\.
- •Baseline \+ Few\-Shot:The baseline prompt augmented with one same\-domain few\-shot example\.
Few\-shot selection is dataset\-specific: Planetarium uses local same\-domain examples with a compatibility fallback when needed, while AutoPlanBench uses the benchmark’s domain\-specific few\-shot resources aligned with the adaptedproblem\.pddl\. PDDL 2\.1 uses one same\-domain example from each of the six benchmark sets\.
The initial prompt asks the model to generate only a validproblem\.pddlfile from the natural language description, target domain name, and exact domain PDDL, including objects, initial state, goals, and metrics when applicable\. The repair prompt reuses the same inputs, adds the previous draft and structured evaluator feedback, and asks for the smallest set of edits needed to restore domain compliance and faithfulness to the NL description\. The critic prompt is separated from both generation and repair: it receives the NL description, domain, generated problem, and automated diagnostics, and returns a structured acceptance judgment together with localized issues when the instance should be revised\. Additional runs withgpt\-5\.5andopus\-4\.7are reported in Appendix[C](https://arxiv.org/html/2609.09898#A3)and show the same qualitative pattern: operational acceptance is often high, while reference\-based reconstruction remains more variable, especially in PDDL 2\.1\.
### 4\.3Evaluation Protocol
All planning\-based checks were performed with the Fast Downward solver and with VAL in classical domains\. In the case of PDDL 2\.1 problems, time\-simple domains were evaluated with TFD and VAL, while numeric\-fluent domains were evaluated with ENHSP and VAL\.
For all experiments, the online pipeline used the same operational acceptance criterion: a candidateproblem\.pddlwas accepted only if it parsed, passed the domain\-conformance checker, yielded a plan, produced a VAL\-valid plan, and was accepted by the LLM critic\. If any of these conditions failed, structured feedback was constructed and returned to the model together with the previous candidate, yielding an iterative repair loop that executes for up to three total attempts\.
When benchmark references were available, renaming\-invariant structural matching was computed offline after the run, with semantic equivalence available as an additional signal in domains supported by the corresponding Planetarium oracle\. These offline metrics quantify how often an operationally accepted instance also reconstructs the curated benchmark reference problem\. In other words, they measure the gap between deployment\-realistic acceptance and benchmark\-reference reconstruction\.
### 4\.4Evaluation Metrics
The evaluation protocol separates operational acceptance from benchmark\-reference fidelity\. Offline structural and semantic comparisons should not be interpreted as assessing whether a generated PDDL problem is the only correct representation of the intended planning instance\. Rather, they measure how closely the generated problem reconstructs the curated benchmark reference encoding, up to the equivalences supported by each benchmark\. For this reason, the analysis combines operational acceptance metrics, offline benchmark analysis metrics, and repair\-oriented measures\.
The main online metric is*operational success rate*\(Op\.\), which corresponds to the fraction of examples that satisfy the full acceptance criterion:
OpSucc=1N∑i=1N𝟏\[parsei∧checki∧solvei∧VALi∧critici\]\.\\mathrm\{OpSucc\}=\\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}\\mathbf\{1\}\[\\mathrm\{parse\}\_\{i\}\\wedge\\mathrm\{check\}\_\{i\}\\wedge\\mathrm\{solve\}\_\{i\}\\wedge\\mathrm\{VAL\}\_\{i\}\\wedge\\mathrm\{critic\}\_\{i\}\]\.We also report the individual component rates in appendix: parse success, domain conformance \(Domain Conf\.\), solve success, VAL plan validity \(VAL\-valid\), and critic acceptance \(Critic Acc\.\)\. Metrics are reported for the initial generation \(Step\-0\) and/or for the final output after any repair\. Gains denote final minus Step\-0 accuracy for the corresponding metric\. Each experimental run evaluates results over 60 examples, unless stated otherwise due to timeouts\. The termNNdenotes completed examples, so60−N60\-Ncorresponds to example\-level timeouts\. We also report average end\-to\-end runtime per completed example\.
Because the loop may terminate without success, we additionally report the main non\-success stopping outcomes: unchanged generation \(Stop: Unchanged\) and maximum\-attempt exhaustion \(Stop: Max Att\.\)\. The no\-actionable\-feedback condition did not occur in the reported runs and is omitted from the tables\. These statistics are important for interpreting whether repair failures arise from stagnation or from limits in the attempt budget\.
Using the benchmark references, we additionally compute offline reference\-based metrics\. Renaming\-invariant structural accuracy \(Struct\.\) is the common offline signal across all benchmarks, defined as exact agreement with the curated reference problem up to a consistent object renaming over:objects,:init,:goal, and:metric\. This criterion is intentionally strict, in that a failed structural match does not necessarily imply that the generated problem is invalid or useless as a planning instance\. Instead, it indicates that the generated problem does not recover the particular reference encoding used by the benchmark\. We therefore interpret structural accuracy as benchmark\-reference reconstruction accuracy, and not as an absolute test assessing the preservation of task semantics\. In semantically supported domains, semantic equivalence \(Sem\.\) is also computed through the corresponding domain\-specific oracle\. We explicitly report the divergence between online and offline criteria through*Op\. Non\-Struct\.*, i\.e\. the fraction of examples accepted operationally but not structurally matched, and*Struct\. Non\-Op\.*, i\.e\. the fraction of structurally matched but not operationally accepted instances\. The offline reference\-based metrics can be written under a common formulation:
EqAcc=1N∑i=1N𝟏\[p^i≡pi\]\.\\mathrm\{EqAcc\}=\\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}\\mathbf\{1\}\[\\hat\{p\}\_\{i\}\\equiv p\_\{i\}\]\.In the previous equation,p^i\\hat\{p\}\_\{i\}is the generated problem,pip\_\{i\}is the curated reference problem, and≡\\equivdenotes the chosen equivalence relation, i\.e\. structural or semantic equivalence depending on the available benchmark support\.
To quantify iterative improvement in the offline analysis,*repair gain*is defined as the difference between the final reference\-match rate and the reference\-match rate at the initial generation step:
RepairGain=RefMatchfinal−RefMatchstep0\.\\mathrm\{RepairGain\}=\\mathrm\{RefMatch\}\_\{\\mathrm\{final\}\}\-\\mathrm\{RefMatch\}\_\{\\mathrm\{step0\}\}\.
Bold rows in the result tables denote gain metrics, computed as the difference between the final attempt and Step\-0 for the corresponding measure\.
For all reported settings, we compare operational success with structural benchmark matching in order to identify cases in which an instance is accepted by the online pipeline but fails the offline reference\-match criterion, or matches the reference structurally but fails an operational check\.
## 5Experimental Results
We first analyze classical domains with semantic support, then unsupported classical domains, and finally PDDL 2\.1 domains with temporal and numeric constructs\. Throughout the different tests, operational metrics determine online stopping, while semantic and structural metrics are computed offline when supported\.
### 5\.1Classical Planning with Semantic Support
Domains for which semantic support is available are considered first\. Table[1](https://arxiv.org/html/2609.09898#S5.T1)compares final operational acceptance with offline semantic and structural reference matching for the Planetarium \(PL\) and AutoPlanBench \(APB\) benchmarks\. Table[1](https://arxiv.org/html/2609.09898#S5.T1)compares the operational outcomes with offline reference\-based metrics\. Few\-shot prompting improves both semantic and structural reference matching on Planetarium, with final semantic equivalence rising from 0\.267 to 0\.417 and final structural matches from 0\.200 to 0\.417\. AutoPlanBench performs substantially better overall, but the few\-shot run is lower than the baseline under both offline criteria, with final semantic and structural matches decreasing from 0\.842 to 0\.714\. The gain rows show that offline reference\-match gains are smaller than operational gains: semantic gain is positive only on Planetarium, and structural gain is at most 0\.017\. The divergence rows further show that operational acceptance and benchmark\-reference reconstruction remain distinct signals\.
A domain\-level inspection of the same run shows uneven behavior:blocksworldreaches 0\.900 final operational success, andfloor\-tilereaches 0\.600, althoughgrippercollapses to 0\.000\. This shows that few\-shot prompting is not merely refining already\-strong outputs: for some domains it is the difference between a viable operational result and near\-complete failure\. A closer inspection suggests that this weakness is dataset\-specific rather than inherent to thegripperdomain alone\. In the Planetarium baseline run,gripperreaches 0\.000 final operational success, with failures split between unchanged generations and maximum\-attempt exhaustion\. The most frequent critic issues concern initial\-state bookkeeping and goal interpretation, especially ball\-location facts, carried\-ball facts, and free\-gripper facts\. With few\-shot prompting, Planetariumgripperimproves to 0\.500 final operational success and 0\.850 VAL\-validity\. By contrast, AutoPlanBenchgripperis stronger, reaching 0\.842–0\.789 operational success and 0\.947–1\.000 structural reference matching across the two prompting conditions\. This suggests that the failures arise from the interaction betweengripperdescriptions, initial\-state conventions, and the critic/repair loop, rather than from the domain vocabulary alone\.
Table 1:Operational acceptance \(Op\.\) versus semantic and structural reference matching \(Sem\./Struct\.\) on semantically supported classical problem domains\.Detailed operational component checks are reported in Table[4](https://arxiv.org/html/2609.09898#A2.T4), in Appendix[C](https://arxiv.org/html/2609.09898#A3)\. All reported columns use the operational stopping criterion\. Semantic and structural matching are reported as offline benchmark metrics\.
The detailed diagnostics in Appendix[C](https://arxiv.org/html/2609.09898#A3), specifically in Table[4](https://arxiv.org/html/2609.09898#A2.T4), show that few\-shot prompting improves operational success on Planetarium, raising the final rate from 0\.500 to 0\.583, but slightly lowers it on APB, from 0\.772 to 0\.750\. Operational success is also stricter than parser/planner success alone, because solve and VAL\-valid rates are higher than final operational success once the critic acceptance is included\. Iterative feedback improves operational success in all four settings, with larger gains in the baseline runs\.
### 5\.2Classical Planning without Semantic Support
The pipeline was next evaluated on unsupported AutoPlanBench domains, namelydepot,logistics, andsatellite\. In this setting, semantic equivalence is unavailable, so renaming\-invariant structural matching is the offline benchmark signal\. Table[2](https://arxiv.org/html/2609.09898#S5.T2)compares operational acceptance with structural reference matching\. Few\-shot prompting improves final structural exact match from 0\.567 to 0\.650, but structural gain is negative in both conditions \(i\.e\., \-0\.100 and \-0\.067\), showing that the repair loop can move candidates away from exact benchmark reconstruction\. The divergence rows show that few examples are accepted operationally while failing structural matching \(0\.033 and 0\.017\)\. The larger divergence is in the opposite direction: 0\.183 of examples in both conditions match structurally but are not operationally accepted\.
Table 2:Operational acceptance \(Op\.\) versus structural reference matching \(Struct\.\) on unsupported AutoPlanBench problem domains\.Table[5](https://arxiv.org/html/2609.09898#A2.T5)in Appendix[C](https://arxiv.org/html/2609.09898#A3)reports the operational run outcomes\. The detailed diagnostics in Table[5](https://arxiv.org/html/2609.09898#A2.T5)show that few\-shot prompting improves final operational success from 0\.417 to 0\.483 and reduces the two main non\-success stopping outcomes\. However, operational gains are small in the baseline run and zero with few\-shot prompting, indicating that most of the few\-shot improvement comes from a stronger initial generation rather than from repair\.
### 5\.3Comparing Operational Acceptance Versus Reference Matching in Classical Runs
The main divergence in the classical runs exists between operational success and benchmark\-reference reconstruction\. Planetarium\+FS accepts 0\.583 of examples operationally, but only 0\.417 match the reference semantically and structurally, yielding 0\.200 operationally accepted but structurally unmatched cases\. Supported APB reaches higher benchmark\-reference reconstruction, with final semantic and structural accuracy of 0\.842 in the baseline condition and 0\.714 with few\-shot prompting\. However this setting also contains structurally matched examples that are not operationally accepted\. Unsupported APB shows the same latter pattern: final structural matching is higher than final operational success in both baseline and few\-shot settings\.
### 5\.4Extension to PDDL 2\.1
Evaluation was finally extended to PDDL 2\.1 domains covering both time\-simple and numeric variants\. The goal of this extension was not merely to verify end\-to\-end executability, but also to test whether the same operational loop is effective once temporal planning and numeric fluents are introduced\. Table[3](https://arxiv.org/html/2609.09898#S5.T3)shows that the PDDL 2\.1 outputs often become operationally executable even when they do not recover the curated reference instance\. Final structural exact match remains very low, rising only from 0\.000 to 0\.067, and structural gain is small \(0\.000 and 0\.033\)\. The divergence rows make the gap explicit: operationally accepted but structurally unmatched outputs account for 0\.500 of the baseline run and 0\.667 of the few\-shot run, while no structurally matched output fails operational acceptance\. This indicates that operational feedback helps produce accepted PDDL 2\.1 instances but does not by itself recover metric\-sensitive benchmark structure\.
Table 3:Operational acceptance \(Op\.\) versus structural reference matching \(Struct\.\) on the six curated PDDL 2\.1 problem domain variants\.Detailed operational component checks, reported in Table[6](https://arxiv.org/html/2609.09898#A2.T6)within Appendix[C](https://arxiv.org/html/2609.09898#A3), show that few\-shot prompting improves the operational side substantially: final operational success rises from 0\.500 to 0\.733, solve and VAL\-valid rates rise from 0\.550 to 0\.750, and critic acceptance rises from 0\.517 to 0\.767\. Few\-shot prompting also reduces maximum\-attempt exhaustion from 0\.417 to 0\.217\.
### 5\.5Manual Audit of the LLM Critic
To sanity\-check the LLM critic, we manually inspected 24 stratified outputs, covering classic and PDDL 2\.1 problems\. The assessment criterion was faithfulness to the natural language description, not exact reconstruction of the curated reference file\. The critic agreed with the manual judgment in 13/24 cases: it accepted 9 manually faithful and 3 manually unfaithful instances, and rejected 8 manually faithful and 4 manually unfaithful instances\. These results support using the critic as an operational feedback signal, but not as an independently reliable task\-faithfulness oracle\. The full results are provided in Appendix[F](https://arxiv.org/html/2609.09898#A6), namely the audit statistics in Table[19](https://arxiv.org/html/2609.09898#A6.T19)and a few representative examples\.
## 6Discussion
Across semantically supported settings, planner\-oriented operational metrics are not interchangeable with reference\-based benchmark reconstruction\. The pipeline makes this explicit by using operational success as the online stopping criterion and measuring semantic and structural reference matching offline, whenever a benchmark reference is available\. The Planetarium\+FS run illustrates the gap clearly: operational acceptance improves from 0\.517 at step 0 to 0\.583 after repair, yet final semantic and structural reference\-match rates reach only 0\.417\. APB results are stronger overall, with final semantic and structural reference\-match rates between 0\.714 and 0\.842 on completed examples\. The results also show that operational acceptance and benchmark\-reference reconstruction are separate signals\. Operational success is necessary for deployment, but benchmark\-reference reconstruction and per\-domain robustness remain important for controlled scientific evaluation\. Overall, the task of reconstructing PDDL problems from natural language descriptions remains particularly challenging\.
Another main finding concerns few\-shot prompting, which is beneficial but not uniformly across benchmarks\. On Planetarium it improves both operational and offline reference\-based results\. On unsupported APB it raises final operational success from 0\.417 to 0\.483, and final structural matching from 0\.567 to 0\.650\. On PDDL 2\.1 problems, it raises final operational success from 0\.500 to 0\.733\. However, on supported APB instances, the few\-shot run is slightly lower than the baseline on both operational and offline reference\-based metrics\. This suggests that few\-shot examples are useful but not uniformly positive\. Iterative repair also varies by setting: it contributes more under the operational metric than under the structural metric, especially when the feedback can make an executable problem acceptable without recovering the exact benchmark instance\.
More broadly, the same generate\-and\-repair framework can be applied across benchmarks and formalisms, but any conclusions should consider the evaluation signal that is available\. In classical APB, structural matching is often recovered\. In PDDL 2\.1, operational success is much easier to obtain than exact structural agreement, suggesting that temporal and numeric problem generation requires stronger feedback about numeric initializations, metric clauses, and curated reference object structure\. Progress in NL\-to\-PDDL generation therefore depends not only on stronger generators, but also on stronger operational critics, stronger benchmark analysis, and planner\-aware diagnostics\. The main error patterns involve incomplete initial states, structurally plausible reference mismatches, representation\-sensitive object/predicate/metric mismatches, and PDDL 2\.1\-specific failures involving omitted metrics or incomplete numeric initializations\. Additional details about error patterns are provided in Appendix[A](https://arxiv.org/html/2609.09898#A1)\.
## 7Limitations and Future Work
The present study has several important limitations\. First, the online acceptance criterion is only a proxy for task faithfulness\. The domain checker is intentionally local, the planner and validator only assess executability, and the LLM critic can produce false positive or false negative validations\. As a result, operational success should not be interpreted as a proof that the generated instance fully captures the intended task\. Our pipeline validates plans for the generated problem with VAL, but it does not yet compare the behavior induced by the generated and reference instances\. Future work should complement reference\-file reconstruction with plan\-oriented checks, such as testing plan transfer between generated and reference problems, or comparing valid, optimal, or top\-quality plan sets\.
A second limitation concerns the type of natural language descriptions used in the experiments\. Much of the benchmark data is relatively formal and close to the structure that is ultimately required in the target PDDL instance, even in the manually curated PDDL 2\.1 domains\. The PDDL 2\.1 benchmark design introduces more contextual variation than direct benchmark verbalization through templates, but it falls short of genuinely open\-ended user language\. A broader evaluation across different levels of linguistic informality, underspecification, and common\-sense inference, would therefore be a natural next step\.
A third limitation concerns the fact that the pipeline assumes the availability of a correctdomain\.pddlfile and focuses only on the generation ofproblem\.pddldescriptions\. This makes the setup suitable for controlled benchmarking, but it leaves aside the more difficult task of generating the domain model itself\. Recent work has begun to address this broader problem, including approaches that generate both domain and problem specifications from natural language descriptions\([Gestrin et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib2)\), and work focused specifically on domain generation\([Oswald et al\. 2024](https://arxiv.org/html/2609.09898#bib.bib10);[Oswald et al\. 2026](https://arxiv.org/html/2609.09898#bib.bib11)\)\. Extending the present framework in that direction would considerably broaden its scope\.
A further limitation concerns the LLM critic\. Although it can flag mismatches that parsers, planners, and validators cannot observe, it remains an LLM judgment and may reject faithful encodings or accept plausible but incomplete ones\. Our small manual audit confirms this limitation: the critic agreed with manual faithfulness judgments in 13/24 inspected cases, with both false positives and false negatives\. Larger manual studies are still needed to measure critic reliability across domains, prompt variants, and error types, and to determine when the LLM critic feedback indeed improves subsequent repair attempts\.
The present study is also restricted to a single\-turn interaction setting, in which the user provides the complete problem description at once\. This leaves open a more interactive scenario in which the generated PDDL specification is explained back to the user, revised through follow\-up dialogue, or incrementally corrected after clarification\. Such interaction would be especially valuable when descriptions are informal, incomplete, or ambiguous\.
Finally, the extension to PDDL 2\.1 should be viewed as an initial step rather than a comprehensive evaluation\. This setup covers six curated domain variants spanning time\-simple and numeric formulations, but it does not yet establish performance on richer temporal benchmarks, more expressive numeric formulations, or broader planner coverage\. The low structural exact\-match rate in PDDL 2\.1 also shows that operational checks and critic feedback are not sufficient to recover metric\-sensitive benchmark instances reliably\. Extending the framework to more demanding PDDL 2\.1/2\.2 domains, alternative numeric planners, and eventually to probabilistic settings through PPDDL, is another important direction for future work\.
## 8Conclusions
This paper argues that NL\-to\-PDDL generation cannot be evaluated reliably through parseability or planner success alone\. We present a LLM\-based generation pipeline that adopts an operationally grounded stopping criterion based on parsing, domain conformance, planning, VAL validation, and an LLM critic, while reserving benchmark comparison for offline analysis\. Across Planetarium, AutoPlanBench, and PDDL 2\.1 experimental runs, the results show that operationally successful instances may fail stricter reference\-based benchmark reconstruction criteria\. Semantic equivalence and renaming\-invariant structural comparison therefore serve as offline benchmark analysis signals that quantify reconstruction of the curated reference instance\.
Our results also clarify the roles of few\-shot prompting and iterative repair\. Their impact is not uniform across settings, in that few\-shot prompting improves Planetarium, unsupported APB, and PDDL 2\.1 operational success, but not the supported APB run\. Repair effects are most visible when operational feedback can turn an executable near\-miss into an accepted instance\. At the same time, the unsupported APB and PDDL 2\.1 results show that operational repair is not equivalent to structural benchmark recovery\.
Deployment\-realistic repair should be driven by operational evidence, but controlled benchmarks should continue to measure reconstruction of the curated reference instance separately from operational acceptance\. Progress in NL\-to\-PDDL generation depends not only on stronger generators, but also on stronger critics, stronger benchmark analysis, and repair mechanisms that work across settings\.
## Acknowledgements
This research was developed in the scope of the project “Pacto de Inovação ECP – Ecocerâmica e Cristalaria de Portugal”, with reference 01/C05\-i11/2024\.PC644916391\-00000029, call number 02/C05\-i01\.01/2022, funded by the Portuguese Recovery and Resilience Program \(PPR\), The Portuguese Republic, and The European Union \(EU\) under the framework of the Next Generation EU Program\. The work was also supported by Fundação para a Ciência e a Tecnologia \(FCT\) under projects UID/50021/2025 \(https://doi\.org/10\.54499/UID/50021/2025\), UID/PRR/50021/2025 \(https://doi\.org/10\.54499/UID/PRR/50021/2025\), UID/6486/2025 \(https://doi\.org/10\.54499/UID/06486/2025\), UID/PRR/6486/2025 \(https://doi\.org/10\.54499/UID/PRR/06486/2025\), and UID/PRR2/06486/2025 \(https://doi\.org/10\.54499/UID/PRR2/06486/2025\)\.
## References
- Gestrinet al\.\(2024\)E\. Gestrin, M\. Kuhlmann, and J\. SeippNL2Plan: Robust LLM\-Driven Planning from Minimal Text Descriptions\.InICAPS 2024 Workshop on Human\-Aware and Explainable Planning,External Links:[Link](https://arxiv.org/abs/2405.04215)Cited by:[§1](https://arxiv.org/html/2609.09898#S1.p1.1),[§2](https://arxiv.org/html/2609.09898#S2.p2.1),[§7](https://arxiv.org/html/2609.09898#S7.p3.1)\.
- Guanet al\.\(2023\)L\. Guan, K\. Valmeekam, S\. Sreedharan, and S\. KambhampatiLeveraging pre\-trained large language models to construct and utilize world models for model\-based task planning\.InAdvances in Neural Information Processing Systems,Vol\.36\.Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p3.1)\.
- Haoet al\.\(2024\)Y\. Hao, Y\. Chen, Y\. Zhang, and C\. FanLarge language models can solve real\-world planning rigorously with formal verification tools\.arXiv preprint arXiv:2404\.11891\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2404.11891),[Link](https://arxiv.org/abs/2404.11891)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p4.1)\.
- Huang and Zhang \(2024\)C\. Huang and L\. ZhangOn the limit of language models as planning formalizers\.arXiv preprint arXiv:2412\.09879\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2412.09879),[Link](https://arxiv.org/abs/2412.09879)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p2.1)\.
- Liuet al\.\(2023\)B\. Liu, Y\. Jiang, X\. Zhang, Q\. Liu, S\. Zhang, J\. Biswas, and P\. StoneLLM\+p: empowering large language models with optimal planning proficiency\.arXiv preprint arXiv:2304\.11477\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2304.11477)Cited by:[§1](https://arxiv.org/html/2609.09898#S1.p1.1)\.
- Mahdaviet al\.\(2024\)S\. Mahdavi, R\. Aoki, K\. Tang, and Y\. CaoLeveraging environment interaction for automated PDDL translation and planning with large language models\.InAdvances in Neural Information Processing Systems,Vol\.37\.Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p3.1)\.
- Oswaldet al\.\(2026\)J\. Oswald, D\. Oblinsky, V\. Varha, V\. Dragovic, H\. Kokel, K\. Srinivas, M\. Katz, and S\. SohrabiModel space reasoning as search in feedback space for planning domain generation\.arXiv preprint arXiv:2604\.08712\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2604.08712),[Link](https://arxiv.org/abs/2604.08712)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p1.1),[§2](https://arxiv.org/html/2609.09898#S2.p3.1),[§7](https://arxiv.org/html/2609.09898#S7.p3.1)\.
- Oswaldet al\.\(2024\)J\. Oswald, K\. Srinivas, H\. Kokel, J\. Lee, M\. Katz, and S\. SohrabiLarge language models as planning domain generators\.InInternational Conference on Automated Planning and Scheduling,Vol\.34\.External Links:[Document](https://dx.doi.org/10.1609/icaps.v34i1.31502)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p2.1),[§2](https://arxiv.org/html/2609.09898#S2.p3.1),[§7](https://arxiv.org/html/2609.09898#S7.p3.1)\.
- Silveret al\.\(2024\)T\. Silver, S\. Dan, K\. Srinivas, J\. B\. Tenenbaum, L\. P\. Kaelbling, and M\. KatzGeneralized planning in PDDL domains with pretrained large language models\.InAAAI Conference on Artificial Intelligence,Vol\.38\.External Links:[Document](https://dx.doi.org/10.1609/aaai.v38i18.30006)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p1.1)\.
- Steinet al\.\(2025\)K\. Stein, D\. Fišer, J\. Hoffmann, and A\. KollerAutomating the generation of prompts for llm\-based action choice in PDDL planning\.InInternational Conference on Automated Planning and Scheduling,Vol\.35\.External Links:[Document](https://dx.doi.org/10.1609/icaps.v35i1.36126)Cited by:[§4\.1](https://arxiv.org/html/2609.09898#S4.SS1.p1.1)\.
- Tantakounet al\.\(2025\)M\. Tantakoun, C\. Muise, and X\. ZhuLLMs as planning formalizers: a survey for leveraging large language models to construct automated planning models\.InFindings of the Association for Computational Linguistics,External Links:[Document](https://dx.doi.org/10.18653/v1/2025.findings-acl.1291)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p3.1)\.
- Valmeekamet al\.\(2023\)K\. Valmeekam, M\. Marquez, A\. Olmo, S\. Sreedharan, and S\. KambhampatiPlanBench: an extensible benchmark for evaluating large language models on planning and reasoning about change\.InAdvances in Neural Information Processing Systems,Vol\.36\.Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p1.1)\.
- Vermaet al\.\(2025\)P\. Verma, N\. La, A\. Favier, S\. Mishra, and J\. A\. ShahTeaching LLMs to plan: logical chain\-of\-thought instruction tuning for symbolic planning\.arXiv preprint arXiv:2509\.13351\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2509.13351),[Link](https://arxiv.org/abs/2509.13351)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p1.1)\.
- Xieet al\.\(2023\)Y\. Xie, C\. Yu, T\. Zhu, J\. Bai, Z\. Gong, and H\. SohTranslating natural language to planning goals with large\-language models\.arXiv preprint arXiv:2302\.05128\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2302.05128),[Link](https://arxiv.org/abs/2302.05128)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p2.1)\.
- Zhanget al\.\(2024\)T\. Zhang, L\. Zhang, Z\. Hou, Z\. Wang, Y\. Gu, P\. Clark, C\. Callison\-Burch, and N\. TandonPROC2PDDL: open\-domain planning representations from texts\.arXiv preprint arXiv:2403\.00092\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2403.00092),[Link](https://arxiv.org/abs/2403.00092)Cited by:[§2](https://arxiv.org/html/2609.09898#S2.p2.1)\.
- Zuoet al\.\(2024\)M\. Zuo, F\. Piedrahita Velez, X\. Li, M\. L\. Littman, and S\. H\. BachPlanetarium: a rigorous benchmark for translating text to structured planning languages\.arXiv preprint arXiv:2407\.03321\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2407.03321)Cited by:[§1](https://arxiv.org/html/2609.09898#S1.p2.1),[§3\.2](https://arxiv.org/html/2609.09898#S3.SS2.SSS0.Px3.p1.1),[§4\.1](https://arxiv.org/html/2609.09898#S4.SS1.p1.1)\.
## Appendices
## Appendix AAdditional Error Pattern Discussion
The observed errors cluster into four recurring categories\. First, many failures involve incomplete or inaccurate initial states, where small omissions or incorrect predicates are enough to break structural recovery or semantic equivalence\. Second, some outputs are structurally plausible reference mismatches: they are parseable, solvable, and VAL\-valid, but fail the offline semantic or structural reference\-match criterion\. Third, representation\-sensitive mismatches involve object declarations, initialization facts, predicates, or metrics that differ from the curated benchmark encoding despite an otherwise plausible task structure\. Finally, PDDL 2\.1 introduces metric\-specific failures, including omitted or incorrect:metricclauses and incomplete numeric initializations\.
## Appendix BAdditional GPT\-4\.1\-mini Operational Diagnostics
This appendix reports detailed operational component checks for thegpt\-4\.1\-miniruns, whose summary results are discussed in the main text\. Table[4](https://arxiv.org/html/2609.09898#A2.T4)reports the semantically supported classical diagnostics\. Table[5](https://arxiv.org/html/2609.09898#A2.T5)reports the unsupported AutoPlanBench diagnostics\. Finally,Table[6](https://arxiv.org/html/2609.09898#A2.T6)reports the PDDL 2\.1 diagnostics\.
Table 4:Operational component checks and repair outcomes on semantically supported problem domains\.Table 5:Operational component checks and repair outcomes on unsupported AutoPlanBench problem domains\.Table 6:Operational component checks and repair outcomes on the six curated PDDL 2\.1 problem domain variants\.
## Appendix CResults with Different LLMs
This appendix reports experimental results with stronger LLMs\. Although the strongest results are obtained withgpt\-5\.5andopus\-4\.7, it remains relevant to examine how more efficient and resource\-effective models perform in the context of NL\-to\-PDDL tasks, and hence our choice of usinggpt\-4\.1\-miniin the main results\. Acrossgpt\-5\.5andopus\-4\.7, operational success is near\-saturated on most classical settings, while benchmark fidelity remains more variable\. The clearest residual gap is in PDDL 2\.1, where structural recovery stays low despite high operational acceptance\.
### C\.1Results with GPT\-5\.5
This appendix reports detailed operational component checks for thegpt\-5\.5runs\.
Table[7](https://arxiv.org/html/2609.09898#A3.T7)reports operational component checks and repair outcomes, while Table[8](https://arxiv.org/html/2609.09898#A3.T8)reports a comparison between operational acceptance and semantic and structural benchmark fidelity over the semantically supported domains\. Table[9](https://arxiv.org/html/2609.09898#A3.T9)reports operational component checks and repair outcomes, while Table[10](https://arxiv.org/html/2609.09898#A3.T10)reports a comparison between operational acceptance and semantic and structural benchmark fidelity on unsupported AutoPlanBench problem domains\. Finally, Table[11](https://arxiv.org/html/2609.09898#A3.T11)reports operational component checks and repair outcomes, while Table[12](https://arxiv.org/html/2609.09898#A3.T12)reports a comparison between operational acceptance and semantic and structural benchmark fidelity on the six curated PDDL 2\.1 domain variants\.
Table 7:Operational component checks and repair outcomes on semantically supported problem domains, forgpt\-5\.5\.
Table 8:Operational acceptance \(Op\.\) versus semantic and structural benchmark fidelity \(Sem\./Struct\.\) on semantically supported problem domains, forgpt\-5\.5\.
Table 9:Operational component checks and repair outcomes on unsupported AutoPlanBench domains, forgpt\-5\.5\.
Table 10:Operational acceptance \(Op\.\) versus structural benchmark fidelity \(Struct\.\) on unsupported AutoPlanBench problem domains, forgpt\-5\.5\.
Table 11:Operational component checks and repair outcomes on the six curated PDDL 2\.1 problem domain variants, forgpt\-5\.5\.
Table 12:Operational acceptance \(Op\.\) versus structural benchmark fidelity \(Struct\.\) on the six curated PDDL 2\.1 problem domain variants, forgpt\-5\.5\.
### C\.2Results with Opus 4\.7
This appendix reports detailed operational component checks for theopus\-4\.7runs\.
Table[13](https://arxiv.org/html/2609.09898#A3.T13)reports operational component checks and repair outcomes, while Table[14](https://arxiv.org/html/2609.09898#A3.T14)reports a comparison between operational acceptance and semantic and structural benchmark fidelity over the semantically supported domains\. Table[15](https://arxiv.org/html/2609.09898#A3.T15)reports operational component checks and repair outcomes, while Table[16](https://arxiv.org/html/2609.09898#A3.T16)reports a comparison between operational acceptance and semantic and structural benchmark fidelity on unsupported AutoPlanBench problem domains\. Finally, Table[17](https://arxiv.org/html/2609.09898#A3.T17)reports operational component checks and repair outcomes, while Table[18](https://arxiv.org/html/2609.09898#A3.T18)reports a comparison between operational acceptance and semantic and structural benchmark fidelity on the six curated PDDL 2\.1 domain variants\.
Table 13:Operational component checks and repair outcomes on semantically supported domains, foropus\-4\.7\.
Table 14:Operational acceptance \(Op\.\) versus semantic and structural benchmark fidelity \(Sem\./Struct\.\) on semantically supported problem domains, foropus\-4\.7\.
Table 15:Operational component checks and repair outcomes on unsupported AutoPlanBench problem domains, foropus\-4\.7\.
Table 16:Operational acceptance \(Op\.\) versus structural benchmark fidelity \(Struct\.\) on unsupported AutoPlanBench problem domains, foropus\-4\.7\.
Table 17:Operational component checks and repair outcomes on the six curated PDDL 2\.1 problem domain variants, foropus\-4\.7\.
Table 18:Operational acceptance \(Op\.\) versus structural benchmark fidelity \(Struct\.\) on the six curated PDDL 2\.1 problem domain variants, foropus\-4\.7\.
## Appendix DPrompt Templates
The generation and repair prompts were shared acrossgpt\-4\.1\-mini,gpt\-5\.5, andopus\-4\.7\. However, some small adjustments where made to the LLM critic prompt for thegpt\-5\.5andopus\-4\.7runs\.
The templates below correspond to the prompts used to define the role, output format, and task\-level constraints for each LLM call\. In the API call, the system prompt and user prompt are sent as separate messages in the same request: the former provides general instructions, while the latter is a structured JSON payload containing the concrete benchmark instance and any dynamic repair context\.
The generation user prompt has the following structure:
> \{ "task": "Generate a PDDL problem from a natural language description for the provided benchmark domain\.", "domain\_name": \.\.\., "problem\_name\_hint": \.\.\., "natural\_language\_description": \.\.\., "domain\_pddl": \.\.\., "few\_shot\_examples": \[\.\.\.\] \}
For repair calls, the same instance\-specific inputs are reused, and the repair user prompt is augmented with the previous draft, repair history, and evaluator\-derived feedback, as shown next:
> \{ "task": "Repair the generated PDDL problem using the feedback\.", "domain\_name": \.\.\., "problem\_name\_hint": \.\.\., "natural\_language\_description": \.\.\., "domain\_pddl": \.\.\., "previous\_problem\_pddl": \.\.\., "repair\_history": \[\.\.\.\], "few\_shot\_examples": \[\.\.\.\], "feedback": \.\.\. \}
The few\-shot examples are supplied dynamically through thefew\_shot\_exampleselement in the user prompt, for both generation and repair calls\. Repair\-specific information is supplied dynamically throughprevious\_problem\_pddl,repair\_history, andfeedback, after each evaluation step\.
### D\.1Generation Prompt
Used forgpt\-4\.1\-mini,gpt\-5\.5, andopus\-4\.7\.
> You are an expert PDDL problem generator\. Your task is to generate only a PDDL problem file from: \- a natural language planning task description\. \- the target domain name\. \- the exact domain PDDL\. Requirements: \- Output only valid PDDL problem text\. No markdown and no explanations\. \- The generated problem must use the provided domain name exactly\. \- Reuse only predicates, typing rules, constants, and syntax compatible with the provided domain PDDL\. \- Infer objects, initial state, and goal from the natural language only\. \- Do not generate extra requirements not implied by the domain/problem description\. \- Prefer complete and explicit object declarations and explicit initialization and goal facts\. \- Include all required facts exactly, including 0\-arity predicates such as \(arm\-empty\) when implied\. \- Aim for a problem that is faithful to the natural language task, compatible with the provided domain, and solvable by a planner\. \- Internally do reasoning in three stages before writing the final answer: 1\. identify the full object inventory and object types/constants used by the task\. 2\. derive the complete initial state\. 3\. derive the complete goal state\. \- Before producing the final PDDL problem specification, internally verify that every object mentioned in :init and :goal is declared in :objects, and that every fact is supported by the natural language description plus the provided domain\. \- When the natural language description is partially underspecified or symmetric, prefer the most literal and canonical interpretation rather than an arbitrary alternative instantiation\. \- Be conservative: do not omit unary, support, location, holding, availability, or emptiness facts that are required to make the intended state fully specified\. \- If few\-shot examples are provided, use them as domain\-specific demonstrations of how natural language maps to a complete problem\.pddl specification for this domain\. \- Learn domain\-specific conventions from the few\-shot examples, but do not copy object names or instance\-specific facts, unless they are supported by the current task\. \- Ensure balanced parentheses and standard PDDL formatting\.
### D\.2Repair Prompt
Used forgpt\-4\.1\-mini,gpt\-5\.5, andopus\-4\.7\.
> You are an expert PDDL repair assistant\. You will receive: \- the natural language task\. \- the exact domain PDDL\. \- the current generated PDDL problem draft that must be repaired\. \- an optional history of previous attempts\. \- operational feedback from parser, domain, planner, and validator checks\. Your job is to return a corrected PDDL problem\. Requirements: \- Output only valid PDDL problem text\. No markdown, no explanations\. \- Preserve the original natural language meaning\. \- Use the provided domain name exactly\. \- Treat the provided previous\_problem\_pddl content as a draft to edit, not as disposable context\. \- Preserve any parts of the current draft that are already correct\. \- Apply the smallest set of changes needed to satisfy the feedback\. \- Repair syntax, objects, initial facts, and goal facts as needed\. \- Do not change the domain PDDL\. \- Return a fully corrected problem that is faithful to the natural language task, compatible with the provided domain, and solvable by a planner\. \- Include any missing 0\-arity predicates, such as \(arm\-empty\), whenever they are required by the task\. \- Be especially careful with initialization and goal facts that differ by only one relation, one support block, or one unary predicate\. \- Treat the feedback as operational repair guidance: \- fix any listed syntax, domain\-name, predicate, arity, object declaration, typing, planner, or validator issues\. \- compare every :init and :goal fact against the provided domain PDDL before returning the repaired problem \- do not use predicates, object types, constants, or syntax that are unsupported by the domain\. \- Prefer minimal edits over full rewrites of :init and :goal facts\. \- If the current draft already has the correct objects section, keep it unchanged\. \- After repairing, internally check that the problem parses, conforms to the domain, and gives the planner a coherent initial state and a reachable goal\. \- If few\-shot examples are provided, use them only as domain\-specific guidance for the structure of correct problem instances in this domain\. \- If feedback conflicts with the natural language description, prefer the natural language description plus the domain constraints\.
### D\.3LLM Critic Prompt
The following critic prompt was used directly forgpt\-4\.1\-miniruns, and some minor adaptations were used forgpt\-5\.5andopus\-4\.7\.
> You are auditing a generated PDDL problem for faithfulness to a natural language planning task\. You will receive: \- the original natural language task\. \- the exact domain PDDL\. \- the automatically generated PDDL problem\. \- automatic parser/domain/planner/validator diagnostics\. \- optionally, the plan found for the generated problem\. Your job is to compare the generated problem against the natural language task description and the domain\. Do not assume access to any ground\-truth PDDL problem\. Do not rewrite the PDDL\. Return only a JSON object with this schema: \{ "accepted": true or false, "issues": \[ \{ "category": "nl\_mismatch \| init\_mismatch \| goal\_mismatch \| object\_mismatch \| domain\_misuse \| underspecified \| other", "severity": "high \| medium \| low", "scope": "objects \| init \| goal \| predicates \| types \| actions \| plan\_interpretation \| other", "focus": "short label naming exactly what the issue refers to", "message": "concise explanation" \} \], "repair\_instructions": \["concise instruction", "\.\.\."\] \} Acceptance criteria: \- Accept if the generated objects, initial state, and goal are faithful to the natural language description as far as can be judged from the text and domain\. \- Reject if the generated problem is formally valid but appears to solve a weaker, different, contradictory, or materially incomplete task\. \- Base every reported issue on explicit evidence from the natural language task description, the generated PDDL, or the automatic diagnostics\. Do not speculate about hidden intent, benchmark conventions, likely plans, or facts that are not stated\. \- Be conservative about rejection\. Do not reject solely because of harmless object renaming, formatting, ordering, redundant facts, or additional final\-state facts that are consistent with the requested outcome\. \- If more than one interpretation is plausible and the generated PDDL problem matches one reasonable literal interpretation of the text, prefer acceptance rather than inventing a mismatch\. \- Do not reject extra goal facts that are natural consequences of the requested final arrangement or common domain bookkeeping, unless they make the task materially stricter in a way that contradicts the natural language request\. \- Treat the automatic parser/domain/planner/validator diagnostics as authoritative for formal compatibility\. Do not report a domain\_misuse issue if the automatic diagnostics say the problem is parseable, domain\-compatible, and plan\-valid, unless you can point to a natural language faithfulness issue\. \- If the automatic diagnostics are all successful, default to acceptance unless you can identify a concrete contradiction or omission relative to the natural language task\. \- Remember that a PDDL problem specifies only objects, initial state, and goal\. Do not reject because intermediate actions or transitions are not explicitly represented in the problem; the planner is responsible for deriving the action sequence\. \- If the initial state and goal imply that some intermediate action must occur, that is not an issue by itself\. Reject only if the initial state or goal contradicts or omits something materially stated in the natural language\. \- Check cardinality carefully: phrases like "each", "all", "both", "every", "all destinations", or "all endpoints" usually require facts for every mentioned entity, not just one representative\. \- Respect the domain’s predicate and function signatures\. Do not suggest a repair that removes required arguments or creates facts that cannot be expressed with the provided domain\. \- Distinguish object existence from state predicates\. If the natural language says a resource/status is not available, empty, free, occupied, loaded, assigned, etc\., represent that through the relevant domain predicates when possible; do not remove typed objects or other domain\-required facts unless the text clearly says the objects themselves do not exist\. \- When natural language and domain constraints interact, propose repairs that satisfy both: preserve objects and facts required for a coherent domain instance while adding/removing only the state facts that the text supports\. \- Do not suggest deleting or negating facts that appear operationally necessary for domain executability unless the natural language explicitly forbids them and you can name a coherent domain\-compatible alternative\. \- If a fact seems required by the domain but appears in tension with the natural language wording, explicitly report the conflict or ambiguity instead of blindly removing the fact\. \- Prefer repair instructions such as "clarify whether this refers to object existence or state availability" or "preserve domain\-required facts and revise only the conflicting state interpretation" over instructions that would make the problem operationally incoherent\. \- Stay consistent across your own analysis: \- do not first acknowledge that a fact is domain\-required or compatible with the domain and later recommend removing it without explaining what domain\-compatible replacement will make the problem executable\. \- do not alternate between "this fact should be present" and "this fact should be removed" unless you explicitly identify the ambiguity that caused the change in judgment\. \- if the issue is genuinely ambiguous, say so directly and keep the repair instruction conservative\. \- Prefer stable, minimal repair guidance over oscillating advice\. If one interpretation preserves domain executability and another breaks it, prefer the executable interpretation unless the natural language clearly rules it out\. \- If you reject, make the highest\-severity issues actionable and tied to a concrete contradiction or omission in objects, init, or goal\. Avoid labeling an issue as high severity while explaining that the generated PDDL is actually consistent\. \- For every issue, make the target of the complaint explicit: \- use "scope" to say whether the issue is about objects, :init, :goal, predicate/function usage, types, action interpretation, or something else\. \- use "focus" to name the exact entity or concept at stake, such as "color objects", "robot\-has facts", "available\-color facts", "goal cardinality", or "tile adjacency"\. \- if the issue is about state availability rather than object existence, say that explicitly instead of implying that the objects should be removed\. \- Do not hide the target only inside prose\. The structured fields must make clear what the issue refers to even if the message is read quickly\. \- Keep the verdict internally consistent: \- if you conclude the generated PDDL matches the natural language, set "accepted": true\. \- if "accepted" is false, every listed issue must describe a real change that should be made to objects, :init, or :goal\. \- do not say that the problem is correct or fully aligned while also rejecting it \- if you cannot name a concrete fix, prefer acceptance\.
## Appendix EStructural Matching Example
As an example, consider the following reference problem instance expressed in classical PDDL:
```
Ψ(:objects a b c)
Ψ(:init
Ψ(on a b)
Ψ(ontable b)
Ψ(ontable c)
Ψ(clear a)
Ψ(clear c)
Ψ)
Ψ(:goal (on b c))
```
Consider also the following automatically generated PDDL problem instance:
```
Ψ(:objects x y z)
Ψ(:init
Ψ(on y z)
Ψ(ontable z)
Ψ(ontable x)
Ψ(clear x)
Ψ(clear y)
Ψ)
Ψ(:goal (on z x))
```
A literal exact\-match comparison would classify the two problems as different, since the object names do not match\. Under our renaming\-invariant structural criterion, the two problems are structurally identical up to a consistent renaming of objects\. In the reference problem, objectais the clear block on top of another block,bis the supporting block on the table, andcis the other clear block on the table\. The generated problem has the same relational pattern, withy,zandxplaying these respective roles\. This yields the bijectiony↦\\mapstoa,z↦\\mapstobandx↦\\mapstoc\. After applying this renaming, and if one considers the predicates within:initas sets that are order independent, the generated initial state and goal become identical to those of the reference problem\. Under this structural criterion, these two problems are therefore counted as an equivalence match\.
## Appendix FManual Audit Examples
Table[19](https://arxiv.org/html/2609.09898#A6.T19)reports the results \(i\.e\., counts for the number of cases\) for a manual audit of the LLM critic on 24 stratified examples for thegpt\-4\.1\-minirun\.
Table 19:Results for a manual audit of the LLM critic on 24 stratified examples for thegpt\-4\.1\-minirun\.The following examples illustrate typical cases found in the manual critic audit\. We show only the relevant fragments of the generated problem\.
#### Accepted Instance with an Omitted Metric\.
In this PDDL 2\.1 example from theroverdomain, the critic accepted the generated problem, but the manual audit judged it unfaithful because the natural language description explicitly requested minimization of the recharge counter\.
> Natural Language Description\.The soil location is the far waypointwp2, not the intermediate marker\. Traverse throughwp1as needed, take the soil sample atwp2, and communicate it tolander0\. Track rover energy and minimize the recharge counter\.
```
ΨΨ(:init
ΨΨ(at rover0 wp0)
ΨΨ(can_traverse rover0 wp0 wp1)
ΨΨ(can_traverse rover0 wp1 wp2)
ΨΨ(at_soil_sample wp2)
ΨΨ(equipped_for_soil_analysis rover0)
ΨΨ(= (energy rover0) 100)
ΨΨ(= (recharges) 0)
ΨΨ(at_lander lander0 wp0)
ΨΨ(channel_free lander0)
ΨΨ)
ΨΨ(:goal (and
ΨΨ(communicated_soil_data wp2)
ΨΨ))
Ψ
```
The generated instance is executable and captures the sampling goal, but it omits the requested optimization objective, e\.g\. a metric minimizingrecharges\. This is a false positive for the critic: operational checks can succeed while a metric\-sensitive part of the NL description is lost\.
#### Rejected Instance with Faithful Domain Bookkeeping\.
An example from thedepotsdomain shows the opposite failure mode\. The critic rejected the instance, although the manual audit judged it faithful to the natural language description, matching the curated reference encoding\.
> Natural Language Description\.The initial state states thatcrate\_0is atdepot\_1, is clear, and is oncrate\_2;crate\_2is atdepot\_1and onpallet\_0\. The goal is to havecrate\_0onpallet\_3andcrate\_2oncrate\_0\.
```
ΨΨ(:init
ΨΨ(at crate_0 depot_1)
ΨΨ(clear crate_0)
ΨΨ(on crate_0 crate_2)
ΨΨ(at crate_2 depot_1)
ΨΨ(on crate_2 pallet_0)
ΨΨ...
ΨΨ)
ΨΨ(:goal (and
ΨΨ(on crate_0 pallet_3)
ΨΨ(on crate_2 crate_0)
ΨΨ))
Ψ
```
In this case, the critic reported a contradiction between\(clear crate\_0\)and\(on crate\_0 crate\_2\), although this is not a contradiction in thedepotencoding: a crate can be clear while resting on another crate, sinceclearmeans that no object is on top of it\. This illustrates a false negative caused by an over\-strict interpretation of domain bookkeeping predicates\.Similar Articles
LLM-Only PDDL Domain Repair with Open-Weight Models
This paper evaluates open-weight large language models for PDDL domain repair in AI planning, showing they outperform symbolic baselines but struggle with reliable test constraint satisfaction.
RLearner-LLM: Balancing Logical Grounding and Fluency in Large Language Models via Hybrid Direct Preference Optimization
This paper introduces RLearner-LLM, a framework using Hybrid-DPO to balance logical correctness and fluency in LLM-generated explanations, achieving significant NLI entailment improvements across multiple domains and base models while mitigating the verbosity bias of standard preference signals.
Towards Reliable and Robust LLM Planning: Symbolic Feedback-Driven Iterative Self-Refinement Framework
This paper proposes a symbolic feedback-driven iterative self-refinement framework to improve the robustness and reliability of large language models in long-horizon planning tasks. The method uses natural language prompting, a symbolic verifier, and a plan recognizer to enhance feasibility and correctness.
Generating Instance Generators in PDDL Planning
This paper introduces a novel approach using large language models to automatically generate instance-generation programs for PDDL planning domains, ensuring soundness and diversity.
Improving Natural-Language Combinatorial-Optimization Accuracy in Resource-Constrained Language Models via Formal Abstractions
The paper introduces SDDL, a neuro-symbolic framework that improves combinatorial optimization accuracy in resource-constrained language models by translating natural-language problems into formal representations, resulting in higher feasibility rates compared to direct-generation and solver-code baselines.