TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Positional encoding is not the same as context: A study on...

Positional encoding is not the same as context: A study on positional encoding for sequential recommendation

Alejo Lopez-Avila, Jinhua Du, Abbas Shimary, Ze Li

2024-05-16Sequential RecommendationRecommendation Systems
PaperPDFCode(official)

Abstract

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.

Results

TaskDatasetMetricValueModel
Recommendation SystemsAmazon BeautyHit@100.6793CARCA Abs + Con
Recommendation SystemsAmazon BeautyNDCG0.4871CARCA Abs + Con
Recommendation SystemsAmazon BeautyHit@100.6187CARCA-Rotatory
Recommendation SystemsAmazon BeautyNDCG0.426CARCA-Rotatory
Recommendation SystemsAmazon MenHit@100.7386CARCA Learnt + Con
Recommendation SystemsAmazon MenNDCG0.5889CARCA Learnt + Con
Recommendation SystemsAmazon MenHit@100.7013RMHA-4
Recommendation SystemsAmazon MenNDCG0.4641RMHA-4
Recommendation SystemsAmazon FashionHit@100.7726RMHA-4
Recommendation SystemsAmazon FashionNDCG0.4975RMHA-4
Recommendation SystemsAmazon GamesHit@100.8062CARCA-Rotatory + Con.
Recommendation SystemsAmazon GamesNDCG0.5607CARCA-Rotatory + Con.

Related Papers

IP2: Entity-Guided Interest Probing for Personalized News Recommendation2025-07-18A Reproducibility Study of Product-side Fairness in Bundle Recommendation2025-07-18SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16Looking for Fairness in Recommender Systems2025-07-16Journalism-Guided Agentic In-Context Learning for News Stance Detection2025-07-15LLM-Stackelberg Games: Conjectural Reasoning Equilibria and Their Applications to Spearphishing2025-07-12When Graph Contrastive Learning Backfires: Spectral Vulnerability and Defense in Recommendation2025-07-10