Imitation learning & sim-to-real

Step 9 of 9 in Robotics · Build · Hard

Learn from demonstrations (behaviour cloning) or train in simulation and transfer, using domain randomization so the real world looks like one more variation.

Build it

  1. Clone an expert

    Collect demos from a trained agent and train a policy by supervised learning.

    Done when: Reaches ≥ 80% of the expert's reward.

Case study: ALVINN (1989)

  • A small neural net learned to steer a van by watching a human drive.
  • It failed when the car drifted to states the human never showed it.
  • That compounding-error problem motivated DAgger and modern imitation methods.

Read the case study

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map