When would you frame a problem as reinforcement learning instead of supervised learning?

Quick Overview

Asks when a machine learning problem should be framed as reinforcement learning and when supervised learning is the better fit. Tests understanding of sequential decisions, delayed rewards, exploration, middle grounds such as contextual bandits and imitation learning, and the costs of RL.

When would you frame a problem as reinforcement learning instead of supervised learning?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

When would you frame a problem as reinforcement learning instead of supervised learning? Describe the properties of a problem that call for RL, the simpler options worth trying first, and the costs you take on. ```hint Where the targets come from Think about where the training targets come from in each setting, and what happens to the next inputs after the model acts. ``` ```hint Look between the two Some problems have partial feedback but no long chain of decisions. Ask what framing fits a single decision whose outcome you only see for the action you chose. ``` ### What a Strong Answer Covers - What supervised learning assumes about labels and about the data distribution - The conditions that call for RL: sequential decisions that change state, delayed or sparse reward, no correct action to label, and the need to explore - Middle-ground framings such as contextual bandits, imitation learning and offline RL - The costs and risks of RL, including simulators or safe exploration, sample efficiency, stability, offline evaluation and reward design ### Follow-up Questions - A recommender is retrained on click logs produced by its own rankings. Why is that a problem, and how would a bandit framing help? - How would you evaluate a new policy offline from logged data before deploying it? - The agent has learned to game your reward. How would you notice, and how would you fix it? - When would you start from imitation learning and then fine-tune with RL?

Overview: Asks when a machine learning problem should be framed as reinforcement learning and when supervised learning is the better fit. Tests understanding of sequential decisions, delayed rewards, exploration, middle grounds such as contextual bandits and imitation learning, and the costs of RL.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

When would you frame a problem as reinforcement learning instead of supervised learning? Describe the properties of a problem that call for RL, the simpler options worth trying first, and the costs you take on.

What a Strong Answer Covers Guidance

  • What supervised learning assumes about labels and about the data distribution
  • The conditions that call for RL: sequential decisions that change state, delayed or sparse reward, no correct action to label, and the need to explore
  • Middle-ground framings such as contextual bandits, imitation learning and offline RL
  • The costs and risks of RL, including simulators or safe exploration, sample efficiency, stability, offline evaluation and reward design

Follow-up Questions Guidance

  • A recommender is retrained on click logs produced by its own rankings. Why is that a problem, and how would a bandit framing help?
  • How would you evaluate a new policy offline from logged data before deploying it?
  • The agent has learned to game your reward. How would you notice, and how would you fix it?
  • When would you start from imitation learning and then fine-tune with RL?