Datasets:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
- config_name: full
|
| 4 |
features:
|
|
@@ -62,3 +76,52 @@ configs:
|
|
| 62 |
- split: test
|
| 63 |
path: mini/test-*
|
| 64 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- visual-question-answering
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- spatial-reasoning
|
| 9 |
+
- 3d
|
| 10 |
+
- counting
|
| 11 |
+
- video
|
| 12 |
+
- benchmark
|
| 13 |
+
pretty_name: Spatial Scene Bench
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
dataset_info:
|
| 17 |
- config_name: full
|
| 18 |
features:
|
|
|
|
| 76 |
- split: test
|
| 77 |
path: mini/test-*
|
| 78 |
---
|
| 79 |
+
|
| 80 |
+
# Spatial Scene Bench
|
| 81 |
+
|
| 82 |
+
[Code](https://github.com/selfishout/spatial-scene-bench) | [lmms-eval task](https://github.com/EvolvingLMMs-Lab/lmms-eval)
|
| 83 |
+
|
| 84 |
+
Counting and relational reasoning over procedurally rendered 3D scenes, from single images to 16-frame orbit
|
| 85 |
+
videos. Every answer is computed from the 3D scene itself, and ambiguous questions (heavily occluded objects,
|
| 86 |
+
near-ties in depth or distance) are filtered out at generation time.
|
| 87 |
+
|
| 88 |
+
## Configs
|
| 89 |
+
|
| 90 |
+
| Config | Questions | Description |
|
| 91 |
+
| --- | --- | --- |
|
| 92 |
+
| `full` | 4,387 | 200 scenes, all 11 question types |
|
| 93 |
+
| `mini` | 275 | first 25 questions of each type |
|
| 94 |
+
|
| 95 |
+
```python
|
| 96 |
+
from datasets import load_dataset
|
| 97 |
+
ds = load_dataset("alithema/spatial-scene-bench", "mini", split="test")
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
## Fields
|
| 101 |
+
|
| 102 |
+
- `question_type`: one of `count`, `count_relation`, `relation`, `compare_count`, `closest`, `distance`,
|
| 103 |
+
`ego_direction`, `video_count`, `video_closest`, `video_distance`, `video_ego_direction`
|
| 104 |
+
- `modality`: `image` (one 320×240 view) or `video` (16 orbit frames)
|
| 105 |
+
- `answer_type`: `count` (integer), `yesno`, `choice` (A–D, options in `options`), or `numeric` (meters)
|
| 106 |
+
- `images`: the view or the video frames, in order
|
| 107 |
+
|
| 108 |
+
## Scoring
|
| 109 |
+
|
| 110 |
+
Exact match for counts, yes/no and multiple choice; VSI-Bench Mean Relative Accuracy (MRA) for distances. The
|
| 111 |
+
headline score is the macro average over question types. Reference implementations: `spatial_scene_bench.evaluate`
|
| 112 |
+
in the code repository and the `spatial_scene_bench` task in lmms-eval.
|
| 113 |
+
|
| 114 |
+
| Model | Overall (mini) |
|
| 115 |
+
| --- | --- |
|
| 116 |
+
| Random baseline | 25.8 |
|
| 117 |
+
| Qwen2.5-VL-3B-Instruct (zero-shot) | 50.3 |
|
| 118 |
+
|
| 119 |
+
## Regenerating
|
| 120 |
+
|
| 121 |
+
The dataset is fully reproducible from the generator (seed 2025):
|
| 122 |
+
|
| 123 |
+
```bash
|
| 124 |
+
pip install "spatial-scene-bench[export] @ git+https://github.com/selfishout/spatial-scene-bench.git"
|
| 125 |
+
ssb-generate --out data/ssb --num-scenes 200 --video-frames 16 --seed 2025
|
| 126 |
+
python scripts/export_hf.py --data data/ssb --out data/ssb_hf
|
| 127 |
+
```
|