Abstract
Semantic 3D scene understanding is a problem of critical importance in robotics. While significant advances have been made in simultaneous localization and mapping algorithms, robots are still far from having the common sense knowledge about household objects and their locations of an average human. We introduce a novel method for leveraging common sense embedded within large language models for labelling rooms given the objects contained within. This algorithm has the added benefits of (i) requiring no task-specific pre-training (operating entirely in the zero-shot regime) and (ii) generalizing to arbitrary room and object labels, including previously-unseen ones -- both of which are highly desirable traits in robotic scene understanding algorithms. The proposed algorithm operates on 3D scene graphs produced by modern spatial perception systems, and we hope it will pave the way to more generalizable and scalable high-level 3D scene understanding for robotics.
Introduction
Modern robotics has achieved significant milestones in "metric-semantic SLAM," enabling machines to map 3D environments and identify discrete objects. However, a persistent gap remains in high-level semantic reasoning. While a robot can detect a stove, sink, and refrigerator, it often lacks the inherent "common sense" to categorize the space as a "kitchen." Traditional approaches to room categorization typically rely on supervised learning or explicit Bayesian frameworks, which are often brittle and fail to generalize to novel environments or labels. This research proposes leveraging Large Language Models (LLMs) as zero-shot common sense engines to bridge this gap, providing a flexible and scalable solution for spatial understanding.
Methodology
The proposed framework utilizes 3D Scene Graphs, where nodes represent entities like objects and rooms, and edges define spatial relationships. The inference process consists of three primary stages:
- Informative Object Selection: To reduce noise, the system filters for the most descriptive objects using an entropy-based heuristic. Objects with non-uniform distributions across room types (e.g., a "toilet" vs. a generic "chair") are prioritized.
- Query Construction: The system generates natural language templates for each potential room label, such as: "A room containing [object 1], [object 2], and [object 3] is called a [room label]."
- Zero-shot Scoring: These strings are processed by an LLM (specifically GPT-J), which calculates the log-probability of each sentence. The label corresponding to the most probable sentence is assigned to the room.
This approach is entirely zero-shot, requiring no task-specific fine-tuning, and relies solely on the LLM's internal statistical knowledge of the world.
Experimental Results
The method was evaluated on the Matterport3D dataset, encompassing 1,878 rooms. Two object labeling schemes were tested: mpcat40 (35 broad categories) and nyuClass (201 granular categories).
The system achieved a peak accuracy of 52.41% using the nyuClass label set with ground-truth co-occurrence statistics. This performance significantly exceeds random chance (~4.35%) and the most-frequent-class baseline (~19.44%). Notably, the model excelled at identifying standard domestic spaces like bathrooms, bedrooms, and kitchens, with accuracies reaching up to 97%.
Key Insights
- The Granularity Advantage: Performance improved with more specific object labels (nyuClass), as they provided stronger semantic signals to the LLM, reducing ambiguity compared to broader categories.
- Informativeness Matters: Filtering for low-entropy objects was critical; including generic objects like "doors" or "lights" tended to introduce noise and lower the model's discriminative power.
- Proxy Knowledge: While ground-truth statistics performed best, the system could still function effectively by querying the LLM itself for object informativeness (Proxy Co-occurrences), demonstrating the depth of knowledge embedded in the model.
Discussion and Conclusion
While highly effective for standard rooms, the model faced challenges with labels that are linguistically ambiguous in large corpora, such as "bar" or "library," which often refer to buildings rather than internal rooms. Additionally, rooms lacking unique "anchor" objects (e.g., hallways or family rooms) remain difficult to classify. Future work involves integrating this zero-shot reasoning into real-time spatial perception engines to enable robots to autonomously interpret complex human environments on the fly.
Summary updated