TL;DR
Large language models are brilliant at understanding fuzzy human instructions like "put the coffee in the living room," yet notoriously bad at generating valid, multi-step robot plans across sprawling buildings without burning through massive token budgets. OntoPlan solves this by pairing LLM agents with a symbolic, ontology-grounded world model and a classical planner—letting LLMs handle common-sense intent while specialized tools handle selective spatial search and strict logical execution. The result is a massive leap in task success (89% vs. 27% for top baselines) using roughly 5.6× fewer tokens, alongside the self-awareness to ask clarifying questions when a human asks for the impossible.
What Problem Does This Paper Address?
Asking an LLM to directly control a robot in a large environment exposes two fundamental friction points.
First, spatial context doesn't flatten well into text. If you serialize a massive 3D scene graph—every room, table, mug, and door across four floors—into a text prompt, token costs skyrocket as the building grows, and the LLM starts losing track of spatial relationships or hallucinating connections.
Second, LLMs struggle with state tracking and preconditions. Generating long-horizon action sequences directly (e.g., trying to walk through a closed door or place a mug inside a closed microwave) frequently violates physical reality. Even hybrid approaches that ask LLMs to write formal problem files for symbolic planners often fail due to mismatched vocabulary, missing initial facts, or syntax errors. How do we keep human-level common sense consistent with grounded, executable reality?
Methods
OntoPlan divides labor cleanly between LLM reasoning and structured symbolic tools, anchored by a shared World Model.
The World Model is a knowledge graph split into three layers: an Ontology Layer (defining concepts and rules), a Static Layer (building layout and room connectivity), and a Dynamic Layer (live object locations and states). Crucially, what is novel here is a strict 1-to-1 alignment between the ontology and PDDL (Planning Domain Definition Language—the standard formal language used by classical AI planners). Classes map directly to PDDL types, and properties map directly to PDDL predicates. Using a standard OWL reasoner, the database automatically infers implicit facts—for instance, if the robot's hand holds a mug, and the robot moves to the kitchen, the mug is automatically inferred to be in the kitchen.
Four specialized GPT-4o agents coordinate via shared memory over two tool interfaces:
- Flow Orchestrator & Scene Explorer: Interpret user intent and use the Scene Query tool (combining vector embeddings with SPARQL graph queries and shortest-path search) to fetch only task-relevant objects and paths, rather than reading the whole building.
- Task Formalizer & Planning Manager: Translate grounded goals into formal conditions (
at_end,always,sometime), break them into sequential subgoals, and invoke the PDDL Plan tool (powered by the classical Fast Downward solver) to synthesize guaranteed-valid action steps and simulate state updates.
Datasets
There is no model training involved. For evaluation, the authors built a benchmark derived from five multi-floor indoor buildings in the existing 3D Scene Graph dataset (Klickitat, Lakeville, Lindenwood, Marstons, and Muleshoe), spanning 19 to 36 rooms each.
To test scalability, they created three complexity splits per building: Small (50–121 objects, mapped from original annotations), Medium (318–423 objects, manually augmented), and Large (954–1,269 objects, procedurally tripled). They paired these scenes with 150 manually written general tasks, plus 20 diagnostic tasks (10 Ambiguous and 10 Infeasible) to test how systems behave when instructions are vague or impossible.
Key Insights and Ideas
- Zero-translation grounding: By forcing the scene graph ontology and the PDDL planning domain to share the exact same vocabulary, OntoPlan eliminates the brittle "schema translation" step where LLMs usually hallucinate predicate names.
- Querying beats prompting for scale: Keeping the scene in a queryable symbolic graph means the LLM's prompt size barely budges even when the number of objects in the house increases tenfold.
- Grace under ambiguity: Because scene exploration is separated from plan generation, discovering a missing object (like "no coffee found, only a mug and coffee machine") lets the orchestrator pause and ask the human what to do, rather than blindly hallucinating a broken plan.
Key Results
Evaluated against two strong LLM-planning baselines (SayPlan and DELTA) using GPT-4o across all 150 general tasks:
- High reliability: OntoPlan achieved an 0.89 average task success rate, decisively outperforming SayPlan (0.27) and DELTA (0.13). Notably, 149 out of 149 plans returned by OntoPlan executed without a single precondition violation.
- Token efficiency & scaling: OntoPlan used an average of 18.1k tokens per task—roughly 5.6× fewer than DELTA (100.6k) and 11.9× fewer than SayPlan (216.0k). Removing the Scene Query tool in ablations caused Large-to-Small peak input tokens to balloon by 8.13× (versus 1.06× with the full system), while removing the PDDL Plan tool crashed task success from 0.89 to 0.31.
- Diagnostic robustness: On ambiguous tasks, interactive user replies boosted OntoPlan's goal completion from 1/10 to 8/10 (baselines scored 0/10). On infeasible tasks (e.g., asking for a non-existent skateboard), OntoPlan appropriately flagged the issue and requested clarification 9/10 times instead of failing or executing a misdirected plan.
Limitations and Future Work
OntoPlan assumes full observability and a pre-built symbolic world model—meaning there are no noisy cameras, occluded objects, or raw sensor uncertainties in the loop yet. Furthermore, maintaining strict 1-to-1 alignment between the ontology and PDDL introduces manual engineering overhead: teaching a robot genuinely new physical skills requires updating both schemas in lockstep. Future work aims to connect OntoPlan to real-time perception modules for partial observability, automate schema induction, and deploy the framework on physical robots alongside vision-language-action models.
Summary updated