Geo Lift Experiments II: Spotify Blend Case Study

Kaushik Sureshkumar5 Jul 2022

Problem

A team wants to test a change to a multi-user feature: the invite flow of Spotify Blend, a shared playlist built from two friends' tastes. A user's experience depends on whether the invited friend sees the same change, so a user-level A/B test violates the stable unit treatment value assumption (SUTVA): a treated user can invite a friend in control, and that friend cannot see the new flow. Cluster randomization over follower graphs would fix this, but the infrastructure does not exist and is costly to build.

Example from the article: a hypothetical PM at Spotify sees a large drop-off between tapping Invite and a friend accepting. The change: invite by username or from a followers list inside the app instead of the native share sheet. The post's data is artificially generated.

Solution in brief

If most interacting users live in the same geography, release the change in one geography only and keep another as control. Compare the before-and-after conversion change in both (difference in differences). A Bayesian model of each conversion rate gives a credible interval for the uplift.

Questions this case answers
  • How to estimate the causal effect of a change when units interact, user-level randomization would contaminate the control group and cluster randomization is not available
  • How to quantify uncertainty of a difference-in-differences effect on a conversion rate measured in two groups before and after a change
  • How to test a feature whose value depends on friends using it too, when user-level A/B randomization breaks independence?
  • How to get a causal read on a social feature when there is no infrastructure for cluster randomization?

Tools and methods

  • Geo experiment — a whole geography is the unit, which restores approximate independence
  • Difference in differences — subtracts the control geography's change from the treated one's
  • Bayesian inference — Beta conversion rates with Bernoulli observations give credible intervals
  • PyMC — builds and samples the model
Continue reading — it's free

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