Optimal Scene Graph Planning with Large Language Model Guidance

Zhirui Dai, Arash Asgharivaskasi, Thai Duong, Shusen Lin, Maria-Elizabeth Tzes, George J. Pappas, Nikolay Atanasov

This paper presents a framework for autonomous robots to execute complex natural language instructions in large-scale, hierarchical environments. By combining the semantic reasoning of Large Language Models (LLMs) with the formal rigor of Linear Temporal Logic (LTL) and hierarchical planning, the authors achieve a system that is both efficient and provably optimal.

TL;DR

The authors propose a method that uses LLMs to translate natural language tasks into formal LTL specifications and provide semantic heuristic guidance for robot planning. By integrating these into a multi-resolution, multi-heuristic planning framework (AMRA*), they enable robots to find optimal paths for complex missions in large hierarchical scene graphs significantly faster than traditional methods.

What Problem Does This Paper Address?

For a robot to be truly useful, it needs to understand instructions like "Go to the kitchen, pick up the bottle, but avoid the bathroom on floor 1." This is difficult for several reasons:

  1. Symbol Grounding: The robot must link abstract words ("kitchen") to specific coordinates in a map.
  2. Temporal Complexity: Tasks often involve sequences ("first A, then B") or constraints ("always avoid C").
  3. Scale: Planning a path at the level of individual pixels or voxels in a multi-story building is computationally expensive.
  4. Optimality vs. Intuition: While LLMs are great at high-level "common sense" reasoning, they lack the geometric precision to guarantee the shortest or safest path.

Existing work often tackles these in isolation. This paper seeks to bridge the gap between high-level semantic understanding and low-level optimal motion planning.

Methods

The authors leverage a Scene Graph representation, which organizes an environment into a hierarchy: Floors $\rightarrow$ Rooms $\rightarrow$ Objects $\rightarrow$ Occupancy.

The overall pipeline: from natural language mission to optimal path execution using LLM and LTL guidance.

The framework consists of three main stages:

  • Natural Language to LTL: The system uses GPT-4 to translate a mission $\mu$ into a co-safe LTL formula $\phi_\mu$. To stay within token limits, they provide the LLM with a simplified "attribute hierarchy" in YAML format rather than the full map. The resulting formula is converted into a deterministic automaton $\mathcal{M}_\phi$, which tracks task progress.
  • Hierarchical Planning Domain: They construct a multi-level planning domain where each level corresponds to a scene graph attribute (e.g., an "object level" where the robot can "jump" between objects).
  • Dual-Heuristic AMRA*: The core engine is the Anytime Multi-Resolution Multi-Heuristic A (AMRA) algorithm. It uses two types of heuristics:
  • LLM Heuristic ($h_{LLM}$): The LLM provides a high-level sequence of motions (e.g., "move from room 1 to room 2"). This acts as a "semantic compass" to steer the search.
  • LTL Heuristic ($h_{LTL}$): A novel, provably consistent heuristic derived from the task automaton and scene graph distances. Because it is consistent, it guarantees that the planner will eventually find the optimal (lowest cost) path, even if the LLM's guidance is imperfect or "inadmissible."
A visualization of the four-level hierarchical planning domain for the "Benevolence" environment.

Datasets

The method was evaluated using the 3D Scene Graph dataset, specifically three virtualized real-world environments:

  • Allensville: A 1-floor environment.
  • Benevolence: A 3-floor environment.
  • Collierville: A 3-floor environment.

For each scene, the authors designed 5 complex missions and tested them from 5 different starting positions.

Key Insights and Ideas

  • LLMs as Heuristics, Not Planners: Instead of asking the LLM to generate the final path (which it often fails at due to lack of geometric detail), the authors use it to provide guidance. This exploits the LLM's strengths while mitigating its weaknesses.
  • Consistency is Key: By proving the LTL heuristic is consistent, the authors allow the planner to use "inadmissible" (potentially over-optimistic or biased) LLM guidance without sacrificing the mathematical guarantee of optimality.
  • Hierarchical Pruning: Planning at the room or floor level allows the algorithm to quickly "prune" vast areas of the building that are irrelevant to the task, focusing the low-level search only where it matters.

Key Results

The experiments demonstrated that LLM guidance drastically speeds up the search for a feasible path, especially in complex, multi-floor environments.

  • Speedup: In the "Benevolence" scene, the configuration using LLM guidance at all levels (ALL) found a first feasible path in just 0.0007 seconds, compared to 1.1202 seconds for standard A*.
  • Efficiency: The number of node expansions (a measure of computational effort) was significantly lower across all hierarchy levels when LLM guidance was active.
  • Optimality: Despite the rapid initial discovery, the anytime nature of AMRA* allowed the system to refine the path to the true optimum within a reasonable timeframe.

Limitations and Future Work

  • Known Environments: The current work assumes the scene graph is known beforehand. In many robotics applications, the robot must build this graph while exploring.
  • LLM Latency: Querying an LLM like GPT-4 in real-time can be slow. The authors currently use offline queries for the heuristic, which might not work for dynamic tasks.
  • Future Directions: The authors suggest extending this to include more complex semantic attributes, such as object affordances (e.g., "find a surface to place a cup"), and exploring ways to update the plan if the environment changes.

Summary updated

BibTeX
@inproceedings{dai2024optimal,
  author = {Zhirui Dai and Arash Asgharivaskasi and Thai Duong and Shusen Lin and Maria-Elizabeth Tzes and George J. Pappas and Nikolay Atanasov},
  title = {{Optimal Scene Graph Planning with Large Language Model Guidance}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  url = {https://openreview.net/forum?id=4ZCLQHBDLa},
}
Figure