Problem
A marketing platform wants to tell its customers who should get an SMS and who an email. There are several candidate assignment rules, and recipients probably engage more with SMS in general, so the team needs the size of the difference, not only the winner. Testing each rule in its own A/B test takes one experiment per rule. That is too slow, and nothing shows that the best rule was among those tried.
Example from the article: In March 2022, a year after Klaviyo launched SMS, a research proposal listed 5 rules for choosing SMS or email per recipient, for example SMS to profiles that had just consented to SMS and email to everyone else.
Solution in brief
Randomize the treatment first and split recipients into segments afterwards. Any rule can then be scored on the logged test data with an inverse propensity weighting (IPW) estimator, and the same data can train an uplift model that picks the treatment per profile.
Questions this case answers
- How to evaluate many candidate rules for assigning treatments to units from a single randomized experiment, when testing each rule separately is too slow
- How to learn a per-unit treatment assignment policy from randomized or logged data when only the outcome of the chosen action is observed
- How to compare many rules for assigning customers to treatments without running one A/B test per rule?
- How to estimate offline how well a treatment-assignment policy would have worked, using data from one randomized test?
Tools and methods
- Inverse propensity weighting (IPW) — scores any assignment rule on logged randomized data
- Uplift decision trees (CTS, DDP splitting criteria) — learn individual treatment effects directly
- S- and T-learners — simple meta-learners that predict the outcome per treatment
- Doubly robust learners — blend the meta-learners with the IPW estimate
- DoWhy, CausalML, EconML — Python packages with uplift and policy-learning implementations
Google or a one-time email code. No password.