TL;DR
While Vision-Language Models (VLMs) excel at standard visual QA and abstract logic, they struggle significantly with tasks requiring both spatial awareness and multi-step planning. This paper introduces SpatiaLQA, a benchmark of 9,605 QA pairs designed to evaluate this "spatial logical reasoning" capability. To address VLM deficiencies, the authors propose RSGAR, a method that recursively builds task-relevant scene graphs to dramatically improve multi-step reasoning performance.
What Problem Does This Paper Address?
Imagine asking a robot to "pick up the red book" from a cluttered desk. To succeed, the robot can't just locate the book; it must realize that a mouse is sitting on the keyboard, the keyboard is resting on the book, and a data cable is tangled across both. It has to deduce a precise sequence of actions and their prerequisites.
The authors define this as spatial logical reasoning: the ability to understand spatial relationships among objects in complex scenes and the logical dependencies between steps in multi-step tasks.
While Embodied Question Answering (EQA) tackles similar problems, it focuses on mapping instructions to a closed set of physical motor primitives (like "move forward"). Spatial logical reasoning operates purely at the visual-semantic level in an open vocabulary space, serving as the cognitive foundation for physical interaction without being bound by real-world control strategies.
Methods
To evaluate and solve this problem, the paper introduces two key methodologies:
1. Automated Evaluation Pipeline
Evaluating open-ended, multi-step text answers is notoriously difficult. The authors design an automated pipeline that uses GPT-4o to semantically match a VLM's predicted steps against ground-truth annotations. They then apply the Hungarian algorithm to find the optimal one-to-one step matching, allowing them to calculate precise precision, recall, and F1 scores for both action content and preconditions.
2. Recursive Scene Graph Assisted Reasoning (RSGAR)
To help VLMs navigate complex environments, the authors propose RSGAR, a hierarchical perception method:
- Perception: Specialized foundation models (Depth Anything V2 and SAM) extract depth and segmentation maps from the scene image.
- Recursive Graph Generation: Starting with the target object (e.g., the ruler), the VLM identifies objects in direct contact and their relative spatial relationships to build a local scene graph. This process repeats recursively for $T$ iterations, expanding outward to capture all relevant obstacles.
- Reasoning: The final structured scene graph is fed back into the VLM alongside the original prompt to deduce the final action sequence.
Datasets
The authors introduce SpatiaLQA, a large-scale benchmark consisting of 9,605 image-text QA pairs derived from 241 real-world indoor scenes spanning 13 categories (e.g., bedrooms, kitchens, offices).
The dataset was constructed via a three-stage pipeline:
- Manual Annotation: Humans labeled 2,401 complex multi-step tasks.
- Subgraph Extraction: Automatically breaking down complex tasks into simpler, valid sub-tasks.
- Graph Expansion: Adding logically consistent steps (e.g., moving an object and then placing another object on top of it) to increase complexity.
Key Insights and Ideas
- The Precondition Pitfall: VLMs are relatively decent at predicting what actions to take, but they fail miserably at identifying preconditions (the order in which they must occur). They lack true causal understanding of spatial layouts.
- The Complexity Penalty: VLM performance degrades sharply as the number of required steps increases. They struggle to maintain a stable reasoning chain over long horizons.
- Raw Vision Isn't Enough: Simply feeding raw depth maps or segmentation masks into a VLM as additional visual inputs actually hurts performance due to visual noise. However, structuring that same data into an explicit, task-relevant scene graph provides the cognitive scaffolding the VLM needs to reason effectively.
Key Results
The authors evaluated 41 mainstream VLMs on SpatiaLQA, revealing a massive gap between AI and human performance:
- Human Baseline: Achieved an exceptional 97.6% content F1 and 92.5% precondition F1.
- State-of-the-Art VLMs: Even top-tier models struggled. For instance, GPT-5 scored 76.0% on content but dropped to 47.0% on preconditions. The best open-source model, Qwen2.5-VL-72B-Ins, achieved a 69.6% content F1 but a meager 31.2% precondition F1.
- RSGAR Effectiveness: Implementing the RSGAR framework boosted GPT-4o’s baseline content F1 from 67.4% to 69.8% and precondition F1 from 25.1% to 28.1%. Notably, the gains were most pronounced on highly complex tasks requiring 4 or more steps.
Limitations and Future Work
Currently, SpatiaLQA is restricted to static, indoor real-world scenes. The authors note that real-world deployment will require extending spatial logical reasoning into dynamic environments and long-horizon planning, where models must continuously reason and adapt to changing observations over time.
Summary updated