Learning Positional Attention for Sequential Recommendation

Fan Luo, Haibo He, Juan Zhang, Shenghui Xu
7/3/2024
cs.IRcs.CV

Official code: NetEase-Media/FPARec (3 stars, last commit 2024-11-15).

Abstract

Self-attention-based networks have achieved remarkable performance in sequential recommendation tasks. A crucial component of these models is positional encoding. In this study, we delve into the learned positional embedding, demonstrating that it often captures the distance between tokens. Building on this insight, we introduce novel attention models that directly learn positional relations. Extensive experiments reveal that our proposed models, \textbf{PARec} and \textbf{FPARec} outperform previous self-attention-based approaches. The code can be found here: https://github.com/NetEase-Media/FPARec.

View on arXivView PDF

Code Implementations(1)

Official code for "Learning Positional Attention for Sequential Recommendation"

31Shell, PythonNov 15, 20241 years ago

Similar Papers

Cite this paper

@article{luo2024learning,
  title  = {Learning Positional Attention for Sequential Recommendation},
  author = {Fan Luo and Haibo He and Juan Zhang and Shenghui Xu},
  year   = {2024},
  eprint = {2407.02793},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02793v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.02793.svg)](https://codeofpaper.com/paper/2407.02793)

Discussion