TL;DR
This paper introduces SPG-LLM (Semantic Partial Grounding via LLM), a novel preprocessing approach that uses Large Language Models to prune irrelevant objects, actions, and predicates from planning problems before they are grounded. By leveraging the semantic and textual cues inherent in PDDL files, SPG-LLM drastically reduces the size of the grounded task, achieving grounding speedups of up to two orders of magnitude while maintaining competitive plan quality.
What Problem Does This Paper Address?
In classical automated planning, problems are typically specified using first-order logic languages like PDDL (Planning Domain Definition Language). Before a planner can search for a solution, it usually undergoes a preprocessing step called grounding—translating abstract action schemas and predicates into a massive, concrete propositional representation.
The catch? The size of this grounded space grows exponentially with the number of object parameters. For large or complex problems, grounding becomes a severe computational bottleneck, sometimes exhausting all available memory before the search even begins.
While prior "partial grounding" techniques attempt to mitigate this by using graph neural networks or relational machine learning to predict which operators are needed, they treat PDDL identifiers as arbitrary symbols. They completely ignore the rich, human-readable semantic information embedded in the text (e.g., knowing that a chop action is irrelevant if the goal only requires boiling).
Methods
The authors propose SPG-LLM, a task-level, pre-grounding approach that uses an LLM (specifically, GPT-5-2025-08-07 in their experiments) to heuristically simplify PDDL domain and problem files based on the specified goal.
The workflow operates as follows:
- Prompting: The original PDDL domain and problem files are injected into a structured prompt template that instructs the LLM to identify and remove unnecessary objects, actions, or predicates.
- LLM Generation: The LLM outputs a simplified, pruned version of the PDDL files.
- Multi-Stage Validation: To counter potential LLM hallucinations or over-pruning, the system runs three validation checks:
- Syntactic: Ensures the output complies with PDDL syntax.
- Computational: Verifies that the reformulated task remains solvable within a quick time bound.
- Semantic: Acts as a soundness proxy, verifying that the pruned elements are strict subsets of the original files and that the goal condition remains unaltered.
If validation fails, the error is fed back to the LLM in a loop for up to $K$ attempts.
Datasets
The approach was evaluated on a benchmark of 7 hard-to-ground planning domains originally compiled by Areces et al. (2023):
- Agricola, Blocksworld, Depots, Hiking, Satellite, TPP, and Zenotravel.
The authors randomly selected 25 challenging tasks from each domain (175 tasks total) to benchmark SPG-LLM against Full Grounding (FG) and a state-of-the-art graph neural network baseline, Planning with Learned Object Importance (PLOI).
Key Insights and Ideas
- Exploiting Common-Sense Semantics: PDDL files aren't just math; they contain human language. SPG-LLM successfully leverages common-sense reasoning to prune tasks. For example, in the Zenotravel domain, it correctly deduced that the
zoomaction schema (a faster but highly fuel-consuming flight action) was entirely superfluous to achieving the goal safely, effectively removing an entire dimension of the search space. - Task-Level Black-Box Pruning: Because SPG-LLM modifies the raw PDDL files before grounding, it can be paired with any standard downstream planner (like LAMA) without modifying the planner's internal architecture.
- The Search-Space Trade-off: Pruning resources (like reducing aircraft or trucks) can occasionally force the planner to generate longer, slightly more expensive plans because fewer parallel resources are available. However, the drastically smaller search space often allows the planner to perform more optimization iterations, sometimes yielding better plans than full grounding within the same time limit.
Key Results
SPG-LLM consistently reduced the number of grounded actions—frequently by up to two orders of magnitude—leading to the fastest grounding times across all domains.
As seen in Figure 1:
- Grounding Reduction (1a, 1b): SPG-LLM grounds significantly fewer actions than Full Grounding (FG) in 121 tasks and fewer than PLOI in 72 tasks. In domains like Blocksworld, it successfully eliminated redundant action schemas like
move-b-to-b. - Plan Cost & Solving Time (1c, 1d): For domains like Blocksworld and Depots, the smaller task size allowed the LAMA planner to find lower-cost plans faster. In Zenotravel, solving times dropped by an order of magnitude with only a minor increase in average plan cost (from 457.0 to 493.2).
- Coverage: Full Grounding solved 161/175 tasks within the limits, while SPG-LLM solved 139/175. Notably, SPG-LLM successfully solved 10 high-complexity tasks that standard Full Grounding failed to solve due to memory/time limits.
Limitations and Future Work
The primary drawback of SPG-LLM is its lack of strict completeness or soundness guarantees. In 36 out of 175 tasks, the LLM aggressively over-pruned essential components, rendering the tasks unsolvable or producing plans that were invalid for the original problem (particularly prevalent in the Agricola domain).
To address this, the authors plan to:
- Enhance the validation phase by incorporating automated soundness checks on plan subsets.
- Investigate explainability techniques to understand why the LLM decides to prune specific objects or actions.
- Test the framework on real-world domains that feature even richer semantic structures.
Summary updated