Interview: 'explain why PPO is on-policy but uses a ratio to importance-sample.'
hardAnswer
- On-policy in spirit: PPO uses only recent data collected under .
- The importance ratio r = π_θ / accounts for the fact that after several gradient steps within the epoch, π_θ has drifted from the data-generating — but not far (clipping enforces this).
- Compare: fully off-policy (SAC, Q-learning) reuses ancient data.
- PPO's 'small IS correction' is the whole point of the clipped surrogate.
Check yourself — multiple choice
- Random
- On-policy in spirit — only recent data; ratio π_θ/ accounts for drift within epochs (kept small by clip); fully off-policy (SAC/Q-learning) reuses ancient data — PPO's clipped IS is core mechanism
- Same as SAC
- Not real
PPO on-policy w/ small IS correction; clip keeps ratio in trust region.
#interview#policy-methods
Practise Reinforcement Learning
214 interview questions in this topic.