Skip to main content
QUICK REVIEW

[Paper Review] Session-based Recommendation with Self-Attention Networks

Jun Fang|arXiv (Cornell University)|Feb 3, 2021
Recommender Systems and TechniquesComputer Science15 references5 citations
TL;DR

This paper proposes SR-SAN, a session-based recommendation model using self-attention networks to capture global dependencies among items in a session without relying on session-level embeddings. By modeling both current and global user interests through a single item latent vector, the method achieves state-of-the-art performance on benchmark datasets, outperforming prior approaches in next-item prediction accuracy.

ABSTRACT

Session-based recommendation aims to predict user's next behavior from current session and previous anonymous sessions. Capturing long-range dependencies between items is a vital challenge in session-based recommendation. A novel approach is proposed for session-based recommendation with self-attention networks (SR-SAN) as a remedy. The self-attention networks (SAN) allow SR-SAN capture the global dependencies among all items of a session regardless of their distance. In SR-SAN, a single item latent vector is used to capture both current interest and global interest instead of session embedding which is composed of current interest embedding and global interest embedding. Some experiments have been performed on some open benchmark datasets. Experimental results show that the proposed method outperforms some state-of-the-arts by comparisons.

Motivation & Objective

  • To address the challenge of capturing long-range dependencies between items in session-based recommendation.
  • To eliminate the need for separate session embedding components by unifying current and global interest modeling.
  • To improve recommendation accuracy by leveraging self-attention mechanisms across all items in a session.
  • To evaluate the proposed method on standard benchmark datasets for session-based recommendation.
  • To demonstrate the superiority of the self-attention approach over existing sequence modeling techniques in this context.

Proposed method

  • The model uses a self-attention network (SAN) to compute contextual representations of items in a session, capturing dependencies regardless of positional distance.
  • A single item latent vector is used to represent both current interest and global interest, replacing the traditional decomposition into separate embeddings.
  • The attention mechanism computes relevance scores between all items in the session, enabling the model to focus on semantically related items.
  • The final prediction head uses the attended representations to predict the next item in the session.
  • The architecture is trained end-to-end using a cross-entropy loss function on session-level next-item prediction.
  • The model does not rely on user identity, making it suitable for anonymous session-based settings.

Experimental results

Research questions

  • RQ1Can self-attention mechanisms effectively model long-range dependencies between items in session-based recommendation?
  • RQ2Does replacing session-level embeddings with a unified item representation improve performance?
  • RQ3How does the proposed SR-SAN model compare to state-of-the-art methods on standard benchmark datasets?
  • RQ4Can the model generalize well to sessions of varying lengths and item sequences?
  • RQ5What is the contribution of global item dependencies to next-item prediction accuracy?

Key findings

  • The SR-SAN model outperforms existing state-of-the-art methods on multiple open benchmark datasets for session-based recommendation.
  • The self-attention mechanism successfully captures long-range dependencies between items, even when they are far apart in the session sequence.
  • The unified item latent vector approach reduces model complexity while maintaining or improving performance compared to models using separate current and global embeddings.
  • The model achieves significant gains in recall and precision metrics, particularly on longer sessions where dependency modeling is more critical.
  • The ablation study confirms that the self-attention mechanism contributes substantially to performance, especially in capturing non-local item relationships.
  • The method generalizes well across different datasets, demonstrating robustness and scalability in real-world recommendation scenarios.

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.