Skip to content

Reinforcement Learning Foundations

Track 17 · Intermediate

Agents, rewards, and policies: the foundations of reinforcement learning.

10 lessons 2.1 hours narrated Free, no account needed

Start lesson 1

The 4 phases, lesson by lesson

Phase 1 The RL setup

  1. What reinforcement learning actually is Reinforcement learning as a third paradigm: the agent-environment-reward loop, why it is harder than supervised learning, and exploration versus exploitation.
  2. Markov Decision Processes The Markov Decision Process formalizes RL: the (states, actions, transitions, rewards, discount) tuple, the Markov property, and the discounted return.
  3. Value functions and the Bellman equations Meet the value functions V and Q, the expected return from a state or action under a policy, and the Bellman equations whose recursion drives every RL method.

Phase 2 Planning with a known model

  1. Policy iteration Policy iteration computes the optimal policy by alternating two steps: evaluate the current policy with the Bellman equation, then improve it greedily.
  2. Value iteration Value iteration applies the Bellman optimality equation as one direct sweep per step. See why it converges and why the greedy policy stabilizes early.

Phase 3 Model-free learning

  1. Monte Carlo prediction Estimate a policy's value model-free: play episodes, average the observed returns, and let the law of large numbers converge. Unbiased but high in variance.
  2. Temporal-difference learning Temporal-difference learning updates value estimates after every step using a bootstrapped one-step target, cutting variance and enabling online learning.
  3. Q-learning: model-free control Q-learning estimates optimal action values, then acts greedily. Covers its max-over-actions TD update, off-policy vs SARSA, and why exploration matters.

Phase 4 Scaling up

  1. Function approximation and deep RL Tables cannot scale to real state spaces. Function approximation swaps in a parameterized Q, and DQN's replay and target network tame the deadly triad.
  2. Policy gradient and the path to modern RL Policy gradient parameterizes the policy directly and steps toward high-return actions. Covers REINFORCE, a worked softmax step, actor-critic, PPO, and RLHF.

Start lesson 1

← Browse all tracks