How Do Robots Learn a New Skill?

5 min read

How Do Robots Learn a New Skill?

The problem

Teaching a chatbot something new mostly means giving it more text. Teaching a robot to fold a shirt, plug in a cable or load a dishwasher is a different problem. The robot needs examples of movements, not words, and those examples do not exist until someone creates them. Robotics today mostly comes down to one question: where do you get the examples?

There are three main answers: show it yourself, let it watch people, or let it practise in a simulated world. Most serious work now mixes all three.

The old way: write the rules

For most of robotics history, engineers programmed each motion by hand. Move here, close the gripper, lift ten centimetres. This works brilliantly in a factory where the same part arrives in the same place every time. It fails the moment the world is messy. A shirt is never folded the same way twice. Hand-written rules cannot cover every case, which is why learning took over.

Way 1: teleoperation, or showing it yourself

The most direct method is to drive the robot yourself and record everything. This is called teleoperation. A person moves a controller, the robot copies the motion, and the system saves what the robot's cameras saw and what its motors did at every moment. Collect enough of these demonstrations and a model can learn to copy them. This is called imitation learning.

A well-known example is ALOHA, from Stanford researchers in 2023. A person physically moves a pair of small "leader" arms, and a pair of larger "follower" arms mirrors them. The whole two-armed system cost under $20,000 using off-the-shelf arms and 3D-printed parts, far less than many earlier research setups. With it, a person could teleoperate fine tasks like threading a zip tie, and the team trained robots to do several precise two-handed tasks from the recorded demonstrations. Their learning method predicted short chunks of future motion rather than one step at a time, which helped stop small errors from piling up.

Animation: A person moves the leader arms, the follower arms copy them, everything is recorded, and a policy learns to imitate it.

The catch: every demonstration costs a person's time on a real robot. It is the most accurate data you can get, and the slowest to collect.

Way 2: learning from the web and from video

Robots can borrow knowledge that was never about robots at all.

In 2023 Google DeepMind introduced RT-2. They took a model already trained on huge amounts of web images and text, the kind that can answer questions about a photo, and trained it further on robot demonstrations. The trick was to write robot actions as tokens, the same kind of small text units a language model outputs. The model then "answers" an instruction plus a camera image with a sequence of action tokens, which get turned back into motor commands. They called this kind of model a vision-language-action model, or VLA.

Animation: A vision-language-action model reads an image and an instruction and writes actions as tokens that become motor commands.

Because the model came pre-loaded with web knowledge, it could handle instructions involving objects and ideas that never appeared in its robot data. It already knew what those things were.

Video of people doing tasks is another large, nearly free source. A human hand is not a robot gripper, so the movements cannot be copied directly, but video still teaches what tasks look like and which objects matter. One recent approach is covered in Robots That Learn by Watching Videos.

The catch: web and video data teach what to do much better than exactly how to move. You still need some real robot data to connect the two.

Way 3: simulation, or practising in a video game

A simulator is a physics engine that models a robot and its surroundings. Inside it, a robot can attempt a task millions of times, fail safely, and learn by trial and error. This is reinforcement learning: try something, get a reward or penalty, adjust. Simulation is cheap, fast and cannot break anything.

The catch is called the sim-to-real gap. Simulated physics is never exactly real physics. Friction, soft objects, lighting and camera noise all differ. A skill that works perfectly in simulation can fail on the real robot. Researchers fight this by randomising the simulator, varying colours, weights and friction, so the robot learns something general enough to survive reality.

Pooling data across robots

One more idea ties these together. Instead of each lab training on its own robot's data, pool it. The Open X-Embodiment project combined 60 datasets into more than one million real robot trajectories across 22 kinds of robot, and reported that models trained on the mix did better than models trained on a single robot's data. Robots, like language models, seem to benefit from scale and variety.

Putting it together

A typical modern recipe looks like this:

  1. Start with a model that already understands images and language from the web.
  2. Add a large, varied pool of robot recordings from many robots.
  3. Fine-tune on a smaller set of high-quality teleoperated demonstrations for the exact task.
  4. Use simulation where real practice would be too slow or risky.

Each source covers another's weakness. Web data gives broad knowledge. Teleoperation gives precise movement. Simulation gives cheap practice. For why robots needed all this when chatbots did not, see Why Is a Robot Harder to Build Than a Chatbot?.

Animation: The four layers of a typical modern recipe, each covering another one's weakness.

Sources