When should you use a multi-armed bandit over a fixed-horizon A/B test, and what inference do you give up?

Quick Overview

Decide when an adaptive multi-armed bandit beats a fixed-horizon A/B test and explain what adaptive traffic allocation costs you in statistical inference. Tests regret versus estimation goals, bias from data-dependent allocation, delayed feedback, and ways to recover valid estimates.

When should you use a multi-armed bandit over a fixed-horizon A/B test, and what inference do you give up?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

When would an adaptive multi-armed bandit be a better choice than a fixed-horizon A/B test, and what do you give up in inference? ```hint Compare the objectives Before listing use cases, ask what each method is designed to optimize and what you have in hand when it finishes. ``` ```hint Follow the allocation Think about what happens to an arm's sample mean when the number of users it receives depends on how well it did early on. ``` ### What a Strong Answer Covers - What each method is designed to optimize, and how that difference drives the choice - The conditions that favor a bandit - The conditions that favor a fixed-horizon test - What adaptive allocation costs in estimation and testing - Ways to recover some inference from bandit data, or to design around the problem ### Follow-up Questions - How would you get an unbiased estimate of each arm's mean from data collected by Thompson sampling? - What goes wrong in a bandit when the conversion rate drifts during the week, for example between weekday and weekend traffic? - How would you protect a guardrail metric, such as unsubscribe rate, in a bandit that optimizes click-through rate? - How does a contextual bandit change this trade-off?

Overview: Decide when an adaptive multi-armed bandit beats a fixed-horizon A/B test and explain what adaptive traffic allocation costs you in statistical inference. Tests regret versus estimation goals, bias from data-dependent allocation, delayed feedback, and ways to recover valid estimates.

Nov 24, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

When would an adaptive multi-armed bandit be a better choice than a fixed-horizon A/B test, and what do you give up in inference?

What a Strong Answer Covers Guidance

  • What each method is designed to optimize, and how that difference drives the choice
  • The conditions that favor a bandit
  • The conditions that favor a fixed-horizon test
  • What adaptive allocation costs in estimation and testing
  • Ways to recover some inference from bandit data, or to design around the problem

Follow-up Questions Guidance

  • How would you get an unbiased estimate of each arm's mean from data collected by Thompson sampling?
  • What goes wrong in a bandit when the conversion rate drifts during the week, for example between weekday and weekend traffic?
  • How would you protect a guardrail metric, such as unsubscribe rate, in a bandit that optimizes click-through rate?
  • How does a contextual bandit change this trade-off?