Promoting fairness through experimentation for Windows Experimentation Platform (WExp)

Fan Yin26 Apr 2022

Problem

Experiment readouts compare average metrics between control and treatment. An average hides who gains and who loses: a treatment can help a small group a lot and hurt most users while the mean stays positive. At Microsoft the Windows Experimentation Platform (WExp) runs hundreds of experiments a year, so a manual look at each readout does not scale.

Example from the article: two treatments both have an average effect of +2. Treatment 1 lifts every user by 2. Treatment 2 lowers the metric for most users and raises it a lot for a few, which increases inequality.

Solution in brief

For every experiment, test whether the Atkinson inequality index differs between treatment and control. If it does, fit a causal tree on the user attributes to see which subpopulations carry the change. Platform users then follow a three-step investigation workflow.

Questions this case answers
  • How to detect that a randomized change shifts how a metric is distributed across units, even when the average effect looks positive
  • How to find the subpopulations that drive a hidden distributional change in an experiment readout
  • How to detect that a treatment with a positive average effect makes outcomes more unequal across users or devices?
  • How to find which user segments drive a change in the distribution of an experiment metric?

Tools and methods

  • Atkinson index — measures how unequally a metric is spread across users or devices.
  • Hypothesis test on the index — checks whether treatment and control have the same index.
  • Causal tree — estimates conditional average treatment effects (CATE) by subpopulation.
  • Apache Spark on Databricks, R, Cosmos DB — the stack that runs the checks on large experiment data.
Continue reading — it's free

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