PBODL : Parallel Bayesian Online Deep Learning for Click-Through Rate Prediction in Tencent Advertising System

Xun Liu, Wei Xue, Lei Xiao, Bo Zhang · DOI

Abstract

We describe a parallel bayesian online deep learning framework (PBODL) for click-through rate (CTR) prediction within today's Tencent advertising system, which provides quick and accurate learning of user preferences. We first explain the framework with a deep probit regression model, which is trained with probabilistic back-propagation in the mode of assumed Gaussian density filtering. Then we extend the model family to a variety of bayesian online models with increasing feature embedding capabilities, such as Sparse-MLP, FM-MLP and FFM-MLP. Finally, we implement a parallel training system based on a stream computing infrastructure and parameter servers. Experiments with public available datasets and Tencent industrial datasets show that models within our framework perform better than several common online models, such as AdPredictor, FTRL-Proximal and MatchBox. Online A/B test within Tencent advertising system further proves that our framework could achieve CTR and CPM lift by learning more quickly and accurately.

Introduction

In the high-stakes environment of online advertising, predicting click-through rates (CTR) accurately and in real-time is critical. Tencent's advertising system serves hundreds of millions of users from a pool of millions of candidate ads. This scale presents four significant challenges: the "New Ad" problem where 10-20% of inventory changes daily; the bottleneck of manual feature engineering for linear models; strict latency requirements (under 10ms); and the sheer volume of data (tens of billions of samples daily).

Traditional approaches often force a trade-off: use simple linear models that update quickly (online) but lack representational power, or use complex deep learning models that are powerful but slow to update (offline batch training). PBODL (Parallel Bayesian Online Deep Learning) bridges this gap by combining deep learning's representational power with the rapid adaptability of Bayesian online learning.

The PBODL Framework

The core of PBODL is a deep probit regression model that treats model weights as Gaussian distributions rather than fixed scalars. This Bayesian approach allows the model to maintain a measure of uncertainty (variance) for every weight.

The architecture of the PBODL framework, illustrating the flow from input features through embedding and hidden layers to the final probit output.

Probabilistic Back-Propagation (PBP)

To enable online updates, the framework utilizes Probabilistic Back-Propagation based on Assumed Density Filtering (ADF). Instead of standard stochastic gradient descent (SGD), PBODL uses closed-form Bayesian updates to adjust the means and variances of weights as new data arrives. This "Bayesian memory" is particularly effective for new ads; high initial variance allows the model to learn rapidly from limited feedback, stabilizing as more data is processed.

Specialized Embedding Layers

PBODL extends its capabilities through specialized architectures designed for sparse industrial data:

  • Sparse-MLP: Employs dimension-aware summation for feature aggregation.
  • FM-MLP: Integrates Factorization Machine-style interactions to capture second-order feature dependencies.
  • FFM-MLP: Incorporates Field-aware Factorization Machine interactions, learning distinct embeddings for different feature fields to maximize predictive accuracy.

Parallel Training Infrastructure

To handle Tencent's massive data volume, PBODL is implemented on a stream computing infrastructure using Apache Storm and a Parameter Server. Training workers process data streams in parallel, communicating with the Parameter Server to synchronize weight distributions (means and variances) across the cluster. This architecture allows the system to update complex non-linear models every 15 minutes, ensuring the system stays current with rapidly changing user behavior.

Experimental Evaluation

The framework was rigorously tested on public datasets, internal Tencent data, and through live A/B testing.

Offline Performance

On the public Avazu dataset, the FFM-MLP (Online) model demonstrated superior performance compared to established baselines like FTRL and Microsoft's MatchBox.

Performance comparison of various models on the Avazu dataset, showing AUC and Loss metrics.

As shown in the evaluation results, FFM-MLP (Online) achieved an AUC of 0.7498, significantly outperforming the FTRL baseline (0.7357) and other common online models.

Industrial Impact and A/B Testing

In real-world traffic within the Tencent ecosystem, the benefits of online deep learning were even more pronounced:

  • Overall CTR Lift: FFM-MLP (Online) achieved a 5.6% CTR lift over batch-trained Factorization Machines and a 3.4% lift over batch-trained DNNs.
  • Cold-Start Performance: For newly introduced ads, the online models showed a transformative 25.6% CTR lift over batch-trained counterparts. This highlights that for dynamic inventories, update frequency is as vital as model complexity.

Conclusion

PBODL successfully combines the representational power of deep neural networks with the rapid adaptability of Bayesian online learning. By moving from batch to near-real-time updates, Tencent has significantly improved its ability to target new ads and capture transient user preferences. Future work will focus on even more complex Bayesian models and automated hyperparameter tuning to further refine the system's performance.

Summary updated

BibTeX
@misc{liu2017pbodl,
  author = {Xun Liu and Wei Xue and Lei Xiao and Bo Zhang},
  title = {{PBODL : Parallel Bayesian Online Deep Learning for Click-Through Rate Prediction in Tencent Advertising System}},
  year = {2017},
  eprint = {1707.00802},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.00802},
}
Figure