array commited on
Commit
612c89c
·
1 Parent(s): 44e69ff

Add comprehensive README with paper info, loading code, and dataset description

Browse files
Files changed (1) hide show
  1. README.md +74 -34
README.md CHANGED
@@ -1,34 +1,74 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: images
5
- sequence: image
6
- - name: question
7
- dtype: string
8
- - name: choices
9
- sequence: string
10
- - name: answer_idx
11
- dtype: int32
12
- - name: datatype
13
- dtype: string
14
- - name: house_ind
15
- dtype: int32
16
- - name: cam_position
17
- sequence:
18
- sequence: float32
19
- - name: cam_rotation
20
- sequence: float32
21
- - name: image_reason
22
- sequence: image
23
- splits:
24
- - name: val
25
- num_bytes: 11647657977.101
26
- num_examples: 6527
27
- download_size: 343936818
28
- dataset_size: 11647657977.101
29
- configs:
30
- - config_name: default
31
- data_files:
32
- - split: val
33
- path: data/val-*
34
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SAT_perspective Dataset
2
+
3
+ ## Paper
4
+
5
+ **SAT: Dynamic Spatial Aptitude Training for Multimodal Language Models**
6
+
7
+ This dataset is part of the SAT (Spatial Aptitude Training) project, which introduces a dynamic benchmark for evaluating and improving spatial reasoning capabilities in multimodal language models.
8
+
9
+ - **Project Page**: [https://arijitray.com/SAT/](https://arijitray.com/SAT/)
10
+ - **Paper**: [arXiv:2412.07755](https://arxiv.org/abs/2412.07755)
11
+
12
+ ## Dataset Description
13
+
14
+ The SAT_perspective dataset contains 6,527 spatial reasoning questions that test perspective-taking abilities. Each question presents a scene and asks about spatial relationships from a new viewpoint, requiring models to reason about how objects would appear from different camera positions.
15
+
16
+ ## Loading the Dataset
17
+
18
+ ```python
19
+ from datasets import load_dataset
20
+
21
+ # Load the dataset
22
+ dataset = load_dataset("array/SAT_perspective", split="val")
23
+
24
+ # Access a sample
25
+ sample = dataset[0]
26
+ print(sample["question"])
27
+ print(sample["choices"])
28
+ ```
29
+
30
+ ## Dataset Structure
31
+
32
+ Each example in the dataset contains the following fields:
33
+
34
+ - **`images`**: List of input images showing the original scene (PIL Image objects)
35
+ - **`question`**: Text question asking about spatial relationships from a new perspective
36
+ - **`choices`**: List of possible answers (typically 2 options)
37
+ - **`answer_idx`**: Index of the correct answer in the choices list (integer)
38
+ - **`datatype`**: Type of spatial reasoning task (value: "perspective")
39
+ - **`house_ind`**: House/scene identifier (integer)
40
+ - **`cam_position`**: Camera position coordinates as 3D float arrays
41
+ - **`cam_rotation`**: Camera rotation values as float arrays
42
+ - **`image_reason`**: Rendered image from the new perspective that the question is asking about. This provides the ground truth visualization showing what the scene looks like from the target viewpoint.
43
+
44
+ ### Example
45
+
46
+ ```python
47
+ {
48
+ "images": [<PIL.Image.Image>], # Original view
49
+ "question": "If I go to the 'X' marked point in the image and turned left by 90 degrees, will the Chair get closer or further away?",
50
+ "choices": ["Closer", "Further"],
51
+ "answer_idx": 0,
52
+ "datatype": "perspective",
53
+ "house_ind": 0,
54
+ "cam_position": [[2.75, 0.9009997844696045, 6.25], [3.75, 0.9009997844696045, 6.75]],
55
+ "cam_rotation": [96.0, 6.0],
56
+ "image_reason": [<PIL.Image.Image>] # View from new perspective
57
+ }
58
+ ```
59
+
60
+ ## Citation
61
+
62
+ If you use this dataset, please cite:
63
+
64
+ ```bibtex
65
+ @misc{ray2025satdynamicspatialaptitude,
66
+ title={SAT: Dynamic Spatial Aptitude Training for Multimodal Language Models},
67
+ author={Arijit Ray and Jiafei Duan and Ellis Brown and Reuben Tan and Dina Bashkirova and Rose Hendrix and Kiana Ehsani and Aniruddha Kembhavi and Bryan A. Plummer and Ranjay Krishna and Kuo-Hao Zeng and Kate Saenko},
68
+ year={2025},
69
+ eprint={2412.07755},
70
+ archivePrefix={arXiv},
71
+ primaryClass={cs.CV},
72
+ url={https://arxiv.org/abs/2412.07755},
73
+ }
74
+ ```