Spatialworld commited on
Commit
0382613
ยท
verified ยท
1 Parent(s): 068127c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +148 -44
README.md CHANGED
@@ -1,63 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # SpatialWorld Benchmark
2
 
3
- > **Anonymous Repository for NeurIPS 2026 Submission**
4
 
5
- This is an anonymous dataset repository for peer review purposes. All identifying information has been removed to maintain double-blind review compliance.
6
 
7
- ---
8
 
9
- ## Overview
10
 
11
- **SpatialWorld** is a comprehensive benchmark for evaluating embodied AI agents in complex 3D spatial reasoning and manipulation tasks. The benchmark encompasses diverse virtual environments and task types to assess agents' capabilities in understanding and interacting with physical spaces.
 
 
 
12
 
13
- ---
14
 
15
- ## Benchmark Components
 
 
 
 
 
 
 
16
 
17
- ### Environments
18
 
19
- The benchmark includes the following simulation environments:
 
 
 
 
 
 
 
 
 
20
 
21
- | Environment | Description | Tasks |
22
- |-------------|-------------|-------|
23
- | **AI2-THOR** | Indoor household environments | Object manipulation, navigation, and rearrangement tasks |
24
- | **CARLA** | Autonomous driving simulator | Driving scenarios and vehicle control tasks |
25
- | **VirtualHome** | Multi-agent household simulator | Multi-step task completion and social interactions |
26
- | **ProcTHOR** | Procedurally generated homes | Generalization across diverse household layouts |
27
- | **EmbodiedCity** | Urban environment simulation | City-scale navigation and exploration |
28
- | **Game** | Puzzle and game environments | Rubik's cube, maze solving, and 3D block puzzles |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
- ### Task Structure
31
 
32
- Each task in the benchmark contains:
33
 
34
- - **Task ID**: Unique identifier (e.g., `ai2thor00000`)
35
- - **Instruction**: Natural language description of the goal
36
- - **Scene/Environment**: The specific scene configuration
37
- - **Golden Actions**: Reference action sequence for task completion
38
- - **Success Conditions**: Formal criteria for task success evaluation
39
- - **Initial State**: Starting configuration via `init.json`
40
 
41
- ### Data Format
 
 
 
42
 
 
 
 
 
43
  ```
44
- benchmark/
45
- โ”œโ”€โ”€ ai2thor/tasks/{task_id}/
46
- โ”‚ โ”œโ”€โ”€ task.json # Task definition and success conditions
47
- โ”‚ โ””โ”€โ”€ init.json # Initial scene configuration
48
- โ”œโ”€โ”€ carla/tasks/{task_id}/
49
- โ”‚ โ”œโ”€โ”€ task.json
50
- โ”‚ โ””โ”€โ”€ init.json
51
- โ”œโ”€โ”€ embodiedcity/
52
- โ”‚ โ””โ”€โ”€ Datasets/
53
- โ”œโ”€โ”€ game/data/
54
- โ”‚ โ”œโ”€โ”€ rubik_cube/
55
- โ”‚ โ”œโ”€โ”€ maze3d/
56
- โ”‚ โ”œโ”€โ”€ maze3d_pro/
57
- โ”‚ โ””โ”€โ”€ Block3D/
58
- โ”œโ”€โ”€ procthor/
59
- โ”‚ โ””โ”€โ”€ tasks/
60
- โ””โ”€โ”€ virtualhome/
61
- โ””โ”€โ”€ tasks/
 
62
  ```
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-nc-4.0
5
+ tags:
6
+ - embodied-ai
7
+ - vision-language
8
+ - spatial-reasoning
9
+ - 3d-navigation
10
+ - multi-agent
11
+ datasets:
12
+ - ai2thor
13
+ - carla
14
+ - procthor
15
+ - virtualhome
16
+ - embodiedcity
17
+ size_categories:
18
+ - 1K<n<10K
19
+ ---
20
+
21
  # SpatialWorld Benchmark
22
 
23
+ **A Multi-Platform Benchmark for Spatial Reasoning and Embodied Task Execution**
24
 
25
+ ## ๐ŸŽฏ Overview
26
 
27
+ SpatialWorld is a comprehensive benchmark designed to evaluate spatial reasoning and embodied task execution capabilities of Multi-modal Large Language Models (MLLMs) and Vision-Language Models (VLMs). The benchmark spans multiple simulation platforms and diverse task categories.
28
 
29
+ ### Key Features
30
 
31
+ - **Multi-Platform Coverage**: AI2Thor, CARLA, ProcTHOR, VirtualHome, EmbodiedCity
32
+ - **Diverse Tasks**: Navigation, object manipulation, multi-agent coordination, and spatial reasoning
33
+ - **Unified Action Space**: Consistent action representation across all platforms
34
+ - **Rich Annotations**: Golden actions and success conditions for reproducible evaluation
35
 
36
+ ## ๐Ÿ“Š Dataset Statistics
37
 
