[Paper Review] Attention-based Mixture Density Recurrent Networks for History-based Recommendation
This paper proposes an attention-based mixture density recurrent network that models multi-modal user behavior distributions for history-based recommendation. By using continuous item embeddings and sequentially generating mixture components via attention, the model improves precision, recall, and nDCG over baselines on MovieLens-20M and RecSys15 datasets.
The goal of personalized history-based recommendation is to automatically output a distribution over all the items given a sequence of previous purchases of a user. In this work, we present a novel approach that uses a recurrent network for summarizing the history of purchases, continuous vectors representing items for scalability, and a novel attention-based recurrent mixture density network, which outputs each component in a mixture sequentially, for modelling a multi-modal conditional distribution. We evaluate the proposed approach on two publicly available datasets, MovieLens-20M and RecSys15. The experiments show that the proposed approach, which explicitly models the multi-modal nature of the predictive distribution, is able to improve the performance over various baselines in terms of precision, recall and nDCG.
Motivation & Objective
- Address the limitations of matrix factorization and classification-based models in capturing dynamic, multi-modal user preferences over time.
- Overcome scalability issues in large-vocabulary recommendation by modeling item predictions as continuous vector distributions instead of discrete classifications.
- Explicitly model the multi-modal nature of user behavior—where users may have multiple distinct preferences—using a mixture density network.
- Improve recommendation performance by leveraging attention mechanisms to dynamically weight historical items during mixture component generation.
- Enable better generalization and handling of new items by decoupling item representation learning from the main recommendation model.
Proposed method
- Use a recurrent neural network (RNN) to encode a user’s sequential purchase history into a fixed-length context vector.
- Employ pretrained continuous item embeddings (e.g., via word2vec) to represent items in a low-dimensional, scalable space.
- Implement an attention-based recurrent mixture density network (RMDN) that generates mixture components sequentially, modeling the conditional distribution of future items.
- Each mixture component represents a distinct mode in user behavior, with attention weights dynamically attending to relevant historical items for each component.
- Train the model end-to-end using density estimation loss to maximize the likelihood of observed future items under the predicted mixture distribution.
- Use a mixture density network (MDN) variant where the output layer predicts the parameters (mean, variance, mixing weights) of a mixture of multivariate Gaussians over item embeddings.
Experimental results
Research questions
- RQ1Can modeling the conditional distribution of future items as a multi-modal mixture improve recommendation performance compared to unimodal or classification-based approaches?
- RQ2How does the use of attention in generating mixture components affect the model’s ability to capture diverse user preferences?
- RQ3To what extent does increasing the number of mixture components enhance the model’s capacity to represent complex, multi-modal user behavior?
- RQ4Does decoupling item embedding learning from the main recommendation model improve scalability and generalization to new items?
- RQ5How does the proposed method compare to state-of-the-art baselines in terms of precision, recall, and nDCG on real-world recommendation datasets?
Key findings
- The proposed model significantly outperforms all baselines in precision, recall, and nDCG on both MovieLens-20M and RecSys15 datasets.
- On MovieLens-20M, the RNN-ATT-RNN-8 variant achieved an nDCG@20 of 0.2140, surpassing the next best baseline (RNN-ATT-RNN-4) by over 5% in nDCG.
- On RecSys15, the RNN-ATT-RNN-8 model achieved an nDCG@20 of 0.2140, demonstrating a 10% relative improvement over the RNN-ATT-RNN-4 baseline.
- Increasing the number of mixture components consistently improved performance, confirming that user behavior is inherently multi-modal and better captured by multi-component mixtures.
- The attention mechanism enabled the model to focus on relevant historical items when generating each mixture component, improving representation of diverse user preferences.
- The model’s performance was robust across metrics, with RNN-ATT-RNN-8 achieving the highest R@20 (35.78%) on RecSys15, indicating strong long-tail recommendation capability.
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.