TL;DR
This paper introduces Wide & Deep learning, a novel framework that jointly trains wide linear models for memorization and deep neural networks for generalization, to improve recommender systems. By combining these two approaches, the system significantly boosts app acquisition rates on Google Play compared to using either model alone.
What Problem Does This Paper Address?
Recommender systems face a fundamental challenge: balancing "memorization" and "generalization." Memorization involves learning direct correlations between features that frequently co-occur (e.g., users who install app A also tend to install app B). This is great for recommending items that are directly related to a user's past behavior. Generalization, on the other hand, is about inferring relationships for unseen feature combinations, allowing for more diverse and potentially novel recommendations.
Traditional approaches struggle with this balance. Wide linear models with cross-product feature transformations excel at memorization but require extensive, manual feature engineering to achieve any level of generalization. Deep neural networks, with their learned low-dimensional embeddings, are great at generalization and require less feature engineering. However, they can "over-generalize" on sparse data, leading to irrelevant recommendations because they might predict interactions where none truly exist. This paper aims to bridge this gap by creating a single model that effectively leverages both memorization and generalization.
Methods
The core innovation is the Wide & Deep learning framework, which combines two distinct model components:
- The Wide Component: This is a generalized linear model (like logistic regression) that uses raw input features and, crucially, cross-product transformations. These transformations explicitly capture feature interactions (e.g., "user installed Netflix AND impression app Pandora"). This allows the model to "memorize" specific, high-impact feature combinations.
- The Deep Component: This is a standard feed-forward neural network. For categorical features (like user demographics or app categories), it first learns low-dimensional, dense embeddings. These embeddings are then fed through multiple hidden layers (using ReLU activations) to learn complex, non-linear relationships and generalize to unseen feature combinations.
The key is joint training: the wide and deep components are trained together. Their outputs are combined (a weighted sum of log odds) to produce the final prediction. This means the parameters of both models are optimized simultaneously, allowing the wide part to complement the deep part's weaknesses and vice-versa. The paper also mentions using FTRL for the wide part and AdaGrad for the deep part during training, and a warm-starting strategy to initialize new models with parameters from previous ones for faster retraining.
Datasets
The paper primarily discusses experiments conducted on the Google Play app store. This is a massive, real-world dataset with over one billion active users and over one million apps. The training data is generated from user and app impression logs, where the label is app acquisition (1 if the app was installed after impression, 0 otherwise). No new benchmark datasets were introduced.
Key Insights and Ideas
- Memorization and Generalization are Complementary: The paper strongly argues that both memorization (via explicit feature interactions) and generalization (via learned embeddings) are crucial for effective recommender systems, and that combining them yields superior results.
- Wide & Deep as a Unified Solution: The framework provides a practical way to achieve both without extensive manual feature engineering for generalization or suffering from over-generalization in deep models.
- Complementary Strengths: The wide model excels at learning specific, high-precision rules from sparse data, while the deep model handles broader patterns and unseen combinations. Together, they cover more ground.
- Production Viability: The framework was successfully productionized and evaluated on a large-scale commercial system (Google Play), demonstrating its real-world applicability and scalability.
Key Results
- App Acquisition Improvement: Online experiments on Google Play showed that the Wide & Deep model achieved a +3.9% increase in app acquisition rate compared to a highly optimized wide-only logistic regression model.
- Outperforming Deep-Only: The Wide & Deep model also outperformed a deep-only model by +1% in app acquisition.
- Offline vs. Online Performance: While the offline AUC was only slightly higher for Wide & Deep, the online performance gains were significantly more pronounced, suggesting that the dynamic nature of online user interactions benefits from the combined approach.
- Serving Performance: The system achieved low latency, with a serving latency of 14 ms (including overhead) after optimization, enabling it to score millions of apps per second.
Limitations and Future Work
- Limitations: The paper acknowledges that while the offline AUC improvement was modest, the online gains were substantial. This suggests that offline metrics might not fully capture the benefits of the Wide & Deep approach in a live, dynamic environment. The paper also doesn't delve deeply into the specific challenges of feature selection for the wide component beyond cross-product transformations.
- Future Work: The authors have open-sourced their implementation in TensorFlow, encouraging further research and adoption. The success on Google Play suggests potential applicability to other large-scale recommender systems. Further exploration of feature engineering for the wide part and more advanced deep network architectures could be future directions.
Summary updated