mlsanityData to 14 Oct 2026

Self-Attention Dynamics with Rotary Position Embeddings: Twisted States and Explicit Consensus Rates on the Sphere

arXiv 2607.24502 ↗First posted 27 Jul 2026math.DS cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Rotary position embeddings (RoPE) modify attention scores through position-dependent rotations, but their effect on normalized token dynamics is not captured by the vanilla spherical self-attention model. We study the continuous-time dynamics obtained when queries and keys are rotated while values remain on the unit sphere. The resulting attention kernel is reversible and admits a sharp uniform softmax floor, yet the natural RoPE interaction energy has derivatives of both signs within one fixed nontrivial system. Every consensus state remains an equilibrium, and its transverse linearization is a reversible Markov operator whose kernel depends on the consensus point through its energy across RoPE planes. On a resonant single-frequency ring we derive an exact Bessel-aliasing spectrum, including non-coprime frequencies and the correct fixed-ring large-β asymptotics. Globally, closed hemispheres are invariant, while pairwise non-obtuse configurations and strict open semicircles contract with explicit half-angle and single-point tail bounds. These regional estimates instantiate a kernel-generic positivity principle with the sharp RoPE softmax floor. RoPE also selects an explicit score-flattening twisted branch; the generic resonant family is non-hyperbolic and linearly unstable, whereas an odd antipodal family becomes a hyperbolic saddle after quotienting global rotation. In multiple dimensions, the local consensus gap can depend non-monotonically on the allocation of energy across frequency planes, so no universal ordering by frequency is valid. Independent matrix, finite-difference, and nonlinear-flow computations cross-check the theorem boundaries and the reported constants.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 25 references that are in the map. First posted on arXiv 27 Jul 2026.

Builds on

20 of 25 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2023A mathematical perspective on Transformerscited by 164
  4. 2023The emergence of clusters in self-attention dynamicscited by 140
  5. 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 48
  6. 2024Dynamic metastability in the self-attention modelcited by 46
  7. 2024Clustering in Causal Attention Maskingcited by 32
  8. 2025The Mean-Field Dynamics of Transformerscited by 30
  9. 2024Synchronization on circles and spheres with nonlinear interactionscited by 17
  10. 2024The Asymptotic Behavior of Attention in Transformerscited by 16
  11. 2025Normalization in Attention Dynamicscited by 9
  12. 2025Multistability of Self-Attention Dynamics in Transformerscited by 8
8 more
  1. 2026Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformerscited by 7
  2. 2025Deconstructing Positional Information: From Attention Logits to Training Biasescited by 5
  3. 2018A Lifting method for analyzing distributed synchronization on the unit spherecited by 4
  4. 2025Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encodingcited by 2
  5. 2026Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attentioncited by 2
  6. 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathwayscited by 2
  7. 2026Kuramoto Attention: Synchronizing Self-Attention on the Toruscited by 1
  8. 2026Attention as Frustrated Synchronizationcited by 1

Built on by

Not cited yet.