mlsanityData to 14 Oct 2026

Lost in the Middle at Birth: An Exact Theory of Transformer Position Bias

arXiv 2603.10123 ↗First posted 10 Mar 2026cs.LG cs.AI cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

The ``Lost in the Middle'' phenomenon -- a U-shaped performance curve where LLMs retrieve well from the beginning and end of a context but fail in the middle -- is widely attributed to learned Softmax artifacts or the distance-decay of positional encodings like RoPE. This paper makes a single, precise claim: the U-shape is already present at initialization, before any training or positional encoding takes effect. It is an inherent geometric property of the causal decoder with residual connections. We model multi-layer causal attention as iterated powers of the Ces`aro matrix and derive the exact closed-form influence density in the continuous limit. Causal masking forces a logarithmic divergence of gradient influence at the start of the prompt (the Primacy Tail), while residual connections create an isolated O(1) anchor at the final token (the Recency Delta). Between these extremes lies a factorial dead zone of order O(1/(H-1)!), where H is the network depth, making middle-context retrieval and training structurally hostile. We validate empirically that untrained Qwen2 and GPT-2 architectures exhibit this U-shape at Step~0, and that it is identical with or without RoPE. Comparing initialized and pretrained networks, we show that standard training does not overcome the topological valley, confirming that the U-shape persists as an architectural baseline under standard pretraining objectives. We do not claim that this bias is insurmountable, nor that interventions such as RoPE modifications are useless. We establish what the baseline is and where it comes from, so that future efforts to overcome it can be precisely targeted.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 8 of its 11 references that are in the map. First posted on arXiv 10 Mar 2026.

Builds on

8 of 11 references.

References · 8

  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  4. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  5. 2016Exponential expressivity in deep neural networks through transient chaoscited by 261
  6. 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
  7. 2025On the Emergence of Position Bias in Transformerscited by 59
  8. 2026A Structural Theory of Position Bias in Transformerscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.