REINFORCEMENT LEARNING · INTERVIEW QUESTION
Explain model-based vs model-free RL. What are the tradeoffs?
🔴 advanced · Advanced RL
Hint: Think about sample efficiency vs model accuracy.
Answer
Model-free RL: learns policy or value function directly from experience. No environment model needed.
Examples: DQN, PPO, SAC.
Pro: no model bias, simpler.
Con: sample inefficient, needs millions of interactions. Model-based RL: learns a dynamics model T(s'|s,a) and uses it for planning (e.g., MuZero, Dreamer).
Pro: much more sample efficient, can plan ahead.
Con: model errors compound (model bias), harder to train.
Hybrid approaches: Dyna architecture (learns model and does both real and simulated updates), world models (learn latent dynamics). MuZero (DeepMind) learns a latent model without explicit state prediction and achieved superhuman performance in games.
For robotics, model-based methods are preferred due to limited real-world interactions.
Related questions
- What is Stable-Baselines3? How is it used for practical RL?
- Explain the Bellman equation. How is it used in Q-learning?
- Explain PPO (Proximal Policy Optimization). Why is it preferred over vanilla policy gradient?
- What is reinforcement learning, and how does it differ from supervised and unsupervised learning?
- Explain the exploration-exploitation tradeoff. What strategies address it?