KatInterview

Design an Ad Density Experiment with Safety Boundaries

Statistics & ExperimentsModel answer
HardModel answerStatistics & ExperimentsAB TestingExperimental DesignCausal Inference

Last updated

Design a robust A/B test for introducing additional feed ads, balancing immediate revenue gains against long-term user retention, marketplace side effects, and experimental biases.

You are tasked with evaluating a proposed change to a social media news feed: inserting one extra advertisement for every eight organic posts viewed by a user.

Walk through a complete experimental design addressing the following elements:

  1. Randomization Strategy: Decide between user-level and session-level assignment. Provide a rigorous justification based on statistical assumptions, metric validity, and user behavior dynamics.
  2. Metric Architecture: Define the primary monetization metric and set up a framework of guardrail metrics (such as user retention, session length, content creator reach, and negative user signals). Specify target non-inferiority thresholds and explain how to address multiple hypothesis testing.
  3. Statistical Power & Sample Size: Perform a sample size calculation for a relative Minimum Detectable Effect (MDE) of +2.0% on ad revenue, assuming an ad revenue standard deviation equivalent to a coefficient of variation ($\text{CV} = \sigma / \mu$) of 0.8 at the user-day level. Contrast this with the sample size required for sensitive retention guardrails, and detail variance-reduction techniques.
  4. Validity Diagnostics & Behavioral Effects: Detail how to detect Sample Ratio Mismatches (SRMs) and trace their potential root causes. Explain how to isolate novelty, fatigue, or learning effects over the course of the experiment.
  5. Deployment & Holdback Strategy: Outline a staged rollout plan, specify geographic/demographic segmentation rules, and propose a long-term holdback methodology to quantify delayed churn.
  6. Interference & Feedback Loops: Explain how to identify and mitigate marketplace auction spillovers, network/social interference, and bias resulting from downstream machine learning models (e.g., dynamic feed ranking) adapting to the treatment arm.

Hints

Hint 1

Consider how session-level randomization creates post-treatment selection bias when the treatment directly alters session frequency or duration.

Hint 2

Guardrail metrics are often much less sensitive than revenue metrics. Calculate the required sample size for detecting tiny shifts in 7-day retention to determine your actual test duration.

Hint 3

Ad auction equilibrium can leak across user-level treatment arms if advertisers have fixed campaign budgets across the entire platform.