From 0% Success to 98%: RoboPSer Teaches Robots to Spin Pens

RoboPSer uses a three-stage framework to raise pen-spinning success from 0% with direct transfer to 98%, showing a new sim-to-real path where real experience feeds back into simulation.
RoboPSer tackles the 0% success rate when deploying simulation-trained policies directly to real robots for dexterous manipulation. Its three-stage framework: first, use offline human guidance and real-world trial and error to establish initial success; second, train a hybrid simulator with per-contact neural compensation using successful trajectories to reduce contact model mismatch; finally, perform residual reinforcement learning in the real world using the refined controller's high-frequency feedback. On two hand configurations and ten pen-spinning tasks, with 50 trials per task, average success rose from 0% to 98%, with nine tasks at least 96% and six at 100%. Some tasks achieved over 20 minutes of continuous rotation, and non-pen-spinning tasks reached 30 minutes (268π radians); after 250–500 additional real rollouts, seven variants achieved 96%–100% success. This work indicates that sim-to-real for contact-intensive skills requires embedding real trial-and-error data into the simulator modeling stage.
Teaching a robot to spin a pen sounds like a flashy stunt, but it involves dynamic contact, precise force control, and high-speed feedback—exactly the hardest challenges in dexterous manipulation today. Policies trained in simulation often fail completely when deployed directly to real robots—actuator latency, contact model discrepancies, friction spikes—any tiny error can instantly collapse the pen-spinning motion. The three-stage framework proposed by RoboPSer is aimed squarely at this "zero success rate" dilemma.

