File size: 13,530 Bytes
b0420b5 c46a4c1 b0420b5 979e03c 4d93854 979e03c b0420b5 979e03c b0420b5 7efb58b b0420b5 7efb58b b0420b5 7efb58b b0420b5 7efb58b b0420b5 4d93854 b0420b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | ---
license: cc-by-4.0
task_categories:
- robotics
language:
- en
tags:
- robotics
- robot-manipulation
- 3d-point-tracking
- point-trajectories
- multi-view
- world-model
- simulation
- libero
pretty_name: LIBERO-VP
viewer: false
size_categories:
- 1K<n<10K
---
<p align="center">
<img src="https://huggingface.co/datasets/rooty2020/LIBERO-VP/resolve/main/assets/vpm-icon.png" alt="VPM" width="120">
</p>
<p align="center">
<a href="https://rootyjeon.github.io/video-point-model/"><img src="https://img.shields.io/badge/Project-Page-1f6feb.svg?logo=googlechrome&logoColor=white" alt="Project page"></a>
<a href="https://arxiv.org/abs/2610.28594"><img src="https://img.shields.io/badge/arXiv-2610.28594-b31b1b.svg?logo=arxiv&logoColor=white" alt="arXiv"></a>
<a href="https://github.com/rootyJeon/VPM"><img src="https://img.shields.io/badge/GitHub-Code-181717.svg?logo=github&logoColor=white" alt="GitHub"></a>
</p>
# LIBERO-VP
## Dataset Description
LIBERO-VP is a modified version of the [LIBERO benchmark datasets](https://libero-project.github.io/), created as
part of the **Video-Point Model (VPM)** project.
All 6,500 human demonstrations of the five LIBERO suites are replayed in simulation and re-rendered from three
calibrated cameras. Every frame comes with **persistent, metric 3D point trajectories** of the robot arm, the gripper
and the task-relevant objects, read directly from the simulator state, so they are exact and consistent across time
and across views.
- 🎥 3 synchronized views per episode: two exocentric cameras and the wrist camera (256×256, 20 fps)
- 📍 1,024 persistent 3D surface points per frame (512 arm + 256 gripper + 256 task objects), metric, in the camera frame
- 🦴 12 robot keypoints (base, links 1–7, hand, end-effector, fingers)
- 📷 intrinsics and extrinsics of every camera (per frame for the wrist camera)
- 📝 the LIBERO language instruction of every episode
<video src="https://huggingface.co/datasets/rooty2020/LIBERO-VP/resolve/main/assets/demo.mp4" poster="https://huggingface.co/datasets/rooty2020/LIBERO-VP/resolve/main/assets/example.png" autoplay loop muted playsinline controls width="100%"></video>
<p align="center"><em>Two LIBERO-10 episodes. 128 arm and gripper points and 40 points per target object (white rim) are projected onto agentview, frontview and the wrist camera; dot size and brightness follow camera depth, and trails show the last 10 frames (not drawn for the moving wrist camera).</em></p>
### Key Modifications
Compared to the original LIBERO datasets:
1. **Higher-resolution, multi-view video**: the episodes are re-rendered at 256×256 (vs. 128×128 in the original),
upright, from three cameras: LIBERO's `agentview`, an additional exocentric `frontview` camera that the original data
does not record, and the `robot0_eye_in_hand` wrist camera.
2. **Ground-truth 3D point trajectories** of the arm, the gripper and the objects the task acts on (see
[3D Point Trajectory Curation](#3d-point-trajectory-curation)).
3. **Robot keypoints**: 3D positions of 12 robot bodies per frame (`joints.npz`).
4. **Camera calibration**: pinhole intrinsics and world-to-camera extrinsics of every view, stored per frame for the
moving wrist camera.
5. **Deterministic state replay**: every demonstration is replayed from its recorded simulator states in the MuJoCo
model stored with the demonstration, so the videos and the trajectories describe exactly the recorded motion.
LIBERO episodes are short single tasks, so they are kept whole (no subtask split).
### 3D Point Trajectory Curation
The goal is metric, temporally consistent 3D trajectories of the action-relevant geometry over the whole episode
(Appendix B.2 of the paper).
**3D point extraction.** We start from the visual meshes of every robot link and of the manipulated objects. Surface
points are drawn on each mesh by area-weighted triangle sampling, **once**, in the mesh-local frame, with a fixed
random seed; the same points are reused for the whole episode. A fixed point budget goes to each action-relevant
component: **512 points on the Franka Panda arm** (links 0–7), **256 points on the Panda gripper**, and **256 points on
the target objects**. Within a component made of several meshes the budget is split roughly in proportion to mesh
surface area. A point $p^{\ell}_i$ sampled on body $\ell$ is placed in the world at time $t$ by the body pose,
$$p^{w}_{i,t} = R^{w}_{\ell,t}\, p^{\ell}_i + t^{w}_{\ell,t}.$$
Because $p^{\ell}_i$ is fixed, point $i$ is the same physical surface location in every frame, and the trajectories
carry no resampling noise. In simulation the poses $(R^{w}_{\ell,t}, t^{w}_{\ell,t})$ need no estimation: we replay the
recorded simulator state and query the per-frame pose of every mesh geom, object and camera directly
(`geom_xpos` / `geom_xmat` in MuJoCo).
**Target objects.** The objects come from the goal of the task (its BDDL goal predicates): the objects that are moved
and the fixture parts that are operated (e.g. the stove for *"turn on the stove"*); receptacles are excluded. When a
task has several targets, the 256 object points are split equally between them and concatenated in goal order
(`meta.json → object.targets` gives the split).
**Camera-frame trajectories and projection.** World trajectories are moved into each camera with its world-to-camera
extrinsics, $p^{c}_{i,t} = R^{c\leftarrow w}_t\, p^{w}_{i,t} + t^{c\leftarrow w}_t$. Point identities are unchanged by
this transformation, so the data gives explicit correspondences across time and across viewpoints.
**Filtering.** The calibration filter that the paper applies to real-robot data (projected CAD mask vs. SAM 2 mask)
is not needed here: cameras, robot and objects all come from the same simulator state.
**Output representation.** Each sample holds synchronized multi-view RGB, the persistent 3D surface-point
trajectories of the arm, gripper and target objects, and all camera metadata needed to reproduce the image-space
projections. Each point index refers to the same physical surface location across time and across camera views.
## Dataset Structure
```
LIBERO-VP/
├── README.md
├── assets/ # demo.mp4 and its poster example.png
├── manifest.json # every episode -> shard, suite, task, instruction, length; shard sizes and SHA-256
├── data/
│ ├── libero_10.tar # 500 episodes
│ ├── libero_90.tar # 4,500 episodes
│ ├── libero_goal.tar # 500 episodes
│ ├── libero_object.tar # 500 episodes
│ └── libero_spatial.tar # 500 episodes
└── tools/
├── visualize_sample.py # re-projects all 3D points onto the videos (calibration check)
└── render_demo.py # renders demo videos like the one above
```
Each shard holds one directory per episode, named `<suite prefix>_<task>_ep<NNNNNN>` (e.g.
`L10_KITCHEN_SCENE3_turn_on_the_stove_and_put_the_moka_pot_on_it_ep000000`):
```
<episode>/
├── view1.mp4 # agentview, 256x256, 20 fps
├── view2.mp4 # frontview, 256x256, 20 fps
├── ego.mp4 # wrist camera (robot0_eye_in_hand), 256x256, 20 fps
├── robot.npz # points: (T, 512, 3) float32
├── gripper.npz # points: (T, 256, 3) float32
├── object.npz # points: (T, 256, 3) float32
├── joints.npz # points: (T, 12, 3) float32 + names, parent, is_hand
└── meta.json
```
`T` is the episode length (`meta.json → n_frames`), and frame `t` of the three videos and of all point arrays is the
same instant.
## Data Format
### Point tracks
| file | key | shape | dtype | content |
|:--|:--|:--|:--|:--|
| `robot.npz` | `points` | `(T, 512, 3)` | float32 | Franka Panda arm surface points (links 0–7, no gripper) |
| `gripper.npz` | `points` | `(T, 256, 3)` | float32 | Panda gripper surface points, fingers included |
| `object.npz` | `points` | `(T, 256, 3)` | float32 | surface points of the task's target object(s) |
| `joints.npz` | `points` | `(T, 12, 3)` | float32 | positions of `robot0_base`, `robot0_link1..7`, `robot0_right_hand`, `gripper0_eef`, `gripper0_leftfinger`, `gripper0_rightfinger` |
| | `names`, `parent`, `is_hand` | `(12,)` | str, int64, bool | body names, kinematic parent index (−1 for the root), gripper flag |
All points are in meters, in the **`view1` camera frame** (OpenCV convention: +x right, +y down, +z forward). The
point order is fixed, so `points[:, i]` is one trajectory.
### `meta.json`
| field | content |
|:--|:--|
| `id`, `sample_id` | episode directory name |
| `task`, `task_category`, `episode` | LIBERO task (scene + instruction), suite (`libero_10`, `libero_90`, `libero_goal`, `libero_object`, `libero_spatial`), demo index |
| `lang`, `language_instructions`, `language_source` | LIBERO language instruction (from the task's BDDL file) |
| `robot_type` | `Panda` |
| `fps`, `n_frames`, `n_video_frames` | 20, episode length `T`, frames per video |
| `extrinsics_convention` | `"cam_from_world"` |
| `views.<view>.camera` | MuJoCo camera name |
| `views.<view>.intrinsics` | `fx, fy, cx, cy`, `width, height` (pinhole from the camera field of view, no distortion) |
| `views.<view>.T_cam_world` | world-to-camera matrix, `p_cam = T_cam_world @ [p_world; 1]`: 4×4 for the fixed `view1`/`view2`, `(T, 4, 4)` for the wrist camera `ego` |
| `object` | target objects: `goal_targets`, `goal_preds` (BDDL goal predicates), `targets` (body and number of points of each target, in `object.npz` order) |
| `points` | description and shape of each point file |
| `camera_moves` | `false` (the exocentric cameras are fixed) |
| `provenance` | source demonstration file and key in the LIBERO datasets, BDDL file, LIBERO commit, robosuite version, method |
### Projecting the points into a view
```python
import json, numpy as np
d = "L10_KITCHEN_SCENE3_turn_on_the_stove_and_put_the_moka_pot_on_it_ep000000"
meta = json.load(open(f"{d}/meta.json"))
pts = np.concatenate([np.load(f"{d}/{f}.npz")["points"] for f in ("robot", "gripper", "object")], axis=1) # (T, 1024, 3)
def view_T(v, t):
T = np.asarray(meta["views"][v]["T_cam_world"])
return T if T.ndim == 2 else T[t] # the wrist camera has one matrix per frame
t, v = 0, "ego"
T = view_T(v, t) @ np.linalg.inv(view_T("view1", t)) # view1 camera -> camera v
intr = meta["views"][v]["intrinsics"]
p = pts[t] @ T[:3, :3].T + T[:3, 3]
uv = np.stack([intr["fx"] * p[:, 0] / p[:, 2] + intr["cx"],
intr["fy"] * p[:, 1] / p[:, 2] + intr["cy"]], 1) # pixels, valid where p[:, 2] > 0
```
`tools/visualize_sample.py <episode_dir> --out vis.mp4` renders all views with the projected points.
## Statistics
| | |
|:--|:--|
| Episodes | 6,500 (130 tasks × 50 demonstrations) |
| Frames | 1,007,618 per view (14.0 h at 20 fps) |
| Episode length | 58–517 frames (median 142 ≈ 7.1 s, mean 155) |
| Views | 3 (agentview, frontview, wrist), 256×256, 20 fps |
| 3D points per frame | 1,024 (512 arm + 256 gripper + 256 objects) + 12 keypoints |
| Unique instructions | 112 |
| Robot | Franka Panda (simulated, robosuite / MuJoCo) |
| Size | 13.8 GB in 5 tar shards |
| suite | tasks | episodes | frames per episode (median, range) |
|:--|--:|--:|:--|
| `libero_10` | 10 | 500 | 263 (150–517) |
| `libero_90` | 90 | 4,500 | 141 (58–373) |
| `libero_goal` | 10 | 500 | 110 (75–347) |
| `libero_object` | 10 | 500 | 148 (114–254) |
| `libero_spatial` | 10 | 500 | 124 (75–197) |
## Usage
```bash
hf download rooty2020/LIBERO-VP --repo-type dataset --local-dir LIBERO-VP
cd LIBERO-VP && mkdir -p extracted && for t in data/*.tar; do tar -xf "$t" -C extracted; done
python tools/visualize_sample.py "extracted/L10_KITCHEN_SCENE3_turn_on_the_stove_and_put_the_moka_pot_on_it_ep000000" --out vis.mp4
python tools/render_demo.py extracted/<episode> --out demo.mp4 # needs av, matplotlib
```
`manifest.json` lists every episode with its shard, suite, task, instruction and length, plus the size and SHA-256 of
every shard.
## Original LIBERO Dataset
LIBERO-VP is derived from the LIBERO benchmark for lifelong robot learning:
- **Paper**: [LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning](https://arxiv.org/abs/2306.03310)
- **Website**: https://libero-project.github.io/
- **Repository**: https://github.com/Lifelong-Robot-Learning/LIBERO
- **License**: datasets CC BY 4.0, code MIT
## Citation
If you use this dataset, please cite both the original LIBERO paper and the VPM paper.
```bibtex
@article{jeon2026vpm,
title={Learning the 4D World through Point Trajectory Forecasting},
author={Jeon, Byungwoo and Hong, Sunghwan and Kim, Dohyeon and Lee, Jonghoon and Park, Jungwoo and Lee, Inhee and Baek, Doosan and Kim, Jinil and Lim, Taehyun and Joo, Hanbyul and Pollefeys, Marc and Xie, Saining and Shin, Jinwoo},
journal={arXiv preprint arXiv:2610.28594},
year={2026}
}
@article{liu2023libero,
title = {LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning},
author = {Liu, Bo and Zhu, Yifeng and Gao, Chongkai and Feng, Yihao and Liu, Qiang and Zhu, Yuke and Stone, Peter},
journal = {arXiv preprint arXiv:2306.03310},
year = {2023}
}
```
## License
LIBERO-VP is released under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
license, the license of the original LIBERO datasets.
|