Targeting Strategy for a Streaming Show Launch Email Campaign
Machine LearningModel answerLast updated
Plan an end-to-end email targeting system for a new title release, covering cold start, causal uplift modeling, offline metrics, and online A/B testing.
Context
A streaming service is launching a major original title. To drive viewership, the marketing group wants to send promotional emails to existing subscribers. However, sending un-targeted or excessive emails increases subscriber fatigue and opt-outs.
Question
Walk through how you would design, train, and test an automated audience selection system for this email campaign.
Specifically, address:
- What initial scoping questions and data sources are required, and how do you define success versus guardrail metrics?
- How do you handle the cold-start nature of a title that has no prior viewer interaction logs?
- Why might a standard classification/propensity model fail, and how does causal uplift modeling fix this?
- How would you evaluate candidates offline, structure an online A/B test, and make a deployment choice across multiple candidate rankers?
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Executive Summary
A successful email campaign for a new release must maximize incremental viewership while minimizing user fatigue and unsubscriptions. Standard recommendation models predict $P(\text{watch} \mid \text{user}, \text{item})$, which targets high-intent users who would likely watch the content regardless of an email. To maximize net business impact, this problem should be structured as causal uplift modeling, prioritizing users whose probability of viewing changes most when receiving an email.
1. Requirements, Scope, and Data Pipeline
Success and Guardrail Metrics
- Primary Metric: Incremental stream starts (or consumption hours) of the promoted title within 7 days of campaign delivery.
- Secondary Metrics: Open rate (OR) and click-through rate (CTR) as early engagement signals.
- Guardrail Metrics: 7-day and 30-day unsubscribe rates, spam complaint rates, and overall platform stream volume (to monitor cross-title cannibalization).
Constraints & Business Rules
- Volume Limit: Hard maximum budget of $K$ total emails allowed across the campaign.
- Frequency Caps: Policy limits (e.g., at most 2 promotional emails per user per week across all active campaigns).
- Compliance: Instant filtering of opt-out lists and region-specific privacy preferences (GDPR/CCPA).
Primary Feature Categories
+-----------------------------------+ +-----------------------------------+
| User Profile | | Content Metadata |
| - Genre watch-time ratios | | - Primary & sub-genres |
| - Recency, frequency, duration | | - Cast, director, studio |
| - Primary viewing device/time | | - Textual & visual embeddings |
+-----------------+-----------------+ +-----------------+-----------------+
| |
+--------------------+---------------------+
|
v
+-----------------------------------+
| Audience Ranker Model |
+-----------------+-----------------+
^
+--------------------+---------------------+
| |
+-----------------+-----------------+ +-----------------+-----------------+
| Historical Email Logs | | Randomized Holdout History |
| - Open / Click history | | - Past campaign randomized A/B |
| - Days since last notification | | - Historical untreated controls |
+-----------------------------------+ +-----------------------------------+
- User Viewing Patterns: Preferred genres, actor/director interactions, binge habits, and activity recency.
- Item Metadata: Tags, mature rating, cast/crew, and textual embeddings of show synopses.
- Channel Engagement History: Past open/click frequencies, time-of-day responsiveness, and days elapsed since the last promotional message.
2. Cold-Start Handling & Causal Modeling
Cold-Start Resolution
Since the new show has zero direct viewing history prior to launch, we resolve item cold-start by:
-
Proxy Datasets: Using historic launch campaign data from comparable past titles with similar cast, crew, or genre tags.
-
Content Embeddings: Generating dense vectors from textual synopses and promotional trailer frames. We compute cosine similarity between the user's historical view vector $\mathbf{e}_u$ and the candidate show's content vector $\mathbf{e}_i$:
$$\text{Similarity}(u, i) = \frac{\mathbf{e}_u \cdot \mathbf{e}_i}{|\mathbf{e}_u| |\mathbf{e}_i|}$$
Standard Propensity vs. Uplift Framework
A standard classification approach predicts $P(\text{Stream} = 1 \mid \text{User}, \text{Email Sent})$. This risks sending emails to "Sure Things"—users who were already planning to stream the title.
+-----------------------+
| Target Population |
+-----------+-----------+
|
+----------------------------+----------------------------+
| |
v v
+-------------------+ +-------------------+
| Treated Group (T) | | Control Group (C) |
| Receives Email | | Gets No Email |
+---------+---------+ +---------+---------+
| |
v v
+-------------------+ +-------------------+
| P(Stream|T=1) | | P(Stream|T=0) |
+---------+---------+ +---------+---------+
| |
+----------------------------+----------------------------+
|
v
+-------------------------------------+
| Causal Uplift tau(x) = |
| P(Stream|T=1) - P(Stream|T=0) |
+-------------------------------------+
To optimize email efficiency, we model the Individual Treatment Effect (ITE):
$$\tau(\mathbf{x}) = P(\text{Stream} = 1 \mid \mathbf{x}, T = 1) - P(\text{Stream} = 1 \mid \mathbf{x}, T = 0)$$
where $T=1$ represents sending an email and $T=0$ represents withholding it.
Model Architecture Options:
-
T-Learner: Train two distinct gradient-boosted models: $\mu_1(\mathbf{x})$ on treated historical users ($T=1$) and $\mu_0(\mathbf{x})$ on control users ($T=0$). The ranker orders users by $\hat{\tau}(\mathbf{x}) = \mu_1(\mathbf{x}) - \mu_0(\mathbf{x})$.
-
X-Learner: Uses second-stage propensity adjustment; effective when treatment and control sample sizes are heavily unbalanced.
-
Net Utility Score: Incorporates the penalty of unsubscribing into the target function:
$$\text{Score}(\mathbf{x}) = \hat{\tau}(\mathbf{x}) \cdot V_{\text{stream}} - P(\text{Unsubscribe} \mid \mathbf{x}, T=1) \cdot C_{\text{unsub}}$$
where $V_{\text{stream}}$ is the estimated monetary value of a stream start and $C_{\text{unsub}}$ is the loss penalty of losing contact access to that user.
3. Offline Evaluation
Evaluating causal models offline requires estimating counterfactuals from historical campaign logs.
Address Logging Bias
To prevent selection bias inherent in historical non-random campaigns, evaluate models on past Randomized Controlled Trials (RCTs) or use Inverse Propensity Weighting (IPW) on observational logs:
$$w_i = \frac{T_i}{e(\mathbf{x}_i)} + \frac{1 - T_i}{1 - e(\mathbf{x}_i)}$$
where $e(\mathbf{x}_i) = P(T_i = 1 \mid \mathbf{x}_i)$ represents the probability assigned by the historical logging policy.
Metrics
- Rank-Based Metrics: NDCG@K and MAP@K computed on held-out past launches to measure ordering accuracy.
- Causal Uplift Metrics:
-
Qini Curve & Area Under Qini Curve (AUQC): Plots cumulative incremental streams vs. population percentage targeted when sorted by predicted uplift.
$$Q(q) = N_{T,1}(q) - N_{C,1}(q) \times \frac{N_T}{N_C}$$
-
Uplift Decile Charts: Measure the empirical treatment effect within top predicted deciles. A good model shows monotonically decreasing uplift from the highest to lowest decile.
-
4. Online A/B Testing & Selection Strategy
Experiment Structure
- Randomization Unit: User ID level.
- Arms:
- Control (Baseline Model): Top $K$ users selected by standard propensity ranker.
- Treatment (Uplift Model): Top $K$ users selected by causal uplift ranker.
- Global Holdout: A small percentage of overall traffic (e.g., 2%) that receives no marketing email, used to measure absolute campaign incrementality.
Intent-to-Treat (ITT) Analysis
Analysis is conducted over all randomized users assigned to an arm, regardless of email delivery success (e.g., bounces), preserving un-biased statistical comparisons across variants.
Sample Size Calculation
For a baseline 7-day stream rate $p = 0.02$, to detect a relative uplift of $5%$ ($\delta = 0.001$) with $\alpha = 0.05$ and $80%$ power:
$$n \approx \frac{16 \cdot p(1-p)}{\delta^2} = \frac{16 \cdot 0.02 \cdot 0.98}{(0.001)^2} \approx 313,600 \text{ users per arm}$$
Variance reduction techniques such as CUPED (using pre-campaign 30-day viewing volume as a covariate) can lower the required sample size and speed up test convergence.
Multi-Model Selection Rules
When evaluating multiple model variants simultaneously:
- Apply Benjamini-Hochberg corrections to control False Discovery Rate (FDR) across multiple test arms.
- Disqualify any candidate model that triggers a statistically significant increase in 7-day unsubscribe rates.
- Select the ranker yielding the highest statistically significant incremental streams per budget unit $K$.