Problem
Many internet companies follow data minimization and keep less raw data, often one aggregate per experiment unit. This is fine for means, but exact quantiles need every observation. Teams then cannot say how the P50, P95 or P99 of a metric moved. Storing full observation-level logs for this purpose is at odds with data minimization.
Example from the article: the authors test the method on three randomized experiments from a large internet company, with 50,000 to 6,000,000 units and 600,000 to 23,000,000 observations (per the paper).
Solution in brief
Each unit stores a histogram of its observations over fixed bins instead of raw values. Experiment-level histograms give approximate quantiles by interpolation inside a bin, and a clustered delta-method formula gives standard errors. Noise added to bin counts adds formal differential privacy.
Questions this case answers
- How to estimate distribution-quantile effects of a randomized change when only coarse aggregates per unit may be stored and formal privacy guarantees are required
- How to estimate quantile treatment effects in an A/B test when raw observations are not retained?
- How to get confidence intervals for a quantile effect from per-unit histograms?
- How to add differential privacy to experiment results without losing the ability to analyze quantiles?
Tools and methods
- Per-unit histogram aggregation — replaces raw observations with bin counts.
- Linear interpolation within a bin — turns a bin and rank into a quantile value.
- Clustered delta-method variance — standard error of the quantile and of the QTE.
- Geometric noise on bin counts — discrete analogue of the Laplace mechanism for differential privacy.
- A/A permutation test — checks p-value uniformity and interval coverage.
Google or a one-time email code. No password.