TL;DR
Symbolic AI planners rely on PDDL world models that break completely if even a single precondition or effect is wrong. Existing automated repair tools fix these models by searching for the smallest possible number of edits, but they are blind to what action and predicate names actually mean—often picking mathematically minimal fixes that make no sense to a human. By injecting Large Language Model (LLM) intuition as soft preferences into a MaxSAT solver, Guided-SYM steers the search toward human-intended repairs while preserving a rock-solid symbolic guarantee that every fix passes all tests,nearly doubling the average $F_1$ score from 42% to 83%.
What Problem Does This Paper Address?
In classical AI planning, a domain is defined in PDDL (Planning Domain Definition Language)—a formal specification of actions, their preconditions, and their effects. If a PDDL model has a bug (say, a missing precondition), the planner might generate invalid plans.
To fix buggy models automatically, model repair tools take a test suite consisting of:
- Whitelist tests: action sequences that should succeed and reach a goal.
- Blacklist tests: action sequences that should fail at their final step.
Purely symbolic repair algorithms (like the baseline SYM) frame this as a hitting-set problem and use a MaxSAT solver to find cardinality-minimal repair sets—the fewest possible edits that make all tests pass.
The catch? Symbolic solvers treat predicate names like CLEAR(?v2) or HOLDING(?v) as meaningless tokens. If two different 1-edit fixes both satisfy the tests, the solver has no way to tell which one is sensible. Worse yet, the true fix a human modeller intended might not even be cardinality-minimal, meaning a purely symbolic search will never find it.
Methods
The authors bridge symbolic precision and semantic intuition by combining a MaxSAT-based hitting-set solver with a single-shot LLM query. They compare four approaches:
- SYM (Purely Symbolic Baseline): Enumerates all cardinality-minimal repair sets using a MaxSAT solver (
SATHS) without any LLM input. - Ranked-SYM (Post-Processing): Runs SYM to enumerate all minimal solutions, then makes a single LLM call (
LLMRANK) to score the candidate repairs with weights $w \in \{0, 1, 2\}$ (rejected, weakly preferred, strongly preferred) and sorts the solutions. - Guided-SYM (Pre-Processing): Calls the LLM before the search starts (
LLMGEN) to propose weighted repairs based on the domain's action and predicate names. These preferences are injected into the MaxSAT solver as soft clauses, while the hard clauses enforcing test satisfaction remain untouched. - LLM-Gen (Pure LLM Baseline): Queries the LLM directly for repairs without any symbolic verification.
Because Guided-SYM only modifies soft clauses, it never compromises correctness: every returned repair is provably sound and guaranteed to pass the entire test suite, even if the LLM hallucinates.
Datasets
The authors evaluate their methods across 20 domains:
- 12 public IPC (International Planning Competition) domains with randomly injected precondition and effect errors (extending prior benchmarks, while excluding
MPRIMEbecause its names were intentionally corrupted). - 8 new, unpublished instances from two board-game domains designed by the authors to prevent data contamination:
- Rush Hour (a sliding-block puzzle), including
SYSerrors that delete every usage of a predicate while keeping its declaration—preventing the LLM from simply imitating other actions. - Twist (IQ-Twist, a coloured tiling game), including
BLUerrors that modify a piece's blueprint matrix, propagating into multiple action-level flaws.
Key Insights and Ideas
- Soft constraints give the best of both worlds: Treating LLM suggestions as soft MaxSAT clauses lets the solver reward semantically plausible repairs without ever relaxing the hard requirement of passing all tests.
- Escaping the "minimal-edit" trap: Because Guided-SYM rewards including positively voted repairs, it searches a strict superset of the cardinality-minimal space. It can even propose valid fixes for flaws that the test suite itself cannot detect (for example, a missing precondition on an untested action).
- Symbolic grounding shines on unseen domains: On public IPC domains, pure LLM repair (
LLM-Gen) andGuided-SYMperform similarly (90% vs. 91% $F_1$). On the unpublished Rush Hour and Twist domains, however,Guided-SYMpulls ahead sharply (71% vs. 56%), showing that pure LLMs lean heavily on memorised public models, whereas the symbolic backbone keepsGuided-SYMrobust on novel tasks.
Key Results
Tested across three GPT 5.6 configurations—Sol, Terra, and Luna (largest to smallest)—Guided-SYM consistently outperforms all baselines:
- Average $F_1$ (with Sol):
- SYM: 42%
- Ranked-SYM: 55% (+31% over SYM)
- LLM-Gen: 76% (but with no correctness guarantees)
- Guided-SYM: 83% (+98% over SYM, and best overall)
- Cost & Latency: Using the flagship Sol model costs roughly $0.10 and 30 seconds per run for
Guided-SYM. Smaller models like Terra ($0.06, 25s, 78% $F_1$) and Luna ($0.02, 22s, 69% $F_1$) offer strong, lower-cost alternatives.
Limitations and Future Work
- Reliance on meaningful names: The approach assumes that action and predicate names carry semantic cues; domains with obfuscated or arbitrary symbol names (like
MPRIME) cannot benefit from LLM guidance. - Optional test context: Supplying the full planning tasks and test suites to the LLM is optional—doing so roughly doubles the API cost for only a marginal $F_1$ gain, so the authors omit them and delegate long-horizon test reasoning entirely to the symbolic layer.
- Noisy LLM outputs: While
Guided-SYMis resilient to bad suggestions thanks to its hard symbolic constraints, its ranking and guidance quality still depends on the underlying LLM's ability to parse and reason about PDDL syntax.
Summary updated