mlsanityData to 14 Oct 2026

Sequential Recommendation on Temporal Proximities with Contrastive Learning and Self-Attention

arXiv 2402.09784 ↗First posted 15 Feb 2024cs.IR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Sequential recommender systems identify user preferences from their past interactions to predict subsequent items optimally. Although traditional deep-learning-based models and modern transformer-based models in previous studies capture unidirectional and bidirectional patterns within user-item interactions, the importance of temporal contexts, such as individual behavioral and societal trend patterns, remains underexplored. Notably, recent models often neglect similarities in users' actions that occur implicitly among users during analogous timeframes-a concept we term vertical temporal proximity. These models primarily adapt the self-attention mechanisms of the transformer to consider the temporal context in individual user actions. Meanwhile, this adaptation still remains limited in considering the horizontal temporal proximity within item interactions, like distinguishing between subsequent item purchases within a week versus a month. To address these gaps, we propose a sequential recommendation model called TemProxRec, which includes contrastive learning and self-attention methods to consider temporal proximities both across and within user-item interactions. The proposed contrastive learning method learns representations of items selected in close temporal periods across different users to be close. Simultaneously, the proposed self-attention mechanism encodes temporal and positional contexts in a user sequence using both absolute and relative embeddings. This way, our TemProxRec accurately predicts the relevant items based on the user-item interactions within a specific timeframe. We validate this work through comprehensive experiments on TemProxRec, consistently outperforming existing models on benchmark datasets as well as showing the significance of considering the vertical and horizontal temporal proximities into sequential recommendation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 27 references that are in the map. First posted on arXiv 15 Feb 2024.

Builds on

13 of 27 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  5. 2018Self-Attentive Sequential Recommendationcited by 1,184
  6. 2018Self-Attention with Relative Position Representationscited by 1,120
  7. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
  8. 2016Ups and Downs: Modeling the Visual Evolution of Fashion Trends with One-Class Collaborative Filteringcited by 520
  9. 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 476
  10. 2016Fusing Similarity Models with Markov Chains for Sparse Sequential Recommendationcited by 152
  11. 2022CARCA: Context and Attribute-Aware Next-Item Recommendation via Cross-Attentioncited by 22
  12. 2020MEANTIME: Mixture of Attention Mechanisms with Multi-temporal Embeddings for Sequential Recommendationcited by 17
1 more
  1. 2023Attention Mixtures for Time-Aware Sequential Recommendationcited by 13

Built on by

Not cited yet.