Reinforcement Learning roadmap
Field 7 of 14. Work through the steps in order: each one explains an idea, points you to one thing to read and gives you a problem to build.
- Steps
- 10
- Problems
- 10
- Learn first
- Machine Learning
- Leads to
- Robotics
Foundations of RL
Agents, environments & rewards
An agent acts, the environment returns a new state and a reward, and the agent learns to maximize total future reward. No labels, only consequences.
Concept · Easy · 1 problem
Bandits & exploration
With several slot machines you must balance trying new arms (explore) and using the best so far (exploit). ε-greedy and UCB are the classic answers.
Build · Easy · 1 problem · case study
MDPs & the Bellman equation
A Markov decision process formalizes states, actions, transitions and rewards. The Bellman equation says a state's value is the immediate reward plus the discounted value of where you land.
Theorem · Medium · 1 problem
Dynamic programming
With a known model, value iteration and policy iteration solve MDPs exactly by repeatedly applying the Bellman equation.
Build · Medium · 1 problem
Learning from Experience
Monte Carlo & temporal-difference learning
Without a model, estimate values from experience: Monte Carlo waits for the episode's end; TD updates after each step using its own estimate (bootstrapping).
Concept · Medium · 1 problem · case study
Q-learning & SARSA
Learn the value of each action in each state. Q-learning learns the optimal policy while exploring (off-policy); SARSA learns the policy it follows (on-policy).
Build · Medium · 1 problem
Deep RL
Deep Q-networks
Replace the Q-table with a neural network. A replay buffer and a target network stop training from chasing its own tail.
Build · Hard · 1 problem · case study
Policy gradients
Directly adjust a policy network to make high-reward actions more likely (REINFORCE). Works with continuous actions; high variance needs baselines.
Build · Medium · 1 problem
Actor-critic & PPO
A critic estimates value to reduce the actor's variance. PPO limits how much the policy changes per update, making it stable enough for robotics and RLHF.
Concept · Hard · 1 problem · case study
Multi-Agent RLElective
Multi-agent RL
Several learning agents share an environment, so each one's world keeps changing as others learn. Cooperation, competition and communication all emerge.
Concept · Hard · 1 problem · case study
Capstone project
An agent that lands LunarLander, with a write-up comparing DQN and PPO