Introduction
While Large Vision-Language Models (VLMs) have achieved remarkable success in qualitative image description—identifying objects and their relative positions—they historically struggle with quantitative spatial reasoning. Tasks requiring precise estimation of dimensions or distances (e.g., "Will this 30cm backpack fit on the desk?") often lead to significant errors. This paper introduces Q-Spatial Bench, a high-precision benchmark for quantitative spatial reasoning, and SpatialPrompt, a zero-shot prompting technique that significantly improves model accuracy by instructing them to utilize "reference objects" as anchors for estimation.
The Challenge of Quantitative Spatial Reasoning
The gap between qualitative and quantitative reasoning is a major hurdle for practical VLM applications. Existing benchmarks often rely on coarse labels or automated data generation, which can be imprecise. Furthermore, previous attempts to bridge this gap typically involved resource-intensive fine-tuning. This research explores whether models already possess latent "measuring" abilities and how to elicit them without retraining.
SpatialPrompt: Eliciting Latent Capabilities
The authors observed that high-performing models like GPT-4o often naturally use reference objects (e.g., a standard 36-inch kitchen counter) to anchor their estimates. To formalize this, they developed SpatialPrompt, a zero-shot strategy with two variants:
- SpatialPrompt-Single: A compact prompt instructing the model to think step-by-step and identify reference objects.
- SpatialPrompt-Steps: A detailed four-step instruction set requiring the model to analyze the question, identify up to 10 reference scales, propose a coarse-to-fine estimation plan, and execute it.
Q-Spatial Bench: A High-Precision Evaluation Suite
To rigorously test these capabilities, the researchers created Q-Spatial Bench, comprising 271 human-annotated question-answer pairs across two distinct splits:
- Q-Spatial-ScanNet: 170 questions derived from 3D RGB-D scans, allowing for ground-truth metric extraction.
- Q-Spatial++: 101 questions using real-world images captured with an iPhone, where distances were physically measured with a tape measure to ensure the data was entirely novel to the models.
The benchmark covers five key categories: object width, object height, horizontal distance, vertical distance, and direct (diagonal) distance.
Key Results and Insights
- Prompting Power: SpatialPrompt yielded massive gains. Most notably, Gemini 1.5 Pro's success rate jumped from 0.79% to 53.65%—a 53-point improvement without additional training.
- Contextual Anchoring: The success of these prompts confirms that quantitative reasoning is less about raw calculation and more about contextual anchoring. By forcing models to find "anchors" like doorways or common objects, their accuracy improves dramatically.
- Depth Perception Difficulties: Models perform better at estimating vertical heights than horizontal distances, likely reflecting the inherent difficulty of depth perception in 2D imagery.
- Model Scale: The complex reasoning required for SpatialPrompt is an emergent capability primarily found in very large models (e.g., GPT-4o, Gemini 1.5 Pro). Smaller models often struggle with instruction following or hallucinate values.
Limitations and Future Work
Despite these advancements, several challenges remain. SpatialPrompt increases token usage and latency, making it less suitable for real-time robotics. Performance also degrades in "empty" scenes lacking reference objects. Future research should focus on improving the spatial reasoning of smaller models and developing techniques to better handle perspective distortion.
Summary updated