FixTheRobot Explore Robotics / Robot Learning

Learning track

Robot Learning

How robots learn behaviours from data, demonstrations and trial and error, and how to tell why a learned policy succeeds or fails. Theory lessons for the ideas, labs where you train, evaluate, diagnose and fix.

65 of 65 theory lessons and 37 of 37 labs are open. Items marked planned are not available yet. Track status: in development. Start with M1-T1: What Is Robot Learning?.

One robot, one world, many learners

Every lab is an experiment on Scout, a delivery robot at a fictional hospital, in one small simulated world. The same task is attacked with imitation, Q-learning, policy gradients and a learned model, so you can compare methods on equal terms. The running question is always why did the policy fail, and how do you know?

Each module ends with a diagnose-and-fix lab. The browser simulations are deliberately small and say what they simplify; full-scale PyTorch and simulator experiments are offered as projects for your own machine and are labelled as not run by this site's tests.

Module 1 · Complete

Foundations: Policies, Data and Evaluation

What it means for a robot to learn: policies, observations, actions, rewards and datasets, the difference between training and deployment, and how to tell whether a learned policy is actually good.

Prerequisites: none.

Completion criteria
  • A learner can define a policy, build a dataset and a return from a rollout, and evaluate a policy with a confidence interval on held-out scenarios.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 2 · Complete

Supervised Learning for Robots

Regression and classification from robot data: features, loss functions, gradient descent, small neural networks, generalization and the leaks that make a bad model look good.

Prerequisites: M1.

Completion criteria
  • A learner can fit and evaluate a regression and a small neural network on robot data, and detect overfitting and data leakage.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 3 · Complete

Imitation Learning

Learning a policy from expert demonstrations: behaviour cloning, why it drifts, interactive correction with DAgger, and the quality of demonstrations.

Prerequisites: M1, M2.

Completion criteria
  • A learner can clone a demonstrated behaviour, diagnose compounding errors from distribution shift, and improve the policy with corrections and cleaner data.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 4 · Complete

Reinforcement Learning Foundations

Learning by trial and error: Markov decision processes, returns, value functions and the Bellman equations, dynamic programming, temporal-difference learning, Q-learning and exploration.

Prerequisites: M1.

Completion criteria
  • A learner can write an MDP, solve it with value iteration, implement tabular Q-learning with exploration, and diagnose a Q-learning agent that does not learn.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 5 · Complete

Reward Design

What a reward really specifies: shaping, sparse versus dense rewards, potential-based shaping, reward hacking, constraints and multi-objective trade-offs.

Prerequisites: M1, M4.

Completion criteria
  • A learner can shape a reward without changing the optimal behaviour, find and fix a reward that is being exploited, and balance reward terms against constraints.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 6 · Complete

Deep and Continuous-Action Reinforcement Learning

Function approximation and policy gradients: REINFORCE, baselines and advantages, actor-critic, PPO and SAC, continuous actions, and how to diagnose unstable training.

Prerequisites: M2, M4, M5.

Completion criteria
  • A learner can compute returns and advantages, write the PPO clipped objective, tune a training run, and diagnose a diverging one from its curves.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 7 · Complete

Model-Based Robot Learning

Learning how the world responds: system identification, learned dynamics and their errors, planning and model predictive control with a learned model, and Dyna-style learning.

Prerequisites: M2, M4.

Completion criteria
  • A learner can fit a dynamics model, plan with it, and tell when model error makes the plan unsafe.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 8 · Complete

Offline and Data-Efficient Learning

Learning from data that were already collected: dataset coverage and quality, extrapolation error, conservative methods, replay buffers and how to get the most from limited robot experience.

Prerequisites: M3, M4, M6.

Completion criteria
  • A learner can build a replay buffer, measure dataset coverage, and compare an offline policy with an online one while explaining the gap.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 9 · Complete

Learning for Manipulation and Locomotion

Where learning meets contact: grasping, contact-rich manipulation, legged locomotion, curricula, and combining a learned policy with a classical controller and a safety layer.

Prerequisites: M3, M6.

Completion criteria
  • A learner can design a task reward and curriculum for a simplified manipulation or locomotion task and combine a learned policy with a safety controller.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 10 · Complete

Sim-to-Real Transfer and Robustness

Why simulation and reality differ and what to do about it: domain randomization, system identification, robustness testing, safe deployment and monitoring, and the bridge to foundation-model policies.

Prerequisites: M6, M7, M9.

Completion criteria
  • A learner can randomize a simulator, stress-test a policy under changed physics, detect out-of-distribution states and plan a staged rollout.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.

Module 11 · Complete

Research Practice and Capstone

Doing robot learning honestly: baselines, ablations, seeds and statistics, reproducibility, experiment reports, and a capstone project that designs, trains, evaluates and documents a policy.

Prerequisites: M1, M3, M4, M6.

Completion criteria
  • A learner can compare two policies with statistics, document an experiment so that it can be repeated, and complete the capstone with a defended evaluation.
  • Every planned lesson is implemented with a worked numeric example, three knowledge checks with explanations, references and working navigation.
  • Every planned lab runs in the browser: its starter code fails with a teachable message, its reference solution passes on hidden scenarios, and success and failure feedback are meaningful.
  • The module includes at least one diagnose-and-fix challenge and states the simplifications of its simulation.
  • Relevant automated tests and the build pass, pages work in light and dark mode at phone and desktop width, and no known blocking defect remains.