Skip to content

Deep Reinforcement Learning

Track 18 · Advanced

Policy gradients, Q-learning, PPO, and the algorithms behind RLHF.

18 lessons 5.6 hours narrated Free, no account needed

Start lesson 1

The 3 phases, lesson by lesson

Phase 1 RL foundations

  1. Introduction to deep reinforcement learning Reinforcement learning, the third ML regime: an agent learns from rewards by acting in an environment. Deep RL swaps lookup tables for neural networks.
  2. Imitation learning and behavioral cloning Behavioral cloning copies an expert by supervised learning on state-action pairs. See why it is tempting, why small errors compound, and how DAgger fixes it.
  3. RL fundamentals: MDPs, value, and Bellman The Markov decision process (S, A, P, R, gamma), value functions V, Q, and advantage, and the Bellman equation that every RL algorithm is built on.
  4. Policy gradients (REINFORCE) Derive REINFORCE from the log-derivative trick to improve a neural-network policy from sampled trajectories, no model needed, at the cost of variance.
  5. Actor-critic methods How actor-critic methods cut REINFORCE's variance: a critic estimates value to supply a baseline or bootstrapped target, trading a little bias for stability.

Phase 2 Core deep-RL algorithms

  1. Value-based RL: deriving Q-learning Derive Q-learning from the Bellman optimality equation, run tabular Q-iteration on a small MDP, and see why the deadly triad breaks Q-learning convergence.
  2. DQN: replay buffer, target network, double-Q Each of DQN's three tricks patches a leg of the deadly triad: replay buffer for off-policy data, target network for bootstrapping, double Q for max bias.
  3. PPO: the clipped surrogate, RLHF workhorse PPO stays near on-policy and clips how far the policy can shift each update, the policy-gradient method behind the RLHF that finetunes language models.
  4. Model-based RL: learning the dynamics Learn the dynamics in model-based RL: fit a model of the environment for planning and imagined rollouts, gain sample efficiency, and tame compounding error.
  5. Planning with a learned model: MPC to MuZero How to use a learned dynamics model to plan: random shooting, the cross-entropy method (CEM), MPC re-planning every step, and MuZero's MCTS approach.
  6. Variational inference for RL: the ELBO How variational inference powers RL: deriving the ELBO, the reparameterization trick, and where it shows up in world models (Dreamer) and MaxEnt RL (SAC).
  7. Control as inference: SAC and RLHF unified Reframe reinforcement learning as variational inference: optimality variables as evidence, soft Bellman backup, and SAC, RLHF, and MaxEnt IRL as one equation.

Phase 3 RL frontiers

  1. RLHF deep-dive: the InstructGPT pipeline How RLHF aligns language models to human preferences: the InstructGPT pipeline (SFT, reward model, PPO plus KL penalty), reward hacking, and why beta matters.
  2. Offline RL, the problem Offline RL learns a policy from a fixed dataset with no new interaction. See why naive Q-learning diverges through extrapolation error, and where it bites.
  3. Offline RL algorithms (BCQ, CQL, IQL) How BCQ, CQL, and IQL keep offline RL stable: constrain actions, penalize out-of-distribution Q-values, or sidestep the max, with a rubric for picking each.
  4. Exploration: epsilon-greedy to curiosity When rewards are sparse, exploration is the core problem. Compare three families (random, optimism, intrinsic motivation) and which fits hard exploration.
  5. Multi-task RL and meta-RL Multi-task RL trains one policy across many tasks; meta-RL trains agents to adapt fast to new tasks. Compares three meta-RL families: MAML, RL2, PEARL.
  6. Challenges and open problems in deep RL Deep RL's four open frontiers, sample efficiency, safety, generalization, and real-world deployment, and how each connects back to core RL algorithms.

Start lesson 1

← Browse all tracks