[Paper Review] Large-scale Collaborative Filtering with Product Embeddings
This paper proposes an attention-based collaborative filtering model that leverages pre-trained product embeddings to improve large-scale personalized recommendations. By dynamically weighting users' historical interactions based on relevance to a target item, the method achieves state-of-the-art performance in offline evaluations and outperforms production systems in online A/B tests, demonstrating superior coverage, efficiency, and adaptability in real-world e-commerce settings.
The application of machine learning techniques to large-scale personalized recommendation problems is a challenging task. Such systems must make sense of enormous amounts of implicit feedback in order to understand user preferences across numerous product categories. This paper presents a deep learning based solution to this problem within the collaborative filtering with implicit feedback framework. Our approach combines neural attention mechanisms, which allow for context dependent weighting of past behavioral signals, with representation learning techniques to produce models which obtain extremely high coverage, can easily incorporate new information as it becomes available, and are computationally efficient. Offline experiments demonstrate significant performance improvements when compared to several alternative methods from the literature. Results from an online setting show that the approach compares favorably with current production techniques used to produce personalized product recommendations.
Motivation & Objective
- To address the scalability and computational burden of traditional matrix factorization in large-scale collaborative filtering with 40M users and 10M items.
- To improve recommendation performance by leveraging pre-trained item embeddings for user preference modeling, reducing the need for retraining from scratch.
- To develop a context-aware, attention-based mechanism that selects relevant historical interactions for a given query item, enhancing personalization.
- To enable efficient, low-latency inference and rapid integration of new data and features in production recommendation pipelines.
- To demonstrate that attention-based modeling with pre-trained embeddings outperforms both traditional collaborative filtering and non-personalized baselines in offline and online settings.
Proposed method
- The model uses pre-trained item embeddings—learned via skip-gram style algorithms adapted for collaborative filtering—providing dense, shared representations of products.
- For user preference modeling, an attention mechanism computes context-dependent weights over a user’s historical interactions based on similarity to the query item.
- The final prediction score for a user-item pair is computed as a weighted sum of item embedding similarities, where attention weights are learned via a feedforward neural network.
- The attention mechanism allows the model to dynamically focus on relevant past behaviors, making it more adaptive than fixed user embeddings.
- The model is trained end-to-end using implicit feedback, with negative sampling from the empirical interaction distribution to optimize ranking metrics like NDCG and Recall@K.
- The architecture supports incremental updates and is computationally efficient, enabling real-time inference at scale.
Experimental results
Research questions
- RQ1Can attention mechanisms improve personalized ranking by dynamically weighting a user’s historical interactions based on relevance to the target item?
- RQ2How does an attention-based model using pre-trained item embeddings compare to traditional collaborative filtering and non-personalized baselines in terms of ranking performance?
- RQ3To what extent can pre-trained item embeddings improve scalability and reduce training costs in large-scale recommendation systems?
- RQ4Does the attention-based model generalize well across different evaluation metrics and sampling distributions?
- RQ5Can the attention mechanism improve online CTR in real-world production settings compared to existing production personalization algorithms?
Key findings
- The attention-based model achieved statistically significant improvements in NDCG and Recall@K across all evaluation settings, outperforming all baselines including non-personalized and matrix factorization methods.
- On offline evaluation with negative sampling from the empirical distribution, the attention model achieved the highest NDCG and Recall@K, with improvements of over 10% relative to the next best baseline.
- In online A/B tests, content generated using the proposed model achieved the highest CTR, with the top two performing content items produced by the attention model.
- Increasing the depth of the attention network from 2 to 4 layers led to substantial performance gains, with diminishing returns beyond depth 4.
- The model demonstrated robustness across different sampling distributions (e.g., uniform vs. empirical), maintaining strong performance under varying evaluation conditions.
- The attention mechanism provided interpretable attention weights, offering insights into which past interactions influenced recommendations, enhancing model transparency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.