EXOKERN1 commited on
Commit
4aacadc
·
verified ·
1 Parent(s): f74e663

Restore dataset card with images and add V1 Force Reduction results

Browse files
Files changed (1) hide show
  1. README.md +191 -53
README.md CHANGED
@@ -9,70 +9,184 @@ tags:
9
  - insertion
10
  - lerobot
11
  - isaac-lab
 
12
  - franka
13
  - simulation
14
  - benchmark
 
 
15
  language:
16
  - en
17
  size_categories:
18
  - 1K<n<10K
19
  task_categories:
20
  - robotics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
 
23
  # EXOKERN ContactBench v0 — Peg Insertion with Force/Torque
24
 
25
  <p align="center">
26
- <b>The first publicly available insertion dataset with calibrated force/torque annotations.</b>
 
27
  </p>
28
 
29
- ## What is this?
 
 
 
 
 
 
 
 
30
 
31
- This dataset contains **2,221 simulated peg-in-hole insertion episodes** with full **6-axis force/torque (wrench) data** at every timestep. It is generated in NVIDIA Isaac Lab using a Franka Emika Panda robot arm.
32
 
33
- **Why this matters:** Over 95% of existing robotics datasets lack force/torque data. Yet contact-rich manipulation tasks — insertion, assembly, cable routing — fundamentally require haptic feedback for reliable execution. This dataset fills that gap.
34
 
35
- ## Dataset Statistics
36
 
37
  | Metric | Value |
38
- |--------|-------|
39
  | Episodes | 2,221 |
40
  | Total Frames | 330,929 |
41
- | Avg Episode Length | 149 steps |
42
- | FPS | 20 Hz |
43
- | Format | LeRobot v3.0 (Parquet) |
44
  | Robot | Franka Emika Panda (7-DOF) |
45
- | Simulator | NVIDIA Isaac Lab 2.3.x |
46
- | Task | Peg-in-Hole Insertion (FORGE) |
47
  | Size | ~75 MB |
 
 
 
48
 
49
  ## Features
50
 
51
- Each frame contains:
52
 
53
  | Feature | Shape | Description |
54
- |---------|-------|-------------|
55
- | `observation.state` | (24,) | Flat observation tensor (joint pos/vel, ee pose, object pose) |
56
- | **`observation.wrench`** | **(6,)** | **Force/Torque [Fx,Fy,Fz,Mx,My,Mz] in N/Nm** |
57
- | `action` | (7,) | Joint position targets |
58
- | `task` | string | Task description |
 
 
 
 
 
 
59
 
60
- > **Note:** Isaac Lab Forge PegInsert uses `collapse_obs_dict` all observations are compressed into a flat 24-tensor. Force/Torque is extracted separately via `env.unwrapped.force_sensor_smooth`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  ## Quick Start
63
 
64
  ```python
65
  from lerobot.datasets.lerobot_dataset import LeRobotDataset
66
 
67
- dataset = LeRobotDataset("exokern/contactbench-forge-peginsert-v0")
 
68
  print(f"Episodes: {dataset.num_episodes}, Frames: {len(dataset)}")
69
 
70
- # Access a frame
71
  frame = dataset[0]
72
- wrench = frame["observation.wrench"] # Force/Torque tensor (6,)
73
- print(f"Force: {wrench[:3]} N, Torque: {wrench[3:]} Nm")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  ```
75
 
 
 
76
  ## Experimental Results: The Value of Force/Torque
77
 
78
  We trained a Behavior Cloning (BC) policy on this dataset to ablate the impact of Force/Torque data on the Peg-In-Hole task. Both policies achieve a 100% insertion success rate, but the difference in physical execution is massive:
@@ -84,57 +198,81 @@ We trained a Behavior Cloning (BC) policy on this dataset to ablate the impact o
84
 
85
  **Conclusion:** Both policies solve the geometric task. But the F/T-aware policy performs the insertion softly like an expert, reducing contact forces by **98.4%**. In industrial applications, this is the difference between a successful assembly and a damaged part.
