Scalable Task Planning via Large Language Models and Structured World Representations

Rodrigo Pérez-Dattari, Zhaoting Li, Robert Babuška, Jens Kober, Cosimo Della Santina

TL;DR

This paper introduces a scalable task-planning framework that uses the commonsense knowledge of Large Language Models (LLMs) to drastically prune irrelevant objects from a robot's environment before planning begins. By combining hierarchical object taxonomies with environment state graphs, the method shrinks complex, hundreds-of-object environments into minimal subgraphs, enabling both classical search-based planners and LLMs to successfully solve complex multi-step household tasks.

What Problem Does This Paper Address?

Imagine asking a domestic robot to "put the chicken inside the microwave." In a real house, there might be hundreds of objects: chairs, books, forks, and blankets. For traditional search-based task planners (like Monte Carlo Tree Search), this massive state space leads to a combinatorial explosion of possible actions, rendering the problem computationally intractable.

While LLMs possess the commonsense reasoning required to know that blankets and books are irrelevant to cooking chicken, feeding an entire household map into an LLM's context window is expensive, slow, and prone to retrieval errors. The authors tackle this scalability challenge by using LLMs not to plan the exact actions directly, but to intelligently filter down the world model to only the essential objects before any planning algorithm runs.

Methods

The proposed framework reduces the state space via a two-step pipeline:

  1. Environment-Agnostic Object Selection ($LLM^{\mathcal{T}}$): Instead of forcing the LLM to parse a flat list of hundreds of objects, the authors organize the world into a hierarchical tree called a Taxonomy Graph State (e.g., Electronics $\rightarrow$ Appliances $\rightarrow$ Microwave). The LLM evaluates the task goal and iteratively filters categories level-by-level, keeping the context window compact and focused.
  2. Relationship-Based Object Selection ($LLM^{\mathcal{R}}$): Commonsense alone isn't enough if an essential item is hidden. This step grounds the selection in the actual environment's State Graph. The algorithm looks at the immediate neighbors of the objects selected in Step 1. For instance, if a "banana" is selected, the graph reveals it is currently inside a "plastic container." The LLM is then asked if this container is relevant. This process runs iteratively to catch chained dependencies (e.g., the container is inside the fridge).
Figure 1: Summary of the proposed framework. A taxonomy of object classes, where the lower level represents objects (e.g., a computer) and the higher levels represent groups of objects (e.g., electronics), is combined with knowledge of the environment to create a state graph that indicates attributes of objects (e.g., A is open) and relationships between them (e.g., A is inside B). For a given task goal, an LLM uses the object taxonomy, the state graph, and its commonsense knowledge to derive a reduced graph that contains only the necessary objects to achieve the task planning problem.

Once the environment graph is reduced to a handful of necessary nodes, the downsized problem is handed over to a downstream planner—either a classical search algorithm (MCTS) or an LLM-based policy—to find the final sequence of actions.

Datasets

The framework was evaluated using:

  • VirtualHome Simulator: A benchmark containing simulated household environments. The authors utilized six distinct environments populated with between 221 and 348 interactive objects.
  • Virtually Extended Real-World Setup: For physical validation, a real-world 7-DoF robotic manipulator interacted with a tabletop setup that was virtually augmented with objects from VirtualHome to simulate a large-scale environment of 348 total objects.
Figure 3: Example of a VirtualHome environment: The agent can navigate the house and interact with objects in multiple rooms. Six environments were employed, with the number of objects the agent could interact with ranging from 221 to 348. These objects have properties such as being openable, grabbable, or switchable. Image extracted from http://virtual-home. org/.

Key Insights and Ideas

  • Pruning Over Planning: Instead of relying on LLMs to generate flawless, end-to-end action sequences (which often suffer from hallucinations), using them as semantic filters for structured data leverages their strengths while mitigating their weaknesses.
  • Taxonomies as Context Savers: Hierarchical filtering prevents the context-window bloat that typically degrades LLM performance in large-scale applications.
  • The Power of Local Graph Expansion: Combining abstract language capabilities with localized graph searches bridges the gap between pure "commonsense" and the physical realities of where items are actually located or contained.

Key Results

  • Massive State Space Reduction: In environments with ~280 objects, the framework successfully pruned the state space down to an average of just 8 to 21 objects, closely matching the true minimal set of necessary items.
  • Enabling Classical Planners: Without state-space reduction, MCTS completely failed (0% success rate) even on simple single-objective tasks due to the immense search space. With the reduced state space, MCTS successfully found solutions.
  • GPT-4o vs. GPT-3.5: GPT-4o demonstrated superior reasoning capabilities, achieving significantly lower failure rates during the object selection phase compared to GPT-3.5, especially as the number of subtasks scaled up to 5.
Figure 6: Evaluating the planning performance of two scenar- ios: 1) the complete framework, incorporating state reduction and planning, and 2) assuming zero failures in state reductions.

Limitations and Future Work

  • Taxonomy Dependency: The method assumes a well-structured object taxonomy already exists for the environment. While the authors suggest LLMs could help automate this building process, it remains an external requirement for now.
  • Decoupled Geometric Planning: The framework operates on high-level task planning using predefined motion primitives. It does not tightly integrate low-level geometric feasibility (full Task and Motion Planning, or TAMP), meaning a chosen object might be semantically relevant but physically unreachable.
  • Catastrophic Pruning Failures: If the LLM accidentally prunes a necessary object during the initial phases, the downstream planner is fundamentally blocked from finding a valid solution.

Summary updated

BibTeX
@inproceedings{perezdattari2025scalable,
  author = {Rodrigo Pérez-Dattari and Zhaoting Li and Robert Babuška and Jens Kober and Cosimo Della Santina},
  title = {{Scalable Task Planning via Large Language Models and Structured World Representations}},
  booktitle = {Advanced},
  year = {2025},
  doi = {10.1002/adrr.202500002},
}
Figure