Reinforcement Learning

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

Last updated 1:13 PM on 8/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

Return

Total discounted long term future reward. To evaluate the decision process of the agent.


Estimates the quality of the agent’s sequence of actions

<p>Total discounted long term future reward. To evaluate the decision process of the agent.</p><p></p><p>Estimates the quality of the agent’s sequence of actions</p>
2
New cards

Agent goal

Maximizing cumulative rewards over time.

<p>Maximizing cumulative rewards over time. </p>
3
New cards

Markov Property

The furure is independent of the past given the present.

4
New cards

Value functions

Estimate how good it is for an agent following policy \pi to be in a certain state or how good it is to perform a certain action from a state, based on expected rewards.

5
New cards

State Value Function

Expected return starting from state s anf following policy \pi

<p>Expected return starting from state s anf following policy \pi</p>
6
New cards

State-action Value Function

Expected return starting from state s, performing action a and following policy \pi

<p>Expected return starting from state s, performing action a and following policy \pi</p>
7
New cards

Advantage Function

Relative measure of action quality.

Estimates how much better (or worse) an action is compared to the average action in a given state

Mainly used for variance reduction

If A(s,a)>0, action a is better than the expected return from state s

<p>Relative measure of action quality.</p><p>Estimates how much better (or worse) an action is compared to the average action in a given state</p><p>Mainly used for variance reduction</p><p>If A(s,a)&gt;0, action a is better than the expected return from state s</p>
8
New cards

Bellman Equation

The value of a state equals the immediate reward plus the discounted value of future states

Recursive relationship

9
New cards

Bellman optimality equation for V*

knowt flashcard image
10
New cards

What does P(s′∣s,a) mean?

The probability of transitioning to state s′ after taking action a in state s.

11
New cards

What does R(s,a,s′) represent?

The immediate reward received when transitioning from s to s′ after taking action a.

12
New cards

What does the discount factor γ do?

It determines how much future rewards matter relative to immediate rewards

13
New cards

What does a small γ mean?

The agent focuses more on immediate rewards.

14
New cards

What does a γ close to 1 mean?

The agent places more importance on long-term rewards.

15
New cards

Why does the Bellman optimality equation contain max_a​?

Because an optimal agent chooses the action with the greatest expected return.

16
New cards

What is the Bellman expectation equation for a policy π?

knowt flashcard image
17
New cards

What is the difference between the Bellman expectation equation and Bellman optimality equation?

The expectation equation averages actions according to a fixed policy π, while the optimality equation chooses the best action using maxa​.

18
New cards

What question does policy evaluation answer?

How good is this particular policy?

19
New cards

What question does the Bellman optimality equation answer?

What is the best possible return I can achieve?

20
New cards

What is iterative policy evaluation?

Repeatedly applying the Bellman expectation update to estimate V^\pi

<p>Repeatedly applying the Bellman expectation update to estimate V^\pi</p>
21
New cards

Why can value functions be estimated iteratively?

Because the value of a state depends recursively on the values of successor states.

22
New cards
<p>What does V_k^\pi(s) mean?</p>

What does V_k^\pi(s) mean?

The estimate of the value of state s under policy \pi after k iterations of policy evaluation.

23
New cards

What is value iteration?

An iterative method for estimating the optimal value function using:

<p>An iterative method for estimating the optimal value function using:</p>
24
New cards

What is the key difference between iterative policy evaluation and value iteration?

Policy evaluation uses (sum \pi(s|a)) = Weighted average



Value iteration uses max_a


iterative policy evaluation, you already have a policy π, and you want to find out how good it is. So you follow that policy. If the policy sometimes chooses different actions, you take the weighted average


value iteration: you want to find the optimal behavior. So instead of averaging according to a policy, you choose the best action:


<p>Policy evaluation uses (sum \pi(s|a)) = Weighted average</p><p></p><p></p><p>Value iteration uses max_a</p><p></p><p><strong>iterative policy evaluation</strong>, you already have a policy π, and you want to find out how good it is. So you follow that policy. If the policy sometimes chooses different actions, you take the weighted average</p><p></p><p><strong>value iteration</strong>: you want to find the optimal behavior. So instead of averaging according to a policy, you choose the best action:</p><p></p>
25
New cards
<p>What is the intuitive meaning of</p>

What is the intuitive meaning of

What I get now + what I expect to get later.

26
New cards

What is the difference between V^\pi(s) and V*(s)?

Vπ(s) is the expected return from state s when following a specific policy π, while V*(s) is the maximum expected return achievable from s over all possible policies.

27
New cards

When do we use Vπ instead of V*?

Use Vπ when evaluating a fixed policy; use V* when reasoning about the optimal policy.