All 214 Reinforcement Learning interview questions
MDPs, exploration, policy vs value methods, and modern actor-critic algorithms.
Every question below opens on its own page, with a full answer, the formulas written out and a multiple-choice check. Free to read, no account needed.
Fundamentals & MDPs
- Define the RL setting: agent, environment, state, action, reward, policy.easy
- On-policy vs off-policy learning — what's the difference?medium
- What does the Bellman equation say?medium
- What role does the discount factor gamma play?easy
- What is the credit assignment problem?hard
- Model-based vs model-free RL — when do you prefer each?medium
- What is the Markov property and why does it matter?medium
- POMDP — how does it differ from MDP?hard
- V(s) vs Q(s, a) — the difference.easy
- What is the advantage function?medium
- Different notions of return — MC, TD(0), n-step, GAE.hard
- What is TD error?medium
- Policy iteration vs value iteration.medium
- TD(λ) — how does it work?hard
- Monte Carlo methods in RL — when to use?medium
- Tabular vs function-approximation RL — the challenge.hard
- Why do Bellman operators converge?hard
- TD vs MC — how they differ in bias-variance.medium
- Linear function approximation for value functions — pros and cons.medium
- When does tabular Q-learning provably converge?hard
- When does tabular Q-learning fail in practice?medium
- Why is subtracting a baseline OK in policy gradient?hard
- The log-derivative trick — why is it central to policy gradients?hard
- What is natural gradient in policy gradient methods?hard
- Reparameterization trick in stochastic policies.hard
- GAE — Generalized Advantage Estimation formula.hard
- Off-policy policy gradient — how does importance sampling enter?hard
- V-trace off-policy correction formula.hard
- Retrace(λ) — safe off-policy Q updates.hard
- Policy gradient as mirror descent — the connection.hard
- UCB — Upper Confidence Bound for exploration.medium
- Model bias in MBRL — the challenge.hard
- LQR — Linear Quadratic Regulator and where it's still used.medium
- When does planning beat learning?medium
- Decision Transformer — how does it recast RL?hard
- Trajectory Transformer — variant of Decision Transformer.hard
- Nash equilibrium in multi-agent RL — what and when?hard
- Fictitious play — what is it?hard
- Options framework — formalization.hard
- DPO derivation — the key mathematical insight.hard
- Meta-RL — learning to learn.hard
- How does transfer learning work in RL?medium
- Successor features — what and why?hard
- Reward machines — structured reward specification.hard
- Potential-based reward shaping — why is it safe?hard
- How do you handle partial observability in deep RL?medium
- LQG — Linear Quadratic Gaussian control.hard
- Generalization in RL — why is it hard?hard
- Catastrophic forgetting in continual RL.hard
- Generalist agents — Gato and DeepMind's approach.hard
- Quantile regression in QR-DQN — the loss.hard
- Deadly triad — the three ingredients.hard
- Where is RL heading (2025+)?hard
- How do you choose the discount factor, and what goes wrong at the extremes?medium
- What is the deadly triad and how do practical algorithms cope with it?hard
- Why can't you just run Q-learning on a fixed dataset?hard
Value methods (Q-learning, DQN)
- What update does Q-learning perform?medium
- What are the key tricks that make DQN work?hard
- Double DQN — what problem does it solve?medium
- Dueling DQN — architecture.hard
- Prioritized replay — mechanism.hard
- Rainbow DQN — what six extensions does it combine?hard
- Distributional RL (C51, QR-DQN) — the idea.hard
- Noisy nets — how do they replace ε-greedy?hard
- SARSA update — on-policy analog of Q-learning.medium
- How do you size a replay buffer?medium
- Hard update vs soft (Polyak) update for target networks.medium
- Why does DQN scale poorly to continuous action spaces?hard
- Fitted Q-Iteration — batch off-policy Q-learning.hard
- C51 — how does the projected Bellman update work?hard
- IQN — Implicit Quantile Networks.hard
- Why is naive DQN unstable and what specific fixes address which cause?hard
- Value decomposition (VDN, QMIX) — for multi-agent Q-learning.hard
- DDPG — Deep Deterministic Policy Gradient.hard
- TD3 — Twin Delayed DDPG improvements over DDPG.hard
- SAC — Soft Actor-Critic mechanism and advantages.hard
- IMPALA — how does it scale actor-critic?hard
- Vectorized environments — why and how?medium
- Bootstrapped DQN — approximate Thompson sampling for deep RL.hard
- Count-based exploration for large state spaces.hard
- Random Network Distillation (RND) — mechanism.hard
- Intrinsic Curiosity Module (ICM) — Pathak et al.hard
- Go-Explore — how does it solve hard-exploration?hard
- Hindsight Experience Replay (HER) — the trick.hard
- Agent57 — how did it achieve above-human on all Atari?hard
- World models (Ha & Schmidhuber, Dreamer) — big idea.hard
- MuZero — model-based RL without knowing the env dynamics.hard
- MBPO — Model-Based Policy Optimization.hard
- How do you improve sample efficiency in deep RL?medium
- Sim-to-real — main techniques.hard
- R2D2 — distributed recurrent DQN.hard
- Why does DQN stack 4 consecutive frames?easy
- Reward clipping in DQN — trade-offs.medium
- OpenAI Five — Dota 2 milestone.hard
- Plasticity loss in deep RL — the problem.hard
Policy gradients & actor-critic
- What is a policy gradient and why do we use it?hard
- What is an actor-critic algorithm?medium
- Why is PPO so widely used?medium
- REINFORCE — the vanilla policy-gradient algorithm.medium
- TRPO — Trust Region Policy Optimization.hard
- PPO's clipped surrogate objective — write it and explain.hard
- PPO implementation details that actually matter.hard
- A2C vs A3C — the difference.medium
- Why add an entropy bonus to the policy objective?medium
- PPO vs SAC — which do you pick?medium
- DPO — Direct Preference Optimization instead of RLHF PPO.hard
- GRPO — Group Relative Policy Optimization (DeepSeekMath, R1).hard
- Categorical vs Gaussian vs beta policies — which and when?medium
- Value function clipping in PPO — why and how?hard
- How does batch size / rollout length affect PPO?medium
- Ornstein-Uhlenbeck noise vs Gaussian noise for continuous control.medium
- MADDPG — Multi-Agent DDPG.hard
- MAPPO — Multi-Agent PPO.medium
- Hierarchical RL — why and how?hard
- DIAYN — Diversity is All You Need for skill discovery.hard
- Goal-conditioned RL — setup.medium
- Interview: 'explain why PPO is on-policy but uses a ratio to importance-sample.'hard
- Curriculum learning in RL — how to design one?medium
- What is the clipping in PPO actually protecting you from?hard
- When does the sample inefficiency of on-policy methods stop mattering?medium
Exploration strategies
- What is the exploration-exploitation tradeoff?easy
- CEM — Cross-Entropy Method for planning.medium
- ε-greedy — how do you schedule ε?easy
- How does posterior sampling drive exploration in deep RL?hard
- Why is Montezuma's Revenge such a famous benchmark?medium
- Parameter noise for exploration — how is it different?medium
- The 'noisy TV problem' in curiosity-driven exploration.hard
- Emergent tool use in RL — canonical example.medium
- You want to optimize which of five banners to show. Bandit or full RL?medium
- How do you explore safely when the environment is real paying users?hard
- The reward arrives only at the end of a 500-step episode. What do you do?hard
Model-based & planning
Reward design & shaping
Deep RL engineering
- Learning-rate schedule for PPO / SAC — what works?medium
- Population-Based Training (PBT) for RL.hard
- Interview: 'your DQN agent isn't learning — how do you debug?'hard
- Policy averaging — what is it and why?medium
- How do you efficiently train RLHF at scale?hard
- Your policy is perfect in simulation and useless on the real robot. How do you close the gap?hard
- Two RL algorithms report different scores in a paper. Why should you be skeptical?medium
Offline RL
- What is off-policy evaluation and why is it hard?hard
- What is offline RL and why does it matter?medium
- Why is distribution shift the core challenge in offline RL?hard
- BCQ — Batch-Constrained Q-Learning.hard
- CQL — Conservative Q-Learning.hard
- IQL — Implicit Q-Learning.hard
- TD3+BC — the simplest offline RL baseline.medium
- Behavior Cloning (BC) — when does it work?medium
- DAgger — Dataset Aggregation for imitation learning.medium
- Inverse Reinforcement Learning (IRL) — the setup.hard
- GAIL — Generative Adversarial Imitation Learning.hard
- Reward hacking in RLHF — canonical examples.hard
- Constitutional AI — mechanism.hard
- How does the KL penalty interact with reward hacking?hard
- Safe RL — how do you constrain during learning?hard
- Sycophancy in RLHF — what causes it and how to fix?hard
- How does RL contribute to jailbreak defense?hard
- How is o1-style reasoning safer or riskier?hard
- Why is RL hard for autonomous driving?hard
- RL in healthcare — key challenges.hard
- Interview: 'how do you make an RL policy safe to deploy?'hard
- Safety verifier reward — what and how?hard
Multi-agent RL
- Multi-agent RL — what makes it fundamentally different?hard
- Centralized Training Decentralized Execution (CTDE).hard
- Self-play — why does it work for games?hard
- League play in AlphaStar — mechanism.hard
- How do agents learn to cooperate?hard
- Emergent communication in MARL — canonical result.hard
- AlphaStar StarCraft II — main technical innovations.hard
RLHF & LLM alignment
- What is RLHF and how does it fit into training an LLM?hard
- RLHF pipeline — the three stages in detail.hard
- Bradley-Terry model in reward modeling.hard
- Why does RLHF include a KL penalty?hard
- DPO vs PPO for RLHF — practical comparison.hard
- RLAIF — RL from AI Feedback.hard
- RL for reasoning (o1, DeepSeek-R1) — the paradigm shift.hard
- How does RL train chain-of-thought reasoning?hard
- Verifier reward vs preference-based reward — when to use each?medium
- Process reward vs outcome reward for reasoning.hard
- Iterative RLHF — why do you keep going?hard
- What can RL do that SFT cannot?medium
- How do reward models scale with size?hard
- How do you fix length bias in RLHF?medium
- ORPO — Odds Ratio Preference Optimization.hard
- KTO — Kahneman-Tversky Optimization.hard
- What is 'alignment tax' in RLHF?hard
- How does RL train tool-use in LLM agents?hard
- Interview: 'walk me through the tradeoffs of SFT-only vs SFT+RLHF vs SFT+DPO.'hard
- ORPO vs DPO — key difference.hard
- LLM agent benchmarks — what tests capability?medium
- 'Verifier + refiner' RL pattern for reasoning.hard
- In RLHF, why does the reward model become unreliable as training progresses?hard
- Why do many teams choose DPO over PPO for alignment?medium
Applications & safety
- AlphaGo — what made it different from prior Go engines?medium
- Is AlphaFold RL?hard
- OpenAI's Rubik's Cube robot — key techniques.hard
- Modern quadruped locomotion — RL pipeline.hard
- Industrial RL applications and challenges.medium
- How is a recommender system a bandit / RL problem?medium
- RL in trading / finance — techniques.hard
- Interview: 'design exploration for a recommendation system.'hard
- Standard deep RL benchmark suites.medium
- RT-2 — Vision-Language-Action model.hard
- A product manager asks for reinforcement learning. When should you talk them out of it?medium
Interview scenarios
- Interview: 'design an RL system for X' — what's your framework?medium
- Interview: 'when should you NOT use RL?'medium
- Interview: 'you're given 100 hours of expert data + can simulate — how do you train an agent?'hard
- Interview: 'DQN vs PPO vs SAC vs DPO — which for what?'medium
- Interview: 'summarize when RL wins in production.'medium