EulerFormer: Sequential User Behavior Modeling with Complex Vector Attention
Not on the map. Why?
Abstract (arXiv)
To capture user preference, transformer models have been widely applied to model sequential user behavior data. The core of transformer architecture lies in the self-attention mechanism, which computes the pairwise attention scores in a sequence. Due to the permutation-equivariant nature, positional encoding is used to enhance the attention between token representations. In this setting, the pairwise attention scores can be derived by both semantic difference and positional difference. However, prior studies often model the two kinds of difference measurements in different ways, which potentially limits the expressive capacity of sequence modeling. To address this issue, this paper proposes a novel transformer variant with complex vector attention, named EulerFormer, which provides a unified theoretical framework to formulate both semantic difference and positional difference. The EulerFormer involves two key technical improvements. First, it employs a new transformation function for efficiently transforming the sequence tokens into polar-form complex vectors using Euler's formula, enabling the unified modeling of both semantic and positional information in a complex rotation form.Secondly, it develops a differential rotation mechanism, where the semantic rotation angles can be controlled by an adaptation function, enabling the adaptive integration of the semantic and positional information according to the semantic contexts.Furthermore, a phase contrastive learning task is proposed to improve the isotropy of contextual representations in EulerFormer. Our theoretical framework possesses a high degree of completeness and generality. It is more robust to semantic variations and possesses moresuperior theoretical properties in principle. Extensive experiments conducted on four public datasets demonstrate the effectiveness and efficiency of our approach.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 32 of its 48 references that are in the map. First posted on arXiv 26 Mar 2024.
Builds on
32 of 48 references.
References · 32
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Graph Contrastive Learning with Augmentationscited by 1,208
- 2018Self-Attentive Sequential Recommendationcited by 1,184
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
20 more
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
- 2015Image-based Recommendations on Styles and Substitutescited by 706
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2020RecBole: Towards a Unified, Comprehensive and Efficient Framework for Recommendation Algorithmscited by 138
- 2019Behavior Sequence Transformer for E-commerce Recommendation in Alibabacited by 130
- 2022Towards Universal Sequence Representation Learning for Recommender Systemscited by 121
- 2019Sequential Recommender Systems: Challenges, Progress and Prospectscited by 115
- 2022Learning Vector-Quantized Item Representation for Transferable Sequential Recommenderscited by 112
- 2022Improving Graph Collaborative Filtering with Neighborhood-enriched Contrastive Learningcited by 86
- 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
- 2021CauseRec: Counterfactual User Sequence Synthesis for Sequential Recommendationcited by 46
- 2022RecBole 2.0: Towards a More Up-to-Date Recommendation Librarycited by 39
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2021Rethinking Positional Encodingcited by 37
- 2022CORE: Simple and Effective Session-based Recommendation within Consistent Representation Spacecited by 37
- 2023Multi-Task Recommendations with Reinforcement Learningcited by 26
- 2023EulerNet: Adaptive Feature Interaction Learning via Euler's Formula for CTR Predictioncited by 26
- 2018Next Item Recommendation with Self-Attentioncited by 15
- 2019Towards Neural Mixture Recommender for Long Range Dependent User Sequencescited by 15
- 2022Ada-Ranker: A Data Distribution Adaptive Ranking Paradigm for Sequential Recommendationcited by 8
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.