Save this video free

RL @ ECE-UofT - Lecture 02: MDPs and Bellman

Ali Bereyhi · 2:42:56 · Watch on YouTube

Part of University of Toronto ECE 1508. See all 12 lectures and search them

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

Overview

Ali Bereyhi defines policies, state-value and action-value functions, and policy optimality, then models finite environments as Markov decision processes (MDPs). He derives the Bellman equations as recursive ways to evaluate a fixed policy and its actions, setting up value iteration and policy iteration for finding optimal behavior.

Key takeaways

Chapters

0:00 Reinforcement Learning: Agent, Environment, Actions, and Rewards
1:36 Policies as State-Conditioned Action Distributions
5:48 Tic-Tac-Toe: Policies Respect Legal Moves
12:06 A Policy Is a Table Covering Every State
14:41 State Value Measures Expected Future Return
18:21 Discounted Return and Random Trajectories
21:20 Computing Expected Rewards from Policy and Environment
34:33 Tic-Tac-Toe Opponent and Policy Rules
40:27 Comparing Tic-Tac-Toe Policies by Their Outcomes
45:13 Action Value Qπ(s,a): Evaluating a Chosen Move
49:30 A Mixed Tic-Tac-Toe Policy Produces Value −0.5
54:49 Policy Ordering and the Definition of Optimality
1:04:01 Model-Based and Model-Free Reinforcement Learning
1:09:01 Large State Spaces and Deep Reinforcement Learning
1:13:37 Terminal States and Episodic Tasks
1:17:35 Frozen Lake Policies and Multiple Optimal Routes
1:24:32 Model-Based Reinforcement Learning and the MDP Setup
1:27:02 The Markov Property and Stationary Dynamics
1:31:45 Marginalizing the MDP into Reward and Transition Models
1:34:30 Gridworld: Reward Shaping for the Shortest Path
1:37:23 Writing Gridworld Transitions and Terminal Behavior
1:43:16 Immediate Reward Depends on the Policy’s Action Choices
1:47:14 Why Immediate Reward Is Not Long-Term Value
1:53:55 Why Directly Expanding Every Future Reward Is Inefficient
2:11:38 Return Recursion: Immediate Reward Plus Future Return
2:14:07 Deriving the State-Value Bellman Equation
2:19:57 Next-State Probabilities Combine Policy and MDP
2:23:13 Bellman Equation as Expected Immediate and Future Value
2:25:42 Policy Evaluation as a System of Linear Equations
2:30:40 Solving Gridworld Values with Bellman Equations
2:35:41 Action-Value Bellman Equation for Qπ(s,a)
2:40:29 Bellman Optimality Leads to Value and Policy Iteration

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

Transcript excerpt

0:07 Okay, shall we start? Hi everybody. So, uh last time we talked about the basic framework for reinforcement learning. So the idea was that you got the agent and you have the environment, right? The agent tries to learn how to interact with this environment. Right? So what does the environment do? It gonna return you some observation. We talked about it. If we want to mathematically model it, we're going to go for the state, right? So we think of the environment to having specific state at every time upon doing an action. This environment going to look at the action. We're going to get the action from us. It's gonna change this stage,

0:54 right? So you're gonna change from one state to another. You're gonna return you a reward, right? That reward is something that you would like to collect as much as you could, right? So the whole purpose of the agent is to learn how it can interact with this environment so that it collects as much as reward possible for it. So that was the idea. And now what we're going to do today, we're going to uh get into the framework. We're going to make everything concrete. So we define a bunch of metrics like value function, action value. They're going to help us quantify this idea that we talked last time about. Okay. So let's start with that one. Let's talk about the policy, right? So what is the policy? So I think we had

1:41 this example the dummy example of the agent robot playing in different companies and then within that example you had a policy which was every day you are going to play work right. So if you want to define it concretely you can define it by a probability distribution.

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

In this course

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, 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.