Update README.md
Browse files# RoomSpace Benchmark
---
<img src="https://cdn-uploads.huggingface.co/production/uploads/61428f9ff0d914a5f606a82a/yMiDaPIIGOkmj3YrUBQ9E.jpeg" alt="RoomSpace" style="display: block; margin-left: auto; margin-right: auto; width: 150px;">
---
## Description
The RoomSpace dataset, associated with the IJCAI-24 paper titled "Reframing Spatial Reasoning Evaluation in Language Models: A Real-World Simulation Benchmark for Qualitative Reasoning," aims to enhance the evaluation of spatial reasoning in language models. This benchmark encompasses a comprehensive range of qualitative spatial relationships, including topological, directional, and distance relations. These relationships are presented from various viewpoints, with differing levels of granularity and density of relational constraints to simulate real-world complexities. This approach promotes a more accurate assessment of language models' capabilities in spatial reasoning tasks.
---
## Directory Structure
The repository is organized as follows:
```
Data/
βββ SD-100/
βββ SD-1K/
βββ SD-10K/
```
- `SD-100`: Contains data for 100 room samples.
- `SD-1K`: Contains data for 1,000 room samples, with the first 100 rooms identical to those in `SD-100`.
- `SD-10K`: Contains data for 10,000 room samples, with the first 1,000 rooms identical to those in `SD-1K`.
Each `SD-*` subdirectory includes the following structure:
```
SD-*/
βββ SD-*.json
βββ Image/
β βββ top-down/
β βββ robot_south/
β βββ robot_south_rec/
βββ Text/
βββ Logic/
```
### SD-*.json
This JSON file contains settings for each scene within the respective subdirectory. It details the configuration of the rooms, the objects placed, and any specific parameters or constraints relevant to the simulations in that dataset.
### Image
This directory includes subdirectories for different views of the rooms:
- `top-down`: Top-down images of the rooms.
- `robot_south`: North-facing square images, assuming a robot stands at the south door.
- `robot_south_rec`: North-facing rectangular images.
Each image file is named `ID.png`, corresponding to the room's ID.
### Text
This directory contains JSON files named `n*_m*_d*.json`, which include 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.
### Logic
This directory includes JSON files under different spatial reasoning settings such as 'Layout', 'TPP', 'O2', 'O2+D2', 'O2+D3', 'Layout+O2+D2', and 'Layout+O2+D3'. These files contain logical facts and reasoning results:
- `n*_m*_d*.json`: Based on `n`, `m`, and `d` parameters as described.
- `answers_lengths_d*.json`: Records the answer lengths for each setting and each example for different `d` values.
- `times_fr_take_d*.json`: CPU time taken for each setting of the find relation question.
- `times_yn_take_d*.json`: CPU time taken for each setting of the yes/no question.
- `skip_id_d*.json`: Records the example IDs that do not meet the `m` requirements for the object numbers, which will be skipped.
- `solution_id_d*.json`: Records the IDs that have solutions (answer length > 0) under each spatial setting.
---
## Citation
Fangjun Li, David Hogg, and Anthony Cohn. "Reframing Spatial Reasoning Evaluation in Language Models: A Real-World Simulation Benchmark for Qualitative Reasoning." IJCAI, 2024 .
Fangjun Li, David Hogg, and Anthony Cohn (2024). RoomSpace. [Dataset]. https://doi.org/10.5518/1518
|
@@ -1,3 +1,12 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- spatial reasoning
|
| 9 |
+
- language model evaluation
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
---
|