SQuID: A Benchmark for Quantitative Spatial Reasoning on Satellite Imagery
Organizations: Department of Machine Learning, NEC Laboratories America · EPFL
Abstract
Vision-Language Models (VLMs) describe satellite images fluently but struggle with the quantitative spatial reasoning that remote sensing (RS) analysts perform routinely, such as counting buildings, measuring forest area in hectares and computing distances in meters. We introduce SQuID (Satellite Quantitative Intelligence Dataset), a benchmark of 2,000 questions over 587 images from four sources at 0.3 to 1.0 m ground sampling distance, covering 24 question types in three difficulty tiers. Answers are computed from curated segmentation masks or, for 50 questions, from human consensus, and numeric answers are scored against tolerance ranges informed by human annotations. SQuID also releases the reference masks behind its answers, so that modular systems can be evaluated using reference rather than predicted masks, and 75,687 training question-answer pairs on disjoint images (SQuID-Train). Among 15 evaluated systems, the best zero-shot end-to-end VLM reaches 28.1%, and RS-specialized VLMs score lower. As a baseline, we propose QASR (Quantitative Agentic Spatial Reasoning), in which an LLM writes a program that segments the image and measures the masks with geometric operators. QASR reaches 42.0%. On the 1,950 mask-derived questions, running its programs on the reference masks instead of predicted masks raises accuracy from 42.2% to 82.6%, so segmentation is its main source of error. Fine-tuning Qwen2.5-VL-7B on SQuID-Train raises its accuracy from 16.1% to 40.7%, close to QASR. Multi-condition questions (Tier 3) remain the hardest in every setting, at 62.0% for QASR with reference masks and 13.2% after fine-tuning. These results leave clear room for end-to-end models that learn metric spatial reasoning, and SQuID provides the data to train and evaluate them.
Figures & tables
| Source | GSD | Classes | Images | Questions | Answers | Terms |
| DeepGlobe [ 9 ] | 0.5 m | 6 | 174 | 612 | masks | DeepGlobe terms |
| EarthVQA [ 44 ] | 0.3 m | 5 | 364 | 1,241 | masks | EarthVQA terms |
| Solar [ 15 ] | 0.3 m | 1 | 35 | 97 | masks | CC BY 4.0 |
| NAIP [ 43 ] | 1.0 m | 7 | 14 | 50 | human | Public domain |
| Total | 587 | 2,000 |
| Question | GSD | Answer | Range |
| Tier 1: Basic Quantification | |||
| What percentage of the image is covered by barren land? | 0.3 m | 33.1% | [31.4, 34.9] |
| How many buildings are there? When counting, ignore buildings smaller than 0.01 hectares. | 0.3 m | 4 | [3, 5] |
| Is there more water than barren land in this image? | 0.3 m | yes | exact |
| Tier 2: Spatial Relationships | |||
| What percentage of the urban area is within 500 m of vegetation? | 0.5 m | 34.35% | [32.1, 36.6] |
| Method | Base LLM | Segmentation | Accuracy (%) | Overall (%) | |||
| Tier 1 | Tier 2 | Tier 3 | |||||
| Modular, predicted masks | QASR-A | GPT-5 | ConvNeXt | 53.52 | 54.06 | 18.84 | 42.00 |
| QASR-B | gpt-oss-120B | ConvNeXt | 44.79 | 45.94 | 6.08 | 32.10 | |
| QASR-C | GPT-5 | DINOv3 | 50.99 | 47.40 | 12.46 | 36.90 | |
| QASR-D | Llama-3.1-8B | ConvNeXt | 39.86 | 41.88 | 5.79 | 29.00 | |
| QASR-E | GPT-5 | RemoteSAM | 23.52 | 38.64 | 6.08 | 22.30 | |
| Predicted masks | Reference masks | GPT-5 | Llama-3.1-8B |
| Correct | Correct | 796 | 533 |
| Correct | Incorrect | 27 | 34 |
| Incorrect | Correct | 814 | 776 |
| Incorrect | Incorrect | 313 | 607 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
| Encoder | ConvNeXt, pretrained on ImageNet |
| Decoder | U-Net |
| Parameters | About 180M per model |
| Loss | Cross-entropy |
| Optimizer | Adam |
| Learning rate |
| Topic | Type | Source classes |
| urban | semantic | DeepGlobe urban, EarthVQA road, EarthVQA building |
| forest | semantic | DeepGlobe forest, EarthVQA forest |
| agric | semantic | DeepGlobe agriculture, EarthVQA agriculture |
| grass | semantic | DeepGlobe rangeland |
| barren | semantic | DeepGlobe barren, EarthVQA barren |
| water | semantic | DeepGlobe water, EarthVQA water |
| Training configuration | Results | ||
| Backbone | DINOv3 ViT-L/16, frozen | Best mIoU | 57.58% |
| Pretraining | SAT-493M, about 300M parameters | Pixel accuracy | 73.50% |
| Decoder | Adapter and Mask2Former | Best epoch | 60 of 200 |
| (56.6M parameters) | Training time | 6.2 hours | |
| Hidden dimension | 256 | ||
| Batch size | 20 (10 per GPU) | IoU per class | |
| Method | Segmentation | Counting | Other tasks | Overall |
| GPT-5, end to end | 29.6% | 57.3% | 48.2% | |
| QASR with GPT-5 | SAM-3 | 15.8% | 57.3% | 43.7% |
| QASR with GPT-5 | RemoteSAM | 15.6% | 57.3% | 43.6% |
| Class | Minimum area |
| DeepGlobe, 0.5 m GSD | |
| Urban area | 0.1 ha |
| Vegetation ∗ | 0.125 ha |
| Water bodies | 0.1 ha |
| Barren land | 0.125 ha |
| EarthVQA, 0.3 m GSD | |
| Type | Question | GSD | Answer | Range |
| Tier 1: Basic Quantification (710 questions, 35.5%) | ||||
| percentage | What percentage of the image is covered by barren land? | 0.3 m | 23.36% | [21.6, 25.1] |
| count | How many separate urban area regions are there? When counting, ignore patches smaller than 0.1 hectares. | 0.5 m | 4 | [3, 5] |
| size | What percentage of the image is covered by the largest vegetation region, among regions larger than 0.125 hectares? | 0.5 m | 75.81% | [74.1, 77.6] |
| total_area | What is the total area of solar panels in hectares, excluding installations smaller than 0.01 hectares? | 0.3 m | 3.14 ha | [3.08, 3.2] |
| binary_comparison | Is there more barren land than forest area in this image? | 0.3 m | yes | exact |
| Question type | Count | Share | Description |
| Tier 1: Basic Quantification (710 questions, 35.5%) | |||
| count | 178 | 8.9% | Number of regions above an area threshold |
| binary_comparison | 172 | 8.6% | Whether one class covers more area than another |
| size | 166 | 8.3% | Size of the largest or smallest region |
| percentage | 157 | 7.8% | Percentage of the image covered by one class |
| binary_threshold | 11 | 0.6% | Whether the total area exceeds a threshold |
| QASR, predicted masks | End-to-end VLMs | ||||||||||||
| Question type | N | QASR-A | QASR-B | QASR-C | QASR-D | QASR-E | QASR-F | GPT-5 | Qwen3-VL-30B-A3B | Qwen3-VL-8B | GeoChat | Geo-R1 | Qwen2.5-VL-7B |
| Tier 1: Basic Quantification | |||||||||||||
| count | 178 | 56.7 | 36.0 | 55.1 | 36.5 | 27.5 | 18.5 | 36.5 | 45.5 | 15.7 | 27.0 | 42.1 | 3.4 |
| binary_comparison | 172 | 78.5 | 76.7 | 79.7 | 57.6 | 46.5 | 61.6 | 67.4 | 78.5 | 75.0 | 100 | 52.9 | 57.0 |
| size | 166 | 33.7 | 23.5 | 33.7 | 24.1 | 4.2 | 19.9 | 16.3 | 12.7 | 3.0 | 4.8 | 10.8 | 11.4 |
| percentage | 157 | 36.9 | 33.1 | 26.1 | 31.2 | 2.5 | 5.1 | 26.8 | 11.5 | 7.0 | 2.5 | 6.4 | 7.6 |
Spatial Reasoning Benchmarks
Spatial reasoning benchmarks test whether AI systems can perceive, represent, and act on geometric, relational, and viewpoint-dependent information.
See all 162 papers