Abstract
Large Vision-Language Models (LVLMs) have demonstrated impressive performance across various vision-and-language tasks. However, their ability to understand spatial relationships from an egocentric perspective—the viewpoint essential for embodied agents—remains a significant challenge. This paper introduces EmbSpatial-Bench, a new benchmark specifically designed to evaluate egocentric spatial reasoning in 3D indoor environments. Our analysis reveals that current state-of-the-art models, including GPT-4V, exhibit a 'spatial blind spot,' particularly in depth perception. To mitigate this, we introduce EmbSpatial-SFT, an instruction-tuning dataset that integrates object localization with spatial identification. Our results show that this approach significantly enhances the spatial reasoning capabilities of LVLMs, providing a path forward for more capable embodied AI agents.
Introduction
The development of embodied AI agents—robots or virtual assistants that can navigate and interact with the physical world—requires a robust understanding of spatial relationships. An agent must be able to process instructions like "pick up the cup to the left of the toaster" by grounding these descriptions in its own egocentric coordinate system.
Despite the progress in LVLMs, current research faces two primary hurdles:
- Perspective Mismatch: Most existing spatial benchmarks are 'subject-centric,' describing relationships between objects in a photo (e.g., a dog relative to a bench) rather than relative to the viewer's perspective.
- Domain Gap: Benchmarks are often derived from universal 2D image datasets like MSCOCO or Visual Genome. These lack the visual complexity, occlusion patterns, and depth cues inherent in the 3D indoor environments where embodied agents operate.
The EmbSpatial-Bench Framework
To address these gaps, we present EmbSpatial-Bench. Unlike previous datasets that rely on manual labeling, our benchmark utilizes an automated pipeline to extract ground-truth metadata directly from 3D simulators. By mapping 3D coordinates to the agent's camera parameters, we derive precise 2D bounding boxes and spatial relationships across three dimensions:
- Horizontal: Left and Right.
- Vertical: Above and Below.
- Depth: Close and Far.
The benchmark consists of 3,640 question-answer pairs across 2,181 images, sourced from photorealistic environments like Matterport3D (MP3D), ScanNet, and AI2-THOR.
Methodology: Localization as a Foundation
A key insight from our study is that spatial reasoning failures often stem from localization failures. If a model cannot accurately 'ground' or locate an object in a scene, it cannot determine its relationship to other objects.
We propose EmbSpatial-SFT, a dual-task instruction-tuning dataset comprising 25,000 samples. The training process emphasizes an auxiliary task: Object Localization. By training the model to output bounding boxes alongside spatial labels, we force the architecture to develop a better internal representation of the scene's geometry. We utilize Low-Rank Adaptation (LoRA) to fine-tune the LLM backbone, as our experiments suggest that spatial understanding is a reasoning challenge that requires updates to the core language model, not just the vision-language connector.
Experimental Results and Insights
Our evaluation of various LVLMs yielded several critical findings:
- The Performance Gap: Humans achieve approximately 90.33% accuracy on EmbSpatial-Bench. In contrast, top-tier models like Qwen-VL-Max and GPT-4V struggle to surpass 50% in zero-shot settings.
- The Depth Difficulty: Models consistently perform worst on depth-related queries (close vs. far). This indicates that current LVLMs struggle to infer 3D depth from 2D projections, a vital skill for navigation.
- Impact of Instruction Tuning: Fine-tuning MiniGPT-v2 on EmbSpatial-SFT resulted in a dramatic performance increase. In likelihood-based evaluations, accuracy improved from 43.85% to 78.10%.
- Cross-Environment Generalization: Models trained on MP3D data showed strong transferability to AI2-THOR and ScanNet, suggesting that the learned spatial reasoning principles are environment-agnostic.
Conclusion and Future Work
EmbSpatial-Bench highlights a critical deficiency in the spatial reasoning capabilities of current LVLMs. While instruction tuning with a focus on localization provides a significant boost, several challenges remain. The benchmark is currently focused on static indoor scenes and English-language instructions. Future research should expand into dynamic video sequences, multi-view reasoning, and more diverse environments to fully bridge the gap between vision-language models and truly embodied intelligence.
Summary updated