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
The 4 phases, lesson by lesson
Phase 1 The RL setup
- 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.
- Markov Decision Processes The Markov Decision Process formalizes RL: the (states, actions, transitions, rewards, discount) tuple, the Markov property, and the discounted return.
- 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
- Policy iteration Policy iteration computes the optimal policy by alternating two steps: evaluate the current policy with the Bellman equation, then improve it greedily.
- 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
- 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.
- Temporal-difference learning Temporal-difference learning updates value estimates after every step using a bootstrapped one-step target, cutting variance and enabling online learning.
- 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
- 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.
- 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.