FAIR: Focused Attention Is All You Need for Generative Recommendation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xiao, Longtao, Zhang, Haolin, Cai, Guohao, Zhu, Jieming, Wang, Yifan, Chang, Heng, Dong, Zhenhua, Li, Xiu, Li, Ruixuan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917150380261376
author Xiao, Longtao
Zhang, Haolin
Cai, Guohao
Zhu, Jieming
Wang, Yifan
Chang, Heng
Dong, Zhenhua
Li, Xiu
Li, Ruixuan
author_facet Xiao, Longtao
Zhang, Haolin
Cai, Guohao
Zhu, Jieming
Wang, Yifan
Chang, Heng
Dong, Zhenhua
Li, Xiu
Li, Ruixuan
contents Recently, transformer-based generative recommendation has garnered significant attention for user behavior modeling. However, it often requires discretizing items into multi-code representations (e.g., typically four code tokens or more), which sharply increases the length of the original item sequence. This expansion poses challenges to transformer-based models for modeling user behavior sequences with inherent noises, since they tend to overallocate attention to irrelevant or noisy context. To mitigate this issue, we propose FAIR, the first generative recommendation framework with focused attention, which enhances attention scores to relevant context while suppressing those to irrelevant ones. Specifically, we propose (1) a focused attention mechanism integrated into the standard Transformer, which learns two separate sets of Q and K attention weights and computes their difference as the final attention scores to eliminate attention noise while focusing on relevant contexts; (2) a noise-robustness objective, which encourages the model to maintain stable attention patterns under stochastic perturbations, preventing undesirable shifts toward irrelevant context due to noise; and (3) a mutual information maximization objective, which guides the model to identify contexts that are most informative for next-item prediction. We validate the effectiveness of FAIR on four public benchmarks, demonstrating its superior performance compared to existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2512_11254
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FAIR: Focused Attention Is All You Need for Generative Recommendation
Xiao, Longtao
Zhang, Haolin
Cai, Guohao
Zhu, Jieming
Wang, Yifan
Chang, Heng
Dong, Zhenhua
Li, Xiu
Li, Ruixuan
Information Retrieval
Recently, transformer-based generative recommendation has garnered significant attention for user behavior modeling. However, it often requires discretizing items into multi-code representations (e.g., typically four code tokens or more), which sharply increases the length of the original item sequence. This expansion poses challenges to transformer-based models for modeling user behavior sequences with inherent noises, since they tend to overallocate attention to irrelevant or noisy context. To mitigate this issue, we propose FAIR, the first generative recommendation framework with focused attention, which enhances attention scores to relevant context while suppressing those to irrelevant ones. Specifically, we propose (1) a focused attention mechanism integrated into the standard Transformer, which learns two separate sets of Q and K attention weights and computes their difference as the final attention scores to eliminate attention noise while focusing on relevant contexts; (2) a noise-robustness objective, which encourages the model to maintain stable attention patterns under stochastic perturbations, preventing undesirable shifts toward irrelevant context due to noise; and (3) a mutual information maximization objective, which guides the model to identify contexts that are most informative for next-item prediction. We validate the effectiveness of FAIR on four public benchmarks, demonstrating its superior performance compared to existing methods.
title FAIR: Focused Attention Is All You Need for Generative Recommendation
topic Information Retrieval
url https://arxiv.org/abs/2512.11254