File size: 5,227 Bytes
5c8b3d3
 
71b21cd
7c4d80d
 
 
 
 
 
 
71b21cd
7c4d80d
3077a19
71b21cd
 
 
3077a19
71b21cd
 
 
3077a19
631c376
3077a19
631c376
3077a19
631c376
 
 
 
5c8b3d3
7c4d80d
71b21cd
 
 
631c376
71b21cd
3077a19
71b21cd
3077a19
3932bf0
7c4d80d
3932bf0
7c4d80d
71b21cd
7c4d80d
3932bf0
3077a19
631c376
3077a19
631c376
7c4d80d
631c376
71b21cd
631c376
 
3077a19
71b21cd
3077a19
 
 
 
631c376
 
 
 
3077a19
 
631c376
3077a19
 
 
 
631c376
 
 
 
 
3077a19
 
631c376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71b21cd
7c4d80d
71b21cd
7c4d80d
71b21cd
 
 
 
7c4d80d
71b21cd
7c4d80d
631c376
 
 
 
 
 
 
 
3077a19
 
71b21cd
3077a19
 
71b21cd
 
 
 
 
3077a19
 
71b21cd
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
license: cc-by-nc-4.0
pretty_name: SpatialMosaic VQA
task_categories:
- visual-question-answering
language:
- en
tags:
- spatial-reasoning
- vision-language
- vqa
- multi-view
- video-vqa
- partial-visibility
- occlusion
- low-overlap
- scannetpp
- waymo
- object-counting
- object-localization
size_categories:
- 1K<n<10K
configs:
- config_name: default
  data_files:
  - split: indoor_test
    path: merged_indoor_test.json
  - split: outdoor_test
    path: merged_outdoor_test.json
---

<p align="center">
  <a href="https://arxiv.org/abs/2512.23365"><img src="https://img.shields.io/badge/arXiv-2512.23365-b31b1b.svg" alt="arXiv"></a>
  <a href="https://kanghee-lee.github.io/spatialmosaic/"><img src="https://img.shields.io/badge/Project-Page-blue" alt="Project Page"></a>
  <a href="https://github.com/Kanghee-Lee/SpatialMosaic-project"><img src="https://img.shields.io/badge/GitHub-SpatialMosaic--project-black?logo=github&logoColor=white" alt="GitHub"></a>
</p>

# SpatialMosaic: A Multi-View VLM Dataset for Partial Visibility

## Description

**SpatialMosaic** is a multi-view visual question answering dataset for evaluating spatial reasoning under **partial visibility**, **occlusion**, and **low-overlap views**. It pairs indoor ScanNet++ and outdoor Waymo scene references with multi-frame VQA annotations. Questions require models to combine fragmented evidence across 2-5 views, rather than answering from a single image. The tasks cover object counting, object presence, localization, best-view selection, object-object spatial relations, and view-specific position reasoning.

This Hugging Face repository contains **annotation files only**. It does not redistribute ScanNet++, Waymo, image, video, depth, or scene data. Users must obtain any required source images from the official dataset providers and comply with their licenses, access requirements, and usage terms.

The current configuration contains **2,200 test examples**: 1,100 indoor ScanNet++ examples and 1,100 outdoor Waymo examples. Across the two JSON files, the annotations include 17 `question_type` labels, 2-5 referenced frames per example, 169 indoor ScanNet++ scenes, and 9 outdoor Waymo scenes. Evaluation is performed by exact multiple-choice answer matching against `mc_answer`.

## Available Files and Splits

This card is configured for two annotation-only test splits: one indoor split based on ScanNet++ scene references and one outdoor split based on Waymo scene references.

| Split | Source reference | File | Examples / entries | Status |
| --- | --- | --- | ---: | --- |
| `indoor_test` | ScanNet++ | `merged_indoor_test.json` | 1,100 | Current config |
| `outdoor_test` | Waymo | `merged_outdoor_test.json` | 1,100 | Current config |

## Loading

```python
from datasets import load_dataset

ds = load_dataset("jmkey/spatial_mosaic_vqa", "default")
print(ds)
print(ds["indoor_test"][0])
print(ds["outdoor_test"][0])
```

For direct local use of the raw JSON files:

```python
import json

with open("merged_indoor_test.json", "r") as f:
    indoor_rows = json.load(f)

with open("merged_outdoor_test.json", "r") as f:
    outdoor_rows = json.load(f)
```

## Data Format

Each entry contains the referenced source dataset, scene name, frame identifiers, question type, question text, answer options, and the correct multiple-choice answer in `mc_answer`.

Common fields include:

- `dataset`: source dataset identifier, such as `scannetpp` or `waymo`
- `scene_name`: source scene or segment identifier
- `frames`: list of 2-5 frame identifiers used by the question
- `question_type`: task subtype label
- `question`: natural-language question
- `options`: multiple-choice answer candidates
- `mc_answer`: correct option label

Some entries include additional metadata such as `ground_truth`, `bbox_2d`, `bbox_2d_diag`, `GT Scenario`, `overlap_avg`, `occlusion_avg`, `occ_level`, `overlap_level`, and `vis_level`.

## Intended Use

SpatialMosaic is intended for non-commercial research on:

- multi-view visual question answering
- spatial reasoning under partial visibility
- occlusion-aware and low-overlap view understanding
- VLM evaluation and instruction-tuning on multi-frame inputs

Out-of-scope uses include commercial use under this annotation license, redistribution of restricted source datasets, and treating these annotations as a substitute for the original ScanNet++ or Waymo data.

## Evaluation

SpatialMosaic uses multiple-choice evaluation. The primary metric is exact-match accuracy against `mc_answer`.

```python
accuracy = sum(pred == row["mc_answer"] for pred, row in zip(predictions, rows)) / len(rows)
```

## Citation

If you use SpatialMosaic, cite the paper:

```bibtex
@article{lee2025spatialmosaic,
  title={SpatialMosaic: A Multiview VLM Dataset for Partial Visibility},
  author={Lee, Kanghee and Lee, Injae and Kwak, Minseok and Hong, Jungi and Ryu, Kwonyoung and Park, Jaesik},
  journal={arXiv preprint arXiv:2512.23365},
  year={2025}
}
```

## License

The released VQA annotations are licensed under **CC BY-NC 4.0**. This license applies only to the annotations. Source images, videos, depth, and scene data remain governed by the original ScanNet++ and Waymo licenses and terms.