InternSpatial: A Comprehensive Dataset for Spatial Reasoning in Vision-Language Models

Nianchen Deng, Lixin Gu, Shenglong Ye, Yinan He, Zhe Chen, Songze Li, Haomin Wang, Xingguang Wei, Tianshuo Yang, Min Dou, Tong He, Wenqi Shao, Kaipeng Zhang, Yi Wang, Botian Shi, Yanting Zhang, Jifeng Dai, Yu Qiao, Hongjie Zhang, Wenhai Wang

Abstract

Recent benchmarks and datasets have been proposed to improve spatial reasoning in vision-language models (VLMs), yet existing open resources remain limited in scale, visual diversity, and instruction expressiveness. In this work, we introduce InternSpatial, the largest open-source dataset for spatial reasoning in VLMs, along with InternSpatial-Bench, a corresponding evaluation benchmark designed to assess spatial understanding under diverse instruction formats. InternSpatial comprises 12 million QA pairs spanning both single-view and multi-view settings, drawn from diverse visual environments and supporting 19 instruction formats that reflect varied query styles. For evaluation, we propose InternSpatial-Bench for single-view tasks and expand multi-view reasoning by introducing a novel rotation angle prediction task that has not been explored in prior work. Experimental results show that models trained on InternSpatial achieve 12.1% improvement on InternSpatial-Bench and 10.7% on VSI-Bench, while maintaining strong performance on general-purpose benchmarks. We hope these resources will support the development of spatially capable VLMs in practical applications such as robotics and embodied AI.

The Spatial Reasoning Gap in VLMs

While modern Vision-Language Models (VLMs) excel at identifying objects within a scene, they frequently struggle with precise spatial relationships—for example, determining whether a cat is further from the camera than a chair. This "spatial reasoning gap" stems from the fact that most training data focuses on 2D image-text alignment rather than 3D geometry.

Existing spatial datasets are often limited in scale, restricted to specific environments like indoor rooms, or confined to a single query style (typically natural language). To be effective in robotics, autonomous driving, or augmented reality, VLMs must reason across diverse scenes and understand various instruction styles, including those involving bounding boxes, segmentation masks, or numerical indicators.

The InternSpatial Data Engine

To address these limitations, researchers developed a fully automated, modular data engine to generate InternSpatial. The pipeline consists of three main stages designed to bridge the gap between 2D images and 3D spatial understanding.

The InternSpatial data generation pipeline, illustrating the process of lifting 2D annotations into a 3D view space for spatial QA synthesis.
  1. Annotation Generation: For 2D image datasets, pretrained models extract bounding boxes, masks, and captions. For 3D datasets, existing 3D information is projected onto the 2D image plane.
  2. Lifting to 3D: To determine true spatial relationships, the engine "lifts" 2D annotations into a canonical 3D view space. For images lacking native 3D data, specialized models like Metric3Dv2 and PerspectiveFields are used to estimate depth and camera parameters.
  3. Template-based QA Synthesis: Instead of relying on expensive LLMs for every question, a template-based approach scales the dataset to millions of samples while supporting 19 distinct instruction formats. These formats include textual references, visual markers (bounding boxes or masks), and numerical indicators.

Dataset Composition and Instruction Diversity

InternSpatial introduces two major resources for the research community:

  • InternSpatial (Training): A massive collection of 12 million QA pairs, including 9.5 million single-view and 2.5 million multi-view samples. It draws from diverse sources such as COCO (in-the-wild), ScanNet (indoor), Cityscapes (driving), and Objaverse (object-centric).
  • InternSpatial-Bench (Evaluation): A diagnostic benchmark of 6,008 QA pairs across five tasks: Position Estimation, Size Estimation, Rotation Estimation, Existence Estimation, and Object Counting.
Examples of the 19 instruction formats supported by InternSpatial, including natural language, bounding boxes, segmentation masks, and numerical indicators.

A key finding of this work is that training on multiple instruction formats makes the model more robust. By learning to process boxes, masks, and text, the model develops a more generalized representation of space rather than just solving a specific task format.

Experimental Results

The researchers fine-tuned an InternVL2.5-8B model on this dataset to create InternVL-Spatial-8B. The model demonstrated significant improvements:

  • Benchmark Performance: The model achieved a 12.1% improvement on InternSpatial-Bench and a 10.7% boost on VSI-Bench compared to the baseline.
  • Competitive Edge: InternVL-Spatial-8B outperformed proprietary models like GPT-4o and Claude 3.5 Sonnet across several spatial tasks, particularly in Position and Size Comparison.
  • Generalization: The model maintained strong performance on general VLM benchmarks (such as MathVision and TextVQA), indicating that specialized spatial training does not lead to catastrophic forgetting of general knowledge.

Conclusion

InternSpatial represents a significant step toward fixing the "spatial blindness" of current VLMs. By providing a massive, diverse, and multi-format dataset, this work enables models to better understand the 3D world from 2D inputs. Future work will focus on capturing greater linguistic richness in spatial queries and testing these models in real-time, interactive environments like embodied AI and robotic navigation.

Summary updated

BibTeX
@inproceedings{deng2026internspatial,
  author = {Nianchen Deng and Lixin Gu and Shenglong Ye and Yinan He and Zhe Chen and Songze Li and Haomin Wang and Xingguang Wei and Tianshuo Yang and Min Dou and Tong He and Wenqi Shao and Kaipeng Zhang and Yi Wang and Botian Shi and Yanting Zhang and Jifeng Dai and Yu Qiao and Hongjie Zhang and Wenhai Wang},
  title = {{InternSpatial: A Comprehensive Dataset for Spatial Reasoning in Vision-Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=L6bEitSMeu},
}
Figure