ClockRoPE: Random Fourier Rotations for Temporal Routine Modeling
Not on the map. Why?
Abstract (arXiv)
Rotary Position Embedding (RoPE) has been widely adopted in transformer-based large language models. However, its log-linear frequency schedule, originally designed to produce long-term attention decay, limits its adoption in domains with more complex distance-correlation patterns, such as temporal periodicity in sequential recommendation. We investigate the expressiveness of general query/key rotations and find that any normalized continuous positive-definite attention modulation function can be approximated by random rotations induced by its own Fourier transform, which we term Random Fourier Rotations. Building on this theory, we propose ClockRoPE for routine modeling in sequential recommendation, where rotation frequencies are derived from periodic attention modulation functions. In online A/B tests, ClockRoPE demonstrates consistent improvements in valued engagement metrics, and has been successfully deployed in production-scale generative retrieval system at a major video-sharing platform.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 36 references that are in the map. First posted on arXiv 29 Jul 2026.
Builds on
24 of 36 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
- 2018Self-Attentive Sequential Recommendationcited by 1,169
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2024Rotary Position Embedding for Vision Transformercited by 226
- 2019Time2Vec: Learning a Vector Representation of Timecited by 208
12 more
- 2018Music Transformercited by 207
- 2024Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendationscited by 184
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
- 2019Self-attention with Functional Time Representation Learningcited by 52
- 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
- 2025LONGER: Scaling Up Long Sequence Modeling in Industrial Recommenderscited by 46
- 2021From block-Toeplitz matrices to differential equations on graphs: towards a general theory for scalable masked Transformerscited by 38
- 2025Learning the RoPEs: Better 2D and 3D Position Encodings with STRINGcited by 19
- 2026Kunlun: Establishing Scaling Laws for Massive-Scale Recommendation Systems through Unified Architecture Designcited by 8
- 2026nD-RoPE: A Generalized RoPE for n-Dimensional Position Embeddingcited by 2
- 2026Learning to Rotate: Temporal and Semantic Rotary Encoding for Sequential Modelingcited by 1
- 2026RelFlexformer: Efficient Attention 3D-Transformers for Integrable Relative Positional Encodingscited by 1
Built on by
Not cited yet.