Skip to main content
QUICK REVIEW

[Paper Review] Recurrent Neural Networks for Long and Short-Term Sequential Recommendation

Kiewan Villatel, Elena Smirnova|arXiv (Cornell University)|Jul 23, 2018
Recommender Systems and TechniquesComputer Science19 references14 citations
TL;DR

This paper evaluates recurrent neural networks (RNNs) for both short-term and long-term sequential recommendation, demonstrating that stacked GRU models with layer normalization and tied item embeddings outperform baselines on e-commerce datasets. The best configuration achieves significant gains, especially on long sequences, confirming RNNs' capability to model both immediate and distant user interactions.

ABSTRACT

Recommender systems objectives can be broadly characterized as modeling user preferences over short-or long-term time horizon. A large body of previous research studied long-term recommendation through dimensionality reduction techniques applied to the historical user-item interactions. A recently introduced session-based recommendation setting highlighted the importance of modeling short-term user preferences. In this task, Recurrent Neural Networks (RNN) have shown to be successful at capturing the nuances of user's interactions within a short time window. In this paper, we evaluate RNN-based models on both short-term and long-term recommendation tasks. Our experimental results suggest that RNNs are capable of predicting immediate as well as distant user interactions. We also find the best performing configuration to be a stacked RNN with layer normalization and tied item embeddings.

Motivation & Objective

  • To evaluate RNN-based models on both short-term and long-term sequential recommendation tasks.
  • To investigate whether state-of-the-art RNN improvements—layer normalization and tied embeddings—enhance performance across time horizons.
  • To compare stacked RNNs and hierarchical architectures against simpler models and baselines on real-world e-commerce data.
  • To assess the impact of sequence length on model performance, particularly for long-term prediction.
  • To determine whether matrix factorization baselines remain competitive, especially on short sequences.

Proposed method

  • Employs gated recurrent units (GRUs) as the core RNN architecture for modeling sequential user interactions.
  • Applies layer normalization to stabilize training and improve gradient flow, especially in deep or long sequences.
  • Uses tied embedding matrices for input and output layers to reduce parameters and improve generalization.
  • Employs a stacked two-layer GRU architecture to capture hierarchical patterns in user behavior.
  • Evaluates models using Recall@K metrics at varying time steps (e.g., Recall@20,1 and Recall@20,20) to assess short- and long-term prediction.
  • Trains models using session-parallel mini-batches and ranking loss with output sampling to improve training efficiency.

Experimental results

Research questions

  • RQ1Can RNN-based models effectively predict both immediate and distant future user interactions in sequential recommendation?
  • RQ2Does the use of layer normalization and tied embeddings improve RNN performance on both short-term and long-term recommendation tasks?
  • RQ3How does a stacked two-layer GRU compare to a single-layer or hierarchical RNN architecture in terms of predictive performance?
  • RQ4To what extent do strong non-RNN baselines, such as co-occurrence matrix factorization, remain competitive, especially on short sequences?
  • RQ5How does sequence length affect the performance of different RNN configurations in long-term recommendation?

Key findings

  • The best-performing model is a stacked two-layer GRU with layer normalization and tied item embeddings, consistently outperforming all baselines on both datasets and metrics.
  • Layer normalization provides a 10.6% uplift on long sequences (Yoochoose) and 11.5% on the internal dataset, indicating strong benefits for long-term modeling.
  • Tied embeddings reduce model parameters significantly and improve performance, especially when combined with layer normalization.
  • The hierarchical multi-layer RNN (HM-LSTM) underperforms a single-layer GRU, likely due to training instability and complexity with discrete variables.
  • On short sequences (length ≤5), the co-occurrence matrix factorization baseline performs comparably to a vanilla GRU, with only 0.3% uplift on Yoochoose and 1% on the internal dataset.
  • The GRU model shows a substantial performance gap on long-term prediction: while the uplift over the baseline is only 2.4% for the next item, it reaches up to 6.8% for predictions 20 steps ahead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.