Rewrite MA-Bench dataset card in English aligned with MAWAM model card
Browse files
README.md
CHANGED
|
@@ -1,20 +1,104 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
```text
|
| 14 |
-
|
| 15 |
├── README.md
|
| 16 |
└── tasks/
|
| 17 |
├── joint_bowl_placing/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
├── find_common_color/
|
| 19 |
├── hold_and_scan/
|
| 20 |
├── open_door_place_pot/
|
|
@@ -23,77 +107,108 @@ MAWAM-Data/
|
|
| 23 |
└── pour_and_catch/
|
| 24 |
```
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
└── episode80/
|
| 32 |
-
├── agent_a/
|
| 33 |
-
│ ├── trajectory.h5
|
| 34 |
-
│ └── videos/
|
| 35 |
-
│ ├── head.mp4
|
| 36 |
-
│ ├── left_wrist.mp4
|
| 37 |
-
│ └── right_wrist.mp4
|
| 38 |
-
└── agent_b/
|
| 39 |
-
├── trajectory.h5
|
| 40 |
-
└── videos/
|
| 41 |
-
├── head.mp4
|
| 42 |
-
├── left_wrist.mp4
|
| 43 |
-
└── right_wrist.mp4
|
| 44 |
-
```
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
-
| --- | --- | --- | --- | ---: |
|
| 50 |
-
| 联合放碗 | `joint_bowl_placing` | ALOHA,开始传递 | ALOHA,接碗并放至目标区 | 228,916 |
|
| 51 |
-
| 找共同色 | `find_common_color` | ALOHA,操作 A 侧方块 | ALOHA,操作 B 侧方块 | 33,570 |
|
| 52 |
-
| 持物扫码 | `hold_and_scan` | ALOHA,持物 | ALOHA,扫码 | 141,328 |
|
| 53 |
-
| 开门放锅 | `open_door_place_pot` | Panda,开门并扶门 | ALOHA,双臂放锅 | 156,532 |
|
| 54 |
-
| 抬盘保物 | `lift_tray_keep_objects` | ALOHA,抬盘 A 侧 | ALOHA,抬盘 B 侧 | 100,568 |
|
| 55 |
-
| 抬盘倒菜 | `lift_tray_pour_food` | ALOHA,协作抬盘和倾倒 | ALOHA,协作抬盘和倾倒 | 97,100 |
|
| 56 |
-
| 倒球接球 | `pour_and_catch` | Panda,倾倒小球 | UR5,移动接料盒 | 94,500 |
|
| 57 |
|
| 58 |
-
|
|
|
|
| 59 |
|
| 60 |
-
##
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
-
|
| 69 |
-
| --- | --- |
|
| 70 |
-
| `/action` | 形状为 `(N, D)` 的本角色原始动作。两角色在同一 episode 中共享 N 个控制时刻。D 由机器人决定,ALOHA 为 14,Panda 为 8,倒球接球的 UR5 为 7。 |
|
| 71 |
-
| `/tick` | 长度为 N 的控制时刻序号,从 0 开始。 |
|
| 72 |
-
| `/video_tick/<视角名>` | 每个视频帧对应的控制时刻序号。视角名和 MP4 文件名主干相同,例如 `head`。 |
|
| 73 |
-
| 文件属性 `scene_seed`、`control_hz` | 原场景 seed 和动作频率。 |
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
```python
|
| 82 |
from pathlib import Path
|
| 83 |
-
|
| 84 |
import cv2
|
| 85 |
import h5py
|
| 86 |
|
| 87 |
-
episode = Path("tasks/joint_bowl_placing/episode80")
|
|
|
|
| 88 |
for role in ("agent_a", "agent_b"):
|
| 89 |
folder = episode / role
|
| 90 |
-
with h5py.File(folder / "trajectory.h5", "r") as
|
| 91 |
-
tick = int(
|
| 92 |
-
action =
|
| 93 |
-
|
| 94 |
-
ok,
|
| 95 |
-
|
| 96 |
if not ok:
|
| 97 |
-
raise RuntimeError(f"
|
| 98 |
-
print(role, tick, action.shape,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
```
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- robotics
|
| 5 |
+
language:
|
| 6 |
+
- zh
|
| 7 |
+
- en
|
| 8 |
+
size_categories:
|
| 9 |
+
- n<1K
|
| 10 |
+
tags:
|
| 11 |
+
- robotics
|
| 12 |
+
- embodied-ai
|
| 13 |
+
- multi-agent
|
| 14 |
+
- manipulation
|
| 15 |
+
- benchmark
|
| 16 |
+
- simulation
|
| 17 |
+
- world-model
|
| 18 |
+
- world-action-model
|
| 19 |
+
- mawam
|
| 20 |
---
|
| 21 |
|
| 22 |
+
<div align="center">
|
| 23 |
|
| 24 |
+
# MA-Bench: Multi-Agent Collaborative Robot Manipulation Benchmark Dataset
|
| 25 |
|
| 26 |
+
<p>
|
| 27 |
+
<a href="https://embodiedcity.github.io/MAWAM/"><img src="https://img.shields.io/badge/Project-Page-2ea44f?style=flat-square" alt="Project Page"></a>
|
| 28 |
+
<a href="https://arxiv.org/abs/2611.29501"><img src="https://img.shields.io/badge/arXiv-2611.29501-b31b1b?style=flat-square" alt="arXiv"></a>
|
| 29 |
+
<a href="https://arxiv.org/pdf/2611.29501"><img src="https://img.shields.io/badge/Paper-PDF-d93025?style=flat-square" alt="Paper PDF"></a>
|
| 30 |
+
<a href="https://huggingface.co/EmbodiedCity/MAWAM"><img src="https://img.shields.io/badge/Checkpoints-MAWAM-ffd21e?style=flat-square&logo=huggingface" alt="MAWAM Checkpoints"></a>
|
| 31 |
+
<a href="https://github.com/EmbodiedCity/MAWAM"><img src="https://img.shields.io/badge/GitHub-Repo-181717?style=flat-square&logo=github" alt="GitHub"></a>
|
| 32 |
+
</p>
|
| 33 |
|
| 34 |
+
**Rongze Tang**<sup>1,3</sup>, **Chenyu Zhou**<sup>2,3</sup>, **Jianjie Fang**<sup>4</sup>, **Ziming Liu**<sup>4</sup>, **Zhaolu Wang**<sup>3</sup>, **Ziyou Wang**<sup>4</sup>,
|
| 35 |
+
**Xvyuan Liu**<sup>4</sup>, **Wei Wu**<sup>5</sup>, **Chen Gao**<sup>3,4,†</sup>, **Yong Li**<sup>4</sup>, **Zhibo Chen**<sup>1,3,†</sup>
|
| 36 |
+
|
| 37 |
+
<sup>1</sup>University of Science and Technology of China · <sup>2</sup>Nanjing University · <sup>3</sup>Zhongguancun Academy
|
| 38 |
+
<sup>4</sup>Tsinghua University · <sup>5</sup>Manifold AI
|
| 39 |
+
<sup>†</sup>Corresponding authors: `chgao96@gmail.com`, `chenzhibo@ustc.edu.cn`
|
| 40 |
+
|
| 41 |
+
<br>
|
| 42 |
+
<img src="https://embodiedcity.github.io/MAWAM/static/images/harness.png" alt="MA-Task Harness and MA-Bench Overview" width="96%">
|
| 43 |
+
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## Overview
|
| 49 |
+
|
| 50 |
+
**MA-Bench** is the dual-robot collaborative manipulation benchmark introduced in [**MAWAM: Joint Imagination for Collaborative Robot Manipulation with a Multi-Agent World Action Model**](https://arxiv.org/abs/2611.29501).
|
| 51 |
+
|
| 52 |
+
Designed along three formal axes of *multi-agent-necessary* manipulation — **Complementarity (*Why*)**, **Temporal Coupling (*When*)**, and **Embodiment (*Who*)** — and constructed via **MA-Task Harness**, this dataset provides **700 synchronized multi-robot expert demonstration pairs** (100 episodes per task across 7 tasks, totaling **852,514 synchronized joint control steps**).
|
| 53 |
+
|
| 54 |
+
- **Multi-Agent-Necessary Coverage**: Spans spatial handoffs, cross-table partial observability (information asymmetry), partially synchronous hold-and-act, and synchronous $SE(3)$ / dynamic co-manipulation.
|
| 55 |
+
- **Homogeneous & Heterogeneous Teams**: Covers dual ALOHA teams (`ALOHA + ALOHA`) as well as heterogeneous pairings (`Panda + ALOHA` and `Panda + UR5`), preserving native per-robot observations and action dimensions.
|
| 56 |
+
- **Synchronized Multi-View Video & Actions**: Every episode aligns both robots' egocentric RGB camera streams (`head`, `wrist` / `left_wrist`, `right_wrist`) with joint control ticks and hierarchical global + role-specific language instructions.
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## Tasks & Roles
|
| 61 |
+
|
| 62 |
+
| Task | Directory | Why (Complementarity) | When (Timing) | `agent_a` Role | `agent_b` Role | Episodes | Joint Control Steps |
|
| 63 |
+
| --- | --- | --- | --- | --- | --- | ---: | ---: |
|
| 64 |
+
| **Joint bowl placing** | [`tasks/joint_bowl_placing`](tasks/joint_bowl_placing) | Spatial | Asynchronous | ALOHA: pick bowl & place into handoff zone | ALOHA: receive bowl & place at goal | 100 | 228,916 |
|
| 65 |
+
| **Find common color** | [`tasks/find_common_color`](tasks/find_common_color) | Information | Asynchronous | ALOHA: pick shared-color block (side A) | ALOHA: pick shared-color block (side B) | 100 | 33,570 |
|
| 66 |
+
| **Hold and scan** | [`tasks/hold_and_scan`](tasks/hold_and_scan) | Spatial | Partially sync. | ALOHA: pick & hold target box | ALOHA: align & hold scanner on box | 100 | 141,328 |
|
| 67 |
+
| **Open door, place pot** | [`tasks/open_door_place_pot`](tasks/open_door_place_pot) | Capability | Partially sync. | Panda: open & hold spring-loaded door | ALOHA: dual-arm lift & place pot inside | 100 | 156,532 |
|
| 68 |
+
| **Lift tray, keep blocks** | [`tasks/lift_tray_keep_objects`](tasks/lift_tray_keep_objects) | Capability | Synchronous | ALOHA: co-lift tray (side A) | ALOHA: co-lift tray (side B) | 100 | 100,568 |
|
| 69 |
+
| **Lift tray, pour food** | [`tasks/lift_tray_pour_food`](tasks/lift_tray_pour_food) | Capability | Synchronous | ALOHA: co-lift & tilt tray to pour | ALOHA: co-lift & tilt tray to pour | 100 | 97,100 |
|
| 70 |
+
| **Pour and catch** | [`tasks/pour_and_catch`](tasks/pour_and_catch) | Capability | Synchronous | Panda: tilt hopper to pour spheres | UR5: track stream with catching cup | 100 | 94,500 |
|
| 71 |
+
| **Total** | — | — | — | — | — | **700** | **852,514** |
|
| 72 |
+
|
| 73 |
+
> **Dataset Notes**:
|
| 74 |
+
> - `find_common_color` provides 100 balanced episodes across five target color categories (red, orange, yellow, blue, purple; 20 pairs each).
|
| 75 |
+
> - `lift_tray_keep_objects` demonstrations use the single-ball training scene setup (evaluated on stacked blocks in MA-Bench).
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Repository Structure
|
| 80 |
+
|
| 81 |
+
All seven tasks follow an identical layout: each task directory contains one `instructions.json` and 100 episode folders numbered `episode0` through `episode99` (unpadded decimal). Each episode contains `agent_a/` and `agent_b/`, each holding `trajectory.h5` and per-camera MP4 videos under `videos/`.
|
| 82 |
|
| 83 |
```text
|
| 84 |
+
EmbodiedCity/MA-Bench/
|
| 85 |
├── README.md
|
| 86 |
└── tasks/
|
| 87 |
├── joint_bowl_placing/
|
| 88 |
+
│ ├── instructions.json
|
| 89 |
+
│ └── episode0/ ... episode99/
|
| 90 |
+
│ ├── agent_a/
|
| 91 |
+
│ │ ├── trajectory.h5
|
| 92 |
+
│ │ └── videos/
|
| 93 |
+
│ │ ├── head.mp4
|
| 94 |
+
│ │ ├── left_wrist.mp4
|
| 95 |
+
│ │ └── right_wrist.mp4
|
| 96 |
+
│ └── agent_b/
|
| 97 |
+
│ ├── trajectory.h5
|
| 98 |
+
│ └── videos/
|
| 99 |
+
│ ├── head.mp4
|
| 100 |
+
│ ├── left_wrist.mp4
|
| 101 |
+
│ └── right_wrist.mp4
|
| 102 |
├── find_common_color/
|
| 103 |
├── hold_and_scan/
|
| 104 |
├── open_door_place_pot/
|
|
|
|
| 107 |
└── pour_and_catch/
|
| 108 |
```
|
| 109 |
|
| 110 |
+
---
|
| 111 |
|
| 112 |
+
## Data Format
|
| 113 |
+
|
| 114 |
+
### Instructions (`instructions.json`)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
+
Each task's `instructions.json` contains four fields shared across all 100 episodes of that task:
|
| 117 |
+
- `task`: canonical task directory name.
|
| 118 |
+
- `instruction`: team-level global task instruction ($g$).
|
| 119 |
+
- `agent_a` / `agent_b`: role-specific local instructions ($\ell^A, \ell^B$).
|
| 120 |
|
| 121 |
+
### Egocentric Camera Videos (`videos/`)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
+
- **Dual-arm ALOHA**: `head.mp4`, `left_wrist.mp4`, `right_wrist.mp4` (3 views).
|
| 124 |
+
- **Single-arm Panda / UR5**: `head.mp4`, `wrist.mp4` (2 native views).
|
| 125 |
|
| 126 |
+
### Trajectory Schema (`trajectory.h5`)
|
| 127 |
|
| 128 |
+
| HDF5 Path / Attribute | Description |
|
| 129 |
+
| --- | --- |
|
| 130 |
+
| `/action` | Shape `(N, D)` native per-agent control actions synchronized across both roles for all `N` ticks (`D = 14` for ALOHA, `D = 8` for Panda, `D = 7` for UR5 in `pour_and_catch`). |
|
| 131 |
+
| `/tick` | Length-`N` integer control tick index starting at `0`. |
|
| 132 |
+
| `/video_tick/<view>` | Control tick index corresponding to each frame of `videos/<view>.mp4` (e.g., `video_tick/head`). |
|
| 133 |
+
| Attr `scene_seed`, `control_hz` | Simulation scene seed and control frequency (25 Hz). |
|
| 134 |
|
| 135 |
+
> **Synchronization Tip**: Control actions are recorded at 25 Hz across all tasks, while video capture rates vary by task (e.g., 25 Hz for `joint_bowl_placing`, 6.25 Hz for `open_door_place_pot`). Always index `/action` via `/video_tick/<view>` to align video frames with exact control steps.
|
| 136 |
|
| 137 |
+
---
|
| 138 |
|
| 139 |
+
## Download & Quickstart
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
|
| 141 |
+
### Download a single task or the full benchmark
|
| 142 |
|
| 143 |
+
```bash
|
| 144 |
+
pip install -U huggingface_hub
|
| 145 |
+
|
| 146 |
+
# Example: download Open door, place pot only
|
| 147 |
+
hf download EmbodiedCity/MA-Bench \
|
| 148 |
+
--repo-type dataset \
|
| 149 |
+
--include "tasks/open_door_place_pot/*" \
|
| 150 |
+
--local-dir ./ma_bench
|
| 151 |
+
|
| 152 |
+
# Or download all 7 tasks
|
| 153 |
+
hf download EmbodiedCity/MA-Bench \
|
| 154 |
+
--repo-type dataset \
|
| 155 |
+
--local-dir ./ma_bench
|
| 156 |
+
```
|
| 157 |
|
| 158 |
+
### Read synchronized videos and actions in Python
|
| 159 |
+
|
| 160 |
+
```bash
|
| 161 |
+
pip install h5py opencv-python
|
| 162 |
+
```
|
| 163 |
|
| 164 |
```python
|
| 165 |
from pathlib import Path
|
|
|
|
| 166 |
import cv2
|
| 167 |
import h5py
|
| 168 |
|
| 169 |
+
episode = Path("ma_bench/tasks/joint_bowl_placing/episode80")
|
| 170 |
+
|
| 171 |
for role in ("agent_a", "agent_b"):
|
| 172 |
folder = episode / role
|
| 173 |
+
with h5py.File(folder / "trajectory.h5", "r") as traj:
|
| 174 |
+
tick = int(traj["video_tick/head"][0])
|
| 175 |
+
action = traj["action"][tick]
|
| 176 |
+
cap = cv2.VideoCapture(str(folder / "videos" / "head.mp4"))
|
| 177 |
+
ok, frame = cap.read()
|
| 178 |
+
cap.release()
|
| 179 |
if not ok:
|
| 180 |
+
raise RuntimeError(f"Failed to decode first head frame for {role}")
|
| 181 |
+
print(role, f"tick={tick}", f"action={action.shape}", f"frame={frame.shape}")
|
| 182 |
+
```
|
| 183 |
+
|
| 184 |
+
---
|
| 185 |
+
|
| 186 |
+
## Related Resources
|
| 187 |
+
|
| 188 |
+
- **Model Checkpoints (MAWAM)**: [EmbodiedCity/MAWAM](https://huggingface.co/EmbodiedCity/MAWAM)
|
| 189 |
+
- **Project Page & Demos**: [embodiedcity.github.io/MAWAM](https://embodiedcity.github.io/MAWAM/)
|
| 190 |
+
- **Paper**: [arXiv:2611.29501](https://arxiv.org/abs/2611.29501) ([PDF](https://arxiv.org/pdf/2611.29501))
|
| 191 |
+
- **GitHub Repository**: [github.com/EmbodiedCity/MAWAM](https://github.com/EmbodiedCity/MAWAM)
|
| 192 |
+
|
| 193 |
+
---
|
| 194 |
+
|
| 195 |
+
## License & Acknowledgements
|
| 196 |
+
|
| 197 |
+
- This dataset is released under the **MIT** license.
|
| 198 |
+
- Built on simulation infrastructure adapted from [RoboTwin](https://github.com/TianxingChen/RoboTwin), [SAPIEN](https://sapien.ucsd.edu/), and [ALOHA](https://tonyzhaozh.github.io/aloha/).
|
| 199 |
+
|
| 200 |
+
---
|
| 201 |
+
|
| 202 |
+
## Citation
|
| 203 |
+
|
| 204 |
+
```bibtex
|
| 205 |
+
@article{tang2026mawam,
|
| 206 |
+
title = {MAWAM: Joint Imagination for Collaborative Robot Manipulation
|
| 207 |
+
with a Multi-Agent World Action Model},
|
| 208 |
+
author = {Rongze Tang and Chenyu Zhou and Jianjie Fang and Ziming Liu and
|
| 209 |
+
Zhaolu Wang and Ziyou Wang and Xvyuan Liu and Wei Wu and
|
| 210 |
+
Chen Gao and Yong Li and Zhibo Chen},
|
| 211 |
+
journal = {arXiv preprint arXiv:2611.29501},
|
| 212 |
+
year = {2026}
|
| 213 |
+
}
|
| 214 |
```
|