Segment Discovery: Enhancing E-commerce Targeting

Qiqi Li, Roopali Singh, Charin Polpanumas, Tanner Fiez, Namita Kumar, Shreya Chakrabarti

TL;DR

Targeting promotional campaigns based purely on who is most likely to churn or buy often wastes money—or worse, alienates customers. This paper presents a scalable, two-stage framework combining causal uplift modeling with constrained optimization to target only the customers whose behavior will genuinely change due to an intervention. Validated through offline evaluations and a multi-million-customer live A/B test at Amazon, the framework delivered statistically significant lifts in both revenue and customer engagement under tight business constraints.

What Problem Does This Paper Address?

In modern e-commerce, offering discounts, retention messages, and spend-threshold deals is standard practice. However, marketing teams commonly target users using simple propensity models—for instance, messaging anyone whose predicted retention probability drops below 0.4.

This approach has two fatal flaws:

  1. Correlation is not causation: A customer with a high churn risk might simply ignore the promotion, or even worse, be reminded to cancel. Propensity measures baseline likelihood, not treatment responsiveness (uplift).
  2. Ignoring operational constraints: Marketing actions cost money and carry risks. Giving everyone top-tier discounts or lowering spend thresholds across the board can cannibalize organic sales and blow through marketing budgets.

Methods

The authors introduce a structured two-stage decision pipeline:

  1. Stage 1: Causal Uplift Modeling
    Under the potential outcomes framework, the conditional average treatment effect (CATE)—$\tau(x_i) = \mathbb{E}[Y_i(1) - Y_i(0) \mid X_i = x_i]$—is estimated for each customer using randomized experiment data. The authors benchmark several estimators (Forest Doubly Robust Learner, Causal Forest, and Causal Forest Double Machine Learning) across both raw customer features and single propensity scores.

  2. Stage 2: Scalable Constrained Optimization
    Targeting is framed as an integer programming problem: select a policy $\Pi$ that maximizes total uplift subject to business constraints (e.g., maximum budget or a rule that total sales must not deteriorate by more than 1% relative to giving everyone the highest reward). To make this optimization tractable across millions of customers, the system groups users into equal-sized quantiles based on predicted uplift ($\hat{\tau}$) and optimizes allocations over these groups.

  3. Evaluation
    Policies are evaluated offline via Inverse Propensity Scoring (IPS) and Self-Normalized IPS (SNIPS) using randomized logging policies, followed by a live production experiment.

+---------------------------------------------------------+
| Stage 1: Causal Uplift Modeling                         |
| Predict CATE tau(x) via Causal Forests & Meta-Learners  |
+----------------------------+----------------------------+
                             |
                             v
+---------------------------------------------------------+
| Stage 2: Constrained Optimization                       |
| Group users by uplift -> Solve knapsack under budget /  |
| sales-deterioration constraints                         |
+----------------------------+----------------------------+
                             |
                             v
+---------------------------------------------------------+
| Deployment & Evaluation                                 |
| Offline Counterfactuals (IPS/SNIPS) -> Online A/B Test  |
+---------------------------------------------------------+

Datasets

The authors evaluated their method across three large-scale industrial e-commerce settings:

  • Customer Retention Experiment: Internal randomized A/B test data examining customer reactions to promotional service messaging.
  • Shopping Event Tiered Rewards: Large-scale commercial experiment data where customers received varying reward tiers ($P_1$ vs. $P_2$) for spending over a fixed threshold.
  • Production Spend-Threshold A/B Test: An online randomized field experiment covering over 13.8 million customer touchpoints, assigning dynamic minimum spend thresholds ($S_1$ vs. $S_2$).

Key Insights and Ideas

  • Proactive messaging can backfire: When analyzing bucketed treatment effects across retention scores, customers with the lowest baseline retention had negative uplift—receiving a retention email actively drove them away. High-retention customers exhibited near-zero uplift. Targeting solely by propensity score was actively damaging the business.
  • Rich feature spaces beat propensity covariates: Across experiments, causal models trained directly on multi-dimensional customer features substantially outperformed models that condensed customer state into a single baseline propensity score.
  • Grouping preserves scalability without sacrificing quality: Solving an integer linear program for millions of individual shoppers is computationally prohibitive in production. Grouping users into equal-sized uplift percentiles allowed exact constrained optimization to run in seconds while respecting tight guardrails.

Key Results

  • Member Retention: Targeting just 6.5% of the population using a Causal Forest policy yielded a +2.35% (IPS) / +0.647% (SNIPS) relative lift in retention rate over the existing propensity heuristic, while outperforming both "target all" and "target none" baselines.
  • Deal Revenue Optimization: The Causal Forest DML policy increased IPS revenue by +0.317% and offer completion rate by +1.02%, while cutting the reward efficiency metric ($e\%iS$, reward cost per incremental dollar of sales) by 11.88% compared to the status-quo heuristic.
  • Large-Scale Online A/B Test: When deployed live to millions of shoppers, dynamically offering lower spend thresholds ($S_1$) to just 11% of shoppers (leaving 89% on the stricter $S_2$ threshold) achieved a statistically significant +0.36% lift in total revenue ($p = 0.040$) and a +5.49% lift in offer completion rate ($p < 0.001$) compared to a universal $S_2$ baseline.

Limitations and Future Work

  • Binary Treatments Only: The empirical evaluations in this work consider binary choices ($T \in \{0, 1\}$). Extending the optimization framework to continuous treatment regimes (e.g., dynamically adjusting cashback rates between 5% and 15%) remains future work.
  • Reliance on Unconfoundedness: The models assume unconfoundedness guaranteed by randomized experiment logs. Applying this framework to purely observational datasets will require integrating sensitivity analysis or proximal causal learning to handle unobserved confounders.

Summary updated

BibTeX
@inproceedings{li2024segment,
  author = {Qiqi Li and Roopali Singh and Charin Polpanumas and Tanner Fiez and Namita Kumar and Shreya Chakrabarti},
  title = {{Segment Discovery: Enhancing E-commerce Targeting}},
  booktitle = {CONSEQUENCES'24 Workshop, Co-located With ACM RecSys'24},
  year = {2024},
  url = {https://openreview.net/forum?id=30gZ50WaCz},
}
Figure