Positional Biases Shift as Inputs Approach Context Window Limits
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
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2023Benchmarking Large Language Models for News Summarizationcited by 445
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
- 2023Using an LLM to Help With Code Understandingcited by 228
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 176
20 more
- 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
- 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
- 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 126
- 2023Retrieval meets Long Context Large Language Modelscited by 115
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 81
- 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
- 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
- 2025On the Emergence of Position Bias in Transformerscited by 59
- 2023Entity Tracking in Language Modelscited by 44
- 2024Ada-LEval: Evaluating long-context LLMs with length-adaptable benchmarkscited by 32
- 2024Source Code Summarization in the Era of Large Language Modelscited by 31
- 2023Large Language Models are Built-in Autoregressive Search Enginescited by 27
- 2023Primacy Effect of ChatGPTcited by 27
- 2024Making Long-Context Language Models Better Multi-Hop Reasonerscited by 26
- 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answeringcited by 26
- 2023Evaluating Language Models for Knowledge Base Completioncited by 20
- 2024Counting-Stars: A Multi-evidence, Position-aware, and Scalable Benchmark for Evaluating Long-Context Large Language Modelscited by 17
- 2024Distance between Relevant Information Pieces Causes Bias in Long-Context LLMscited by 16
- 2025Eliciting In-context Retrieval and Reasoning for Long-context Large Language Modelscited by 11
Built on by
Citing papers per year: 2025: 2; 2026: 7.
9 papers.
- 2025Lost in the Middle: An Emergent Property from Information Retrieval Demands in LLMscited by 9
- 2025Masks Can Be Distracting: On Context Comprehension in Diffusion Language Modelscited by 9
- 2026A Structural Theory of Position Bias in Transformerscited by 5
- 2026Layer-wise Positional Bias in Short-Context Language Modelingcited by 1
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recallcited by 1
- 2026LEAD: Breaking the No-Recovery Bottleneck in Long-Horizon Reasoningcited by 1
- 2026Token-Level Diagnosis of Sycophancy in LLMs with Attribution-Guided Steeringcited by 1
- 2026Storyline Trees: Hierarchical Representations for Long-Form Narrativescited by 0
- 2026Semantically Similar, Logically Distinct: Diagnosing the Semantic-Answerability Gap in Table RAGcited by 0
- 2026Token-Level Diagnosis of Sycophancy in LLMs with Attribution-Guided Steering31 Jul 2026
- 2026Semantically Similar, Logically Distinct: Diagnosing the Semantic-Answerability Gap in Table RAG20 Jul 2026
- 2026Storyline Trees: Hierarchical Representations for Long-Form Narratives18 Jun 2026
- 2026LEAD: Breaking the No-Recovery Bottleneck in Long-Horizon Reasoning6 Mar 2026
- 2026A Structural Theory of Position Bias in Transformers18 Feb 2026
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recall17 Jan 2026
- 2026Layer-wise Positional Bias in Short-Context Language Modeling7 Jan 2026
- 2025Masks Can Be Distracting: On Context Comprehension in Diffusion Language Models26 Nov 2025
- 2025Lost in the Middle: An Emergent Property from Information Retrieval Demands in LLMs11 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilization
- 2024Self-Consistency Falls Short! The Adverse Effects of Positional Bias on Long-Context Problems
- 2025Understanding the Anchoring Effect of LLM with Synthetic Data: Existence, Mechanism, and Potential Mitigations
- 2025Do RAG Systems Really Suffer From Positional Bias?
- 2026AnchorBench: A Multi-Pathway Benchmark for the Anchoring Effect in LLMs
- 2024Insights into LLM Long-Context Failures: When Transformers Know but Don't Tell
- 2024Eliminating Position Bias of Language Models: A Mechanistic Approach
- 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillation