paper-with-me

Papers

Learning to Rotate: Temporal and Semantic Rotary Encoding for Sequential Modeling

2026-04-27 · Hailing Cheng, Daqi Sun, Xinyu Lu arxiv

Every Transformer architecture dedicates enormous capacity to learning rich representations in semantic embedding space -- yet the rotation manifold acted upon by Rotary Positional Embeddings (RoPE) has been treated as a fixed, hand-crafted structure, populated only by discrete ordinal indices. We argue that this rotation space is a largely overlooked second dimension of expressivity in the attention mechanism, one whose systematic exploration may open a new door for attention-based architectures. The analogy to complex numbers is instructive: just as introducing the imaginary axis -- orthogonal to and independent of the real line -- unlocked new algebraic structure once believed impossible, treating the rotation manifold as a learnable, signal-conditioned space opens an orthogonal degree of freedom in attention. In this framing, the token embedding encodes the semantic (real) component of a representation -- what a token means -- while the rotation encodes its dynamic (imaginary) component -- how it relates to every other token across time, position, and context. We introduce SIREN-RoPE, a concrete instantiation of this idea, which populates the rotation dimension with heterogeneous signals -- continuous timestamps, cyclical temporal patterns, and categorical metadata -- via a dual-branch Sinusoidal Representation Network (SIREN). As a proof of concept, we evaluate on a production-scale news feed dataset from a major social network using a generative recommender as the ranking model, demonstrating that activating this hidden dimension yields consistent improvements across calibration and ranking objectives with negligible computational overhead. We invite the community to view the rotation space not as a solved positional-encoding detail, but as an untapped axis whose rich structure may prove as consequential for attention as the imaginary unit proved for algebra.

📄 PDF Abstract BibTeX arXiv:2604.24717

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Spiral RoPE: Rotate Your Rotary Positional Embeddings in the 2D Plane

2026-02-03 · Haoyu Liu, Sucheng Ren, Tingyu Zhu, Peng Wang 외 arxiv

Rotary Position Embedding (RoPE) is the de facto positional encoding in large language models due to its ability to encode relative positions and support length extrapolation. When adapted to vision transformers, the sta…

Round and Round We Go! What makes Rotary Positional Encodings useful?

2024-10-08 · Federico Barbero, Alex Vitvitskyi, Christos Perivolaropoulos, Razvan Pascanu 외

Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of enco…

Infinity-RoPE: Action-Controllable Infinite Video Generation Emerges From Autoregressive Self-Rollout

2025-11-25 · Hidir Yesiltepe, Tuna Han Salih Meral, Adil Kaan Akan, Kaan Oktay 외 arxiv

Current autoregressive video diffusion models are constrained by three core bottlenecks: (i) the finite temporal horizon imposed by the base model's 3D Rotary Positional Embedding (3D-RoPE), (ii) slow prompt responsivene…

Video Generation

PAS: A Training-Free Stabilizer for Temporal Encoding in Video LLMs

2025-11-14 · Bowen Sun, Yujun Cai, Ming-Hsuan Yang, Hang Wu 외 arxiv

Video LLMs suffer from temporal inconsistency: small shifts in frame timing can flip attention and suppress relevant frames. We trace this instability to the common extension of Rotary Position Embeddings to video throug…

Causality-Induced Positional Encoding for Transformer-Based Representation Learning of Non-Sequential Features

2025-09-20 · Kaichen Xu, Yihang Du, Mianpeng Liu, Zimu Yu 외 arxiv

Positional encoding is essential for supplementing transformer with positional information of tokens. Existing positional encoding methods demand predefined token/feature order, rendering them unsuitable for real-world d…

Representation Learning