Zhongrui Ma
Research Subjects
Research Interests
Zhongrui Ma has a total of 14 co-authors. Here are the top co-authors by number of shared publications:
- Qi Ye
Poisson Lab, Huawei, Shenzhen, China
2 shared publications - Ruirui Wang
Poisson Lab, Huawei, Beijing, China
2 shared publications - Wayne Xin Zhao
Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China
2 shared publications - Changwang Zhang
OPPO Research Institute, Shenzhen, Guangdong, China
1 shared publication - Chenghao Wu
Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China
1 shared publication - Ji-Rong Wen
Gaoling School of Artificial Intelligence, Renmin University of China, China
1 shared publication
Latest Publications
- Open Access
- 10 November 2025
- Published by Association for Computing Machinery (ACM)
- p. 3355-3365
STARec: An Efficient Agent Framework for Recommender Systems via Autonomous Deliberate Reasoning
- 10 November 2025
- Published by Association for Computing Machinery (ACM)
- p. 3355-3365
Open AccessSTARec: An Efficient Agent Framework for Recommender Systems via Autonomous Deliberate Reasoning
- Open Access
- 22 April 2025
- Published by Association for Computing Machinery (ACM)
- p. 3571-3585
Two-stage Auction Design in Online Advertising
- 22 April 2025
- Published by Association for Computing Machinery (ACM)
- p. 3571-3585
Open AccessTwo-stage Auction Design in Online Advertising
- Open Access
- 10 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 1619-1628
EulerFormer: Sequential User Behavior Modeling with Complex Vector Attention
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 (e.g., RoPE can be instantiated as a special case). It is more robust to semantic variations and possesses more superior theoretical properties (e.g., long-term decay) in principle. Extensive experiments conducted on four public datasets demonstrate the effectiveness and efficiency of our approach. Our code is available at https://github.com/RUCAIBox/EulerFormer.
- 10 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 1619-1628
Open AccessEulerFormer: Sequential User Behavior Modeling with Complex Vector Attention
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 (e.g., RoPE can be instantiated as a special case). It is more robust to semantic variations and possesses more superior theoretical properties (e.g., long-term decay) in principle. Extensive experiments conducted on four public datasets demonstrate the effectiveness and efficiency of our approach. Our code is available at https://github.com/RUCAIBox/EulerFormer.