Causally Driven Incremental Multi Touch Attribution Using a Recurrent Neural Network

Ruihuan Du, Yu Zhong, Harikesh S. Nair, Bo Cui, Ruyang ShouarXiv 2019

Abstract

In digital advertising, Multi-Touch Attribution (MTA) is the process of assigning credit to various marketing touchpoints along a user's journey toward a conversion. Traditional methods often rely on simplistic rules or fail to account for the incremental impact of ads. This paper details a production-scale MTA system developed for JD.com that utilizes a bi-directional Recurrent Neural Network (RNN) for response modeling and a scalable Shapley Value framework for credit allocation. By accounting for sequence, timing, and competitive interference, the system provides a more accurate and fair distribution of advertising credit across billions of impressions.

1. Introduction

The modern consumer journey is complex, often involving dozens of interactions across various digital channels before a purchase is finalized. Determining the value of each interaction—the Multi-Touch Attribution problem—is critical for budget optimization. Historically, the industry has relied on rule-based models such as Last-Click or First-Click. However, these models are inherently biased, ignoring the cumulative and non-linear effects of advertising sequences.

Furthermore, existing data-driven models often struggle with four key challenges: sequence dependence, competitive interference, incrementality (the difference between a purchase that would have happened anyway and one driven by ads), and computational scalability. This research addresses these gaps by presenting a causally driven framework capable of processing the massive data volumes of JD.com, one of the world's largest eCommerce platforms.

2. Methodology

The proposed framework consists of two primary stages: response modeling to predict purchase probability and credit allocation to distribute value among touchpoints.

2.1 Response Modeling with Bi-directional RNNs

To capture the sequential nature of user behavior, the system employs a Bi-directional Long Short-Term Memory (LSTM) network. The model processes sequences of ad impressions, incorporating both the focal brand's ads and those of competitors, alongside price indices and user-specific features.

Unlike standard unidirectional models, the bi-directional approach utilizes "future" exposures to better understand current states. For instance, the cessation of search activity on a specific day can serve as a strong signal that a purchase occurred just prior. To account for user heterogeneity, a separate fully connected layer processes demographic data, acting as a "fixed-effect" to control for varying baseline purchase propensities.

2.2 Incremental Credit Allocation via Shapley Values

Once purchase probabilities are established, the system must allocate credit. The authors adopt the Shapley Value from cooperative game theory, which ensures a "fair" distribution based on a touchpoint's marginal contribution to the total conversion probability. The model specifically focuses on incrementality by calculating the lift: $P(Purchase | Ads) - P(Purchase | No Ads)$.

To overcome the exponential complexity of calculating Shapley values for long sequences, a "Mixed" algorithm was developed. This algorithm, implemented via MapReduce, uses exact calculations for short touchpoint sequences and Monte Carlo simulations for longer ones, allowing the system to scale to millions of daily orders.

3. Experimental Setup

The system was evaluated using a massive dataset from JD.com's cell phone category:

  • Scale: Approximately 75.7 million users and 3.4 million orders.
  • Volume: Over 7 billion ad impressions.
  • Features: 301 distinct ad positions and 31 major brands (e.g., Apple, Huawei).
  • Timeframe: A 15-day window in 2017.

4. Results and Discussion

4.1 Model Performance and Efficiency

The bi-directional RNN outperformed standard logistic regression and unidirectional LSTMs in both AUC and convergence speed. The "Mixed" Shapley algorithm proved highly efficient, achieving a 2,300% speed increase over exact computation while maintaining a negligible error rate of 0.0064.

4.2 Key Attribution Insights

  • Last-Click Bias: The results confirmed that Last-Click models significantly overvalue the final touchpoint. In reality, the final ad typically contributes no more than 60% of the incremental conversion, meaning "top-of-funnel" awareness ads are consistently undervalued.
  • Competitive Dynamics: The model successfully captured competitive interference. For example, the incremental lift of a specific brand's ad was shown to decrease as the number of competitor ad exposures increased.
  • Inventory Value: The system identified "hidden gems"—ad positions with low impression volume but disproportionately high Shapley values—offering clear signals for more efficient bidding strategies.

5. Conclusion and Limitations

This framework represents a significant advancement in production-scale MTA by combining deep learning with game-theoretic fairness. However, the authors note certain limitations. While the model controls for a vast array of observables, it is not a substitute for a true Randomized Controlled Trial (RCT) and may still be subject to selection bias. Additionally, the model assumes static advertiser policies; future work is required to understand the feedback loops created when advertisers adjust their strategies based on these new attribution scores.

Summary updated

BibTeX
@misc{du2019causally,
  author = {Ruihuan Du and Yu Zhong and Harikesh S. Nair and Bo Cui and Ruyang Shou},
  title = {{Causally Driven Incremental Multi Touch Attribution Using a Recurrent Neural Network}},
  year = {2019},
  eprint = {1902.00215},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.00215},
}
Figure