MLCrack

    Reinforcement Learning Interview Questions

    120 questions on mDPs, Q-learning, policy gradients, actor-critic, multi-agent. The first 20 are free, no account needed.

    Practice free β†’

    What this topic covers

    Reinforcement learning is asked about in research and applied scientist interviews, in robotics and games roles, and increasingly wherever bandits, recommendation or LLM alignment are involved. It has more specialized vocabulary than most topics, so a clear grasp of the basics goes a long way. This topic covers Markov decision processes, value-based methods, policy gradient methods and deep RL.

    The fundamentals questions define the pieces of a Markov decision process: states, actions, transitions, rewards and the discount factor. You should be able to write the Bellman equations for the value function and the action-value function, and explain policy evaluation, policy iteration and value iteration. The distinction between model-based and model-free learning, and between on-policy and off-policy learning, is tested repeatedly.

    Value-based questions cover temporal difference learning, SARSA and Q-learning, then the additions that made deep Q-networks work: experience replay, target networks and fixes for overestimation. Policy gradient questions cover the policy gradient theorem, REINFORCE and its high variance, baselines and advantage estimation, and actor-critic methods including PPO, which is the algorithm interviewers ask about most.

    Further questions deal with exploration and exploitation, from epsilon-greedy to upper confidence bounds and Thompson sampling, with reward design and the ways an agent can exploit a badly specified reward, and with offline RL, simulation-to-real transfer and safety.

    How to approach RL questions

    Start every answer by naming the setting. Is the environment known or unknown, are actions discrete or continuous, is data collected online or fixed in advance? Most algorithm choices follow from those three facts, and stating them makes a comparison question much easier to answer.

    Be honest about why RL is hard in practice. Sample inefficiency, unstable training, sensitivity to hyperparameters and difficult evaluation are all fair points, and interviewers appreciate candidates who know when a contextual bandit or a supervised model is the better tool.

    It is also worth preparing the link to language models, since reinforcement learning from human feedback and reward modeling are now common questions even outside RL teams.

    The sample questions below have complete answers and are free to read. Use the practice list to continue through the free questions for this topic, starting with the fundamentals if the notation is still new to you.

    Sample Reinforcement Learning interview questions

    Practice Reinforcement Learning questions

    120 questions Β· 0 self-assessed