Position-Aware Sequential Attention for Accurate Next Item Recommendations

Timur Nabiev, Evgeny Frolov
2/24/2026
cs.IRcs.AIcs.LG

No official code found. Best implementation: anonymcode/IJCAI2026 (2 stars, last commit 2026-02-03).

Abstract

Sequential self-attention models usually rely on additive positional embeddings, which inject positional information into item representations at the input. In the absence of positional signals, the attention block is permutation-equivariant over sequence positions and thus has no intrinsic notion of temporal order beyond causal masking. We argue that additive positional embeddings make the attention mechanism only superficially sensitive to sequence order: positional information is entangled with item embedding semantics, propagates weakly in deep architectures, and limits the ability to capture rich sequential patterns. To address these limitations, we introduce a kernelized self-attention mechanism, where a learnable positional kernel operates purely in the position space, disentangled from semantic similarity, and directly modulates attention weights. When applied per attention block, this kernel enables adaptive multi-scale sequential modeling. Experiments on standard next-item prediction benchmarks show that our positional kernel attention consistently improves over strong competing baselines.

View on arXivView PDF

Code Implementations(1)

Accompanying code for the "Position-Aware Sequential Attention for Accurate Next Item Recommendations" paper

20Python, Jupyter NotebookJan 20, 20268 months ago

Similar Papers

Cite this paper

@article{nabiev2026positionaware,
  title  = {Position-Aware Sequential Attention for Accurate Next Item Recommendations},
  author = {Timur Nabiev and Evgeny Frolov},
  year   = {2026},
  eprint = {2602.21052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.21052v1}
}

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/2602.21052.svg)](https://codeofpaper.com/paper/2602.21052)

Discussion