An online experiment shows a 2% lift. Should we ship the new model?
Choose the experimental unit, interpret uncertainty, and avoid declaring a winner from noise.
01. Specify the estimand and unit
Define the population, treatment, outcome, and time window. For a recommendation change, you might measure purchases per assigned user over seven days. Randomize at the user level if experiences persist across visits. Counting each session as independent would understate uncertainty when sessions belong to the same people.
Keep assignment stable and log both assignment and exposure. An intent-to-treat analysis retains assigned users even if they never see the changed surface. Restricting analysis after assignment can introduce selection bias if treatment affects who becomes exposed.
02. Read an illustrative effect size
Suppose two independent groups each contain 10,000 users. Control has 1,000 conversions and treatment has 1,020. Rates are 10.0% and 10.2%, so the absolute change is 0.2 percentage points and relative lift is 2%.
Using a simple large-sample, unpooled approximation, the standard error of the rate difference is sqrt(0.1×0.9/10000 + 0.102×0.898/10000), about 0.00426. An approximate 95% interval is 0.002 ± 0.00835. This example is compatible with a decrease or increase; the headline lift alone is weak evidence.
03. Plan the decision before inspecting results
Specify the primary metric, practical minimum effect, guardrails, duration, and analysis method. A fixed-horizon test should not be repeatedly stopped whenever an ordinary confidence interval excludes zero. Sequential methods require an analysis designed for that monitoring scheme.
Check sample-ratio mismatch, assignment bugs, missing telemetry, novelty effects, and day-of-week coverage. A mathematically correct interval does not repair a broken randomization pipeline. Multiple metric hunting also increases the chance of finding a flattering result by accident.
04. Recognize interference and delayed effects
Users may affect each other through shared inventory, marketplace supply, or social interactions. Individual randomization can then measure a mixed environment rather than the impact of a complete rollout. Depending on the system, a cluster or time-based design may better match the question, but needs its own assumptions and power calculation.
Follow-up: engagement rises while complaints rise too. Apply the predeclared guardrail and inspect whether the improvement reflects useful activity. A statistically detectable change can still be operationally harmful or too small to justify maintenance cost.
Practice the follow-up
Explain the difference between a 2% relative lift and a two-percentage-point increase from a 10% baseline.
Connect this to online recommendation evaluation.
Sources & further reading
Microsoft Research: online experimentation. The interview scenario, calculations, and proposed design choices are illustrative.
Continue your preparation
Choose a connected learning path or browse more ML fundamentals questions. Read our editorial method and attribution policy.