Engineering Blog · 280 GPUs RoboScience · Data Infrastructure 2026

Building a 250M-Grasp Data Flywheel: PPO Reward Shaping & Tiny-Object Synthesis

Why data quality beat parameter count in dexterous manipulation—and the two engines (reward-shaped PPO + 0-to-1 antipodal/cuRobo) we scaled across 280 GPUs.

TL;DR

Under behavior cloning for cross-embodiment manipulation, making the model bigger barely moved real-world success; fixing what the training data actually teaches did. I inherited and upgraded our Isaac Gym PPO grasp pipeline via friction-cone reward shaping (cutting convergence from >10M to ~3M steps and lifting hard pairs from <0.2 to >0.5), built a 0-to-1 analytic antipodal/tripod + batched cuRobo pipeline for cm-scale tiny objects (10.63M+ Isaac SimFilter grasps down to 1 cm³), and orchestrated both across a fault-tolerant 35-node / 280-GPU cluster (250.2M+ samples).

280 GPUs · 250.2M+
PPO >10M → ~3M Steps
10.63M+ Tiny (1 cm³)
0.00 mm Tripod IK
Production grasp reel rendered directly from six migrated Zarr datasets across five embodiments (Wuji Hand tall 266 mm object, XHand tiny 15 mm object, XHand Pro challenging full-view, xHand-3Eye tiny single-view, xArm Gripper single-view, and Wuji single-view; 0.05 to 0.66 mm min mesh-to-cloud separation), followed by close-ups and six distinct Wuji grasps on one tall object.
System Overview

Five-Stage Closed-Loop Data Flywheel

Real-robot and simulation failure audits drive targeted RL and analytic generation rather than blind dataset scaling.

01 · AUDIT Coverage & Gap Analysis

Per-hand, scale, and grasp-taxonomy audits from sim + real rollouts.

02 · TRACK 1 (RL) Reward-Shaped Isaac PPO

Hold-stability × friction-cone antipodal rewards (~3M steps, 3× faster).

03 · TRACK 2 (0→1) Tiny-Object Antipodal + cuRobo

12k contacts → batched cuRobo IK → Isaac SimFilter (10.63M+ grasps, ≥1 cm³).

04 · BACKBONE 280-GPU Dynamic Scheduler

Atomic mkdir claims, heartbeats, content-verified completion across 35 nodes.

TRACK 1 · PPO GRASP SYNTHESIS (INHERITED & UPGRADED)

What Broke When Scaling Inherited PPO to Five New Hands

We inherited an Isaac Gym floating-hand PPO pipeline (2,048 parallel environments per GPU, one policy per hand × object shard) built around a two-phase baseline reward: dense distance progress minus a joint-prior penalty during approach (t < Tg), followed by a residual distance penalty plus a terminal bonus during grasp (t >= Tg).

Bringing five new hands into production (right_hand_xg, finger_eyes, Wuji, XHand Pro, and xhand_3eye) exposed three distinct failure modes that quietly corrupted both cluster throughput and dataset contact fidelity.

  • 1. Physics blow-ups poisoned vectorized PPO batches (51.7% collapse): Auditing 123.96M raw grasps traced mid-run collapse to asset defects—faulty index-rotation limits, zeroed effort/velocity limits (0 → 1.1 / 8.63), and out-of-range prior poses. When even a few of the 2,048 parallel envs exploded, extreme returns corrupted advantage normalization across the entire batch.
  • 2. Loose wraps & the "coupled-but-not-pinched" reward hack: Baseline distance rewards rewarded hovering near the surface without firm enclosure. Adding a naive hold-stability bonus created a classic RL exploit: keeping the object moving with the palm via light friction or wedging without genuinely opposing finger forces.
  • 3. Precision tasks flatlining under shared power priors: On Wuji, power tokens climbed to 0.37–0.46 within ~2M steps while precision tokens flatlined at 0.001–0.018 after ~14M steps—power wraps and fingertip pinches have incompatible kinematic priors and contact geometry.
