TL;DR
This paper introduces DistDNAS, an AutoML system that drastically speeds up the search for optimal feature interactions in recommender systems, reducing the process from days to hours. It achieves this by distributing the search across data splits and incorporating a cost-aware regularization to ensure efficient model serving, leading to improved performance and reduced computational cost.
What Problem Does This Paper Address?
Building effective recommender systems hinges on designing sophisticated feature interactions. However, searching for the best combination of these interactions on massive datasets is computationally prohibitive, often taking days. This lengthy process hinders the ability to keep models fresh with the latest data. Furthermore, simply combining various interaction types can lead to redundant or conflicting modules, negatively impacting both model performance and serving efficiency (i.e., how quickly a model can make a prediction). The paper aims to solve this by creating an efficient search mechanism that not only finds optimal interactions quickly but also prunes unnecessary ones for faster inference.
Methods
DistDNAS tackles the problem using a two-pronged approach:
- Distributed Search for Efficiency: Instead of searching on the entire dataset sequentially, DistDNAS distributes the search process across different data splits (e.g., different days of data). It then aggregates the learned architecture weights from these distributed searches. This parallelization significantly speeds up the overall search time.
- Cost-Aware Regularization for Serving Efficiency: To address redundancy and improve serving speed, DistDNAS introduces a differentiable cost-aware regularization loss. This loss penalizes computationally expensive interaction modules during the search. By learning to avoid these costly modules, the resulting models are more efficient to deploy.
The core of DistDNAS is a "supernet" that acts as a search space, containing various pre-defined dense and sparse feature interaction modules. Unlike previous methods that might select a fixed number of modules, DistDNAS uses a differentiable approach (Gumbel-Softmax) to learn the optimal weighting and selection of these modules within each "choice block" of the supernet.
Datasets
The primary dataset used for training and evaluation is the 1TB Criteo Terabyte dataset. This dataset is described as containing 4 billion training data points spread across 24 days, with each day's data being approximately 0.2 billion. The authors use data from day 1 to day 22 for training the architecture and day 23 for evaluation, with day 24 serving as a holdout test set.
Key Insights and Ideas
- Distributed Search is Crucial for Large-Scale CTR: The paper highlights that for massive datasets like Criteo Terabyte, a distributed search strategy is essential for both search and training convergence. This is attributed to potential abrupt changes in user behavior across different days, making a single-day architecture unsuitable for the entire dataset.
- Cost-Awareness is Key to Practical Recommender Systems: Simply optimizing for accuracy isn't enough. The paper demonstrates that by actively penalizing computationally expensive modules during search, significant improvements in serving efficiency (FLOPs reduction) can be achieved without sacrificing performance.
- Redundancy is a Real Problem: The authors show that without cost-aware regularization, distributed DNAS can preserve redundant modules. Their cost-aware approach effectively prunes these, leading to leaner and more efficient models.
- AutoML Architectures Need Careful Transfer: The paper notes that AutoML models searched on smaller datasets may not transfer well to larger ones, suggesting that search should ideally be performed directly on the target scale.
Key Results
- Search Speed-up: DistDNAS achieves a 25x speed-up in search time, reducing it from 2 days to 2 hours on the 1TB Criteo Terabyte dataset.
- Performance Improvement: DistDNAS demonstrates a 0.001 AUC improvement over state-of-the-art CTR models.
- Serving Efficiency: The proposed method achieves a 60% FLOPs saving compared to current state-of-the-art CTR models.
- Pareto Frontier: DistDNAS pushes the Pareto frontier of AUC/NE versus FLOPs, offering better performance at lower computational costs.
- Recurring Training: DistDNAS consistently outperforms DCN-v2 and DLRM in recurring training scenarios, indicating its ability to capture implicit patterns from large-scale datasets.
Limitations and Future Work
- Discretization Threshold: The paper mentions using a discretization threshold (e.g., 0.2 or 0.25) to select modules. While this is a clear criterion, the optimal threshold might vary and could be a point for further exploration.
- Generalizability of Cost Model: The cost mapping is based on FLOPs. While effective, exploring other cost metrics or more dynamic cost estimations could be a future direction.
- Pruning as a Future Direction: The paper suggests that the cost-aware regularization approach provides another direction for recommender models to compress unnecessary characteristics and derive better models, potentially through pruning.
- Further Exploration of Interaction Module Combinations: While DistDNAS explores a rich set of interactions, the vast space of potential combinations might warrant further investigation.
Summary updated