KatInterview

Feed Personalization Algorithm A/B Testing Framework

Statistics & ExperimentsModel answer
HardModel answerStatistics & ExperimentsAB TestingExperimentationCausal Inference

Last updated

Design an end-to-end A/B test framework to evaluate a new feed recommendation algorithm, addressing metrics, network spillover, novelty decay, and statistical validation.

You are an experiment strategist for a major content sharing platform with approximately 100 million daily active users (DAU). The ML personalization team has developed a new deep recommendation model for the primary content stream aimed at increasing overall user engagement.

However, content updates can alter user interaction patterns, affect ad delivery, and introduce spillover across connected users. You are asked to formulate an end-to-end experimental strategy to evaluate whether this recommendation engine should be rolled out globally.

Requirements

  1. Metric Framework: Define primary evaluation metrics, secondary engagement signals, and essential guardrail metrics. Address how to evaluate complex non-i.i.d. ratio metrics statistically.
  2. Experimental Design & Interference: Select the unit of randomization. Formulate a strategy to mitigate and measure network spillover effects (interference across users) and marketplace cannibalization. Include sample size and power estimations.
  3. Temporal Effects & Long-Term Value: Outline a methodology to isolate short-term novelty or friction effects from true steady-state engagement. Explain how to bridge short-term experimental results with long-term user retention.
  4. Validation & Decision Rules: Define a pre-analysis verification process (e.g., integrity checks) and concrete decision criteria for the final global rollout recommendation.

Hints

Hint 1

Consider how interactions between users (e.g., shares, comments) violate the stable unit treatment value assumption (SUTVA).

Hint 2

Think about variance reduction techniques like CUPED to maintain sensitivity without needing massive sample allocations.

Hint 3

For non-i.i.d. ratio metrics where the randomization unit differs from the evaluation unit, recall how the delta method or bootstrapping can be applied for standard error estimation.