Spinning a pen looks easy until a robot tries it. In a new robotics preprint, the instructions that worked in a computer simulation initially failed on real hardware across ten tasks. After the researchers combined human corrections with practice on physical hands, the average success rate for robot pen spinning reached 98% in their laboratory tests. Among the tricks was a turn around the thumb, the classroom flourish that ends with the pen back between the fingers if the timing is right.
The paper, first submitted on 30 November 2026, tackles a problem that a video of a successful trick can hide. A researcher can show a machine doing something once. A person considering using that machine has a different question. If the same object goes back into its fingers and it starts again, how often does it actually finish?
Why robot pen spinning breaks down at the handover
Try moving a pen from the gap between your index and middle fingers to the gap on the other side of the middle finger. At some point a finger that was helping to hold the barrel has to get out of the way. Squeeze firmly throughout and the pen sticks. Open the hand too early and gravity gets a turn. A simulation can reproduce the broad sweep of a finger and still get the instant of release wrong.
The next movement depends on what happened at that instant. A finger expecting to meet the barrel near its centre may instead catch an end. Even a successful catch can leave the pen too far off balance for the next turn. This makes repeated rotation a tougher test than getting one photogenic flourish out of the hand. The robot has to leave itself in a position from which it can carry on.
Earlier work at the Conference on Robot Learning had already shown that a real hand could learn to spin pen-like objects. Its researchers used practice in simulation and adapted the result on hardware. The new contribution is the range of movements and the evidence about repeatability. The tests take in different starting grips, palm orientations and directions, including slower passes as well as fast tricks.
What a human could fix before the pen fell
Starting with failure poses a peculiar teaching problem. If the pen always drops early, the software gets plenty of examples of the opening movement going wrong. It gets very little information about how the barrel ought to meet the fingers near the end. Leaving it to practise the same unsuccessful start can be a costly way of finding out almost nothing about the finish.
The team first guided corrections that allowed the hand to complete the movement. Successful attempts gave it something to measure all the way through the trick. The researchers then used observations from the physical hand to improve the simulation, which in turn gave them a better starting set of instructions. The last stage took the learning back to the hardware, where the controller could try adjustments and be judged on what actually happened to the object.
That sequence helps explain why a human demonstration alone can be an awkward starting point. Someone who spins a pen well has learnt what their own thumb can reach and how their own fingers bend. A robot with different joints needs a movement that fits its hand. There is a related challenge in transferring skills between robot bodies. Reproducing the outline of a human gesture leaves unresolved the force and timing that make it work.
Reading the score behind the flourish
The researchers ran 50 single-episode trials for each of the ten tasks. Six tasks achieved a perfect score in those trials. The lowest task score was at least 90%. A single episode was defined for the particular movement, so the overall figure describes success across those prescribed tests. It cannot tell someone the odds that the robot will catch a ballpoint tossed to it across a desk.
An especially revealing distinction in the paper is the one between a single success and sustained rotation. For the latter, the team counted how many cycles the hand kept going, including part of a cycle when it stopped. A good first pass answers whether the hand can get moving. A long run also tests whether tiny changes in grip build up until the pen escapes. The two measures reward different qualities in the controller.
Changing the object created a further test. Some learned movements carried across immediately to some variations. Others benefited from additional practice with the changed object. The findings therefore leave a practical question for anyone interested in how robots learn physical tasks from videos. How much of the skill lives in the general movement and how much depends on this particular object’s shape, surface and balance?
There is an everyday version of that question in a pencil case. A capped pen and an uncapped one can look like the same tool while feeling quite different when balanced across a finger. A long uninterrupted performance with one of them tells us something valuable about control. A fair demonstration of versatility would put the other one in the hand and show the unsuccessful attempts as well as the catch.
The appeal of the experiment is that the audience can see the precise moment the engineering matters. When the barrel leaves the thumb, the machine has already committed to the trick. Where the next finger meets it will decide whether the pen comes round again or hits the table.
About the Author
Stuart Kerr is Technology Correspondent at LiveAIWire, covering artificial intelligence, cybersecurity and the social impact of emerging technology. LiveAIWire is an independent, human-led technology publication using AI-assisted research, editorial production and original AI-assisted editorial illustrations under his direction.

