Decision Making Problems with Funnel Structure: A Multi-Task Learning Approach with Application to Email Marketing Campaigns

Ziping Xu, Amirhossein Meisami, Ambuj Tewari

TL;DR

This paper introduces a multi-task learning (MTL) framework for decision-making in systems with a "funnel structure," such as email marketing, where final rewards (purchases) are extremely sparse compared to intermediate actions (opens, clicks). By treating each stage of the funnel as a related task and leveraging sequential dependencies between them, the authors develop a contextual bandit algorithm that significantly improves learning speed and prediction accuracy for rare final conversions.

What Problem Does This Paper Address?

In many online recommendation and advertising systems, the ultimate goal is to drive a specific action, like a purchase. However, these "final conversions" are often incredibly rare—sometimes occurring in less than 0.01% of interactions. This reward sparsity makes it difficult for traditional machine learning models to learn effectively, leading to slow convergence and unstable performance.

The authors observe that these interactions typically follow a funnel structure: a sequence of layered events where a user must pass through one stage to reach the next. In email marketing, for instance, a user must Open the email before they can Click a link, and they must Click before they can Purchase. While purchases are rare, "opens" and "clicks" provide much denser signals. The challenge addressed here is how to formally model this structure and use the abundant data from shallow layers to "boost" the learning of the sparse, deep-layer rewards.

Figure 1: An illustration of the email conversion funnel. Given any input x, the profile information of the user, the funnel generates, z1, . . . z3, from Bernoulli distributions with parameter Z1(x), Z2(x), Z3(x), representing whether the email would be opened, clicked or purchased given the conversion of the previous layers happened. The observations r1, . . . , r3 represent whether the email is actually opened, clicked or purchased, respectively.

Methods

The authors formulate the problem as a contextual bandit with funnel structure. They assume each layer $j$ in the funnel follows a Generalized Linear Model (GLM) with an unknown parameter $\theta_j$. To enable knowledge transfer between layers, they introduce two similarity assumptions:

  1. Sequential Dependency: Parameters of adjacent layers are close to each other ($\|\theta_j - \theta_{j-1}\|_2 \le q_j$).
  2. Clustered Dependency: All layer parameters are close to a common unknown center $\theta_0$.

Their core contribution is Algorithm 1 (Regularized MTL) and its bandit counterpart, Algorithm 2. The approach follows a "transfer or learn" philosophy:

  • Confidence Sets: The algorithm first calculates a confidence set for each layer's parameters based on its own observations.
  • Intersection: It then intersects these sets with the global hypothesis set (defined by the similarity assumptions). This effectively constrains the search space for deep-layer parameters using data from shallow layers.
  • Optimistic Exploration: In the bandit setting, the algorithm uses these refined confidence bounds to calculate "bonuses," allowing for more efficient exploration of actions that are likely to lead to final conversions.

Datasets

The researchers evaluated their approach using two primary environments:

  • Simulated Environment: A synthetic 8-stage funnel where parameters were generated sequentially with decreasing uncertainty to mimic real-world behavior.
  • Real-World Email Campaign Data: A massive dataset from a major email marketing company containing over 39 million emails sent to 5.6 million users. The context features included user history (number of emails sent, opened, and clicked), business group categories, and "recency" (time since the last email).

Key Insights and Ideas

  • The "Transfer or Learn" Threshold: The theory identifies a threshold $j_0$. Before this point, the model benefits most from its own observations; after this point (deeper in the funnel), multi-task transfer from shallower layers provides a tighter bound on prediction error than the sparse data available at that layer.
  • Sequential Constraints as Regularizers: By formalizing the marketing intuition that "people who click are similar to people who buy," the authors turn a qualitative belief into a quantitative constraint that reduces the variance of deep-layer estimators.
  • Regret Benefits: The regret analysis shows that the "benefit" of multi-task learning scales with the number of layers and the inverse of the task discrepancy ($1/q_j$), providing a formal proof for why MTL helps in funnel structures.
This figure shows how the prediction error bound changes as the number of observations increases. The black points mark the threshold where the model transitions from relying on prior knowledge to its own data.

Key Results

  • Prediction Accuracy: In simulations, the MTL approach (Algorithm 1) kept the estimation errors of deep layers well-controlled even when their sample sizes were tiny, following the theoretical "transfer or learn" curves closely.
  • Regret Reduction: In contextual bandit simulations, the Multi-layer sequential algorithm achieved the lowest cumulative regret, outperforming "Target" (learning only on final rewards) and "Mix" (learning on average rewards across the funnel).
  • Real-World Impact: On the email marketing dataset, the Multi-layer clustered approach improved the purchase rate the most over a random policy (an increase of $6.34 \times 10^{-2}$ per 10,000 steps), significantly outperforming the standard "Target" baseline ($4.09 \times 10^{-2}$).

Limitations and Future Work

  • Population vs. Individual Models: The real-data environment used a population-level model. The authors note that this might not fully capture high-variance context-action pairs that lack sufficient individual observations.
  • Rare Event Simulation: The authors suggest that the data-based environment could be improved by using rare event simulation techniques to better reflect the true environment's tail behavior.
  • Assumption Sensitivity: The performance relies on the validity of the similarity assumptions ($\Theta_0$). If the tasks (layers) are not actually related, the intersection step could lead to biased estimates. Future work could explore more flexible ways to learn these relationships online.

Summary updated

Abstract

This paper studies the decision making problem with Funnel Structure. Funnel structure, a well-known concept in the marketing field, occurs in those systems where the decision maker interacts with the environment in a layered manner receiving far fewer observations from deep layers than shallow ones. For example, in the email marketing campaign application, the layers correspond to Open, Click and Purchase events. Conversions from Click to Purchase happen very infrequently because a purchase cannot be made unless the link in an email is clicked on. We formulate this challenging decision making problem as a contextual bandit with funnel structure and develop a multi-task learning algorithm that mitigates the lack of sufficient observations from deeper layers. We analyze both the prediction error and the regret of our algorithms. We verify our theory on prediction errors through a simple simulation. Experiments on both a simulated environment and an environment based on real-world data from a major email marketing company show that our algorithms offer significant improvement over previous methods.
BibTeX
@inproceedings{xu2021decision,
  author = {Ziping Xu and Amirhossein Meisami and Ambuj Tewari},
  title = {{Decision Making Problems with Funnel Structure: A Multi-Task Learning Approach with Application to Email Marketing Campaigns}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure