Deconstructing Positional Information: From Attention Logits to Training Biases
Not on the map. Why?
Abstract (arXiv)
Positional encodings enable Transformers to incorporate sequential information, yet their theoretical understanding remains limited to two properties: distance attenuation and translation invariance. Because natural language lacks purely positional data, the interplay between positional and semantic information is still underexplored. We address this gap by deconstructing the attention-logit computation and providing a structured analysis of positional encodings, categorizing them into additive and multiplicative forms. The differing properties of these forms lead to distinct mechanisms for capturing positional information. To probe this difference, we design a synthetic task that explicitly requires strong integration of positional and semantic cues. As predicted, multiplicative encodings achieve a clear performance advantage on this task. Moreover, our evaluation reveals a hidden training bias: an information aggregation effect in shallow layers that we term the single-head deposit pattern. Through ablation studies and theoretical analysis, we proved that this phenomenon is inherent in multiplicative encodings. These findings deepen the understanding of positional encodings and call for further study of their training dynamics.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 21 of its 32 references that are in the map. First posted on arXiv 19 May 2025.
Builds on
21 of 32 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
9 more
- 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 86
- 2024Length Generalization of Causal Transformers without Position Encodingcited by 47
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
- 2023CLEX: Continuous Length Extrapolation for Large Language Modelscited by 44
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 42
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
- 2025DRoPE: Directional Rotary Position Embedding for Efficient Agent Interaction Modelingcited by 9
- 2024Position Information Emerges in Causal Transformers Without Positional Encodings via Similarity of Nearby Embeddingscited by 8
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Phase Structure in Rotary Attention: A Spectral Framework for Semantic Continuity and Execution-Boundary Governancecited by 1
- 2026Three-Phase Transformercited by 0
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoderscited by 0
- 2026Self-Attention Dynamics with Rotary Position Embeddings: Twisted States and Explicit Consensus Rates on the Spherecited by 0
- 2026Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 0
- 2026Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models6 Oct 2026
- 2026Phase Structure in Rotary Attention: A Spectral Framework for Semantic Continuity and Execution-Boundary Governance28 Jul 2026
- 2026Self-Attention Dynamics with Rotary Position Embeddings: Twisted States and Explicit Consensus Rates on the Sphere27 Jul 2026
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders28 May 2026
- 2026Three-Phase Transformer15 Apr 2026