[Paper Review] Collaborative Filtering with Recurrent Neural Networks
This paper proposes modeling collaborative filtering as a sequence prediction problem using Long Short-Term Memory (LSTM) networks, treating user interactions as temporal sequences to improve recommendation accuracy—especially for short-term predictions and item coverage. The LSTM outperforms traditional methods like KNN and matrix factorization, particularly in capturing evolving user preferences and increasing recommendation diversity.
We show that collaborative filtering can be viewed as a sequence prediction problem, and that given this interpretation, recurrent neural networks offer very competitive approach. In particular we study how the long short-term memory (LSTM) can be applied to collaborative filtering, and how it compares to standard nearest neighbors and matrix factorization methods on movie recommendation. We show that the LSTM is competitive in all aspects, and largely outperforms other methods in terms of item coverage and short term predictions.
Motivation & Objective
- To reframe collaborative filtering as a sequence prediction problem to better model evolving user preferences over time.
- To evaluate the performance of LSTMs in comparison to standard collaborative filtering methods like KNN and matrix factorization.
- To investigate whether sequence-based modeling enhances recommendation diversity and short-term prediction accuracy.
- To assess the impact of incorporating auxiliary user, item, and interaction features on LSTM-based recommendation performance.
Proposed method
- Reframe collaborative filtering as a sequence prediction task where user behavior is modeled as a chronological sequence of item interactions.
- Use Long Short-Term Memory (LSTM) networks to learn user trajectory representations from sequential interactions.
- Train the LSTM to predict the next item in a user's interaction sequence, optimizing for short-term prediction using categorical cross-entropy loss.
- Incorporate auxiliary features (user demographics, item genres, ratings) via one-hot encoding and concatenate them with item embeddings as input to the LSTM.
- Use a custom metric, 'sequence prediction success at k' (sps@k), to evaluate short-term prediction performance.
- Compare model performance on Movielens 1M and Netflix datasets using standard metrics: sps@k, item coverage, user coverage, and recall@k.
Experimental results
Research questions
- RQ1Can recurrent neural networks, particularly LSTMs, effectively model collaborative filtering as a sequence prediction problem?
- RQ2How does LSTM-based recommendation compare to traditional KNN and matrix factorization in terms of short-term and long-term prediction performance?
- RQ3Does incorporating temporal order of interactions improve recommendation diversity and coverage compared to static collaborative filtering?
- RQ4To what extent do additional user, item, and interaction features enhance LSTM performance in collaborative filtering?
Key findings
- The LSTM model significantly outperforms KNN and matrix factorization in terms of item coverage, achieving 666.17 items covered on Movielens 1M when all features are used.
- The LSTM achieves a sequence prediction success at k (sps@k) of 34.97% on Movielens 1M, outperforming all baseline methods.
- The model shows superior performance in short-term prediction, with the highest sps@k score among all methods tested.
- Adding auxiliary features (users, items, interactions) improves performance only when combined, with a modest gain in sps@k (from 33.69% to 34.97%) and item coverage (from 649.22 to 666.17).
- The sequence-based approach naturally supports short-term prediction and increases recommendation diversity, as short-term predictions are a subset of long-term predictions.
- The results suggest that the sequence of interactions already implicitly encodes most of the information contained in auxiliary features, reducing the marginal benefit of adding them.
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.