[ACL 2025] SPHERE: Unveiling Spatial Blind Spots in Vision-Language Models Through Hierarchical Evaluation
9
stars
18
commits
Python
primary language
Aug 10, 2025
updated
🌐 Website / 📖 arXiv / 🤗 Huggingface / 🤗 Huggingface Dataset
2025.06.20 Added evaluation for Gemini 2.5 Flash, o4-mini.2025.05.15 SPHERE has been accepted to ACL Main!2025.02.28 Initial release of SPHERE benchmark and dataset.SPHERE (Spatial Perception and Hierarchical Evaluation of REasoning) is a benchmark for assessing spatial reasoning in vision-language models. It introduces a hierarchical evaluation framework with a human-annotated dataset, testing models on tasks ranging from basic spatial understanding to complex multi-skill reasoning. SPHERE poses significant challenges for both state-of-the-art open-source and proprietary models, revealing critical gaps in spatial cognition, including:
Evaluated models: Phi-3.5-Vision, LLaVA-NeXT, LLaVA-OneVision, Qwen2-VL, Qwen2.5-VL, InstructBLIP, Idefics2, InternVL2.5, Qwen-VL, Llama-3.2-Vision, Janus-Pro, Gemini 2.0 Flash, Gemini 2.5 Flash, GPT-4o, o4-mini, SpatialBot, SpaceMantis, SpatialRGPT.
Download COCO test set:
wget http://images.cocodataset.org/zips/test2017.zip
Rename to datasets/coco_test2017. The SPHERE annotations are in datasets/coco_test2017_annotations.
Use docker image:
docker://nvcr.io/nvidia/pytorch:24.09-py3 and set export PYTHONNOUSERSITE=1
Install/upgrade packages:
conda create -n SPHERE
conda activate SPHERE
conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch-nightly -c nvidia
conda install --file requirements.txt
pip install transformers_stream_generator==0.0.5
pip install flash-attn --no-build-isolation
pip install qwen-vl-utils==0.0.8
pip install git+https://github.com/huggingface/transformers
To run close-source models by API, set the appropriate API keys and install packages:
pip install google-generativeai==0.8.4
pip install openai==1.16.1
The following models are commented out in models/__init__.py as additional installations are needed.
Download the the model repositories and place them in models/utils.
cd models
mkdir utils
cd utils
git clone https://huggingface.co/remyxai/SpaceMantis
git clone https://github.com/AnjieCheng/SpatialRGPT
git clone https://github.com/deepseek-ai/Janus.git
cd Janus
pip install -e .
Note: SpatialRGPT requires an environment setup which may not be compatible with other models. Suggestion is to set up a separate environment following instructions in the SpatialRGPT GitHub repository to evaluate SpatialRGPT.
Model evaluation scripts are in scripts. Execute scripts/all_expts.sh to run all models, and scripts/all_supplement.sh to perform additional analysis such as allocentric vs. allocentric viewpoints and intermediate vs. final reasoning questions.
Overall results will be saved in eval_datasets/coco_test2017_annotations/results.json. Individual model responses will be saved in datasets/coco_test2017_annotations for each task, in files ending with _w_predictions.
SPHERE-VLM/
│
├── eval_datasets/
│ └── __init__.py
│ └── coco_dataset.py
│ └── coco_test2017/
│ └── coco_test2017_annotations/
│
├── models/
│ └── __init__.py
│ └── model_interface.py
│ └── vision_language_models/
│ └── utils/
│
├── tasks/
│ └── __init__.py
│ └── space_vqa.py
│ └── utils.py
│ └── metrics.py
│ └── combine_intermediate.py
│
├── scripts/
|
├── main.py
├── main_combine_intermediate.py
├── main_process_results.py
├── README.md
└── requirements.txt
@article{zhang2025sphere,
author = {Zhang, Wenyu and Ng, Wei En and Ma, Lixin and Wang, Yuwen and Zhao, Junqi and Koenecke, Allison and Li, Boyang and Wang, Lu},
year = {2025},
title = {{SPHERE: Unveiling Spatial Blind Spots in Vision-Language Models Through Hierarchical Evaluation}},
journal = {ACL},
}
18 commits
Python
70.2%
Shell
29.8%
[ACL 2025] SPHERE: Unveiling Spatial Blind Spots in Vision-Language Models Through Hierarchical Evaluation
9
stars
18
commits
Python
primary language
Aug 10, 2025
updated
🌐 Website / 📖 arXiv / 🤗 Huggingface / 🤗 Huggingface Dataset
2025.06.20 Added evaluation for Gemini 2.5 Flash, o4-mini.2025.05.15 SPHERE has been accepted to ACL Main!2025.02.28 Initial release of SPHERE benchmark and dataset.SPHERE (Spatial Perception and Hierarchical Evaluation of REasoning) is a benchmark for assessing spatial reasoning in vision-language models. It introduces a hierarchical evaluation framework with a human-annotated dataset, testing models on tasks ranging from basic spatial understanding to complex multi-skill reasoning. SPHERE poses significant challenges for both state-of-the-art open-source and proprietary models, revealing critical gaps in spatial cognition, including:
Evaluated models: Phi-3.5-Vision, LLaVA-NeXT, LLaVA-OneVision, Qwen2-VL, Qwen2.5-VL, InstructBLIP, Idefics2, InternVL2.5, Qwen-VL, Llama-3.2-Vision, Janus-Pro, Gemini 2.0 Flash, Gemini 2.5 Flash, GPT-4o, o4-mini, SpatialBot, SpaceMantis, SpatialRGPT.
Download COCO test set:
wget http://images.cocodataset.org/zips/test2017.zip
Rename to datasets/coco_test2017. The SPHERE annotations are in datasets/coco_test2017_annotations.
Use docker image:
docker://nvcr.io/nvidia/pytorch:24.09-py3 and set export PYTHONNOUSERSITE=1
Install/upgrade packages:
conda create -n SPHERE
conda activate SPHERE
conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch-nightly -c nvidia
conda install --file requirements.txt
pip install transformers_stream_generator==0.0.5
pip install flash-attn --no-build-isolation
pip install qwen-vl-utils==0.0.8
pip install git+https://github.com/huggingface/transformers
To run close-source models by API, set the appropriate API keys and install packages:
pip install google-generativeai==0.8.4
pip install openai==1.16.1
The following models are commented out in models/__init__.py as additional installations are needed.
Download the the model repositories and place them in models/utils.
cd models
mkdir utils
cd utils
git clone https://huggingface.co/remyxai/SpaceMantis
git clone https://github.com/AnjieCheng/SpatialRGPT
git clone https://github.com/deepseek-ai/Janus.git
cd Janus
pip install -e .
Note: SpatialRGPT requires an environment setup which may not be compatible with other models. Suggestion is to set up a separate environment following instructions in the SpatialRGPT GitHub repository to evaluate SpatialRGPT.
Model evaluation scripts are in scripts. Execute scripts/all_expts.sh to run all models, and scripts/all_supplement.sh to perform additional analysis such as allocentric vs. allocentric viewpoints and intermediate vs. final reasoning questions.
Overall results will be saved in eval_datasets/coco_test2017_annotations/results.json. Individual model responses will be saved in datasets/coco_test2017_annotations for each task, in files ending with _w_predictions.
SPHERE-VLM/
│
├── eval_datasets/
│ └── __init__.py
│ └── coco_dataset.py
│ └── coco_test2017/
│ └── coco_test2017_annotations/
│
├── models/
│ └── __init__.py
│ └── model_interface.py
│ └── vision_language_models/
│ └── utils/
│
├── tasks/
│ └── __init__.py
│ └── space_vqa.py
│ └── utils.py
│ └── metrics.py
│ └── combine_intermediate.py
│
├── scripts/
|
├── main.py
├── main_combine_intermediate.py
├── main_process_results.py
├── README.md
└── requirements.txt
@article{zhang2025sphere,
author = {Zhang, Wenyu and Ng, Wei En and Ma, Lixin and Wang, Yuwen and Zhao, Junqi and Koenecke, Allison and Li, Boyang and Wang, Lu},
year = {2025},
title = {{SPHERE: Unveiling Spatial Blind Spots in Vision-Language Models Through Hierarchical Evaluation}},
journal = {ACL},
}
18 commits
Python
70.2%
Shell
29.8%