Supporting source: Lecture Notes 2 up thru 2.2, Projects 1&2 (no code-specific questions)
Four questions: one T/F, one MC, two short answer
Short answer questions will have partial credit and may require explanations or explicit step-by-step derivation, shorter/simpler than standard homework question
Design: exam takes 30-40 min for knowledgeable TA
How can we evaluate policies over indefinite horizons?
Agenda
Exam Details
Example
Exact Policy Evaluation
Iterative Policy Evaluation
Think/Pair/Share
Suppose our policy always takes a fixed action \(a\).
Define a vector \(U\in\mathbb R^{|\mathcal S|}\) such that $$\mathbb E_{s'\sim P(\cdot|s,a)}[V(s')] = U^\top V$$
Transition Matrix
Given a policy \(\pi(\cdot)\) and a transition function \(P(\cdot\mid \cdot,\cdot)\)
Define the transition matrix \(P_{\pi} \in \mathbb R^{S\times S}\)
At row \(s\) and column \(s'\), entry is \(\mathbb E_{a\sim\pi(s)}[P(s'\mid s,a)]\)
\(P_{\pi}=\)
\(s\)
\(s'\)
\(\mathbb E_{a\sim\pi(s)}[P(s'\mid s,a)]\)
Bellman Consistency
The matrix vector form of the Bellman Equation is $$V^{\pi} = R^{\pi} + \gamma P_{\pi} V^\pi$$