Batch 1 Audit (N = 619 Power Tasks)
51.7% of Batch 1 power-grasp tasks (320/619) collapsed mid-training rather than failing to learn.
TensorBoard · Mid-Run Collapses
Healthy plateaus at 0.65–0.70 plummeting to ~0 mid-run due to unisolated parallel physics blow-ups.
TRACK 1 · RL REWARD SHAPING & RESULTS

Friction-Cone Antipodal Shaping, Multiplicative Gates, and 3× Faster Convergence

First, we cleaned parallel training: clamping every URDF and prior limit, fixing async reset and perturbation-force bugs, and adding explicit crash detection with a −2.0 terminal penalty and immediate reset so physics blow-ups never poison healthy rollouts. Next, we redesigned the reward structure from first principles of grasp mechanics:

  • Separated power vs. precision priors & strict gates: Each embodiment received tuned enveloping vs. precision-claw PRIOR_HAND_JOINT_VALS, YAML-exposed side-grasp initialization, and a dedicated metrics/strict_success_rate export gate requiring verified antipodal stability.
  • Measured impact: PPO convergence dropped from >10M to ~3M steps (revised power tokens hitting 0.35–0.45 by ~2M vs. <0.08 through 13M previously), and hard hand–object precision runs climbed from <0.2 to >0.5 (0.37–0.51 steady / ~0.55 peak on XHand Pro precision shards in under 50 minutes).
Before Reward Redesign
Loose baseline wrap with splayed fingers and weak contact on a tall tapered object.
After Reward Redesign
Firm, full-hand enveloping contact after hold-stability × antipodal reward shaping.
Baseline Curves (<0.08 @ 13M Steps)
Pre-redesign runs stalled below 0.08 success across ~13M environment steps.
Revised Curves (~0.35–0.45 @ ~2M Steps)
Post-redesign power runs converge 3×+ faster (bottom flat lines were pre-fix precision tokens).
Before Precision Fix (Wuji)
Power tokens hit 0.37–0.46 while shared-prior precision flatlined at 0.001–0.018.
After Precision Fix (XHand Pro Precision)
Four XHand Pro precision object shards climbing steadily to 0.37–0.51 (~0.55 peak) in <50 min.
Embodiment Keypoint Template
XHand Pro observation keypoints in Isaac Gym (magenta finger tips, cyan palm).
Parallel Isaac Gym PPO
2,048 parallel GPU environments synthesizing dexterous grasps.
TRACK 2 · 0-TO-1 TINY-OBJECT PIPELINE (ANTIPODAL + CUROBO)

Why PPO Fails at 1 cm³—and How Analytic Antipodal + cuRobo Solved It

Even after fixing PPO, reinforcement learning remained fundamentally ill-suited to centimeter-scale objects down to ~1 × 1 × 1 cm³. When the entire target object is smaller than a single fingertip phalanx, stochastic RL exploration almost never discovers delicate two-finger pinches or three-finger tripods without bumping the table or flicking the object away.

Rather than fighting reward sparsity at millimeter tolerances, I built an end-to-end analytic grasp synthesis pipeline from scratch covering 5+ end-effector embodiments (XHand, XHand Pro, LEAP Hand, xHand-3eye, xArm Gripper, plus Wuji). The pipeline produced 10.63M+ Isaac SimFilter-verified grasps so the downstream diffusion policy could acquire cm-scale precision grasping via imitation.

  • Stage 1–2 · Stable Poses & NNLS Friction-Cone Contacts: Drop meshes into self-stable tabletop poses in Isaac, sample 12,000 surface points above a 0.7 mm table floor, and solve a regularized non-negative least-squares wrench problem (scipy.optimize.nnls) verifying that 2-finger antipodal or 3-finger tripod forces balance gravity.
  • Stage 3–4 · Never Trust feasible=True Alone + Sphere Sculpting: Early cuRobo runs reported feasible=True alongside 12.3 mm fingertip errors because default collision spheres blocked fingertips from touching 1 cm meshes. Sculpting a dense 117-sphere model (dual fingertip guards at r=5.2/8.0 mm, +0.9 mm finger expansion) and selectively pruning 4–9 contact-zone spheres turned 12.3 mm failure into 0.0000–0.0002 mm pinch accuracy on the exact same object.
  • Stage 5 · Unblocking 93% GPU Idle & Isaac SimFilter Export: Profiling 127 live GPU slots revealed serial cuRobo took 85–91% of wall time while GPUs sat 93% idle under 11.4M CPU ctx-switches/s. Replacing the loop with dual-stage batched cuRobo IK + recursive OOM chunk-splitting and thread-capped workers unlocked cluster throughput before Isaac SimFilter physics validation and .pth/Zarr export.
