Experiment design under network effects
awareness that SUTVA breaks under interference.
cluster-level randomization, graph or geo clustering to contain spillover, and analysis at the cluster unit.
What's really being asked
This probes understanding of interference: classic experiments assume one unit's treatment does not affect another's outcome. Referral and social features break that, so the candidate must redesign randomization and analysis.
The full answer
Name the violated assumption, often called SUTVA or no interference. With user-level randomization, a treated user who can invite friends may invite control users, so control outcomes are contaminated and the estimated effect shrinks toward zero. The fix is to randomize at the level of clusters that contain most interactions: connected components of the social graph, detected communities, geographies, or organizations. Assign whole clusters to treatment or control so spillover stays inside an arm. Analysis then treats the cluster as the unit, which reduces effective sample size and inflates variance, so you need enough clusters and methods like cluster-robust standard errors. Consider ego-network or switchback designs as alternatives.
The mistakes people make
Keeping user-level randomization and trusting the dilution. Ignoring that variance now lives at the cluster level and computing significance on individual users, overstating power. Forgetting that clustering reduces statistical power and undersizing the test.
What usually comes next
How do you build clusters when the graph is dense and components are huge? What is a switchback design and when is it better? How do you estimate the bias direction if you had run it naively?
A concrete example
A referral program is tested by partitioning users into 2000 social communities via graph clustering. Each community is randomly assigned wholly to treatment or control. Invites flow within a community, so spillover is contained. You compare mean signups per community across arms using cluster-level standard errors, accepting lower power for an unbiased estimate.
Interview question
Why does simple user-level randomization underestimate the impact of a referral feature?
- a.Treated users invite control users, contaminating the control arm and shrinking the measured effectCorrect
- b.Control users cannot be assigned a referral code at all
- c.Referral codes are too long to track reliably
- d.User-level randomization always increases variance
Why? this is the answer
Spillover from treated to control users violates the no-interference assumption, biasing the estimate toward zero. The other options are not the structural cause of the bias.
Just read this? Test yourself on what you have been reading.
Read the original → research.facebook.com
- #network-effects
- #interference
- #cluster-randomization
- #ab-testing
- #causal-inference
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.
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