86
 
 
 
87
  ## Data Collection
88
 
89
- - **Policy:** rl_games PPO, trained ~200 epochs (reward ~352)
90
- - **Environment:** `Isaac-Forge-PegInsert-Direct-v0` (NVIDIA Isaac Lab 2.3.x)
91
- - **Collection:** Single-environment rollout (`num_envs=1`), deterministic policy
92
- - **Force/Torque Source:** `env.unwrapped.force_sensor_smooth` (6-axis, smoothed)
93
- - **Episode Horizon:** Fixed 149 steps (no early termination)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
- ## Data Quality
 
 
96
 
97
- - **Sensor Bandwidth:** 20 Hz control frequency
98
- - **Force Range:** Typical Fx,Fy,Fz: [-50, 50] N; Mx,My,Mz: [-10, 10] Nm
99
- - **Noise Model:** Isaac Lab default contact dynamics (PhysX GPU)
100
- - **Domain Randomization:** Default FORGE PegInsert parameters
101
 
102
  ## Reproduction
103
 
104
- ```bash
105
- # 1. Train policy (~20-30 min on RTX 4090)
106
- ./isaaclab.sh -p scripts/reinforcement_learning/rl_games/train.py \
107
- --task Isaac-Forge-PegInsert-Direct-v0 --headless --num_envs 512
108
 
109
- # 2. Collect data (~2 episodes/min with num_envs=1)
110
- ./isaaclab.sh -p /workspace/play_with_logging.py \
111
- --task Isaac-Forge-PegInsert-Direct-v0 --headless --num_envs 1 \
112
- --checkpoint /path/to/Forge.pth
113
 
114
- # 3. Build LeRobot dataset (in conda env, NOT Isaac Sim Python!)
115
- python build_lerobot_dataset.py
116
- ```
 
 
 
 
 
 
 
117
 
118
  ## License
119
 
120
- CC-BY-NC 4.0 — Free for research and non-commercial use.
121
- Commercial licensing available from EXOKERN.
 
 
 
 
122
 
123
  ## About EXOKERN
124
 
125
  **EXOKERN — The Data Engine for Physical AI**
126
 
127
- We produce industrially calibrated force/torque manipulation data for enterprise robotics.
128
- Contact-rich. Sensor-annotated. Industrially validated.
 
 
 
129
 
130
  ## Citation
131
 
132
  ```bibtex
133
- @dataset{exokern_contactbench_v0_2026,
134
- title={EXOKERN ContactBench v0: Peg Insertion with Force/Torque},
135
- author={EXOKERN},
136
- year={2026},
137
- publisher={Hugging Face},
138
- url={https://huggingface.co/datasets/exokern/contactbench-forge-peginsert-v0}
139
  }
140
  ```
 
9
  - insertion
10
  - lerobot
11
  - isaac-lab
12
+ - forge
13
  - franka
14
  - simulation
15
  - benchmark
16
+ - physical-ai
17
+ - wrench
18
  language:
19
  - en
20
  size_categories:
21
  - 1K<n<10K
22
  task_categories:
23
  - robotics
24
+ dataset_info:
25
+ features:
26
+ - name: observation.state
27
+ dtype: float32
28
+ shape:
29
+ - 24
30
+ - name: observation.wrench
31
+ dtype: float32
32
+ shape:
33
+ - 6
34
+ - name: action
35
+ dtype: float32
36
+ shape:
37
+ - 7
38
+ - name: timestamp
39
+ dtype: float64
40
+ - name: frame_index
41
+ dtype: int64
42
+ - name: episode_index
43
+ dtype: int64
44
+ - name: index
45
+ dtype: int64
46
+ - name: task_index
47
+ dtype: int64
48
+ splits:
49
+ - name: train
50
+ num_examples: 330929
51
+ configs:
52
+ - config_name: default
53
+ data_files:
54
+ - split: train
55
+ path: "data/**/*.parquet"
56
  ---
57
 
