Problem
Alfa-Bank built a model that ranks ad banners for each client by predicted attractiveness. Offline accuracy was high. In the pilot, the effect was negative for most banners and almost absent for the rest.
Good accuracy at training with no effect in the pilot points to a flaw in the experiment design. Usual suspects are groups that are too small (low power) and groups that are not comparable.
Example from the article: in the Alfa-Bank pilot the compared groups turned out to be incomparable, so the conclusion that the models were ineffective was premature.
Solution in brief
Random splitting does not guarantee comparable groups, so test the assignment itself with repeated A/A tests. Build groups by stratification: cluster clients into dense strata and take the same share from every stratum. If the experiment is already over, apply post-stratification: cut each stratum in the groups until its share matches its share in the whole client base, then read out the effect again.
Questions this case answers
- How to find out whether a model that scored well offline but showed no effect in a pilot is really useless or the experiment groups were not comparable
- How to correct the readout of a finished experiment when the assigned groups differ in composition and the assignment cannot be redone
- How to tell whether a banner personalization model has no real effect or the pilot itself was set up wrongly?
- How to form control and test groups that are comparable with each other and with the whole client base?
Tools and methods
- Stratified assignment via HDBSCAN clusters — forms groups with the same stratum shares as the client base
- Repeated A/A test — estimates the type I error of an assignment algorithm
- Comparison of stratum shares — detects incomparable groups that an A/A test misses
- Post-stratification — repairs the readout of a finished experiment
- Kolmogorov ABacus — open-source library by GlowByte that implements these steps
Google or a one-time email code. No password.