Delete README.md
Browse files
README.md
DELETED
|
@@ -1,241 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
license: cc-by-4.0
|
| 5 |
-
size_categories:
|
| 6 |
-
- 1K<n<10K
|
| 7 |
-
task_categories:
|
| 8 |
-
- question-answering
|
| 9 |
-
tags:
|
| 10 |
-
- spatial reasoning
|
| 11 |
-
- language model evaluation
|
| 12 |
-
dataset_info:
|
| 13 |
-
config_name: n5_m4_d144
|
| 14 |
-
features:
|
| 15 |
-
- name: name
|
| 16 |
-
dtype: string
|
| 17 |
-
- name: image_top_down
|
| 18 |
-
dtype: image
|
| 19 |
-
- name: image_north_facing
|
| 20 |
-
dtype: image
|
| 21 |
-
- name: question_image
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: answer_image_td
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: answer_image_sd
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: question_td_layout_yn
|
| 28 |
-
dtype: string
|
| 29 |
-
- name: answer_td_layout_yn
|
| 30 |
-
dtype: string
|
| 31 |
-
- name: question_td_layout_fr
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: answer_td_layout_fr
|
| 34 |
-
sequence: string
|
| 35 |
-
- name: question_td_tpp_yn
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: answer_td_tpp_yn
|
| 38 |
-
dtype: string
|
| 39 |
-
- name: question_td_tpp_fr
|
| 40 |
-
dtype: string
|
| 41 |
-
- name: answer_td_tpp_fr
|
| 42 |
-
sequence: string
|
| 43 |
-
- name: question_td_o2_yn
|
| 44 |
-
dtype: string
|
| 45 |
-
- name: answer_td_o2_yn
|
| 46 |
-
dtype: string
|
| 47 |
-
- name: question_td_o2_fr
|
| 48 |
-
dtype: string
|
| 49 |
-
- name: answer_td_o2_fr
|
| 50 |
-
sequence: string
|
| 51 |
-
- name: question_td_o2_d2_yn
|
| 52 |
-
dtype: string
|
| 53 |
-
- name: answer_td_o2_d2_yn
|
| 54 |
-
dtype: string
|
| 55 |
-
- name: question_td_o2_d2_fr
|
| 56 |
-
dtype: string
|
| 57 |
-
- name: answer_td_o2_d2_fr
|
| 58 |
-
sequence: string
|
| 59 |
-
- name: question_td_o2_d3_yn
|
| 60 |
-
dtype: string
|
| 61 |
-
- name: answer_td_o2_d3_yn
|
| 62 |
-
dtype: string
|
| 63 |
-
- name: question_td_o2_d3_fr
|
| 64 |
-
dtype: string
|
| 65 |
-
- name: answer_td_o2_d3_fr
|
| 66 |
-
sequence: string
|
| 67 |
-
- name: question_td_o2_layout_yn
|
| 68 |
-
dtype: string
|
| 69 |
-
- name: answer_td_o2_layout_yn
|
| 70 |
-
dtype: string
|
| 71 |
-
- name: question_td_o2_layout_fr
|
| 72 |
-
dtype: string
|
| 73 |
-
- name: answer_td_o2_layout_fr
|
| 74 |
-
sequence: string
|
| 75 |
-
- name: question_td_o2_d2_layout_yn
|
| 76 |
-
dtype: string
|
| 77 |
-
- name: answer_td_o2_d2_layout_yn
|
| 78 |
-
dtype: string
|
| 79 |
-
- name: question_td_o2_d2_layout_fr
|
| 80 |
-
dtype: string
|
| 81 |
-
- name: answer_td_o2_d2_layout_fr
|
| 82 |
-
sequence: string
|
| 83 |
-
- name: question_td_o2_d3_layout_yn
|
| 84 |
-
dtype: string
|
| 85 |
-
- name: answer_td_o2_d3_layout_yn
|
| 86 |
-
dtype: string
|
| 87 |
-
- name: question_td_o2_d3_layout_fr
|
| 88 |
-
dtype: string
|
| 89 |
-
- name: answer_td_o2_d3_layout_fr
|
| 90 |
-
sequence: string
|
| 91 |
-
- name: question_sd_layout_yn
|
| 92 |
-
dtype: string
|
| 93 |
-
- name: answer_sd_layout_yn
|
| 94 |
-
dtype: string
|
| 95 |
-
- name: question_sd_tpp_yn
|
| 96 |
-
dtype: string
|
| 97 |
-
- name: answer_sd_tpp_yn
|
| 98 |
-
dtype: string
|
| 99 |
-
- name: question_sd_o2_yn
|
| 100 |
-
dtype: string
|
| 101 |
-
- name: answer_sd_o2_yn
|
| 102 |
-
dtype: string
|
| 103 |
-
- name: question_sd_o2_fr
|
| 104 |
-
dtype: string
|
| 105 |
-
- name: answer_sd_o2_fr
|
| 106 |
-
sequence: string
|
| 107 |
-
- name: question_sd_o2_d2_yn
|
| 108 |
-
dtype: string
|
| 109 |
-
- name: answer_sd_o2_d2_yn
|
| 110 |
-
dtype: string
|
| 111 |
-
- name: question_sd_o2_d2_fr
|
| 112 |
-
dtype: string
|
| 113 |
-
- name: answer_sd_o2_d2_fr
|
| 114 |
-
sequence: string
|
| 115 |
-
- name: question_sd_o2_d3_yn
|
| 116 |
-
dtype: string
|
| 117 |
-
- name: answer_sd_o2_d3_yn
|
| 118 |
-
dtype: string
|
| 119 |
-
- name: question_sd_o2_d3_fr
|
| 120 |
-
dtype: string
|
| 121 |
-
- name: answer_sd_o2_d3_fr
|
| 122 |
-
sequence: string
|
| 123 |
-
- name: question_sd_o2_layout_yn
|
| 124 |
-
dtype: string
|
| 125 |
-
- name: answer_sd_o2_layout_yn
|
| 126 |
-
dtype: string
|
| 127 |
-
- name: question_sd_o2_layout_fr
|
| 128 |
-
dtype: string
|
| 129 |
-
- name: answer_sd_o2_layout_fr
|
| 130 |
-
sequence: string
|
| 131 |
-
- name: question_sd_o2_d2_layout_yn
|
| 132 |
-
dtype: string
|
| 133 |
-
- name: answer_sd_o2_d2_layout_yn
|
| 134 |
-
dtype: string
|
| 135 |
-
- name: question_sd_o2_d2_layout_fr
|
| 136 |
-
dtype: string
|
| 137 |
-
- name: answer_sd_o2_d2_layout_fr
|
| 138 |
-
sequence: string
|
| 139 |
-
- name: question_sd_o2_d3_layout_yn
|
| 140 |
-
dtype: string
|
| 141 |
-
- name: answer_sd_o2_d3_layout_yn
|
| 142 |
-
dtype: string
|
| 143 |
-
- name: question_sd_o2_d3_layout_fr
|
| 144 |
-
dtype: string
|
| 145 |
-
- name: answer_sd_o2_d3_layout_fr
|
| 146 |
-
sequence: string
|
| 147 |
-
splits:
|
| 148 |
-
- name: test
|
| 149 |
-
num_bytes: 149177402.0
|
| 150 |
-
num_examples: 1000
|
| 151 |
-
download_size: 147758139
|
| 152 |
-
dataset_size: 149177402.0
|
| 153 |
-
configs:
|
| 154 |
-
- config_name: n5_m4_d144
|
| 155 |
-
data_files:
|
| 156 |
-
- split: test
|
| 157 |
-
path: n5_m4_d144/test-*
|
| 158 |
-
---
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
<div align="left">
|
| 162 |
-
<h1 style="font-size: 2em;">π RoomSpace Benchmark</h1>
|
| 163 |
-
π <a href="https://roomspace-benchmark.web.app/">Homepage</a> β’
|
| 164 |
-
π <a href="https://github.com/Fangjun-Li/RoomSpace">GitHub</a> β’
|
| 165 |
-
π <a href="https://archive.researchdata.leeds.ac.uk/1293/">Dataset</a> β’
|
| 166 |
-
π <a href="https://arxiv.org/abs/2405.15064">Paper</a>
|
| 167 |
-
πΉοΈ <a href="https://colab.research.google.com/drive/1fAK8J1UHAjMm-mNVsuzIbEZd-SZG6bX-?usp=sharing">Colab</a>
|
| 168 |
-
</div>
|
| 169 |
-
<br/>
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
## Branch Structure
|
| 173 |
-
|
| 174 |
-
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.
|
| 175 |
-
|
| 176 |
-
```
|
| 177 |
-
Data/
|
| 178 |
-
βββ main/
|
| 179 |
-
βββ SD-100_v1.0/
|
| 180 |
-
βββ SD-1K_v1.0/
|
| 181 |
-
βββ SD-10K_v1.0/
|
| 182 |
-
```
|
| 183 |
-
|
| 184 |
-
- `main`: for the Dataset Viewer, contains the `n5_m4_d144` directory for SD-100_v1.0.
|
| 185 |
-
- `SD-100_v1.0`: Contains data for 100 room samples.
|
| 186 |
-
- `SD-1K_v1.0`: Contains data for 1,000 room samples, with the first 100 rooms identical to those in `SD-100_v1.0`.
|
| 187 |
-
- `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`.
|
| 188 |
-
|
| 189 |
-
## Directory Structure
|
| 190 |
-
|
| 191 |
-
The repository is organized as follows:
|
| 192 |
-
|
| 193 |
-
```
|
| 194 |
-
Revision/
|
| 195 |
-
βββ n3_m2_d144/
|
| 196 |
-
βββ n4_m3_d144/
|
| 197 |
-
```
|
| 198 |
-
|
| 199 |
-
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.
|
| 200 |
-
|
| 201 |
-
### Images
|
| 202 |
-
|
| 203 |
-
Each example includes two images showing different views of the rooms:
|
| 204 |
-
|
| 205 |
-
- `image_top_down`: Top-down images of the rooms.
|
| 206 |
-
- `image_north_facing`: North-facing rectangular images, assuming a robot stands at the south door, facing north.
|
| 207 |
-
|
| 208 |
-
### Questions & Answers
|
| 209 |
-
|
| 210 |
-
There are a total of 26 QA pairs, categorized as follows:
|
| 211 |
-
|
| 212 |
-
- **Visual QA**: (image_top_down + question_image) -- answer_image_td, (image_north_facing + question_image) -- answer_image_sd
|
| 213 |
-
- **Layout Setting**: (question_td_layout_yn -- answer_td_layout_yn), (question_td_layout_fr -- answer_td_layout_fr)
|
| 214 |
-
- **TPP Setting**: (question_td_tpp_yn -- answer_td_tpp_yn), (question_td_tpp_fr -- answer_td_tpp_fr)
|
| 215 |
-
- **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)
|
| 216 |
-
- **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)
|
| 217 |
-
- **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)
|
| 218 |
-
- **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)
|
| 219 |
-
- **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)
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
### Question Types
|
| 224 |
-
|
| 225 |
-
- **'fr'**: Find Relation
|
| 226 |
-
- **'yn'**: Yes/No
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
### Points of View
|
| 230 |
-
|
| 231 |
-
- **'td'**: Top-Down View
|
| 232 |
-
- **'sd'**: North Facing View (from the south door)
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
---
|
| 236 |
-
## Relevant Paper
|
| 237 |
-
|
| 238 |
-
[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).
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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