Save this video — free

RL @ ECE-UofT - Lecture 06: SARSA Algorithms and Q-Learning

Ali Bereyhi · 2:24:17 · Watch on YouTube

RL @ ECE-UofT - Lecture 06: SARSA Algorithms and Q-Learning Watch on YouTube →

Overview

Ali Bereyhi develops model-free control from Monte Carlo methods through on-policy SARSA and off-policy Q-learning, emphasizing how exploration, bootstrapping, and eligibility traces affect learning. The lecture derives importance sampling and the Q-learning max target, compares the algorithms on cliff walking, and closes by motivating function approximation and deep Q-networks for continuous or high-dimensional state spaces.

Key takeaways

Chapters

0:00 Model-Free Control: Improving Policies from Sampled Experience
5:27 Monte Carlo Control Updates Action Values by Episode
9:17 Cliff Walking Shows Why Greedy Exploration Can Fail
15:21 Infinite Exploration Is Needed for Monte Carlo Control
22:02 GLIE Combines Repeated Exploration with Greedy Behavior
27:41 A 1/k Epsilon Schedule Supports GLIE
31:07 TD Control Leads to the SARSA Algorithm Family
34:37 Deriving the Basic SARSA TD(0) Update
42:16 SARSA Uses the Action Actually Selected by Its Policy
47:27 SARSA TD(0) Follows the State-Action-Reward Sequence
50:02 SARSA n-Step Returns and the Forward View of TD(λ)
54:17 Eligibility Traces Extend TD(λ) to State-Action Pairs
56:28 SARSA(λ) Updates Multiple Q Values Online
1:03:38 Off-Policy Learning Reuses Data from Another Policy
1:08:27 Importance Sampling Reweights Samples from P to Q
1:14:59 Trajectory Importance Sampling Cancels Shared MDP Dynamics
1:27:02 Importance Sampling Enables Off-Policy Value Estimation
1:34:31 Off-Policy TD Reweights the Next Action
1:37:07 Off-Policy Action-Value TD Keeps the Immediate Reward
1:43:42 Q-Learning Targets a Greedy Policy While Exploring
1:51:34 The Q-Learning Max Target Avoids Explicit Ratios
1:55:34 Q-Learning Builds the Optimal Q Table from Epsilon-Greedy Data
1:57:38 Q-Learning with Eligibility Traces Uses Q(λ)
2:01:52 Cliff Walking Contrasts SARSA and Q-Learning
2:05:03 Convergence Depends on Coverage and Policy Improvement
2:11:53 Practical SARSA Tuning Trades Guarantees for Stability
2:15:36 SARSA and Q-Learning Suit Different Control Goals
2:18:15 Tabular RL Breaks Down for Continuous State Spaces
2:20:33 Function Approximation Leads from Tabular Q to DQN

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Ali Bereyhi.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.