Abstract
Recently, Vision Language Models (VLMs) have experienced significant advancements, yet these models still face challenges in spatial hierarchical reasoning within indoor scenes. In this study, we introduce ROOT, a VLM-based system designed to enhance the analysis of indoor scenes. Specifically, we first develop an iterative object perception algorithm using GPT-4V to detect object entities within indoor scenes. This is followed by employing vision foundation models to acquire additional meta-information about the scene, such as bounding boxes. Building on this foundational data, we propose a specialized VLM, SceneVLM, which is capable of generating spatial hierarchical scene graphs and providing distance information for objects within indoor environments. This information enhances our understanding of the spatial arrangement of indoor scenes. To train our SceneVLM, we collect over 610,000 images from various public indoor datasets and implement a scene data generation pipeline with a semi-automated technique to establish relationships and estimate distances among indoor objects. Our experiments demonstrate that ROOT facilitates indoor scene understanding and proves effective in diverse downstream applications, such as 3D scene generation and embodied AI.
Introduction
While modern Vision Language Models (VLMs) are impressive at describing images or answering general questions, they often struggle with "spatial hierarchical reasoning." Standard VLMs can identify a sofa and a pillow in a living room but often fail to precisely define the nested relationships—such as a pillow being supported by a sofa, which is in turn supported by the floor—or estimate the physical distance between them.
This gap is a major hurdle for Embodied AI and 3D Scene Generation. Without a structured understanding of how objects relate to one another and the room's layout, AI agents cannot reliably execute complex commands like "put the keys on the curved corner of the desk."
The ROOT System Architecture
ROOT is a multi-stage pipeline that transforms a single RGB image into a rich, structured spatial map through three primary phases:
- Iterative Object Perception: Instead of a single pass, the system uses GPT-4V to identify entities and GroundingDINO to draw bounding boxes. Crucially, if an object is identified as a "container" (like a shelf or desk), the system "zooms in," re-detecting smaller sub-objects that are often missed in wide shots. This iterative module increased the average number of detected objects per scene from 12.86 to 15.92.
- Indoor Scene Parsing: The system employs vision foundation models—DepthAnything for depth estimation and SAM for segmentation masks. By combining these, it generates 3D point clouds to calculate the actual centroid distances between objects.
- SceneVLM & Hierarchical Scene Graphs: The core contribution is SceneVLM, a model fine-tuned to output structured JSON data. It categorizes relationships into four types: support, contain, hang, and attach. This allows the model to build a "tree" of the room, starting from the floor, walls, and ceiling down to the smallest decorative item.
Data Generation and Training
To train SceneVLM, the researchers curated a massive new dataset called SceneVQA, derived from over 610,000 images across several public indoor datasets (3D-Future, TUM, SUN, MIT Indoor Scenes, and Places).
The training data includes GraphVQA, a subset of 9,761 images with high-quality, semi-automated annotations of hierarchical relationships, and DistanceVQA, which contains over 610,000 entries where distances were automatically calculated using 3D point cloud data. A semi-automated pipeline used GPT-4 to translate manual annotations into natural language Chain-of-Thought (CoT) data, improving the model's reasoning capabilities.
Key Results and Insights
Specialized training allows SceneVLM to significantly outperform general-purpose models in spatial tasks:
- Relationship Accuracy: SceneVLM achieved ~91% precision in identifying pairwise relationships, compared to only ~48% for GPT-4V.
- Distance Estimation: In estimating distances within a rigorous [80%, 120%] error margin, SceneVLM reached 74% accuracy, whereas the next best open-source model (InternVL2) only managed ~20%.
- Downstream Success: ROOT was successfully integrated with Holodeck (a 3D scene generator). ROOT can analyze a 2D image of a room and direct Holodeck to recreate a clean, 3D version of that specific spatial arrangement.
Conclusion
ROOT demonstrates that formalizing spatial logic into specific verbs (support, contain, hang, attach) and training VLMs to output structured JSON makes complex scene parsing computationally tractable. While the current iterative nature of the perception module introduces latency that precludes real-time robotic use, future work will focus on optimizing the pipeline and exploring how these hierarchical graphs can improve the long-term memory of autonomous household robots.
Summary updated