Universal insights despite data boundaries: how Microsoft’s Experimentation adapted to EU data protection

Ada Wang, Hao Ai22 Jan 2025

Problem

Microsoft's experimentation platform (ExP) used to analyze each A/B test on one global dataset. After the 2021 EU Data Boundary pledge, EU customer data has to be processed inside the EU, so each product produces separate analyses for the EU and the rest of the world (RoW). The click-through rate (CTR) is now calculated separately for the EU and for RoW, and the global CTR cannot be derived by averaging the two regional CTRs. Reading only the larger region (RoW) loses power and risks shipping a bug to the other region.

Example from the article: in one Microsoft product, 14.7% of over 4000 regional scorecards showed a different treatment effect than their merged global counterparts.

Solution in brief

Keep traffic exposure global, build a scorecard per region, and merge the regional scorecards with a statistics engine that combines intermediate statistics per metric type. The merge is checked on pseudo-regional data (identical result expected) and then on real data against a temporarily available global scorecard (small discrepancies expected).

Questions this case answers
  • How to compute the global treatment effect of an experiment when the data of each region can only be aggregated locally and only summary statistics can be combined
  • How to verify that results merged from partitioned datasets equal the results from the full dataset
  • How to get one global A/B test result when regional data may only be analyzed inside its own region
  • How to combine regional scorecards for average, ratio and percentile metrics without raw data

Tools and methods

  • Scorecard merge module — combines regional scorecards into one global scorecard, with a separate merge rule for each metric type
  • Delta method — variance of metrics below the randomization-unit level, in single and merged scorecards
  • Outer CI method — standard error of percentile metrics from mergeable frequency distributions
  • Apache Spark — compute fabric supported by the merge (Cosmos is the other)
Continue reading — it's free

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