Save this video free

Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 17: RL Value-Based Methods

Stanford Online · 1:17:40 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Stanford Online's Lecture 17 on RL Value-Based Methods introduces SARSA and Q-learning as key model-free reinforcement learning algorithms. The lecture details the transition from Monte Carlo to Temporal Difference (TD) learning, highlighting TD's advantages in variance reduction and online updates. It then explores the on-policy (SARSA) versus off-policy (Q-learning) distinction, demonstrating how Q-learning's ability to learn from a different behavior policy enables it to converge to the optimal policy, unlike SARSA which learns the optimal exploratory policy. Finally, the lecture addresses scaling these methods to high-dimensional spaces using value function approximation and introduces Deep Q-Networks (DQN) with experience replay and fixed Q-targets as crucial techniques for stabilizing deep reinforcement learning.

Key takeaways

Chapters

0:00 Introduction to Learning-Based Control and RL Categories
1:48 Prediction vs. Control in RL
3:21 Limitations of Dynamic Programming and Introduction to Model-Free Learning
4:55 Visualizing Rollouts and Value Estimation
7:08 Monte Carlo vs. Temporal Difference Learning
9:55 Extending Value Estimation to Q-Functions
10:31 Generalized Policy Iteration for Control
13:31 Introduction to SARSA and Q-Learning
15:06 Advantages of Temporal Difference Learning
18:47 Deriving SARSA from Monte Carlo Control
23:26 SARSA Algorithm Pseudocode and Epsilon-Greedy Policy
27:34 Windy Grid World Example for SARSA
30:31 Optimal Policy and SARSA Convergence in Windy Grid World
35:13 Monte Carlo Limitations in Non-Terminating Scenarios
39:17 On-Policy vs. Off-Policy Learning Definitions
43:45 Motivation and Formalism for Off-Policy Learning
48:29 Decoupling Behavior and Target Policies
49:10 Modifying SARSA for Off-Policy Learning: Towards Q-Learning
52:00 Q-Learning Algorithm Definition
57:24 Q-Learning Algorithm Pseudocode
1:03:33 Cliff Walking Example: SARSA vs. Q-Learning
1:15:44 Scaling to High-Dimensional State Spaces: Value Function Approximation

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

Transcript excerpt

0:05 Okay. And so um getting getting to this this weeks and today's lecture. So from a usual road map over the last few weeks, we started looking at kind of uh modern ways to approach learning based control. We started from imitation learning where the idea there was to learn to mimic um the behavior of an expert. And then last week we started to introduce reinforcement learning which is this idea of learning through trial and error and specifically we introduce some uh foundational learning mechanisms uh to do so and starting today and for the next uh lectures for the remaining lectures of this class we'll be looking at specific categories of algorithms uh today starting from value based methods that belong to the category of model free reinforcement learning methods. Uh so uh briefly mention a couple of

0:53 amazing references. Of course you all know kind of probably Satan and Barto's textbooks on reinforcement learning but also this course by David Silver which is which is great and also some some of the slides today are indeed inspired uh by that course. So uh to briefly um pick up what we were saying uh last week. So remember that in in previous lectures we basically starting started to make the distinction between uh what we refer to as prediction whereby given a policy that was given to us uh we wanted to estimate the value for that policy and uh control whereby the goal which is actually what we deeply care about is to learn the policy that optimizes some measure of of performance. And specifically we started looking at um uh algorithms motivated by

1:43 dynamic programming which we refer to as exact methods specifically policy iteration and value iterations as ways to solve uh mark of decision processes

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

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

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.