Skip to content
tezvyn:
Menu

Design an A/B test separating novelty from true long-term impact

Source: arXivHardHow cards are made

Tests distinguishing novelty from stable effects. Strong answer: staggered rollout with difference-in-differences comparing early and late adopters over weeks. Red flag: extending the A/B test without modeling time-interaction or control maturation.

What's really being asked

Whether the candidate understands that treatment effects are not static when users learn and adapt. Novelty, a temporary spike from curiosity, and primacy, a gradual ramp-up from adoption, both violate the stable unit treatment value assumption over time. The interviewer wants to see experimental design thinking that goes beyond a standard two-week A/B test and statistical fluency in separating time-treatment interactions from average treatment effects.

The full answer

First, design mechanics: propose a staggered rollout or a cohort-based holdout where different user segments receive the new newsfeed at different times, creating multiple treatment and control periods. Second, the analytical framework: apply a difference-in-differences estimator to compare early treated users against later treated users, using the later group as a control for the earlier group during the pre-treatment period. Third, functional form: model session duration as a function of treatment indicator, time since first exposure, and their interaction, allowing the coefficient to decay or grow. Fourth, power and sample size: acknowledge that detecting a small novelty decay requires more time or users than a standard t-test, and that the minimum detectable effect widens if you split data into weekly cohorts. Fifth, decision criteria: define a policy threshold based on the asymptotic long-term effect rather than the initial lift.

The mistakes people make

A major red flag is suggesting you simply run the experiment for 8 weeks and take the final week average. This ignores that the control group also experiences seasonality and maturation. Another error is comparing users who saw the feature early against users who saw it late without adjusting for calendar time, which confounds treatment with temporal trends. Some candidates propose surveying users for self-reported novelty; subjective metrics do not solve the causal identification problem. Finally, ignoring spillover is a mistake: if the newsfeed change affects downstream referral behavior, the control group may be contaminated.

What usually comes next

The interviewer may ask how you would validate the parallel trends assumption required for difference-in-differences when you only have observational data. They might also probe what you would do if the novelty effect interacts with seasonality, such as a holiday week. Another follow-up is how to trade off statistical power against user experience when holding back a beneficial treatment from the control group for an extended period. You should also be ready to discuss whether a simple linear time interaction is sufficient or if you need a non-parametric approach.

A concrete example

Suppose you launch the personalized newsfeed to 1 percent of users in week 1, 2 percent in week 2, and so on. For the week-1 cohort, weeks 1 through 4 are treated, while the week-4 cohort is still control during those weeks. You estimate the treatment effect for the week-1 cohort relative to the week-4 cohort in week 1, then again in week 4. If the gap shrinks from 30 seconds to 5 seconds, the difference-in-differences coefficient captures a novelty decay of 25 seconds. You then project the asymptote and compare it against the engineering cost of maintaining the new algorithm.

Interview question

Which approach best isolates novelty decay from true long-term treatment impact in a newsfeed A/B test?

  • a.Deploy a staggered rollout and estimate difference-in-differences across cohorts exposed at different times while controlling for calendar timeCorrect
  • b.Compare week 1 treated users directly against week 4 treated users without adjusting for calendar time
  • c.Survey early-treated users on self-reported novelty and subtract that subjective decay estimate from the overall measured lift
  • d.Run the experiment for eight weeks and compare the final-week treatment average against the final-week control average
Why?

A staggered rollout with difference-in-differences uses later cohorts as controls for earlier ones, separating true treatment dynamics from calendar trends. Simply extending the test to eight weeks is insufficient because the control group also experiences maturation and seasonality, so the final-week gap still mixes novelty decay with time-varying confounders.

Just read this? Test yourself on what you have been reading.

Read the original → arxiv.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles