Positional encoding is not the same as context: A study on positional encoding for sequential recommendation
Not on the map. Why?
Abstract (arXiv)
The rapid growth of streaming media and e-commerce has driven advancements in recommendation systems, particularly Sequential Recommendation Systems (SRS). These systems employ users' interaction histories to predict future preferences. While recent research has focused on architectural innovations like transformer blocks and feature extraction, positional encodings, crucial for capturing temporal patterns, have received less attention. These encodings are often conflated with contextual, such as the temporal footprint, which previous works tend to treat as interchangeable with positional information. This paper highlights the critical distinction between temporal footprint and positional encodings, demonstrating that the latter offers unique relational cues between items, which the temporal footprint alone cannot provide. Through extensive experimentation on eight Amazon datasets and subsets, we assess the impact of various encodings on performance metrics and training stability. We introduce new positional encodings and investigate integration strategies that improve both metrics and stability, surpassing state-of-the-art results at the time of this work's initial preprint. Importantly, we demonstrate that selecting the appropriate encoding is not only key to better performance but also essential for building robust, reliable SRS models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 25 of its 40 references that are in the map. First posted on arXiv 16 May 2024.
Builds on
25 of 40 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,304
- 2018Self-Attentive Sequential Recommendationcited by 1,184
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
- 2015Session-based Recommendations with Recurrent Neural Networkscited by 695
- 2017DeepFM: A Factorization-Machine based Neural Network for CTR Predictioncited by 676
- 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 476
13 more
- 2020S^3-Rec: Self-Supervised Learning for Sequential Recommendation with Mutual Information Maximizationcited by 311
- 2017Neural Attentive Session-based Recommendationcited by 237
- 2016Fusing Similarity Models with Markov Chains for Sparse Sequential Recommendationcited by 152
- 2015VBPR: Visual Bayesian Personalized Ranking from Implicit Feedbackcited by 151
- 2018A Simple Convolutional Generative Network for Next Item Recommendationcited by 120
- 2019A Survey on Session-based Recommender Systemscited by 97
- 2021Torch.manual_seed(3407) is all you need: On the influence of random seeds in deep learning architectures for computer visioncited by 81
- 2017Translation-based Recommendationcited by 71
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2022CARCA: Context and Attribute-Aware Next-Item Recommendation via Cross-Attentioncited by 22
- 2016Vista: A Visually, Socially, and Temporally-aware Model for Artistic Recommendationcited by 20
- 2019Explainable Fashion Recommendation: A Semantic Attribute Region Guided Approachcited by 17
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025A Survey on Large Language Models in Multimodal Recommender Systemscited by 7
- 2025eSASRec: Enhancing Transformer-based Recommendations in a Modular Fashioncited by 3
- 2025Inductive Transfer Learning for Graph-Based Recommenderscited by 0
- 2026Position-Aware Sequential Attention for Accurate Next Item Recommendationscited by 0
- 2026Position-Aware Sequential Attention for Accurate Next Item Recommendations24 Feb 2026
- 2025Inductive Transfer Learning for Graph-Based Recommenders26 Oct 2025
- 2025eSASRec: Enhancing Transformer-based Recommendations in a Modular Fashion8 Aug 2025
- 2025A Survey on Large Language Models in Multimodal Recommender Systems14 May 2025