Update README for 2026-04-23 recollection
Browse files
README.md
CHANGED
|
@@ -1,151 +1,132 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
- isaac-lab
|
| 10 |
-
- manipulation
|
| 11 |
-
- physrepa
|
| 12 |
-
- benchmark
|
| 13 |
-
pretty_name: Dynamics Probing Benchmark Dataset
|
| 14 |
size_categories:
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# Dynamics Probing
|
| 19 |
-
|
| 20 |
-
Physics-varied manipulation episodes for probing whether video encoders encode contact dynamics in their intermediate representations.
|
| 21 |
-
|
| 22 |
-
## Overview
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
**Purpose**: Dynamics probing — train linear probes on frozen video encoder features to predict physics quantities (contact force, friction coefficient, object velocity, etc.) and identify which layers encode contact dynamics.
|
| 27 |
|
| 28 |
## Tasks
|
| 29 |
|
| 30 |
-
| Task | Episodes | Policy | Physics
|
| 31 |
-
|------|---------
|
| 32 |
-
|
|
| 33 |
-
|
|
| 34 |
-
|
|
| 35 |
-
|
|
| 36 |
-
|
|
| 37 |
-
|
|
|
|
|
| 38 |
|
| 39 |
-
##
|
| 40 |
|
| 41 |
-
|
| 42 |
```
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
├── info.json
|
| 53 |
-
├── episodes.jsonl
|
| 54 |
-
├── tasks.jsonl
|
| 55 |
-
└── stats.json
|
| 56 |
```
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
| `observation.images.image_0` | video | Table camera RGB 384x384 |
|
| 65 |
-
| `observation.images.image_1` | video | Wrist camera RGB 384x384 |
|
| 66 |
|
| 67 |
-
##
|
| 68 |
|
| 69 |
-
|
| 70 |
-
- `
|
|
|
|
|
|
|
| 71 |
|
| 72 |
-
|
| 73 |
-
- `physics_gt.object_position` (3), `object_velocity` (3), `object_angular_velocity` (3), `object_acceleration` (3)
|
| 74 |
-
- `physics_gt.contact_finger_l_object_flag` (1), `contact_finger_l_object_force` (3)
|
| 75 |
-
- `physics_gt.contact_object_surface_flag` (1), `contact_object_surface_force` (3)
|
| 76 |
-
- `physics_gt.object_to_target_distance` (1), `object_on_surface` (1)
|
| 77 |
-
- Strike only: `physics_gt.ball_planar_travel_distance` (1)
|
| 78 |
|
| 79 |
-
**
|
| 80 |
-
- `
|
| 81 |
-
- `
|
| 82 |
-
- `
|
| 83 |
-
- Pair contacts: `contact_finger_l_peg_*`, `contact_finger_r_peg_*`, `contact_peg_socket_*`
|
| 84 |
|
| 85 |
-
**NutThread**
|
| 86 |
-
- `
|
| 87 |
-
- `
|
| 88 |
-
- `
|
| 89 |
-
-
|
|
|
|
| 90 |
|
| 91 |
-
**Drawer**
|
| 92 |
-
- `
|
| 93 |
-
- `
|
| 94 |
-
- `physics_gt.drawer_opening_extent` (1)
|
| 95 |
-
- Pair contacts: `contact_finger_l_handle_*`, `contact_finger_r_handle_*`
|
| 96 |
|
| 97 |
-
|
| 98 |
-
- `physics_gt.target_position` (3), `ee_to_target_distance` (1)
|
| 99 |
|
| 100 |
-
|
|
|
|
|
|
|
| 101 |
|
| 102 |
-
|
| 103 |
-
-
|
| 104 |
-
-
|
| 105 |
-
-
|
| 106 |
-
- Drawer: `drawer_joint_damping`, `handle_static_friction`
|
| 107 |
|
| 108 |
-
##
|
| 109 |
|
| 110 |
-
|
| 111 |
-
- **Robot**: Franka Panda (all tasks)
|
| 112 |
-
- **Control**: Differential IK (position-only for Push/Strike, pose for others)
|
| 113 |
-
- **Cameras**: 384x384 RGB, table_cam (third-person) + wrist_cam
|
| 114 |
-
- **Physics**: PhysX GPU, dt=0.01s, decimation=2 (50Hz control)
|
| 115 |
|
| 116 |
-
##
|
| 117 |
|
| 118 |
-
|
| 119 |
|
| 120 |
-
**
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
-
##
|
| 123 |
|
| 124 |
-
-
|
| 125 |
-
-
|
| 126 |
-
|
| 127 |
-
- `nut_thread_rl_games.pth` — NutThread (rl_games, reward 952)
|
| 128 |
-
- `drawer_rsl_rl.pt` — Drawer (RSL-RL, model_4999)
|
| 129 |
-
- **Environment**: `environment_info.json` and `pip_freeze.txt` in this repo
|
| 130 |
-
- **Platform**: Isaac Sim 4.5.0, Isaac Lab v2.2.1, Python 3.10, CUDA 12.8, 4x NVIDIA A6000
|
| 131 |
|
| 132 |
-
##
|
| 133 |
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
|
|
|
| 138 |
|
| 139 |
-
|
| 140 |
-
/isaac-sim/python.sh collect_sample_data.py --task push --num_episodes 1500 --num_envs 16 --step0 --output_dir <OUT> --headless
|
| 141 |
|
| 142 |
-
#
|
| 143 |
-
/isaac-sim/python.sh collect_sample_data.py --task peg_insert --num_episodes 2500 --num_envs 200 --filter_success --rl_checkpoint checkpoints/peg_insert_rl_games.pth --output_dir <OUT> --headless
|
| 144 |
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
|
|
|
| 148 |
|
| 149 |
-
##
|
| 150 |
|
| 151 |
-
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
+
- robotics
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
pretty_name: PhysProbe Dynamics Probing Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
size_categories:
|
| 10 |
+
- 10K<n<100K
|
| 11 |
+
tags:
|
| 12 |
+
- robotics
|
| 13 |
+
- isaac-lab
|
| 14 |
+
- physics
|
| 15 |
+
- probing
|
| 16 |
+
- manipulation
|
| 17 |
+
- franka
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# PhysProbe Dynamics Probing Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
Manipulation episodes from Isaac Lab collected for probing physics understanding in video world models (V-JEPA 2, VideoMAE, DINOv2). Each episode includes dual-camera RGB (384×384), robot state, scripted/RL actions, and per-timestep physics ground truth (contact forces, object kinematics, physics randomization parameters).
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Tasks
|
| 25 |
|
| 26 |
+
| Task | Episodes | Policy | Physics Randomization |
|
| 27 |
+
|------|---------:|--------|------------------------|
|
| 28 |
+
| Push | 1,500 | Scripted (random direction, no target — Step 0) | mass, obj_friction, surface_friction |
|
| 29 |
+
| Strike | 3,000 | Scripted (random direction, no target — Step 0) | mass, friction, surface_friction, restitution |
|
| 30 |
+
| Reach | 600 | Scripted | None (negative control) |
|
| 31 |
+
| Drawer | 2,000 | RL (RSL_RL) | drawer_joint_damping |
|
| 32 |
+
| PegInsert | 2,500 | Scripted (Factory) | held_friction, fixed_friction, held_mass |
|
| 33 |
+
| NutThread | 2,500 | Scripted (Factory) | held_friction, fixed_friction, held_mass |
|
| 34 |
+
| **Total** | **12,100** | | |
|
| 35 |
|
| 36 |
+
## Format
|
| 37 |
|
| 38 |
+
LeRobot V2 layout. Per-task:
|
| 39 |
```
|
| 40 |
+
<task>/
|
| 41 |
+
data/chunk-000/episode_NNNNNN.parquet
|
| 42 |
+
videos/chunk-000/observation.images.image_0/episode_NNNNNN.mp4 # table_cam
|
| 43 |
+
videos/chunk-000/observation.images.image_1/episode_NNNNNN.mp4 # wrist_cam
|
| 44 |
+
meta/info.json
|
| 45 |
+
meta/episodes.jsonl
|
| 46 |
+
meta/tasks.jsonl
|
| 47 |
+
meta/stats.json
|
| 48 |
+
meta/modality.json
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
```
|
| 50 |
|
| 51 |
+
Per-episode parquet columns:
|
| 52 |
+
- `observation.state` (8D): 7 joint positions + 1 gripper
|
| 53 |
+
- `action` (3–8D, task-dependent)
|
| 54 |
+
- `next.reward`, `next.done`
|
| 55 |
+
- `physics_gt.*` (task-specific — see below)
|
| 56 |
+
- Frame index, timestep, episode index metadata
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
## Physics Ground Truth (`physics_gt.*`)
|
| 59 |
|
| 60 |
+
### Common across all tasks
|
| 61 |
+
- `ee_position` (3), `ee_orientation` (4), `ee_velocity` (3), `ee_angular_velocity` (3) — end-effector kinematics
|
| 62 |
+
- `joint_pos` (7), `joint_vel` (7) — arm joint state
|
| 63 |
+
- `phase` (1) — task phase label (task-dependent enum; 7 = idle)
|
| 64 |
|
| 65 |
+
### Contact fields (per task)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
+
**Push, Strike, Reach:**
|
| 68 |
+
- `contact_flag` (1), `contact_force` (3), `contact_point` (3) — aggregate ee↔object + object↔surface
|
| 69 |
+
- `contact_finger_l_object_flag/force`, `contact_finger_r_object_flag/force` — per-finger ee↔object (new in 2026-04-23)
|
| 70 |
+
- `contact_object_surface_flag/force` — object↔surface (new in 2026-04-23)
|
|
|
|
| 71 |
|
| 72 |
+
**PegInsert, NutThread:**
|
| 73 |
+
- `contact_flag` (1), `contact_force` (3), `contact_point` (3) — aggregate
|
| 74 |
+
- `contact_finger_l_peg_flag/force`, `contact_finger_r_peg_flag/force` (PegInsert) — finger↔peg
|
| 75 |
+
- `contact_finger_l_nut_flag/force`, `contact_finger_r_nut_flag/force` (NutThread) — finger↔nut
|
| 76 |
+
- `contact_peg_socket_flag/force` (PegInsert) — peg↔hole (reconstructed as residual from peg total contact minus finger reactions; direct pair filter unsupported in Factory direct env)
|
| 77 |
+
- `contact_nut_bolt_flag/force` (NutThread) — nut↔bolt (direct exact-pair sensor)
|
| 78 |
|
| 79 |
+
**Drawer:**
|
| 80 |
+
- `handle_position` (3), `handle_velocity` (3)
|
| 81 |
+
- `drawer_joint_pos` (1), `drawer_joint_vel` (1)
|
|
|
|
|
|
|
| 82 |
|
| 83 |
+
### Task-specific kinematics
|
|
|
|
| 84 |
|
| 85 |
+
**Push/Strike/Reach (Step 0):**
|
| 86 |
+
- `object_position` (3), `object_orientation` (4), `object_velocity` (3), `object_angular_velocity` (3)
|
| 87 |
+
- `target_position` (3) — placeholder `[0, 0, 0]` (no target in Step 0)
|
| 88 |
|
| 89 |
+
**PegInsert/NutThread:**
|
| 90 |
+
- `held_position` (3), `held_orientation` (4), `held_velocity` (3), `held_angular_velocity` (3) — peg/nut kinematics
|
| 91 |
+
- `fixed_position` (3), `fixed_orientation` (4) — hole/bolt pose
|
| 92 |
+
- `insertion_depth` (1) — peg_insert only
|
|
|
|
| 93 |
|
| 94 |
+
### Physics randomization parameters (per episode)
|
| 95 |
|
| 96 |
+
Stored in episode metadata (`physics_gt.*_{static,dynamic}_friction`, `*_mass`, etc.) — see per-task schema above for exact fields.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
## 2026-04-23 Recollection Note
|
| 99 |
|
| 100 |
+
The previous version of this dataset (before 2026-04-23) had a data-collection bug: contact forces were zero-filled across all tasks because the sensor configuration did not use the proper body filters / the Factory direct env does not support `get_net_contact_forces` on `ArticulationView`. This version fixes the following:
|
| 101 |
|
| 102 |
+
1. **Push, Strike, Drawer, Reach**: Per-pair `ContactSensor` with `filter_prim_paths_expr` on finger/object bodies → real nonzero contact forces.
|
| 103 |
+
2. **NutThread**: Direct exact-pair sensor (`contact_nut_bolt_*`) → direct nut↔bolt force.
|
| 104 |
+
3. **PegInsert**: GPU pair filtering on hole is unsupported in direct Factory env. Peg↔socket contact is reconstructed as a **residual**: `F_peg_socket = F_peg_total - F_finger_l_peg - F_finger_r_peg` (Newton's 3rd law). This is sparser and noisier than a direct sensor; finger-grip force dominates and is subtracted, so pay attention when using `contact_peg_socket_*` for downstream probing.
|
| 105 |
+
4. **Phase label**: Now correctly tracks scripted policy state transitions (previously always 7/idle for RL policies).
|
| 106 |
|
| 107 |
+
### Known caveats (unchanged from previous release)
|
| 108 |
|
| 109 |
+
- Push/Strike are Step 0: no target, `success=True` for all, `target_position=[0,0,0]`.
|
| 110 |
+
- Drawer randomizes only `drawer_joint_damping` (Isaac Lab env limitation — handle friction/mass are fixed).
|
| 111 |
+
- Factory tasks (PegInsert, NutThread): collection uses scripted policy; success rate is low for unguided inserts.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
## Collection Pipeline
|
| 114 |
|
| 115 |
+
- Isaac Sim 4.5 / Isaac Lab v2.2.1
|
| 116 |
+
- Scripted oracle policies + optional RL checkpoints (`rl_games` for Factory, `rsl_rl` for Drawer)
|
| 117 |
+
- Dual camera rendering at 384×384, 15 fps
|
| 118 |
+
- `num_envs` per task: 8 (Factory), 16 (others) parallel
|
| 119 |
+
- Hardware: 4× NVIDIA A6000 48 GB
|
| 120 |
|
| 121 |
+
Collection script: [Leesangoh/PhysREPA_Tasks](https://github.com/Leesangoh/PhysREPA_Tasks) (`archive_data_collection/collect_sample_data.py`).
|
|
|
|
| 122 |
|
| 123 |
+
## Intended use
|
|
|
|
| 124 |
|
| 125 |
+
This dataset is designed for **probing physics understanding** in pretrained video encoders:
|
| 126 |
+
- Linear probes from mean-pooled features onto `physics_gt.*` targets
|
| 127 |
+
- Temporal-aligned window-level probing (per-window features → per-window targets)
|
| 128 |
+
- Do NOT episode-mean aggregate features/targets for kinematic probing — that collapses temporal structure and produces misleading results.
|
| 129 |
|
| 130 |
+
## Citation
|
| 131 |
|
| 132 |
+
TBD (paper in preparation).
|