Evaluating Uplift Models

Matteo Courthoud13 Jul 2023

Problem

A marketing team wants to email only customers for whom the email raises revenue. It trains several uplift models but cannot tell which is best. The effect on one customer is never observed, because each customer either got the email or did not. A validation set or even a randomized experiment gives no per-customer ground truth to score against. A wrong pick means the wrong customers get the email.

Example from the article: a simulated promotional-email dataset (500 training customers, sales as outcome, mail flag as treatment). Five uplift models are compared with several metrics.

Solution in brief

Replace the unobservable individual effect with something computable on validation data: a pseudo-outcome whose expected value equals the conditional average treatment effect, a matched-neighbor proxy, or the revenue of the model's targeting policy. The article tests such metrics on simulated data and shows that several mislead. Doubly robust (DR) and R losses work best, but each favors its own learner.

Questions this case answers
  • How to select among competing heterogeneous-effect estimators on held-out data when the per-unit effect is never observed, even under randomization
  • How to estimate the value of a targeting policy implied by a model when only one potential outcome per unit is observed
  • How to choose between several uplift models when the individual treatment effect is never observed?
  • How to check on a validation set from an A/B test that an uplift model ranks customers correctly?

Tools and methods

  • S-, T-, X-, R- and DR-learners — the candidate uplift models, built with EconML
  • Pseudo-outcome losses (IPW, R, DR) — squared error against a noisy proxy for the true effect
  • Empirical policy gain — revenue the model's treat rule would add, propensity-weighted
  • Uplift curve, above-below median split, nearest-neighbor match — group-level and matched ranking checks
  • scikit-learn, statsmodels, SciPy — random forests, logistic regression, regressions, nearest-neighbor search
Continue reading — it's free

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