Independent, human-led AI journalism
AI News. Emerging Technologies.
Expert Analysis.
AI & Science

A Robot Practised in a Virtual World, Then Fitted a Real Key

A two-armed robot practised in simulation before fitting a physical key in nine of ten laboratory trials. Matching the digital objects to the real ones was an important part of the trick.

Stuart Kerr ·

AI robot carefully fitting a brass key into a castle door lock.
AI-generated editorial illustration exploring how robots can transfer skills learnt in virtual environments to physical tasks.

Getting a key close to its slot is the easy part. The last little movement is where a confident hand can suddenly feel all thumbs. A robot training experiment posted on 30 November took aim at precisely that moment. After practising in a virtual world, a pair of real robot arms managed to insert a key in nine of ten laboratory trials. They achieved the same tally with a charger. The objects were printed to match their digital counterparts.

The authors, led by Zekai Li, describe their work in a preprint. Their question was whether a computer could work out which parts of a job required special training, then build the tools to learn them. If you have ever tried explaining to someone over the phone how to fit a connector they cannot quite see, the appeal is obvious. A more eloquent set of instructions may do nothing for the fingers holding the plug.

Where robot training leaves the instruction manual behind

A key insertion can be described in a sentence. It can also be broken into separate physical jobs. The robot must get hold of the object, carry it somewhere useful, hand it over, line it up and move it home. Seeing roughly where the key lies may be enough to begin. It is a much poorer guide to the tiny adjustment needed just before insertion. A mistake early in that sequence can look like a failure at the very end.

The researchers separated the work of building a skill from the work of using it. A coding assistant broke down a task in simulation and tested where the process first went wrong. If the missing ingredient was knowing exactly where a feature lay, it could build a tool to find that point on the image. If the difficulty was making the movement, it could train a more specialised controller. The machine handling the object could then call on those tools.

There is a kitchen-drawer version of the distinction. A person looking across the room can tell you which way up a plug goes. The person holding it can make a small adjustment without having to stop and describe that adjustment aloud. The researchers gave their system a way to allocate work along similar lines. They did not have to teach an all-purpose assistant to narrate each movement quickly enough to perform it.

The virtual workbench travelled with the robot

The physical set-up makes the result both interesting and quite specific. There were cameras at the wrists and another looking over the scene. The cameras and arms were calibrated. The geometry of the printed objects matched what the system had encountered in simulation. The trained skills stayed fixed when they moved onto the real arms. That makes for a cleaner test of transfer than quietly giving the system extra practice on the physical objects first.

It also sets a boundary around the claim. A reader picturing their own front door should imagine all the changes that would introduce. The key might have a cover on its head. The lock might sit in shadow or resist pressure in a particular direction. A bag might get in the way of the wrist. Each is a plausible extension to test. None is established by a successful insertion on a laboratory workbench.

The RoboDojo benchmark behind part of the work was developed to compare robot skills under more controlled circumstances. Shared starting conditions can make a comparison fairer. They also remove some of the very variation a household robot would have to handle. Both properties are valuable, provided a result from the first setting does not quietly become a promise about the second.

The egg holder gives a different verdict

The team compared its method with a system that had received human-operated demonstrations on the physical robot. In the key test that comparison system succeeded in none of its ten attempts. In the charger test it succeeded twice. On the third job, filling an egg holder, each approach succeeded five times. A less memorable result than the key, perhaps, but it gives the demonstration a much clearer shape.

A method that helps most when pieces must line up might offer less of an advantage when the hard part of a task lies elsewhere. The egg holder prevents an attractive video of an insertion from doing too much argumentative work. It also puts the size of the experiment in view. A run of ten attempts permits a fairly direct description of what happened on the bench. It is a thin basis for predicting the failure rate that a factory manager should put in a budget.

The hardware asks another question about comparison. A human doing the job brings years of experience with fingers, eyes and familiar objects. Building a useful robot hand for fine movements involves choices about its shape, reach and contact with the world before a learning system even enters the picture. Here, keeping the physical set-up consistent made it easier to ask which training approach helped.

What happened between picking up and putting down

A tally of successes hides an important distinction between mistakes. Dropping an object during a handover calls for a different repair from reaching the slot and missing its edge. In a longer job, training everything again because the last movement failed would spend effort on parts that already work. Looking for the earliest failing stage is a practical way of directing that effort.

This also helps explain the difference between this result and teaching a robot to remember an object’s location. A robot might recall the correct drawer and still lack the dexterity to put a key in a lock. A system might perform a beautiful insertion and still be unable to find the key in a changed room. The skills look like one smooth action when a person does them. On a laboratory bench, separating them creates experiments whose failures can teach as much as their successes.

For the next convincing demonstration, look at the object as closely as at the arm. A slightly different key, an unfamiliar holder or a changed camera position would ask how much of the skill travelled beyond the matched workbench. For now the achievement is tangible enough. A movement learnt on a virtual object survived contact with a carefully matched physical one.

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.