Towards More Likely Models for AI Planning

Turgay Caglar, Sirine Belhaj, Tathagata Chakraborti, Michael Katz, Sarath Sreedharan

TL;DR

When an automated planning model fails because it is unsolvable or cannot execute a designated plan, traditional combinatorial search can find mathematically valid fixes—but it cannot tell whether a fix makes real-world sense. This paper introduces the use of Large Language Models (LLMs) to identify likely and reasonable model edits, demonstrating that LLMs (specifically GPT-4) can act as surprisingly strong standalone model-space reasoners or as commonsense filters alongside symbolic solvers.

What Problem Does This Paper Address?

In classical AI planning, an agent relies on an environment model (typically written in PDDL) defining states, actions, preconditions, and goals. But real-world models often break: they may be incomplete, misspecified, or outdated as the physical environment changes.

When a model is unsolvable or fails to validate an intended plan, practitioners face a model space problem: how do we edit the model to restore solvability or executability? Traditional Combinatorial Search (CS) treats all logically valid modifications as equal. For example, to make a room accessible to a vacuum robot, CS sees no mathematical difference between unlocking an existing door and demolishing a wall to invent a new passage.

Existing search techniques lack the real-world statistical intuition needed to prioritize plausible fixes over absurd ones. The authors explore whether LLMs can supply this missing "worldly" commonsense signal.

Methods

The authors formalize the probability of an updated model $M_2$ conditioned on the initial model $M_1$ and context $U_1$, framing it as maximizing model likelihood while preserving formal soundness (e.g., plan solvability).

They evaluate three primary system configurations across two model-space tasks (unsolvability repair and plan executability repair), restricting model edits to initial-state predicate additions:

  1. LLM-Only: The raw PDDL domain, problem, and task are provided to the LLM (GPT-3.5-turbo or GPT-4), which directly outputs the most reasonable set of missing initial-state predicates.
  2. LLM as Post-Processor: Exhaustive combinatorial search generates a candidate set of formally sound model revisions; the LLM then selects the most commonsense option from the list.
  3. LLM as Pre-Processor: The LLM proposes an ordered list of likely missing predicates. CS then performs a cost-sensitive search, heavily biasing toward the LLM's top-ranked edits to find a sound solution.

Datasets

The study benchmarked performance across 564 problem instances over five domains, categorizing edits into "reasonable" (plausible in reality) versus "unreasonable":

  • Custom Novel Domains:
  • Travel: Navigating cities via bus/taxi. Reasonable edits: establishing transit routes between already neighboring cities.
  • Roomba: Indoor cleaning robot navigation. Reasonable edits: unlocking doors between adjacent rooms (vs. punching doors through arbitrary walls).
  • Modified Public/IPC Domains:
  • Barman-Simple: Preparing cocktails. Reasonable edits: marking containers as clean (vs. conjuring already-mixed drinks into existence).
  • Logistics-Simple: Freight transportation. Reasonable edits: toggling trucks to "ready for transport."
  • Logistics: The classic International Planning Competition benchmark.

Key Insights and Ideas

  • LLM-Only beats Hybrid Pipelines: Contrary to the authors' original hypothesis, standalone GPT-4 often outperformed the two-stage CS+LLM methods in raw numbers of valid solutions. While CS is theoretically sound and complete, it frequently timed out or exhausted search node budgets. GPT-4 bypassed the combinatorial search entirely and guessed correct, sound edits in one shot.
  • The Case for LLM + Validator: Instead of using an LLM to steer an expensive combinatorial search, the most practical architecture for model repair appears to be an LLM-first generator coupled with a fast symbolic plan validator (such as VAL) to reject hallucinations.
  • Public Domain Bias is Inconsistent: While LLMs achieved higher soundness on public benchmark domains (likely due to training data exposure), this did not consistently translate into more "reasonable" edits. In fact, the custom Logistics-Simple had a higher rate of reasonable edits than the public Logistics benchmark.
  • Errors Don't Scale with Complexity: LLM error rates did not show a strong correlation with plan length or the number of required edits; failure modes remained uniformly noisy across simple and complex tasks.

Key Results

  • Executability Repair (GPT-4 standalone): Successfully generated sound model repairs in 493 out of 563 problems (87.6%), with 264 of those 493 (53.5%) classified as strictly reasonable/preferred real-world edits.
  • Model Scaling: GPT-4 dramatically improved over GPT-3.5-turbo. On executability, GPT-3.5 achieved soundness on only 174/484 instances (with 53 preferred). On unsolvability, GPT-3.5 found only 9 preferred edits across all domains, whereas GPT-4 found 136.
  • Combinatorial Search Bottlenecks: In the LLM as Post-Processor configuration for unsolvability, CS could only return candidate sets within budget for 198/564 instances—severely constraining the LLM’s ability to select good solutions.

Limitations and Future Work

  • Narrow Edit Space: Edits were strictly limited to adding predicates into the initial state (:init). Modifying action preconditions, effects, or operator schemas remains untested.
  • Context Window Limits: Longer PDDL definitions exceeded token budgets (particularly on GPT-3.5 and the larger Roomba scenarios), causing immediate failure.
  • Subjective Ground Truth: "Reasonableness" was determined by author heuristics rather than real human-subject evaluations or quantified real-world actuation costs.
  • Future Directions: Incorporating human-in-the-loop domain authoring interfaces, testing domain operator modifications, and formalizing cost-metric learning for environment adaptation.

Summary updated

BibTeX
@inproceedings{caglar2024towards,
  author = {Turgay Caglar and Sirine Belhaj and Tathagata Chakraborti and Michael Katz and Sarath Sreedharan},
  title = {{Towards More Likely Models for AI Planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.29984},
}
Figure