cs.AIAug 14, 2026

Residual Dominance as a Structural Account of Last-Item Reliance in Causal Self-Attention Recommenders

Authors: Keito Kozaki, Keigo Sakurai, Ren Togo, Takahiro Ogawa, Miki Haseyama

Organizations: Hokkaido University Sapporo, Hokkaido, Japan

Abstract

Transformer-based sequential recommenders with causal self-attention often rely heavily on the most recent interaction at inference time, but how this behavior is structurally expressed in the representation used for prediction remains unclear. We combine prediction-time diagnostics with norm-based analysis of the full attention block. First, we show that SASRec-style models exhibit highly localized last-item reliance. We then find that, although self-attention aggregates contextual information, residual addition sharply shifts the full-block representation toward same-position contributions, which we term residual dominance. To probe this interpretation, we use inference-time residual scaling as a controlled diagnostic intervention. Changing the residual strength induces a monotonic trade-off between structural mixing and last-item reliance, while reducing residual strength recovers a subset of final-position misses for which representations at non-final positions already rank the ground-truth item correctly. Our results provide a structural account linking extreme last-item reliance to residual dominance at inference time. The code is publicly available.

Figures & tables

Explore similar work

CardsList
  1. Position-Aware Sequential Attention for Accurate Next Item Recommendations

    Feb 24, 2026Timur Nabiev, Evgeny FrolovAttention MechanismsSequential Recommendation

  2. Candidate-dependent residual routing trades top-of-list accuracy for recall in sequential recommendation

    Oct 16, 2026Han Chen, Yingrui LiSequential RecommendationAttention Routing

  3. SpecFormer: Mitigating Embedding and Attention Collapse via Spectral-Aware Transformer for Recommendation

    Jul 27, 2026Yu Cui, Yi Xu, Jiahao Wang +6Representation CollapseTransformer