Residual Dominance Explains Last-Item Bias in Recommenders

Keito Kozaki, Keigo Sakurai, Ren Togo, Takahiro Ogawa, Miki Haseyama· August 17, 2026 View original

Key takeaways

  • Transformer recommenders often over-rely on the last user interaction.
  • "Residual dominance" explains this bias, where residual connections emphasize same-position contributions.
  • Adjusting residual strength can control the balance between context and last-item reliance.
  • Understanding this structural behavior can lead to more balanced recommendation models.

Who benefits

E-commerceMedia & EntertainmentSocial MediaContent Platforms

Summary

A study reveals that Transformer-based sequential recommenders with causal self-attention heavily rely on the most recent interaction due to "residual dominance," where residual connections sharply shift representations towards same-position contributions. Manipulating residual strength can trade off structural mixing and last-item reliance.

Transformer-based sequential recommender systems, particularly those employing causal self-attention, frequently exhibit a strong dependence on the user's most recent interaction when making predictions. The underlying structural reasons for this "last-item reliance" within the model's representation have been unclear. Researchers combined prediction-time diagnostics with a norm-based analysis of the full attention block to investigate this phenomenon. They found that while self-attention mechanisms aggregate contextual information, the subsequent residual addition significantly biases the final representation towards contributions from the same position. This effect is termed "residual dominance." To validate this interpretation, the study used inference-time residual scaling as a controlled intervention. Adjusting the residual strength created a clear trade-off: stronger residuals increased last-item reliance, while weaker residuals improved the model's ability to correctly rank items even when the final interaction was not the sole indicator. This work provides a structural explanation for the observed last-item bias in these recommender architectures.

Why it matters

AI engineers and researchers can better understand and potentially mitigate the "last-item bias" in Transformer-based recommenders, leading to more diverse and contextually rich recommendations.

How to implement this in your domain

  1. 1Analyze existing Transformer-based recommender models for "last-item reliance" using diagnostic tools similar to those described in the paper.
  2. 2Experiment with inference-time residual scaling to fine-tune the balance between contextual mixing and last-item influence in your recommender systems.
  3. 3Consider modifying model architectures or training objectives to explicitly reduce residual dominance if a broader contextual understanding is desired.
  4. 4Evaluate the impact of these adjustments on recommendation diversity, long-tail item exposure, and overall user satisfaction.

Original post by Keito Kozaki, Keigo Sakurai, Ren Togo, Takahiro Ogawa, Miki Haseyama

"arXiv:2608.14021v1 Announce Type: new 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 rema…"

View on X

Originally posted by Keito Kozaki, Keigo Sakurai, Ren Togo, Takahiro Ogawa, Miki Haseyama on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses