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:
- 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.
- 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.
- 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.
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