Choosing Cluster Granularity for a Graph-Randomized Instagram Test
Last updated: November 29, 2026
Quick Overview
You will graph-cluster Instagram's follow graph to randomize a Stories sharing feature. Explain how the number and size of clusters trade off bias against variance, and how you would pick a clustering.
Meta
November 29, 20260
0
0 solved
You will graph-cluster Instagram's follow graph to randomize a Stories sharing feature. Explain how the number and size of clusters trade off bias against variance, and how you would pick a clustering.
Meta has used graph cluster randomization for features with spillover, and the key judgment is cluster granularity. Interviewers want you to quantify the trade-off with concrete diagnostics instead of picking a number by intuition.
What the Interviewer Expects
- Explain that larger clusters cut fewer edges and reduce interference bias
- Explain that fewer clusters increase variance and imbalance
- Define diagnostics: share of edges or interaction weight kept within clusters, cluster count, size balance
- Use historical data or A/A simulation to estimate variance per clustering
- Pick a clustering with a stated rule
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- Why weight edges by interaction rather than follow edges alone?
- How would you handle celebrity accounts with millions of followers?
- How could you check that the chosen clustering actually reduced bias?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
The feature lets users reshare friends' Stories to their own. Spillover travels along who views whose Stories. Metric: Stories viewed per user per day. Ask what clustering tool exists (assume a balanc...
Approach
Two forces:
- Bias: a user's exposure is closer to the launch condition when most of the people they interact with share their arm. Fewer, larger clusters keep more interaction within clusters.
- ...