OntoPlan: An Ontology-Grounded Scene Representation and Agentic Framework for Scalable Robot Task Planning

Hyeongwoo Nam, Woongje Cho, Juwon Kim, Jongeun ChoiNeurIPS 2026

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.

Figure 1: Overview of ONTOPLAN. From a user instruction, the Flow Orchestrator routes scene grounding, clarification, task formalization, and planning across specialized agents, while the Scene query and PDDL plan tools operate over a shared ontology-grounded 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.

Figure 2: World Model. Ontology-grounded representation with ontology, static, and dynamic layers; ask supports scene inspection and planner-state extraction, and tell updates dynamic facts from symbolic observations and action effects. Red edges denote facts inferred by the OWL reasoner.

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.
Table 3: General-Task Performance by Environment. Results are averaged over the three scene scales for each environment. All four performance metrics are rates, and token metrics are reported in ×103. Bold marks the best value in each environment.

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

Abstract

Large language model (LLM)-based robot task planning is promising for open-ended instruction following, but degrades on long-horizon tasks in large environments. When spatial information is conveyed to the LLM through text, the model can fail to capture spatial context, and token cost grows with environment size. Generating action sequences directly with an LLM also makes it difficult to satisfy the current world state and action preconditions. We address this with an ontology-grounded scene representation that aligns objects, spaces, relations, and states in a shared symbolic vocabulary for spatial reasoning and task planning, and with OntoPlan, an agentic framework that interprets instructions, selectively retrieves task-relevant information, formalizes goals and constraints, and produces executable plans. Across 150 benchmark tasks spanning five indoor environments and three scene scales, OntoPlan achieves 0.83 average task success, compared with 0.30 for the strongest baseline, while using 17.2k total tokens per task on average, about 5.8$\times$ fewer than the most efficient baseline. These advantages persist as scene scale increases, whereas prior methods degrade more sharply in both success and token cost. OntoPlan also responds appropriately to ambiguous or infeasible instructions by asking follow-up questions or reporting insufficient information rather than committing to invalid plans. Project page: https://namhyeongwoo.github.io/OntoPlan.
BibTeX
@inproceedings{nam2026ontoplan,
  author = {Hyeongwoo Nam and Woongje Cho and Juwon Kim and Jongeun Choi},
  title = {{OntoPlan: An Ontology-Grounded Scene Representation and Agentic Framework for Scalable Robot Task Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7YcnWpfSWA},
}
Figure