Caleb-ychen commited on
Commit
89235da
·
verified ·
1 Parent(s): f03e478

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +132 -3
README.md CHANGED
@@ -1,3 +1,132 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - visual-question-answering
5
+ - question-answering
6
+ language:
7
+ - en
8
+ tags:
9
+ - multimodal
10
+ - spatial-reasoning
11
+ - benchmark
12
+ - vqa
13
+ - embodied-ai
14
+ size_categories:
15
+ - 10K<n<100K
16
+ pretty_name: PCSR-Benchmark
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: data/data_train_58568.json
22
+ - split: test
23
+ path: data/data_test_7689.json
24
+ ---
25
+
26
+ # PCSR-Benchmark
27
+
28
+ **PCSR-Benchmark** (Perspective-Conditioned Spatial Reasoning) is a multimodal spatial reasoning benchmark covering spatial relation tasks such as CDC (Cardinal Direction Chain), designed to evaluate the directional and transitive reasoning abilities of multimodal large language models in panoramic indoor scenes.
29
+
30
+ This dataset accompanies the paper: [*Beyond Localization: A Comprehensive Diagnosis of Perspective-Conditioned Spatial Reasoning in MLLMs from Omnidirectional Images*](https://arxiv.org/abs/2605.12413).
31
+
32
+ ## Dataset Summary
33
+
34
+ - **Total QA pairs**: 66,257 (train: 58,568 / test: 7,689)
35
+ - **Scenes**: 26 (from ReplicaPano)
36
+ - **Images**: 7,800 panoramic views
37
+ - **Task types**: `cdc_positive`, with both MCQ (multiple-choice) and Open (open-ended) formats
38
+ - **Language**: English
39
+
40
+ ## Dataset Structure
41
+
42
+ ### Data Splits
43
+
44
+ | Split | Samples | File |
45
+ |---|---|---|
46
+ | train | 58,568 | `data/data_train_58568.json` |
47
+ | test | 7,689 | `data/data_test_7689.json` |
48
+
49
+ > The train/test splits are disjoint by sample `id`.
50
+
51
+ ### Data Fields
52
+
53
+ Each sample contains exactly 8 fields:
54
+
55
+ | Field | Type | Description |
56
+ |---|---|---|
57
+ | `question` | string | English question |
58
+ | `answer` | string | English answer |
59
+ | `id` | string | Unique sample ID, e.g., `OMM-Bench-CDC-Pos-office_3_000_00027-0` |
60
+ | `image_path` | string | Relative path to the image within the repository, e.g., `images/<scene_id>/<image_id>/rgb.png` |
61
+ | `scene_id` | string | Scene ID |
62
+ | `image_id` | string | View ID |
63
+ | `task_type` | string | Task type, e.g., `cdc_positive` |
64
+ | `options` | list | Answer options for MCQ samples; empty list for Open samples |
65
+
66
+ ### Data Instance
67
+
68
+ ```json
69
+ {
70
+ "question": "If box is to the left of tv, and tv is to the left of wall_clock, then what is the direction of box relative to wall_clock?",
71
+ "answer": "left",
72
+ "id": "OMM-Bench-CDC-Pos-office_3_000_00027-0",
73
+ "image_path": "images/office_3_000/00027/rgb.png",
74
+ "scene_id": "office_3_000",
75
+ "image_id": "00027",
76
+ "task_type": "cdc_positive",
77
+ "options": []
78
+ }
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ ```python
84
+ from datasets import load_dataset
85
+
86
+ # Load QA data
87
+ ds = load_dataset("Caleb-ychen/PCSR-Benchmark")
88
+ print(ds)
89
+ # DatasetDict({
90
+ # train: Dataset({features: [...], num_rows: 58568})
91
+ # test: Dataset({features: [...], num_rows: 7689})
92
+ # })
93
+
94
+ sample = ds["test"][0]
95
+ print(sample["question"], "->", sample["answer"])
96
+
97
+ # Load the corresponding image
98
+ from huggingface_hub import hf_hub_download
99
+ from PIL import Image
100
+
101
+ img_file = hf_hub_download(
102
+ repo_id="Caleb-ychen/PCSR-Benchmark",
103
+ filename=sample["image_path"],
104
+ repo_type="dataset",
105
+ )
106
+ img = Image.open(img_file)
107
+ ```
108
+
109
+ ## Data Collection
110
+
111
+ - Scenes are sourced from **ReplicaPano** (a panoramic rendering of the Replica dataset), covering 26 indoor scenes with 7,800 viewpoints in total.
112
+ - QA pairs are automatically generated from spatial relations among objects in each scene, in both MCQ (multiple-choice) and Open (open-ended) formats.
113
+
114
+ ## License
115
+
116
+ This dataset is released under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. Please also check the license of the original ReplicaPano data before use.
117
+
118
+ ## Citation
119
+
120
+ If you use this dataset in your research, please cite:
121
+
122
+ ```bibtex
123
+ @misc{chen2026localizationcomprehensivediagnosisperspectiveconditioned,
124
+ title={Beyond Localization: A Comprehensive Diagnosis of Perspective-Conditioned Spatial Reasoning in MLLMs from Omnidirectional Images},
125
+ author={Yuangong Chen and Wai Keung Wong and Jiaxing Li and Ioannis Patras and Xu Zheng},
126
+ year={2026},
127
+ eprint={2605.12413},
128
+ archivePrefix={arXiv},
129
+ primaryClass={cs.CV},
130
+ url={https://arxiv.org/abs/2605.12413},
131
+ }
132
+ ```