RoboPSer: Reliable and Diverse Robotic Pen Spinning via Guided Model-to-Policy Refinement
Organizations: Tsinghua University · Galbot · ShanghaiTech University · Peking University ·
Abstract
Simulation-trained policies can fail entirely on real robots when dexterous manipulation requires precisely timed forces and contact transitions, even after actuator, delay, and contact calibration. We present a three-stage framework that advances such policies from zero success to reliable execution across ten pen-spinning tasks spanning rapid motion, changing frictional contacts, and geometrically constrained finger gaiting. The framework uses real-world experience to improve both the training simulator and the deployed controller. Offline human guidance and coarse-physics-guided analysis identify targeted corrections, which we optimize through physical trials to establish initial success. The resulting trajectories support learning a hybrid simulator with shared per-contact neural compensation, reducing contact-model mismatch and enabling policy refinement in simulation. The refined controller provides a stronger high-frequency feedback base, while its rollouts define a structured action representation for learning coordinated residual sequences through real-world reinforcement learning. This enables direct real-world optimization without further dynamics-model refinement. Across six dynamic and four slower tasks on two hand embodiments, mean success rises from 0% to 98% over 50 trials per task (all , nine , six 100%). Sustained rotation exceeds 20 minutes on selected tasks and 30 minutes ( radians) beyond pen spinning. Selected policies partially generalize zero-shot to new objects; 250-500 additional real-world rollouts yield 96-100% success on seven variants and 16+ minutes of continuous rotation on an eighth. These results suggest a practical sim-to-real path from zero success under direct transfer to reliable real-world execution of challenging, dynamic, contact-sensitive dexterous skills. Website: https://robopser.pages.dev/
Figures & tables
| Task | Rollouts | Episode increments or values |
| Pass -V-R | 20 | Increments of |
| Pass -V-NR, Pass -H-NR, Pass -H-R | 50 per task | Increments of |
| Thumb-Around | 50 | or |
| Sonic (down) | 50 | , , or |
| Triangle Pass (palm-up) , Triangle Pass (palm-down) | 5 per task | Increments of |
| Triangle Pass (palm-down, reversed) | 50 / 5 | Increments of |
| Trajectories | Reference RMSE ( ∘ ) | Identified RMSE ( ∘ ) | Reduction |
| Training (44) | 0.3976 | 0.1685 | 57.6% |
| Held-out (22) | 0.4003 | 0.1716 | 57.1% |
| Joint | ( ) | ( ) | |||
| Thumb CMC FE | 8.21345 | 0.308439 | 45.6649 | 0.0795785 | 4.43069 |
| Thumb CMC AA | 15.7657 | 0.533755 | 55.7891 | 0.153281 | 3.84568 |
| Thumb MCP FE | 7.0424 | 0.214359 | 25.0655 | 0.0447537 | 1.34228 |
| Thumb MCP AA | 7.74227 | 0.120896 | 11.9861 | 0.0565785 | 2.16578 |
| Thumb IP | 1.34983 | 0.0221548 | 2.14756 | 0.0065554 | 0.597928 |
| I/M/R MCP FE | 7.10022 | 0.106176 | 12.1625 | 0.0484308 | 3.71585 |
| Geom field | Candidate values |
| friction[0] | 1.0, 1.5, 2.0, 2.5, 3.0 |
| friction[1] | 0.001, 0.005 |
| solref[0] | 0.001, 0.002, 0.003, 0.004, 0.005 |
| solref[1] | 0.90, 0.92, 0.94, 0.96, 0.98, 1.00 |
| solimp[0] | 0.95, 0.96, 0.97, 0.98, 0.99 |
| solimp[1] | 0.99, 0.991, 0.992, 0.993, 0.994, 0.995 |
| Parameter | Pass -V-R | Pass -V-NR | Pass -H-NR | Pass -H-R | Thumb-Around | Sonic (down) | Triangle Pass (palm-up) | Triangle Pass (palm-down) | Triangle Pass (palm-down, reversed) | Four-Finger-Pass (palm-down, LEAP) |
| Simulation Timestep (s) | ||||||||||
| Decimation | 33 | 33 | 33 | 33 | 50 | 10 | 50 | 50 | 50 | 50 |
| Control Frequency (Hz) | 30 (30.3) | 30 (30.3) | 30 (30.3) | 30 (30.3) | 20 | 100 | 20 | 20 | 20 | 20 |
| Solver parameter | Value |
| Friction cone | elliptic |
| iterations | 100 |
| ls_iterations | 50 |
| impratio | 1 |
| Gravity | |
| nconmax / njmax | 128 / 2000 |
| Parameter | Distribution or initialization | Sampling / application time |
| Object mass and inertia scale | ; | Once at startup |
| Proportional gain scale | ; | Once at startup |
| Derivative gain scale | ; | Once at startup |
| Sliding friction: object and fingertips | Once at startup | |
| Torsional friction: object and fingertips | Once at startup | |
| Rolling-friction field: object and fingertips † | Once at startup |
| Setting | Value |
| Observation history / default prediction horizon | 10 / 1 control steps |
| Hidden width / residual blocks | 512 / 5 |
| Residual main-path layers / shortcut | 2 linear / learned linear |
| Activation / hidden normalization | ReLU / none |
| Output | Linear absolute joint targets (radians) |
| Input/output normalization | None |
| Style | Initial position | Initial quaternion |
| Pass -V-R | ||
| Pass -V-NR | ||
| Pass -H-NR | ||
| Pass -H-R |
| Component | Contribution to | Purpose |
| Orientation proximity | Dense alignment shaping | |
| Near-target reward | Broad proximity reward | |
| Target-success bonus | Rewards target completion |
| Parameter | Value |
| History length | 10 control steps |
| Input dimension | (462 for Sharpa; 336 for LEAP) |
| Output dimension | (22 for Sharpa; 16 for LEAP) |
| Hidden width / residual blocks | 512 / 3 |
| Linear layers per residual block | 2 |
| Activation / block normalization | ELU / LayerNorm |
| Component | Dimension |
| Active-contact indicator | 1 |
| Normalized penetration and signed distance | 2 |
| Normalized contact position in the object body frame | 3 |
| Normalized contact position in the colliding hand body frame | 3 |
| Contact normal and two tangent axes in the object body frame | 9 |
| Contact friction coefficients | 5 |
| Component | Dimension |
| Hand joint positions, normalized using joint limits | 22 |
| Previous raw contact-compensation action | 384 |
| Object position | 3 |
| Sign-invariant representation of the object’s longitudinal axis | 6 |
| Reference object position | 3 |
| Sign-invariant representation of the reference object’s longitudinal axis | 6 |
| Setting | Value |
| Optimizer | Adam |
| Initial learning rate | |
| Learning-rate schedule / desired KL | Adaptive / |
| Discount factor / GAE parameter | / |
| PPO clipping parameter | |
| Value-loss coefficient / entropy coefficient | / |
| Setting | Surrogate | Residual models |
| Training dataset | ||
| Training / validation split | 99% / 1% | All data / no validation |
| Training epochs | 100 | 100 |
| Checkpoint selection | Minimum validation loss | Final |
| Measured initial context | 8 frames | 8 frames |
| Features per world-model history frame | (fixed surrogate) |
| Setting | Value |
| Actor / critic hidden widths | – – – |
| Hidden activation | ELU |
| Critic ensemble size | |
| Actor distribution | -squashed diagonal Gaussian |
| Actor log-standard-deviation bounds | |
| Reference bootstrap discount ( ) |
| Task | Pass -V-R | Pass -V-NR | Pass -H-NR | Pass -H-R | Thumb-Around | Sonic (down) | Triangle Pass (palm-up) | Triangle Pass (palm-down) | Triangle Pass (palm-down, reversed) | Four-Finger-Pass (palm-down, LEAP) |
| #Maximum Environment Steps per Training Rollout | 200 | 78 | 78 | 60 | 20 | 400 | 1600 | 1600 | 1600 | 400 |
| Setting | Value |
| Action representation | Full hand (Sharpa: ; LEAP: joints) |
| Latent encoder | Diagonal Gaussian variational encoder |
| Encoder hidden width / residual blocks | / |
| Flow-network hidden width / residual blocks | / |
| Activation / block normalization | ELU / LayerNorm |
| Latent dimension / flow-time embedding dimension | / |
| Component | Parameter | Value |
| Representation | Prediction / execution horizon | or |
| Latent dimension per frame | ||
| Codec | Encoder and decoder: layers / width / heads | |
| Feed-forward width | ||
| Optimizer / learning rate | AdamW / | |
| Batch size / training updates |
| Parameter | Value |
| Simulation warm-start: environments / epochs | |
| Actor mean network | ResMLP |
| Critic ensemble size | |
| Critic hidden layers | – |
| Initial pre-squash action std. | |
| Discount |
| Parameter | Value |
| Prediction / execution horizon | or |
| Flow coupling layers / width / attention heads | |
| Number of critics | |
| Critic layers / width / attention heads | |
| Critic feed-forward width | |
| HL-Gauss bins / support |
| Parameter | Value |
| Actor / critic learning rate | / |
| Policy update delay | 10 critic updates |
| Target policy noise standard deviation | 0.2 |
| Target noise clip | 0.5 |
| BC weight | 0.2 |
| Batch size | 512 transitions |
| Task | Test condition | Result | 95% CI | Trials |
| Surface geometry: Changes in surface flatness and contact patch size. | ||||
| Pass -V-R | Cylinder octagonal prism | %– | 10 | |
| Pass -V-R | Cylinder hexagonal prism | %– | 20 | |
| Pass -V-NR | Cylinder octagonal prism | %– | 20 | |
| Pass -H-NR | Capsule hexagonal prism | %– | 20 | |
| Pass -H-NR | Capsule octagonal prism | Successful demo | — | — |
| Task | Object change | Additional rollouts | Before adaptation | After adaptation | 95% CI |
| Pass -V-R | Thicker cylinder (diameter ) | 400 | (50/50) | %– | |
| Thumb-Around | Rigid object compliant TPU object | 300 | (48/50) | %– | |
| Four-Finger-Pass (palm-down, LEAP) | Cuboid elliptical cylinder | 500 | (50/50) | %– | |
| Triangle Pass (palm-down) | Long board ( ) | 500 | up to 1 episode | 45 episodes | - |
| Triangle Pass (palm-up) | Thinner object (width ) | 250 | (25/25) | %– | |
| Triangle Pass (palm-up) | Cuboid cylinder | 500 | (40/40) | 91%–100% |
| Task | Main effect of disturbances | Episodes per trial | Closed-loop completion | Open-loop replay | Representative sustained run |
| Triangle Pass (palm-up) | Object tilt disrupts balance and fingertip support. | 1 | (50/50) | (8/50) | 2 episodes under pushes and drags |
| Triangle Pass (palm-down) | Object tilt destabilizes contact-sensitive fingertip grasps. | 1 | (10/10) | (1/10) | 2.5 episodes under three consecutive pushes |
| Pass -V-R | Pose and contact shifts disrupt rapid transitions and subsequent rotation cycles. | 2 | (10/10) | (0/10) | 3.5 episodes under three disturbances (pushes/drags) |
| Task | Rollouts | Env. steps per rollout |
| Thumb-Around | 421 | 20 |
| Sonic (down) | 280 | 400 |
| Pass -V-R | 1,000 | 100 |
| Pass -V-NR | 270 | 78 |
| Pass -H-NR | 200 | 78 |
| Pass -H-R | 350 | 60 |
| Task | Case | Method | Operator 1 | Operator 2 | ||||
| Recovery | Search trials | Human time (min) | Recovery | Search trials | Human time (min) | |||
| Pass -H-NR | C1 | Full takeover | 0/20 | 121 | 25 | 0/20 | 78 | 15 |
| Partial takeover | 0/20 | 47 | 14 | 0/20 | 29 | 10 | ||
| Ours | 12/20 | 31 | 18 | 14/20 | 36 | 22 | ||
| C2 | Full takeover | 0/20 | 62 | 17 | 0/20 | 40 | 11 | |
| Partial takeover | 0/20 | 23 | 6 | 0/20 | 31 | 9 | ||
Robotic Manipulation
Robotic manipulation studies how robots perceive, plan, and control physical interactions to grasp, move, assemble, and use objects.
See all 2,003 papers