Sarah Dean PRO
asst prof in CS at Cornell
Prof. Sarah Dean
MW 1:25-2:40pm
155 Olin Hall
1. RL Setting
2. Estimation and Variance
3. Off-Policy Estimation
Given data, how do we estimate the expected reward of a given policy?
action
observation (context)
\(a_t\in\mathcal A\)
reward
\(x_t\in\mathcal X\)
\(r_t\in\mathbb R\)
1. RL Setting
2. Estimation
3. Off-Policy
action
observation (context)
\(a_t\sim \pi_\theta(x_t)\)
reward
\(x_t\sim \mu\)
\(r_t\sim R(x_t,a_t)\)
Goal: achieve high cumulative reward
1. RL Setting
2. Estimation
3. Off-Policy
personalized Netflix banner
1. RL Setting
2. Estimation
3. Off-Policy
\(\mathcal{L}(\theta) = \mathbb{E}_{x,y\sim\mathcal{D}}[\ell(f_\theta(x), y)]\)
\(J(\theta)=\mathbb E_{x\sim \mu, a\sim \pi_\theta(x), r\sim R(x,a) }\left[r\right]\)
1. RL Setting
2. Estimation
3. Off-Policy
1. RL Setting
2. Estimation
3. Off-Policy
1. RL Setting
2. Estimation
3. Off-Policy
1. RL Setting
2. Estimation
3. Off-Policy
Given data \(\{(x_i,a_i,r_i)\}_{i=1}^n\) collected with \(a\sim\pi'\) , how do we estimate the expected reward \( J(\theta)=\mathbb E_{x\sim \mu, a\sim \pi_\theta(x), r\sim R(x,a) }\left[r\right]\)?
$$\hat J_\theta' = \frac{1}{n} \sum_{i=1}^n \frac{\pi_\theta(a_i|x_i)}{\pi'(a_i|x_i)} (r_i - b(x_i))$$
Importance weight ensures estimate is unbiased, though likely increases variance
Baseline shifts objective by a constant (independent of policy), may reduce variance
By Sarah Dean