38
+ | Platform | Scenarios | Tasks | Task Types |
39
+ |----------|-----------|-------|------------|
40
+ | AI2Thor | 120 | ~2,500 | Object manipulation, navigation |
41
+ | CARLA | 5 Towns | 80 | Urban navigation, traffic scenarios |
42
+ | ProcTHOR | Procedural | ~1,200 | Indoor navigation, household tasks |
43
+ | VirtualHome | 7 Houses | ~800 | Multi-agent household activities |
44
+ | EmbodiedCity | City-scale | ~400 | Real-world urban scenarios |
45
+ | Game Tasks | Various | 100 | Rubik's cube, maze solving, etc. |
46
 
47
+ ## ๐Ÿ—‚๏ธ Repository Structure
48
 
49
+ ```
50
+ benchmark/
51
+ โ”œโ”€โ”€ ai2thor/ # Indoor household environments
52
+ โ”œโ”€โ”€ carla/ # Urban driving simulation
53
+ โ”œโ”€โ”€ procthor/ # Procedurally generated homes
54
+ โ”œโ”€โ”€ virtualhome/ # Multi-agent household simulation
55
+ โ”œโ”€โ”€ embodiedcity/ # Large-scale urban environments
56
+ โ”œโ”€โ”€ game/ # Specialized spatial tasks
57
+ โ””โ”€โ”€ shared/ # Dual-agent coordination tasks
58
+ ```
59
 
60
+ ## ๐ŸŽฎ Unified Action Space
61
+
62
+ All tasks use a standardized action space:
63
+
64
+ ### Navigation
65
+ - `Move(direction, distance)` - direction: forward/backward/left/right
66
+
67
+ ### Viewpoint & Posture
68
+ - `Rotate(direction, angle)` - direction: left/right
69
+ - `Tilt(direction, angle)` - direction: up/down
70
+ - `ChangePosture(pose)` - standing/sitting/lying
71
+
72
+ ### Interaction
73
+ - `Pick(object)` - Pick up an object
74
+ - `Place(target)` - Place held object at target
75
+ - `ChangeState(object, state)` - Toggle object state (on/off)
76
+ - `Manipulate(object, action)` - Complex manipulation (open/close/clean/slice)
77
+
78
+ ### Task Control
79
+ - `EndTask(status)` - Terminate task (success/stopped)
80
+ - `Communicate(message)` - Agent-to-agent communication
81
+
82
+ ## ๐Ÿ“ Task Format
83
+
84
+ Each task contains:
85
+
86
+ ```json
87
+ {
88
+ "task_id": "ai2thor00000",
89
+ "task_name": "Place object in target",
90
+ "instruction": "Natural language task description",
91
+ "scene": "FloorPlan17",
92
+ "golden_actions": {
93
+ "steps": 10,
94
+ "actions": [
95
+ "Move(forward, 1.0)",
96
+ "Rotate(right, 90)",
97
+ "Pick(Object)",
98
+ "Place(Target)",
99
+ "EndTask(success)"
100
+ ]
101
+ },
102
+ "success_conditions": [...],
103
+ "max_steps": 50
104
+ }
105
+ ```
106
 
107
+ ## ๐Ÿ”ง Usage
108
 
109
+ ### Loading Tasks
110
 
111
+ ```python
112
+ import json
113
+ from pathlib import Path
 
 
 
114
 
115
+ def load_task(platform, task_id):
116
+ task_path = Path(f"benchmark/{platform}/tasks/{task_id}/task.json")
117
+ with open(task_path, 'r') as f:
118
+ return json.load(f)
119
 
120
+ # Example
121
+ task = load_task("ai2thor", "ai2thor00000")
122
+ print(task["instruction"])
123
+ print(task["golden_actions"]["actions"])
124
  ```
125
+
126
+ ### Action Parsing
127
+
128
+ ```python
129
+ import re
130
+
131
+ def parse_action(action_str):
132
+ """Parse action string to (action_name, args)"""
133
+ match = re.match(r'^(\w+)\(([^)]*)\)$', action_str)
134
+ if match:
135
+ name = match.group(1)
136
+ args = [arg.strip() for arg in match.group(2).split(',')]
137
+ return name, args
138
+ return None, None
139
+
140
+ # Example
141
+ action = "Move(forward, 1.0)"
142
+ name, args = parse_action(action)
143
+ # name: "Move", args: ["forward", "1.0"]
144
  ```
145
 
146
+ ## ๐Ÿ“ Evaluation
147
+
148
+ Tasks are evaluated based on:
149
+
150
+ 1. **Success Rate**: Percentage of tasks completed successfully
151
+ 2. **Action Efficiency**: Steps used vs. golden actions
152
+ 3. **Goal Achievement**: Satisfaction of success conditions
153
+
154
+ ### Success Conditions
155
+
156
+ - `object_state`: Target object in desired state
157
+ - `object_in_receptacle`: Object placed in correct container
158
+ - `polygon_area`: Agent reached target location
159
+ - `agent_near_object`: Agent within distance of target
160
+
161
+ ## ๐Ÿ“œ License
162
+
163
+ This dataset is released under CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0 International).
164
+
165
+ ---
166
+
167
+ **Note**: This is an anonymized version of the dataset prepared for peer review.