freerobotics
← all months

Month 5 · ~17 h of video + practice

Teaching robots instead of programming them

Your goal this month: learn imitation learning and reinforcement learning, the two ways robots learn skills from data.

This is the month everything connects.

Reinforcement learning is the dynamic programming from Month 4, done without knowing the rules of the world in advance.

month 50/9 · 0%

Watch

Marco Pavone and Daniele Gammelli, Stanford

The same course as Month 4, now moving from control to learning.

  • Lecture 13: intro to learning
  • Lecture 14: intro to imitation learning and RL
  • Lecture 15: imitation learning
  • Lecture 16: fundamentals of RL
  • Lecture 17: value-based methods like Q-learning
  • Lecture 18: policy optimization
  • Lecture 19: model-based RL, and the whole stack from perception down to the motors

Chelsea Finn, Stanford, co-founder of Physical Intelligence

Lecture 1 has 164,000+ views and is worth it if you want the big picture first.

  • Lecture 2: imitation learning
  • Lecture 3: policy gradients
  • Lecture 4: actor-critic methods
  • Lecture 6: Q-learning
  • Lecture 7: offline RL, learning from a fixed dataset without touching the robot
  • Lecture 11: model-based RL
  • Lecture 16: RL for robots, and why robots still aren't autonomous

What to focus on

  • →Behavior cloning, and why it fails when the robot drifts off the path it was shown
  • →Policy gradients and PPO, probably the most popular RL algorithm out there
  • →Q-learning and why it can learn from old data
  • →Offline RL: real robots are expensive to run, so most robot data is collected once and reused
  • →Model-based RL, and why an optimizer will exploit every mistake in a learned model of the world

Practice task

Colab notebook coming soon
Warm up in the playground: train a robot with rl →Q-learning on a floor plan. Watch it crash into stairs, then learn a route home.

Install Stable-Baselines3, a free library with ready PPO and SAC. Then:

You now have a controller you designed and a policy that learned from it. Comparing the two is a strong interview story.

Milestone: by the end of this month you can

Get the next checkpoint by email

One topic, one task and one new resource every week.