The 1 cm³ Geometry Challenge
Target object smaller than one fingertip link—naive RL exploration and unpruned spheres fail.
Stage 2 · Antipodal Contact Sampling
12,000 surface points filtered by Coulomb friction-cone NNLS wrench balance above table clearance.
Before Tip-Sphere Calibration (12.3 mm Error)
cuRobo returned feasible=True on sample_605892 despite a 12.3 mm fingertip offset.
After Tip-Sphere Calibration (0.0000 mm)
Exact same object after shifting tip spheres: 0.0000 mm pos_err (0.0002 mm thumb / 0.0001 mm mid).
Dense Hand Collision Model
Sculpted palm, finger, and thumb spheres preventing table/object/self penetration.
Pruned Contact Spheres + Export Cloud
6 contact spheres pruned, 35 expanded (0.010 mm activation), paired with 512 obj + 2,000 env pts.
3-Finger Tripod (0.00 mm)
Accepted free-base XHand tripod grasp at 0.00 mm max fingertip error and 1.000 palm alignment.
3-Finger Tripod Acceptance (1 cm³)
Batched cuRobo IK with pruned fingertip spheres solving a cm-scale tripod grasp at 0.00 mm tip error and 1.000 palm alignment.
Point-Cloud Export (Ring)
Exported 3-finger tripod grasp on a cm-scale ring ready for diffusion training.
Cross-Hand: LEAP Hand
Same analytic collision-pruned cuRobo pipeline on LEAP Hand (9 contact spheres pruned).
Downstream Imitation (xArm)
Unified diffusion model trained on tiny data grasping a tiny object with xArm gripper (1.2 mm IK).
BACKBONE · 280-GPU DYNAMIC SCHEDULER

Orchestrating 35 Nodes / 280 GPUs Without Silent Failures

Running both RL synthesis (plus Stage 1–3 tabletop/shelf/box scene filtering) and tiny-object generation across 35 nodes / 280 GPUs (224× A100 + 56× A800) meant dealing with silent exits, 12-hour wedged Isaac Gym PIDs, and cross-node JIT compilation races.

I built a zero-dependency shared-filesystem queue scheduler (todo / claimed / done / failed) using atomic mkdir task claiming, content-verified FINAL META completion (never trusting exit code 0 alone), background heartbeats + stale-claim reclamation, --per-gpu N worker packing, node-local gymtorch JIT caches, and audited lifecycle cleanup that purged 41.57 TiB / 781,112 Stage 1–3 intermediates with zero residual.

Single distributed PPO campaign proof (Finger-Eyes Batch 1): 123,958,349 raw successful grasps generated across two runs (~2:1 precision/power split), part of 250.2M+ total flywheel samples.

Production Data Flywheel Quantitative Summary

Track / SubsystemBefore / BaselineShipped Production Result
Track 1 · Isaac Gym PPO>10M steps (<0.08 @ 13M) · 51.7% Batch 1 collapse · <0.2 hard pairs~3M steps (3× faster) · −2.0 crash reset · >0.5 hard precision pairs (0.37–0.55)
Track 2 · 0-to-1 Tiny PipelinePPO unable to synthesize cm-scale pinches · 12.3 mm IK · 93% GPU idle10.63M+ Isaac SimFilter grasps (5+ hands, ≥1 cm³) · 0.0000–0.0002 mm IK · batched cuRobo
Backbone · 280-GPU ClusterManual single-node scripts · wedged PIDs · cross-node JIT races35 nodes / 280 GPUs · 250.2M+ samples · 46,532/46,532 Stage-3 tasks · 41.57 TiB purged
Technical Stack
RL Reward ShapingIsaac GymcuRobo IKAntipodal Grasp280-GPU SchedulerZarr