mlsanityData to 14 Oct 2026

Positional Biases Shift as Inputs Approach Context Window Limits

arXiv 2508.07479 ↗First posted 10 Aug 2025cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) often struggle to use information across long inputs effectively. Prior work has identified positional biases, such as the Lost in the Middle (LiM) effect, where models perform better when information appears at the beginning (primacy bias) or end (recency bias) of the input, rather than in the middle. However, long-context studies have not consistently replicated these effects, raising questions about their intensity and the conditions under which they manifest. To address this, we conducted a comprehensive analysis using relative rather than absolute input lengths, defined with respect to each model's context window. Our findings reveal that the LiM effect is strongest when inputs occupy up to 50% of a model's context window. Beyond that, the primacy bias weakens, while recency bias remains relatively stable. This effectively eliminates the LiM effect; instead, we observe a distance-based bias, where model performance is better when relevant information is closer to the end of the input. Furthermore, our results suggest that successful retrieval is a prerequisite for reasoning in LLMs, and that the observed positional biases in reasoning are largely inherited from retrieval. These insights have implications for long-context tasks, the design of future LLM benchmarks, and evaluation methodologies for LLMs handling extended inputs.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 32 of its 35 references that are in the map. First posted on arXiv 10 Aug 2025.

Builds on

32 of 35 references.

References · 32

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  4. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  5. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  6. 2023Benchmarking Large Language Models for News Summarizationcited by 445
  7. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  8. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
  9. 2023Using an LLM to Help With Code Understandingcited by 228
  10. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  11. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  12. 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 176
20 more
  1. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
  2. 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
  3. 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 126
  4. 2023Retrieval meets Long Context Large Language Modelscited by 115
  5. 2023Large Language Models as Analogical Reasonerscited by 107
  6. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 81
  7. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  8. 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
  9. 2025On the Emergence of Position Bias in Transformerscited by 59
  10. 2023Entity Tracking in Language Modelscited by 44
  11. 2024Ada-LEval: Evaluating long-context LLMs with length-adaptable benchmarkscited by 32
  12. 2024Source Code Summarization in the Era of Large Language Modelscited by 31
  13. 2023Large Language Models are Built-in Autoregressive Search Enginescited by 27
  14. 2023Primacy Effect of ChatGPTcited by 27
  15. 2024Making Long-Context Language Models Better Multi-Hop Reasonerscited by 26
  16. 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answeringcited by 26
  17. 2023Evaluating Language Models for Knowledge Base Completioncited by 20
  18. 2024Counting-Stars: A Multi-evidence, Position-aware, and Scalable Benchmark for Evaluating Long-Context Large Language Modelscited by 17
  19. 2024Distance between Relevant Information Pieces Causes Bias in Long-Context LLMscited by 16
  20. 2025Eliciting In-context Retrieval and Reasoning for Long-context Large Language Modelscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilization
  2. 2024Self-Consistency Falls Short! The Adverse Effects of Positional Bias on Long-Context Problems
  3. 2025Understanding the Anchoring Effect of LLM with Synthetic Data: Existence, Mechanism, and Potential Mitigations
  4. 2025Do RAG Systems Really Suffer From Positional Bias?
  5. 2026AnchorBench: A Multi-Pathway Benchmark for the Anchoring Effect in LLMs
  6. 2024Insights into LLM Long-Context Failures: When Transformers Know but Don't Tell
  7. 2024Eliminating Position Bias of Language Models: A Mechanistic Approach
  8. 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillation