paper-with-me

홈 › Papers

An Efficient Attention Mechanism for Sequential Recommendation Tasks: HydraRec

2025-01-02 · Uzma Mushtaque

Transformer based models are increasingly being used in various domains including recommender systems (RS). Pretrained transformer models such as BERT have shown good performance at language modelling. With the greater ability to model sequential tasks, variants of Encoder-only models (like BERT4Rec, SASRec etc.) have found success in sequential RS problems. Computing dot-product attention in traditional transformer models has quadratic complexity in sequence length. This is a bigger problem with RS because unlike language models, new items are added to the catalogue every day. User buying history is a dynamic sequence which depends on multiple factors. Recently, various linear attention models have tried to solve this problem by making the model linear in sequence length (token dimensions). Hydra attention is one such linear complexity model proposed for vision transformers which reduces the complexity of attention for both the number of tokens as well as model embedding dimensions. Building on the idea of Hydra attention, we introduce an efficient Transformer based Sequential RS (HydraRec) which significantly improves theoretical complexity of computing attention for longer sequences and bigger datasets while preserving the temporal context. Extensive experiments are conducted to evaluate other linear transformer-based RS models and compared with HydraRec across various evaluation metrics. HydraRec outperforms other linear attention-based models as well as dot-product based attention models when used with causal masking for sequential recommendation next item prediction tasks. For bi-directional models its performance is comparable to the BERT4Rec model with an improvement in running time.

📄 PDF Abstract BibTeX arXiv:2501.01242

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingRecommendation SystemsSequential Recommendation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Sequential Recommendation with Relation-Aware Kernelized Self-Attention

2019-11-15 · Mingi Ji, Weonyoung Joo, Kyungwoo Song, Yoon-Yeong Kim 외

Recent studies identified that sequential Recommendation is improved by the attention mechanism. By following this development, we propose Relation-Aware Kernelized Self-Attention (RKSA) adopting a self-attention mechani…

RelationSequential Recommendation

Sequential Recommendation via Adaptive Robust Attention with Multi-dimensional Embeddings

2024-09-08 · Linsey Pang, Amir Hossein Raffiee, Wei Liu, Keld Lundgaard

Sequential recommendation models have achieved state-of-the-art performance using self-attention mechanism. It has since been found that moving beyond only using item ID and positional embeddings leads to a significant a…

Sequential Recommendation

Déjà vu: A Contextualized Temporal Attention Mechanism for Sequential Recommendation

2020-01-29 · Jibang Wu, Renqin Cai, Hongning Wang

Predicting users' preferences based on their sequential behaviors in history is challenging and crucial for modern recommender systems. Most existing sequential recommendation algorithms focus on transitional structure a…

Recommendation SystemsSequential Recommendation

CausalRec: A CausalBoost Attention Model for Sequential Recommendation

2025-10-24 · Yunbo Hou, Tianle Yang, Ruijie Li, Li He 외 arxiv

Recent advances in correlation-based sequential recommendation systems have demonstrated substantial success. Specifically, the attention-based model outperforms other RNN-based and Markov chains-based models by capturin…

Sequential Recommendation

Non-invasive Self-attention for Side Information Fusion in Sequential Recommendation

2021-03-05 · Chang Liu, Xiaoguang Li, Guohao Cai, Zhenhua Dong 외

Sequential recommender systems aim to model users' evolving interests from their historical behaviors, and hence make customized time-relevant recommendations. Compared with traditional models, deep learning approaches s…

Open-Ended Question AnsweringRecommendation SystemsSequential RecommendationTAG