Sim-to-real transfer
Sim-to-real transfer is training a robot's control or perception system in computer simulation and then getting it to work on a physical robot in the real world.
Real robots are slow and expensive to train. They break, they need supervising, and they can only practise in real time. A simulator has none of those limits: it can run faster than real time and run thousands of copies at once. In a 2021 paper, Nikita Rudin, Marco Hutter and colleagues trained thousands of simulated ANYmal four-legged robots in parallel on a single workstation GPU, producing a walking policy for flat ground in under four minutes and for rough terrain in about twenty, then moved the policies onto the real robot.
The catch is the reality gap. Simulators simplify friction, contact, lighting, sensor noise and the way materials bend. A policy trained only in simulation can learn to rely on quirks of the simulator that do not exist in the real world, and then fail on real hardware. Most sim-to-real research is about closing or tolerating that gap.
The best-known technique is domain randomisation. Instead of trying to make the simulation perfectly realistic, researchers vary it widely, changing textures, lighting, object positions or physical properties, so that the real world looks like just one more variation. In a March 2017 paper, Josh Tobin and colleagues trained an object detector only on simulated images with deliberately unrealistic random textures; on real images it located objects to within 1.5 cm, enough to guide a robot grasping in clutter. OpenAI extended the idea in October 2019 with automatic domain randomisation, which made the simulated conditions harder over time. Its robot hand, trained entirely in simulation, solved a Rubik's Cube about 60 per cent of the time, and about 20 per cent of the time for the hardest scrambles. The sequence of moves came from Kociemba's classical solving algorithm; the neural networks handled the physical manipulation.
Simulation is now standard infrastructure for robot learning. NVIDIA's Isaac Sim, an open-source framework built on its Omniverse libraries, lets developers randomise lighting, colours and object positions and generate labelled synthetic images, and its companion Isaac Lab is designed for training robot policies at scale.
When a robotics company says a skill was trained in simulation, the useful question is how often it succeeds on the physical robot, under what conditions. OpenAI published its Rubik's Cube success rates, which is why that result is easy to judge; many demonstrations do not.
It means training a robot's behaviour in a computer simulation and then running the trained system on a real robot. Simulation is faster, cheaper and safer than real-world practice, but the trained system has to cope with differences between the simulator and reality. The reality gap is the difference between how a simulator models the world and how the real world behaves, in areas such as friction, contact, lighting and sensor noise. A policy that works perfectly in simulation can fail on real hardware because of it. Domain randomization is training in many deliberately varied versions of a simulation, with different textures, lighting, object positions or physics settings. The model learns to handle a wide range of conditions, so the real world becomes just another variation. A 2017 paper by Josh Tobin and colleagues popularised the technique. For some tasks, yes. OpenAI's robot hand learned to manipulate a Rubik's Cube entirely in simulation and succeeded about 60 per cent of the time on real hardware, and Nikita Rudin and colleagues trained walking policies for the ANYmal robot in simulation in minutes. Many tasks still use real-world data as well.Common questions
What does sim-to-real mean in robotics?
What is the reality gap?
What is domain randomization?
Can a robot be trained entirely in simulation?
Search for "sim-to-real", "reality gap", "domain randomization" or "robot learning simulation" to explore the field. The most reliable sources are robotics papers on arXiv and from conferences such as CoRL and ICRA, and documentation for simulators such as Isaac Sim and MuJoCo. Treat company videos with care unless they state success rates and whether the robot was acting autonomously.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.