mlsanityData to 14 Oct 2026

LayerNorm Induces Recency Bias in Transformer Decoders

arXiv 2509.21042 ↗First posted 25 Sep 2025cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Causal self-attention provides positional information to Transformer decoders. Prior work has shown that stacks of causal self-attention layers alone induce a positional bias in attention scores toward earlier tokens. However, this differs from the bias toward later tokens typically observed in Transformer decoders, known as recency bias. We address this discrepancy by analyzing the interaction between causal self-attention and other architectural components. We show that stacked causal self-attention layers combined with LayerNorm induce recency bias. Furthermore, we examine the effects of residual connections and the distribution of input token embeddings on this bias. Our results provide new theoretical insights into how positional information interacts with architectural components and suggest directions for improving positional encoding strategies.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 19 references that are in the map. First posted on arXiv 25 Sep 2025.

Builds on

19 of 19 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2016Layer Normalizationcited by 5,669
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  6. 2018Self-Attention with Relative Position Representationscited by 1,120
  7. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  8. 2020On Layer Normalization in the Transformer Architecturecited by 922
  9. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
  10. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  11. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  12. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
7 more
  1. 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 118
  2. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
  3. 2021Position Information in Transformers: An Overviewcited by 103
  4. 2025On the Emergence of Position Bias in Transformerscited by 59
  5. 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
  6. 2023Latent Positional Information is in the Self-Attention Variance of Transformer Language Models Without Positional Embeddingscited by 23
  7. 2024Position Information Emerges in Causal Transformers Without Positional Encodings via Similarity of Nearby Embeddingscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.