File size: 7,418 Bytes
6469a82 b401a5e |
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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
---
dataset_info:
config_name: n5_m4_d144
features:
- name: id
dtype: int64
- name: image_top_down
dtype: image
- name: image_north_facing
dtype: image
- name: question_image
dtype: string
- name: options_td
sequence: string
- name: options_sd
sequence: string
- name: answer_image_td
dtype: string
- name: answer_image_sd
dtype: string
- name: question_td_layout_yn
dtype: string
- name: answer_td_layout_yn
dtype: string
- name: question_td_layout_fr
dtype: string
- name: answer_td_layout_fr
sequence: string
- name: question_td_tpp_yn
dtype: string
- name: answer_td_tpp_yn
dtype: string
- name: question_td_tpp_fr
dtype: string
- name: answer_td_tpp_fr
sequence: string
- name: question_td_o2_yn
dtype: string
- name: answer_td_o2_yn
dtype: string
- name: question_td_o2_fr
dtype: string
- name: answer_td_o2_fr
sequence: string
- name: question_td_o2_d2_yn
dtype: string
- name: answer_td_o2_d2_yn
dtype: string
- name: question_td_o2_d2_fr
dtype: string
- name: answer_td_o2_d2_fr
sequence: string
- name: question_td_o2_d3_yn
dtype: string
- name: answer_td_o2_d3_yn
dtype: string
- name: question_td_o2_d3_fr
dtype: string
- name: answer_td_o2_d3_fr
sequence: string
- name: question_td_o2_layout_yn
dtype: string
- name: answer_td_o2_layout_yn
dtype: string
- name: question_td_o2_layout_fr
dtype: string
- name: answer_td_o2_layout_fr
sequence: string
- name: question_td_o2_d2_layout_yn
dtype: string
- name: answer_td_o2_d2_layout_yn
dtype: string
- name: question_td_o2_d2_layout_fr
dtype: string
- name: answer_td_o2_d2_layout_fr
sequence: string
- name: question_td_o2_d3_layout_yn
dtype: string
- name: answer_td_o2_d3_layout_yn
dtype: string
- name: question_td_o2_d3_layout_fr
dtype: string
- name: answer_td_o2_d3_layout_fr
sequence: string
- name: question_sd_layout_yn
dtype: string
- name: answer_sd_layout_yn
dtype: string
- name: question_sd_tpp_yn
dtype: string
- name: answer_sd_tpp_yn
dtype: string
- name: question_sd_o2_yn
dtype: string
- name: answer_sd_o2_yn
dtype: string
- name: question_sd_o2_fr
dtype: string
- name: answer_sd_o2_fr
sequence: string
- name: question_sd_o2_d2_yn
dtype: string
- name: answer_sd_o2_d2_yn
dtype: string
- name: question_sd_o2_d2_fr
dtype: string
- name: answer_sd_o2_d2_fr
sequence: string
- name: question_sd_o2_d3_yn
dtype: string
- name: answer_sd_o2_d3_yn
dtype: string
- name: question_sd_o2_d3_fr
dtype: string
- name: answer_sd_o2_d3_fr
sequence: string
- name: question_sd_o2_layout_yn
dtype: string
- name: answer_sd_o2_layout_yn
dtype: string
- name: question_sd_o2_layout_fr
dtype: string
- name: answer_sd_o2_layout_fr
sequence: string
- name: question_sd_o2_d2_layout_yn
dtype: string
- name: answer_sd_o2_d2_layout_yn
dtype: string
- name: question_sd_o2_d2_layout_fr
dtype: string
- name: answer_sd_o2_d2_layout_fr
sequence: string
- name: question_sd_o2_d3_layout_yn
dtype: string
- name: answer_sd_o2_d3_layout_yn
dtype: string
- name: question_sd_o2_d3_layout_fr
dtype: string
- name: answer_sd_o2_d3_layout_fr
sequence: string
splits:
- name: test
num_bytes: 67434227.0
num_examples: 100
download_size: 65991028
dataset_size: 67434227.0
configs:
- config_name: n5_m4_d144
data_files:
- split: test
path: n5_m4_d144/test-*
---
<div align="left">
<h1 style="font-size: 2em;">π RoomSpace Benchmark</h1>
π <a href="https://github.com/Fangjun-Li/RoomSpace">GitHub</a> β’
π <a href="https://archive.researchdata.leeds.ac.uk/1293/">Dataset</a> β’
π <a href="https://arxiv.org/abs/2405.15064">Paper</a>
πΉοΈ <a href="https://colab.research.google.com/drive/1fAK8J1UHAjMm-mNVsuzIbEZd-SZG6bX-?usp=sharing">Colab</a>
</div>
<br/>
## Branch Structure
This repository contains various branches, each representing different versions and sizes of the RoomSpace dataset. For example, the `SD-100_v1.0` branch includes 100 test examples under version 1.0.
```
Data/
βββ main/
βββ SD-100_v1.0/
βββ SD-1K_v1.0/
βββ SD-10K_v1.0/
```
- `main`: for the Dataset Viewer, contains the `n5_m4_d144` directory for SD-1K_v1.0.
- `SD-100_v1.0`: Contains data for 100 room samples.
- `SD-1K_v1.0`: Contains data for 1,000 room samples, with the first 100 rooms identical to those in `SD-100_v1.0`.
- `SD-10K_v1.0`: Contains data for 10,000 room samples, with the first 1,000 rooms identical to those in `SD-1K_v1.0`.
## Directory Structure
The repository is organized as follows:
```
Revision/
βββ n3_m2_d144/
βββ n4_m3_d144/
```
Each `n*_m*_d*` subdirectory includes a test parquet file containing stories, questions, and answers derived from the images and a Constraint Satisfaction Problem (CSP) reasoner. The parameters `n`, `m`, and `d` represent the object number, constraint density, and domain size, respectively.
### Images
Each example includes two images showing different views of the rooms:
- `image_top_down`: Top-down images of the rooms.
- `image_north_facing`: North-facing rectangular images, assuming a robot stands at the south door, facing north.
### Questions & Answers
There are a total of 26 QA pairs, categorized as follows:
- **Visual QA**: (image_top_down + question_image) -- answer_image_td, (image_north_facing + question_image) -- answer_image_sd
- **Layout Setting**: (question_td_layout_yn -- answer_td_layout_yn), (question_td_layout_fr -- answer_td_layout_fr)
- **TPP Setting**: (question_td_tpp_yn -- answer_td_tpp_yn), (question_td_tpp_fr -- answer_td_tpp_fr)
- **O2 Setting**: (question_td_o2_yn -- answer_td_o2_yn), (question_td_o2_fr -- answer_td_o2_fr), (question_sd_o2_yn -- answer_sd_o2_yn), (question_sd_o2_fr -- answer_sd_o2_fr)
- **O2+D2 Setting**: (question_td_o2_d2_yn -- answer_td_o2_d2_yn), (question_td_o2_d2_fr -- answer_td_o2_d2_fr), (question_sd_o2_d2_yn -- answer_sd_o2_d2_yn), (question_sd_o2_d2_fr -- answer_sd_o2_d2_fr)
- **O2+D3 Setting**: (question_td_o2_d3_yn -- answer_td_o2_d3_yn), (question_td_o2_d3_fr -- answer_td_o2_d3_fr), (question_sd_o2_d3_yn -- answer_sd_o2_d3_yn), (question_sd_o2_d3_fr -- answer_sd_o2_d3_fr)
- **Layout + O2 + D2 Setting**: (question_td_o2_d2_layout_yn -- answer_td_o2_d2_layout_yn), (question_td_o2_d2_layout_fr -- answer_td_o2_d2_layout_fr), (question_sd_o2_d2_layout_yn -- answer_sd_o2_d2_layout_yn), (question_sd_o2_d2_layout_fr -- answer_sd_o2_d2_layout_fr)
- **Layout + O2 + D3 Setting**: (question_td_o2_d3_layout_yn -- answer_td_o2_d3_layout_yn), (question_td_o2_d3_layout_fr -- answer_td_o2_d3_layout_fr), (question_sd_o2_d3_layout_yn -- answer_sd_o2_d3_layout_yn), (question_sd_o2_d3_layout_fr -- answer_sd_o2_d3_layout_fr)
### Question Types
- **'fr'**: Find Relation
- **'yn'**: Yes/No
### Points of View
- **'td'**: Top-Down View
- **'sd'**: North Facing View (from the south door)
---
## Relevant Paper
[Fangjun Li, David Hogg, and Anthony Cohn. "Reframing Spatial Reasoning Evaluation in Language Models: A Real-World Simulation Benchmark for Qualitative Reasoning." IJCAI, 2024](https://arxiv.org/abs/2405.15064).
|