TL;DR
This paper tackles the critical challenge of Click-Through Rate (CTR) prediction in real-world streaming recommender systems, where data distribution shifts over time. They formally define "Streaming CTR Prediction," propose new evaluation metrics, and reveal a "streaming learning dilemma" where factors affecting model performance differ between static and streaming scenarios. Their work offers practical improvements like parameter tuning and exemplar replay to enhance model robustness.
What Problem Does This Paper Address?
Industrial recommender systems constantly deal with a continuous flow of user interaction data. This "streaming data" presents significant challenges for traditional machine learning models, primarily due to distribution shifts (the underlying data patterns change over time), temporal non-stationarity (data characteristics evolve), and systematic biases. Most existing CTR prediction research, however, treats this data as static and assumes the training and testing sets are independent and identically distributed (i.i.d.). This i.i.d. assumption is fundamentally violated in streaming scenarios, leading to performance degradation of deployed models. The paper aims to bridge this gap by formally defining and addressing the problem of CTR prediction in dynamic, streaming environments.
Methods
The core contribution of this paper is the formalization of the Streaming CTR Prediction task. This involves:
- Defining the Task: The authors break down the streaming CTR prediction into a two-stage paradigm: inference (predicting clicks on current data) and updating (learning from new data). This process is conducted under a distribution shift scenario.
- New Benchmark Settings and Metrics: To properly evaluate models in this new setting, they introduce specific data splitting strategies (time-aware splits) and performance metrics like online AUC (oAUC), current AUC (cAUC), and backward AUC (bAUC). These metrics aim to capture performance during the streaming process, not just on a static hold-out set.
- Investigating Influential Factors: The paper conducts a thorough analysis of various factors that impact CTR prediction models, categorizing them into model-related factors (parameter size, normalization, dropout, regularization) and optimization-related factors (optimizer, batch size, training epochs).
- Proposing Improvements: Based on their findings, they propose two simple yet effective methods:
- Tuning Key Parameters: Adjusting hyperparameters that are identified as crucial for streaming performance.
- Exemplar Replay: Storing and replaying a small set of past data to mitigate catastrophic forgetting and improve adaptation to new data.
Datasets
The primary dataset used for evaluation is the Avazu dataset. The authors describe a specific data splitting strategy for this dataset:
- Pretraining Data: The first 70% of the data (7 days, 168 hours) is used for initial model training. This is further split into a training set and a hold-out test set to simulate a traditional CTR prediction scenario.
- Streaming Training Data: The remaining 30% of the data (3 days, 72 hours) is used for the streaming training process. This data is processed sequentially, simulating a real-world data stream.
The paper also mentions that the Avazu_x4_001 version is used, with infrequent features filtered.
Key Insights and Ideas
- The "Streaming Learning Dilemma": This is a central finding. The same hyperparameter or model component that is beneficial in a static, i.i.d. setting can be detrimental or have a different effect in a streaming scenario. For example, certain normalization parameters that help static models can hurt streaming performance.
- Normalization's Double-Edged Sword: While normalization (like Batch Normalization and Layer Normalization) is crucial for stabilizing training in static settings, its application in streaming CTR prediction can be tricky. Specifically, the paper suggests that normalization in the MLP layer can harm streaming performance, and parameters like mean and variance in LN/BN might carry distribution-specific knowledge that is unsuitable for streaming.
- Parameter Size and Generalization: Increasing model complexity (embedding size, MLP depth/width) can improve out-of-distribution generalization (iAUC) more than immediate online performance (oAUC), suggesting a trade-off.
- Batch Size Mismatch: The optimal batch size for static CTR prediction (pAUC) might differ from the optimal batch size for streaming CTR prediction (oAUC), highlighting the need to prioritize streaming metrics.
- Forgetting is Not Always the Main Enemy: While catastrophic forgetting is a known issue in incremental learning, the paper suggests that simply mitigating forgetting (measured by bAUC) doesn't always directly translate to better online performance (oAUC) in streaming CTR prediction. However, there's still a positive correlation, indicating some benefit.
Key Results
- Performance Degradation: The paper empirically demonstrates that standard CTR prediction models experience performance degradation over time in streaming scenarios, as illustrated by decreasing AUC values (Figure 1a).
- Normalization Impact: The study found that using no normalization on the MLP layer often yielded the best streaming performance, while Batch Normalization (BN) could be detrimental.
- Parameter Size Effects: Increasing embedding size and MLP depth/width showed a tendency to saturate online performance (oAUC) faster than static performance (pAUC). However, these larger models showed better iAUC, indicating improved generalization.
- "Free Lunch" Improvements: By tuning key hyperparameters identified through their analysis, the authors achieved performance improvements (w/ FL in Table 14) without additional training costs.
- Exemplar Replay Effectiveness: The exemplar replay method significantly improved baseline models' performance, showing relative improvements in bAUC, cAUC, and oAUC (w/ Exemplar in Table 14). For instance, FM with exemplar replay saw a +0.0018 improvement in oAUC.
Limitations and Future Work
- Model Structure Inapplicability: The authors acknowledge that their conclusions about specific factors might not be universally applicable to all CTR prediction model architectures, as their analysis primarily focused on an Embedding Layer + MLP structure.
- Qualitative vs. Quantitative: The study aimed to qualitatively identify factors that exhibit differences between static and streaming scenarios rather than providing absolute quantitative conclusions for all models.
- Sophisticated Data Replay: The paper suggests that more advanced data replay algorithms could be explored in future work to further enhance performance.
- Broader Model Architectures: Future research could investigate the impact of these factors on a wider range of CTR prediction model structures.
Summary updated