Dimensionality reduction for click-through rate prediction: Dense versus sparse representation

Bjarne Ørum Fruergaard, Toke Jansen Hansen, Lars Kai HansenarXiv 2013

Abstract

Predicting click-through rates (CTR) in real-time bidding (RTB) environments requires processing high-cardinality user-website interaction data within a strict 100ms latency window. This paper investigates dimensionality reduction techniques—Singular Value Decomposition (SVD), Non-negative Matrix Factorization (NMF), and the Infinite Relational Model (IRM)—to compress massive bipartite graphs into manageable features. We evaluate these methods on real-world ad transaction logs, comparing dense, sparse, and extremely sparse representations. Results indicate that while NMF provides the highest predictive lift, IRM offers superior computational efficiency and scalability for production systems.

Introduction

In online advertising, Real-Time Bidding (RTB) necessitates making complex predictions in milliseconds. When a user loads a webpage, advertisers have approximately 100ms to evaluate user history, predict CTR, and submit a bid. The primary challenge is the "curse of dimensionality": interaction data involves millions of unique users and URLs. Processing such high-cardinality data directly is computationally prohibitive due to database I/O and memory constraints. This study explores whether dimensionality reduction can effectively compress this data into latent features that maintain or enhance predictive power while meeting RTB latency requirements.

Methodology

The authors evaluate three distinct dimensionality reduction techniques applied to a bipartite graph of users and websites:

  1. Singular Value Decomposition (SVD): A standard technique that produces dense vectors. While mathematically optimal for reconstruction, dense vectors require significant storage and computation during the prediction phase.
  2. Non-negative Matrix Factorization (NMF): This produces sparse components. Because many values are zero, they do not need to be stored or calculated, making it more efficient than SVD.
  3. Infinite Relational Model (IRM): A Bayesian generative model that performs "co-clustering." It groups users and websites into hard clusters, resulting in the most sparse representation: a single binary indicator per mode.

The specific features derived from these methods and used in the predictive models are detailed in the table below.

Summary of features used for CTR prediction, including baseline cross-features and dimensionality-reduced representations.

For the final CTR prediction, these reduced features are fed into a Logistic Regression classifier with $L_1$ regularization to further encourage sparsity and prevent overfitting.

Experimental Setup

The study utilizes real-world ad transaction logs from Adform:

  • Full Dataset (UL): Contains approximately 9.3 million unique users and 7.1 million unique URLs.
  • Sub-sampled Dataset ($UL_{small}$): A smaller slice used for head-to-head comparisons of all three methods, consisting of ~100,000 users and ~70,000 URLs.
  • Evaluation: Binary labels indicate whether a transaction resulted in a click (1) or not (0).

Results and Discussion

Predictive Performance vs. Efficiency

In the sub-sampled tests, NMF-300 (300 components) achieved the highest "lift" (improvement over the baseline). SVD followed closely, with IRM trailing slightly behind. However, IRM was the clear winner for production environments. It produced the most economical usage of features and the fastest training speeds—often an order of magnitude faster than SVD or NMF.

The Sparsity Advantage

The authors highlight a crucial mathematical shortcut: when features are binary (like IRM cluster assignments), the logistic regression prediction simplifies from a series of multiplications to a simple summation of weights. This makes IRM-based models incredibly fast for real-time systems.

Scalability and Hybrid Models

Using a GPU-accelerated sampler, the authors successfully ran IRM on the full 9-million-user dataset. They demonstrated that adding IRM features to a standard model improved the predictive lift from 3.32% to 3.89% while maintaining high speed. This suggests that latent representations capture global trends that raw features might miss, and the best results often come from combining raw features (like specific Banner IDs) with dimensionality-reduced features.

Conclusion

While dense and sparse methods like SVD and NMF offer strong predictive power, their computational cost at scale remains a challenge for real-time applications. The Infinite Relational Model (IRM) provides a compelling alternative for RTB systems, offering a balance of predictive improvement and extreme computational efficiency. Future work includes scaling SVD and NMF to multi-million-row datasets using distributed computing and further optimizing hyperparameter selection for regularization.

Summary updated

Abstract

In online advertising, display ads are increasingly being placed based on real-time auctions where the advertiser who wins gets to serve the ad. This is called real-time bidding (RTB). In RTB, auctions have very tight time constraints on the order of 100ms. Therefore mechanisms for bidding intelligently such as clickthrough rate prediction need to be sufficiently fast. In this work, we propose to use dimensionality reduction of the user-website interaction graph in order to produce simplified features of users and websites that can be used as predictors of clickthrough rate. We demonstrate that the Infinite Relational Model (IRM) as a dimensionality reduction offers comparable predictive performance to conventional dimensionality reduction schemes, while achieving the most economical usage of features and fastest computations at run-time. For applications such as real-time bidding, where fast database I/O and few computations are key to success, we thus recommend using IRM based features as predictors to exploit the recommender effects from bipartite graphs.
BibTeX
@misc{fruergaard2013dimensionality,
  author = {Bjarne Ørum Fruergaard and Toke Jansen Hansen and Lars Kai Hansen},
  title = {{Dimensionality reduction for click-through rate prediction: Dense versus sparse representation}},
  year = {2013},
  eprint = {1311.6976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.6976},
}
Figure