How Meta tests products with strong network effects

Tyrone Palmer15 Mar 2024

Problem

Chat and calling products are used by people who talk to each other. When users are randomized one by one, most test users talk to people who did not get the feature, so the feature is rarely used as designed (under-treatment). Test users also change the behavior of control users they talk to (spillover). Both effects shrink the measured difference, and spillover grows with the experiment. Teams then miss good features or ship bad ones unnoticed.

Example from the article: a redial button after dropped calls showed an engagement gain in a small test that became non-significant as the test scaled up, while total calls across test and control kept rising.

Solution in brief

Group users into clusters by who they interact with most, then randomize whole clusters to test or control while still measuring user-level metrics. Choose the clustering by two numbers: purity, which is how many interactions stay inside a cluster, and the intra-cluster correlation coefficient (ICC), which sets how much power is lost.

Questions this case answers
  • How to run a randomized experiment when units interact, so that treated and control units contaminate each other and user-level randomization dilutes the effect
  • How to trade off isolation between experiment arms against statistical power when randomizing groups of connected units
  • How to run an A/B test on a chat or calling feature when test and control users talk to each other?
  • How to choose clusters for a cluster-randomized experiment and know whether they are good enough?

Tools and methods

  • Cluster experiment — randomize by cluster id, expose and measure by user
  • Louvain — modularity-maximizing graph partitioning used to build clusters
  • Power analysis — minimum detectable effect (MDE) per candidate clustering
  • A/B test — user-randomized arm kept as a baseline in a mixed experiment
Continue reading — it's free

Google or a one-time email code. No password.