Why Pen Spinning Is a Hard Nut for Dexterous Manipulation
Pen spinning is not a simple rotation. It requires maintaining precise force feedback during rapid motion, switching between force and position control at the instant fingers alternately contact the pen, and coordinating finger gaits under geometric constraints. The paper points out that even after calibrating actuators, latency, and contact, policies trained in simulation can still completely fail on real robots. This reality of "still failing after calibration" indicates that the problem is not parameter fine-tuning but a structural gap between simulation and reality.
The research team set up ten pen-spinning tasks covering rapid motion, varying friction contacts, and geometrically constrained finger gaits, and validated them on two hand configurations. The tasks have clear difficulty tiers: six dynamic tasks and four slower tasks, some sensitive to speed and others to contact sequences.
Contact-rich manipulation refers to tasks whose success depends heavily on the contact state between fingertips and objects, such as pen spinning, bottle cap twisting, and connector insertion. The difficulty of such tasks lies in the strong coupling between contact force and contact position—small deviations are amplified through friction cones and contact stiffness; meanwhile, contact events (contact establishment, slipping, separation) have discrete switching characteristics, making the dynamics exhibit hybrid system behavior. Traditional rigid-body simulators often produce structural deviations from real physics when handling such problems due to approximations in contact solvers (e.g., penalty force models, contact point discretization), which leads to the phenomenon of "still failing after calibration" for policies trained purely in simulation in the real world.
Finger gaiting is the process by which a dexterous hand repositions or continuously rotates an object within its grasp by alternately changing which fingers contact the object and which fingers move. It is essentially a discrete switching sequence of contact configurations, requiring the robot to coordinate force allocation and motion planning at the switching instants. Unlike grasping, in gaiting the object is supported by only some fingers, leaving a low stability margin—any timing error can cause the object to drop. Pen spinning is a typical finger gaiting task, requiring multiple fingers to cooperatively establish and release contacts under geometric constraints.
Three-Stage Framework: Feeding Real-World Experience Back into Simulation and Controller
The core idea of RoboPSer is to let real-world experience simultaneously improve both the training simulator and the deployed controller, rather than a one-way transfer from simulation to reality.
In the first stage, offline human guidance and coarse physics-guided analysis are used to identify areas needing targeted corrections, which are then optimized through real-world physical trial and error to establish an initial success rate. The significance of this step is that it does not pursue a perfect simulation but first gets the robot to "move" in the real environment.
The second stage uses these successful trajectories to learn a hybrid simulator that includes shared per-contact neural compensation. This design reduces contact model mismatch, allowing the policy to continue refining in simulation. In other words, real-world data is used to patch the contact modeling weaknesses of the simulator, making subsequent simulation training more trustworthy.
The third stage: the refined controller provides a stronger high-frequency feedback foundation. Its rollouts define a structured action representation used to learn coordinated residual sequences through real-world reinforcement learning. This allows direct optimization in the real world without repeatedly refining the dynamics model.
Residual reinforcement learning is a hierarchical control strategy: a base controller (here, the simulation-refined policy) provides nominal actions, and reinforcement learning learns an additional residual correction that is superimposed to form the final action. Compared to learning from scratch, the residual form has a smaller search space and higher sample efficiency, and the base controller ensures the initial reasonableness of behavior. In sim-to-real scenarios, residual learning is often used to compensate for systematic deviations between simulation and reality (e.g., actuator latency, friction differences), because it only needs to learn "how much to differ" rather than relearning the entire skill. The third stage of RoboPSer leverages this idea to optimize residual sequences in the real world, thereby avoiding repeated refinement of the dynamics model.
Hybrid simulator refers to a modeling approach that overlays data-driven components (such as neural networks) on top of traditional physics engines to correct simulation deviations. The "per-contact neural compensation" in RoboPSer learns a residual model for each contact point, trained with real trajectory data, to compensate for mismatches in friction, deformation, etc., of analytical contact models. The advantage of this approach is that it preserves the interpretable structure and simulation speed of the physics engine while using real data to patch its weakest links, making policies trained in subsequent simulations closer to real dynamics.
Success Rate from 0% to 98%: What the Data Says
The results reported in the paper are quite convincing. On two hand configurations and ten tasks, with 50 trials per task, the average success rate increased from 0% for direct transfer to 98%. The specific distribution: all tasks have a success rate of at least 90%, nine of which are at least 96%, and six reach 100%.
In terms of persistence, on some tasks the robot can maintain continuous rotation for over 20 minutes; on tasks beyond pen spinning, it even reaches 30 minutes, corresponding to 268π radians of rotation. This shows that the policy does not just succeed occasionally but can run stably for long periods.
In terms of generalization, selected policies have partial zero-shot generalization to new objects. After an additional 250 to 500 real-world rollouts, seven variants achieved success rates of 96% to 100%, and the eighth variant achieved continuous rotation for over 16 minutes.
Insights from This Sim-to-Real Path
The value of RoboPSer goes beyond pen spinning itself. It demonstrates a practical path from "zero success with direct transfer" to "reliable execution of highly difficult dynamic contact skills": first use human guidance and physical trial and error to establish initial success, then use real data to compensate for the simulator's contact model, and finally perform residual reinforcement learning in the real world. Each of the three components plays its role, avoiding the high cost of relying solely on high-fidelity simulation or pure real-world training.
For the field of dexterous manipulation, this closed loop of "real experience feeding back into simulation, and simulation then supporting real-world optimization" may be more noteworthy than the results of any specific task. It suggests that the sim-to-real problem for contact-intensive skills may not be solved by more refined physics engines alone, but requires embedding real trial-and-error data into the modeling stage of the simulator.
The project website is now public: https://robopser.pages.dev/. Readers interested in dexterous manipulation and sim-to-real can further check task details and demonstrations.
One-line Summary
RoboPSer uses a three-stage framework to raise the success rate of pen-spinning tasks from 0% with direct transfer to 98%, demonstrating a new sim-to-real path where real experience feeds back into simulation.
Paragraph Summary
RoboPSer addresses the dilemma in dexterous manipulation where simulation-trained policies deployed directly to real robots yield a 0% success rate. It proposes a three-stage framework: first, use offline human guidance and real-world physical trial and error to establish an initial success rate; second, train a hybrid simulator with per-contact neural compensation using successful trajectories to reduce contact model mismatch; finally, leverage the high-frequency feedback foundation provided by the refined controller to perform residual reinforcement learning in the real world. On two hand configurations and ten pen-spinning tasks, with 50 trials per task, the average success rate rose from 0% to 98%, with nine tasks at least 96% and six at 100%. Some tasks achieved continuous rotation for over 20 minutes, and non-pen-spinning tasks reached 30 minutes (268π radians); after an additional 250–500 real rollouts, seven variants achieved 96%–100% success. This work shows that sim-to-real for contact-intensive skills requires embedding real trial-and-error data into the simulator modeling stage.
Related articles

This Week's GitHub Star Growth Chart: 6 Open Source Projects, 4 of Them Giving AI New Skills
This week's GitHub star growth chart features 6 open source projects, 4 focused on giving AI new skills: Last 30 Days for social buzz, FFmpeg Skill for local video editing, Google Stitch Skills for UI, Obsidian Skills for notes, plus n8n Node errand assistant and Alibaba OpenCodeReview for code checks.

GPT Beginner's Complete Guide: Registration, Installation, Subscription, and Quotas Explained
Complete GPT beginner's guide: account registration, desktop installation, Google Play in-app purchases, Apple gift cards, Alipay/WeChat subscriptions, Plus vs Pro 5-hour and weekly limits, and common error fixes.

Checkmate Monitor Upgrade: The Evolution of a Modern CRT Substitute
The new Checkmate retro monitor batch adds standard SCART and a built-in spectrum analyzer. The founder candidly discusses wiggle gate, light leakage, production plans, and cost challenges.