58
  # EXOKERN ContactBench v0 — Peg Insertion with Force/Torque
59
 
60
  <p align="center">
61
+ <strong>The first publicly available insertion dataset with calibrated 6-axis force/torque annotations.</strong><br>
62
+ <em>Part of the <a href="https://huggingface.co/EXOKERN">ContactBench</a> collection by EXOKERN — The Data Engine for Physical AI</em>
63
  </p>
64
 
65
+ <p align="center">
66
+ <img src="force_profile_sample.png" alt="Force profile during peg insertion episode" width="720">
67
+ </p>
68
+
69
+ ---
70
+
71
+ ## Why This Dataset Exists
72
+
73
+ Over 95% of existing robotics manipulation datasets contain **no force/torque data**. Yet contact-rich tasks — insertion, threading, snap-fit assembly — fundamentally depend on haptic feedback for reliable execution. Vision alone cannot distinguish a jammed peg from a seated one.
74
 
75
+ This dataset provides **2,221 peg-in-hole insertion episodes** with full **6-axis wrench data at every timestep**, generated using the [FORGE](https://arxiv.org/abs/2408.04587) (Force-Guided Exploration) framework in NVIDIA Isaac Lab. Every frame captures what the robot *feels*, not just what it sees.
76
 
77
+ ---
78
 
79
+ ## Dataset Overview
80
 
81
  | Metric | Value |
82
+ |---|---|
83
  | Episodes | 2,221 |
84
  | Total Frames | 330,929 |
85
+ | Avg Episode Length | ~149 steps |
86
+ | Control Frequency | 20 Hz |
87
+ | Format | [LeRobot v3.0](https://github.com/huggingface/lerobot) (Parquet) |
88
  | Robot | Franka Emika Panda (7-DOF) |
89
+ | Simulator | NVIDIA Isaac Lab 2.3.x + PhysX GPU |
90
+ | Task | `Isaac-Forge-PegInsert-Direct-v0` |
91
  | Size | ~75 MB |
92
+ | License | CC-BY-NC 4.0 |
93
+
94
+ ---
95
 
96
  ## Features
97
 
98
+ Each frame contains the following tensors:
99
 
100
  | Feature | Shape | Description |
101
+ |---|---|---|
102
+ | `observation.state` | `(24,)` | Flattened observation vector see [State Tensor Semantics](#state-tensor-semantics) below |
103
+ | **`observation.wrench`** | **`(6,)`** | **6-axis force/torque: [Fx, Fy, Fz, Mx, My, Mz] see [Wrench Specification](#wrench-specification)** |
104
+ | `action` | `(7,)` | Delta end-effector pose command [dx, dy, dz, dRx, dRy, dRz] + success prediction |
105
+ | `timestamp` | scalar | Wall-clock time within episode (s) |
106
+ | `frame_index` | int | Frame position within episode |
107
+ | `episode_index` | int | Episode identifier |
108
+
109
+ ---
110
+
111
+ ## State Tensor Semantics
112
 
113
+ The `observation.state` tensor is a flat 24-element vector produced by FORGE's `collapse_obs_dict()`. It concatenates the following quantities in order:
114
+
115
+ | Index | Field | Dims | Unit | Description |
116
+ |---|---|---|---|---|
117
+ | 0–2 | `fingertip_pos` | 3 | m | End-effector (fingertip) position in world frame |
118
+ | 3–5 | `fingertip_pos_rel_fixed` | 3 | m | EE position relative to the socket (fixed part) |
119
+ | 6–9 | `fingertip_quat` | 4 | — | EE orientation as quaternion [w, x, y, z] |
120
+ | 10–12 | `ee_linvel` | 3 | m/s | End-effector linear velocity |
121
+ | 13–15 | `ee_angvel` | 3 | rad/s | End-effector angular velocity |
122
+ | 16–21 | `force_sensor_smooth` | 6 | N, N·m | Smoothed 6-axis wrench (same data as `observation.wrench`) |
123
+ | 22 | `force_threshold` | 1 | N | Maximum allowable contact force (FORGE parameter) |
124
+ | 23 | `ema_factor` | 1 | — | Exponential moving average smoothing coefficient |
125
+
126
+ > **Implementation reference:** These fields correspond to `OBS_DIM_CFG` in [`factory_env_cfg.py`](https://github.com/isaac-sim/IsaacLab/blob/main/source/isaaclab_tasks/isaaclab_tasks/direct/factory/factory_env_cfg.py) (indices 0–15) extended by the FORGE force-sensing additions (indices 16–23). See [Noseworthy et al., 2024](https://arxiv.org/abs/2408.04587) §III for details.
127
+
128
+ ---
129
+
130
+ ## Wrench Specification
131
+
132
+ | Property | Value |
133
+ |---|---|
134
+ | **Coordinate frame** | **End-effector body frame** (Franka `panda_hand` link) |
135
+ | **Convention** | [Fx, Fy, Fz, Mx, My, Mz] |
136
+ | **Force unit** | Newtons (N) |
137
+ | **Torque unit** | Newton-meters (N·m) |
138
+ | **Source** | `env.unwrapped.force_sensor_smooth` — Isaac Lab contact sensor with EMA smoothing |
139
+ | **Typical force range** | ±50 N per axis |
140
+ | **Typical torque range** | ±10 N·m per axis |
141
+
142
+ The wrench is reported at the **end-effector body frame** attached to the Franka gripper link. Forces are measured via Isaac Lab's `get_link_incoming_joint_force()` method applied to the wrist joint, then smoothed with an exponential moving average (EMA factor configurable, default 0.2).
143
+
144
+ > **Note:** `observation.wrench` contains the same data as `observation.state[16:22]`. The wrench is stored as a dedicated column for direct access without index arithmetic.
145
+
146
+ ---
147
 
148
  ## Quick Start
149
 
150
  ```python
151
  from lerobot.datasets.lerobot_dataset import LeRobotDataset
152
 
153
+ # Load dataset
154
+ dataset = LeRobotDataset("EXOKERN/contactbench-forge-peginsert-v0")
155
  print(f"Episodes: {dataset.num_episodes}, Frames: {len(dataset)}")
156
 
157
+ # Access a single frame
158
  frame = dataset[0]
159
+ state = frame["observation.state"] # (24,) — full observation
160
+ wrench = frame["observation.wrench"] # (6,) — force/torque
161
+
162
+ # Decompose wrench
163
+ force = wrench[:3] # [Fx, Fy, Fz] in N
164
+ torque = wrench[3:] # [Mx, My, Mz] in N·m
165
+ print(f"Force: {force} N")
166
+ print(f"Torque: {torque} N·m")
167
+
168
+ # Decompose state vector
169
+ ee_pos = state[0:3] # fingertip position (m)
170
+ ee_pos_rel = state[3:6] # position relative to socket (m)
171
+ ee_quat = state[6:10] # orientation quaternion
172
+ ee_linvel = state[10:13] # linear velocity (m/s)
173
+ ee_angvel = state[13:16] # angular velocity (rad/s)
174
+ wrench_state = state[16:22] # force/torque (N, N·m) — same as observation.wrench
175
+ f_threshold = state[22] # force threshold (N)
176
+ ema = state[23] # EMA smoothing factor
177
+ ```
178
+
179
+ ### Load with pure HuggingFace Datasets
180
+
181
+ ```python
182
+ from datasets import load_dataset
183
+
184
+ ds = load_dataset("EXOKERN/contactbench-forge-peginsert-v0", split="train")
185
+ print(ds[0].keys())
186
  ```
187
 
188
+ ---
189
+
190
  ## Experimental Results: The Value of Force/Torque
191
 
192
  We trained a Behavior Cloning (BC) policy on this dataset to ablate the impact of Force/Torque data on the Peg-In-Hole task. Both policies achieve a 100% insertion success rate, but the difference in physical execution is massive:
 
198
 
199
  **Conclusion:** Both policies solve the geometric task. But the F/T-aware policy performs the insertion softly like an expert, reducing contact forces by **98.4%**. In industrial applications, this is the difference between a successful assembly and a damaged part.
200
 
201
+ ---
202
+
203
  ## Data Collection
204
 
205
+ | Parameter | Value |
206
+ |---|---|
207
+ | **RL Algorithm** | rl_games PPO (~200 epochs, reward ~352) |
208
+ | **Environment** | `Isaac-Forge-PegInsert-Direct-v0` |
209
+ | **Collection mode** | Single-env rollout (`num_envs=1`), deterministic policy |
210
+ | **Episode horizon** | Fixed 149 steps (no early termination during collection) |
211
+ | **Sensor bandwidth** | 20 Hz (matched to control frequency) |
212
+ | **Contact dynamics** | PhysX GPU solver, Isaac Lab default parameters |
213
+ | **Domain randomization** | FORGE defaults (controller gains, friction, mass, dead-zone) |
214
+
215
+ ---
216
+
217
+ ## Intended Use
218
+
219
+ **Research applications:**
220
+ - Training and benchmarking force-aware manipulation policies
221
+ - Sim-to-real transfer studies for contact-rich assembly
222
+ - Hybrid vision + force/torque policy architectures
223
+ - Evaluating the effect of F/T data on manipulation performance
224
 
225
+ **Not intended for:**
226
+ - Direct deployment on physical robots without sim-to-real calibration
227
+ - Safety-critical applications without additional validation
228
 
229
+ ---
 
 
 
230
 
231
  ## Reproduction
232
 
233
+ Methodology documentation available upon request.
234
+ Visit [exokern.com](https://exokern.com) for details.
 
 
235
 
236
+ ---
 
 
 
237
 
238
+ ## Related Work
239
+
240
+ This dataset builds on the following research:
241
+
242
+ - **FORGE** — Noseworthy et al., "[Force-Guided Exploration for Robust Contact-Rich Manipulation under Uncertainty](https://arxiv.org/abs/2408.04587)" (ISRR 2024)
243
+ - **Factory** — Narang et al., "[Factory: Fast Contact for Robotic Assembly](https://arxiv.org/abs/2205.03532)" (RSS 2022)
244
+ - **IndustReal** — Tang et al., "[IndustReal: Transferring Contact-Rich Assembly Tasks from Simulation to Reality](https://arxiv.org/abs/2305.17110)" (RSS 2023)
245
+ - **LeRobot** — Cadene et al., "[LeRobot: State-of-the-art Machine Learning for Real-World Robotics](https://github.com/huggingface/lerobot)" (2024)
246
+
247
+ ---
248
 
249
  ## License
250
 
251
+ **CC-BY-NC 4.0** — Free for research and non-commercial use.
252
+
253
+ Commercial licensing and custom Contact Skill Packs available from EXOKERN.
254
+ Visit [exokern.com](https://exokern.com) for enterprise inquiries.
255
+
256
+ ---
257
 
258
  ## About EXOKERN
259
 
260
  **EXOKERN — The Data Engine for Physical AI**
261
 
262
+ We produce industrially calibrated force/torque manipulation data for enterprise robotics, humanoid manufacturers, and research institutions. Contact-rich. Sensor-annotated. Industrially validated.
263
+
264
+ 🌐 [exokern.com](https://exokern.com) · 🤗 [huggingface.co/EXOKERN](https://huggingface.co/EXOKERN)
265
+
266
+ ---
267
 
268
  ## Citation
269
 
270
  ```bibtex
271
+ @dataset{exokern_contactbench_peginsert_v0,
272
+ title = {ContactBench v0: Peg Insertion with Force/Torque},
273
+ author = {{EXOKERN}},
274
+ year = {2026},
275
+ url = {https://huggingface.co/datasets/EXOKERN/contactbench-forge-peginsert-v0},
276
+ note = {2,221 episodes, 330K frames, 6-axis F/T, LeRobot v3.0 format}
277
  }
278
  ```