mlsanityData to 14 Oct 2026

Decoupling Positional and Symbolic Attention Behavior in Transformers

arXiv 2511.11579 ↗First posted 3 Oct 2025cs.LG cs.AI cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

An important aspect subtending language understanding and production is the ability to independently encode positional and symbolic information of the words within a sentence. In Transformers, positional information is typically encoded using Positional Encodings (PEs). One such popular PE, namely Rotary PE (RoPE), has been widely used due to its empirical success. Recently, it has been argued that part of RoPE's success emerges from its ability to encode robust positional and semantic information using large and small frequencies, respectively. In this work, we perform a deeper dive into the positional versus symbolic dichotomy of attention heads behavior, both at the theoretical and empirical level. We provide general definitions of what it means for a head to behave positionally or symbolically, prove that these are two mutually exclusive behaviors and develop a metric to quantify them. We apply our framework to analyze Transformer-based LLMs using RoPE and find that all heads exhibit a strong correspondence between behavior and frequency use. Finally, we introduce canonical tasks designed to be either purely positional or symbolic, and demonstrate that the Transformer performance causally relates to the ability of attention heads to leverage the appropriate frequencies. In particular, we show that we can control the Transformer performance by controlling which frequencies the attention heads can access. Altogether, our work provides a detailed understanding of RoPE, and how its properties relate to model behavior.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 3 Oct 2025.

Builds on

27 of 36 references.

References · 27

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  2. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  3. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  4. 2018Invariant and Equivariant Graph Networkscited by 346
  5. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  6. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
  7. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  8. 2023Representational Strengths and Limitations of Transformerscited by 133
  9. 2023Scaling Laws of RoPE-based Extrapolationcited by 125
  10. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
  11. 2023How do Language Models Bind Entities in Context?cited by 108
  12. 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
15 more
  1. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
  2. 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 74
  3. 2024Base of RoPE Bounds Context Lengthcited by 52
  4. 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 47
  5. 2023Approximation-Generalization Trade-offs under (Approximate) Group Equivariancecited by 46
  6. 2023Explaining How Transformers Use Context to Build Predictionscited by 43
  7. 2024In-Context Learning with Representations: Contextual Generalization of Trained Transformerscited by 38
  8. 2023Understanding Addition in Transformerscited by 34
  9. 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
  10. 2024One-layer transformers fail to solve the induction heads taskcited by 32
  11. 2022On the Strong Correlation Between Model Invariance and Generalizationcited by 23
  12. 2023Attention Lens: A Tool for Mechanistically Interpreting the Attention Head Information Retrieval Mechanismcited by 22
  13. 2024One-Layer Transformer Provably Learns One-Nearest Neighbor In Contextcited by 16
  14. 2024Non-asymptotic Convergence of Training Transformers for Next-token Predictioncited by 13
  15. 2024Local to Global: Learning Dynamics and Effect of Initialization for Transformerscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.