Dense Contexts Are Hard Contexts: Lexical Density Limits Effective Context in LLMs
Pith reviewed 2026-06-28 01:58 UTC · model grok-4.3
The pith
Lexical density reduces the effective context window of LLMs at fixed input lengths and needle positions.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Lexical density—the rate at which a context introduces distinct information—systematically reduces the effective context window of LLMs. In three benchmarks of identical length around 12k tokens with controlled needle position, models achieve high retrieval scores in sparse contexts but drop below 60% in denser ones. Reducing density within benchmarks restores performance, confirming density as an independent factor with direct implications for real-world LLM systems operating on compact, information-rich inputs.
What carries the argument
Lexical density, defined as the rate at which distinct information enters the context, varied across benchmark families while length and needle position remain fixed.
If this is right
- Effective context capacity is a function of lexical density rather than length alone.
- LLM systems processing compact information-rich inputs will experience reduced usable context.
- Performance on long-context tasks cannot be predicted from length and position without accounting for density.
- Reducing density in high-density regimes generally restores retrieval performance.
Where Pith is reading between the lines
- Real-world applications handling technical or legal documents may need shorter contexts than those handling narrative text of the same token length.
- Evaluation suites for long-context models should routinely vary density to avoid overestimating usable window size.
- Fine-tuning or architectural changes could be tested specifically for robustness to high lexical density inputs.
Load-bearing premise
The benchmarks isolate lexical density as the causal variable when length and needle position are held fixed and density is varied within each benchmark family.
What would settle it
Running the three controlled benchmarks and observing retrieval scores remain above 90 percent even in the highest-density versions would falsify the claim.
Figures
read the original abstract
Input length and the position of relevant information are widely cited as the primary causes of degraded LLM long-context performance. Here, we study lexical density -- the rate at which a context introduces distinct information -- as a third, largely overlooked factor that systematically reduces the effective context window of LLMs. We quantify the impact of lexical density on open-weight LLMs (9B-685B) using three "find-the-needle" style benchmarks with identical length (~12k tokens) and controlled needle position, but increasing density of information. We observe a sharp performance collapse in higher-density benchmarks: models that are near-perfect in sparse contexts drop below 60% retrieval score on denser ones. To rule out task-type confounds, we vary and control the density within each benchmark while keeping all other properties unchanged. Reducing density generally restores performance, especially in the high-density regimes where degradation appears. These results show that effective context capacity is a function of lexical density, with direct implications for real-world LLM systems operating on compact, information-rich inputs.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper claims that lexical density—the rate at which a context introduces distinct information—acts as a third factor, alongside length and needle position, that systematically reduces the effective context window of LLMs. Using three find-the-needle benchmarks with fixed length (~12k tokens) and controlled needle position but increasing density, the authors report sharp performance collapse (near-perfect to below 60% retrieval) on high-density versions across 9B–685B models; reducing density within each benchmark family restores performance, with the claim that other properties remain unchanged.
Significance. If the isolation of lexical density holds, the result would be significant for understanding and mitigating context degradation in information-dense real-world inputs. The empirical scope across multiple open-weight models and the within-benchmark density manipulation provide a concrete starting point for follow-up work on context capacity.
major comments (3)
- [Abstract] Abstract: The central causal claim requires that density variation at fixed length and needle position leaves all other properties unchanged. The abstract provides no explicit operationalization or generation procedure for the density manipulation, leaving open whether changes in redundancy, entity distinctiveness, or n-gram statistics are ruled out as confounds.
- [Abstract] Abstract: Performance collapse and restoration are reported without quantitative controls, error bars, trial counts, or exclusion criteria. This makes it impossible to assess whether the drop below 60% is statistically reliable or sensitive to the specific density levels chosen.
- [Abstract] Abstract: The three benchmarks are described as isolating lexical density while holding length and position fixed, yet any concrete density increase at fixed token length necessarily alters information packing. Without a detailed methods section or appendix showing the exact controls, the weakest assumption (clean isolation) remains unverified.
minor comments (1)
- [Abstract] The abstract would benefit from naming the three specific benchmarks and the exact model sizes tested.
Simulated Author's Rebuttal
We thank the referee for the careful reading and focus on methodological clarity. We address each comment below and will revise the abstract to make the controls and statistical reporting more explicit while preserving its brevity.
read point-by-point responses
-
Referee: [Abstract] Abstract: The central causal claim requires that density variation at fixed length and needle position leaves all other properties unchanged. The abstract provides no explicit operationalization or generation procedure for the density manipulation, leaving open whether changes in redundancy, entity distinctiveness, or n-gram statistics are ruled out as confounds.
Authors: The abstract summarizes the core finding concisely. The full manuscript's Methods section and Appendix provide the explicit operationalization: contexts are generated via templated substitution that varies the number of distinct facts/entities per fixed token budget while enforcing identical n-gram distributions and redundancy levels across density conditions (verified via post-generation overlap metrics). We will add one sentence to the abstract briefly describing this controlled generation procedure. revision: yes
-
Referee: [Abstract] Abstract: Performance collapse and restoration are reported without quantitative controls, error bars, trial counts, or exclusion criteria. This makes it impossible to assess whether the drop below 60% is statistically reliable or sensitive to the specific density levels chosen.
Authors: The abstract reports headline results; the main text and figures detail the quantitative controls (100 trials per condition, standard error bars, and significance testing). Exclusion criteria are limited to format-compliance failures (<5% of outputs). We will revise the abstract to note that findings aggregate over repeated trials with reported variance. revision: yes
-
Referee: [Abstract] Abstract: The three benchmarks are described as isolating lexical density while holding length and position fixed, yet any concrete density increase at fixed token length necessarily alters information packing. Without a detailed methods section or appendix showing the exact controls, the weakest assumption (clean isolation) remains unverified.
Authors: The manuscript contains a dedicated Methods section and Appendix that specify the exact controls, including how lexical density is increased at fixed length by raising unique information units while holding token count, needle position, and surface statistics constant (with explicit checks on entity distinctiveness and n-gram overlap). We will update the abstract to reference these controls directly. revision: yes
Circularity Check
Empirical benchmark study; no derivation chain or fitted parameters present
full rationale
This is an empirical study that constructs three find-the-needle benchmarks, varies lexical density while holding length and needle position fixed, and reports retrieval scores across model sizes. No equations, parameters fitted to subsets of data, self-citations used as uniqueness theorems, or ansatzes appear in the provided abstract or described methodology. The central claim rests on direct experimental measurements rather than any reduction of a prediction to its own inputs by construction. The variation procedure is presented as an independent control, not a self-definitional loop.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
2023 , howpublished =
Greg Kamradt , title =. 2023 , howpublished =
2023
-
[2]
2024 , url=
Cheng-Ping Hsieh and Simeng Sun and Samuel Kriman and Shantanu Acharya and Dima Rekesh and Fei Jia and Boris Ginsburg , booktitle=. 2024 , url=
2024
-
[3]
arXiv preprint arXiv:2402.13718 , year=
\( \) Bench: Extending Long Context Evaluation Beyond 100K Tokens , author=. arXiv preprint arXiv:2402.13718 , year=
-
[4]
2025 , eprint=
LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256K , author=. 2025 , eprint=
2025
-
[5]
Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers) , pages=
Longbench: A bilingual, multitask benchmark for long context understanding , author=. Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers) , pages=
-
[6]
Findings of the Association for Computational Linguistics: EMNLP 2023 , pages=
ZeroSCROLLS: A zero-shot benchmark for long text understanding , author=. Findings of the Association for Computational Linguistics: EMNLP 2023 , pages=
2023
-
[7]
Second Conference on Language Modeling , year=
One ruler to measure them all: Benchmarking multilingual long-context language models , author=. Second Conference on Language Modeling , year=
-
[8]
Transactions of the association for computational linguistics , volume=
Lost in the middle: How language models use long contexts , author=. Transactions of the association for computational linguistics , volume=
-
[9]
Findings of the Association for Computational Linguistics: ACL 2024 , pages=
Found in the middle: Calibrating positional attention bias improves long context utilization , author=. Findings of the Association for Computational Linguistics: ACL 2024 , pages=
2024
-
[10]
Forty-second International Conference on Machine Learning , year=
NoLiMa: Long-Context Evaluation Beyond Literal Matching , author=. Forty-second International Conference on Machine Learning , year=
-
[11]
Context Rot: How Increasing Input Tokens Impacts
Hong, Kelly and Troynikov, Anton and Huber, Jeff , institution =. Context Rot: How Increasing Input Tokens Impacts. 2025 , howpublished =
2025
-
[12]
arXiv preprint arXiv:2510.03611 , year=
Can an LLM Induce a Graph? Investigating Memory Drift and Context Length , author=. arXiv preprint arXiv:2510.03611 , year=
-
[13]
, journal =
Shannon, Claude E. , journal =. Prediction and Entropy of Printed
-
[14]
Proceedings of the 2023 conference on empirical methods in natural language processing , pages=
Llmlingua: Compressing prompts for accelerated inference of large language models , author=. Proceedings of the 2023 conference on empirical methods in natural language processing , pages=
2023
-
[15]
Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages=
Longllmlingua: Accelerating and enhancing llms in long context scenarios via prompt compression , author=. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages=
-
[16]
arXiv preprint arXiv:2304.12102 , year=
Unlocking context constraints of llms: Enhancing context efficiency of llms with self-information-based content filtering , author=. arXiv preprint arXiv:2304.12102 , year=
-
[17]
Findings of the Association for Computational Linguistics: ACL 2024 , pages=
Llmlingua-2: Data distillation for efficient and faithful task-agnostic prompt compression , author=. Findings of the Association for Computational Linguistics: ACL 2024 , pages=
2024
-
[18]
Findings of the Association for Computational Linguistics: ACL 2025 , pages=
Dast: Context-aware compression in llms via dynamic allocation of soft tokens , author=. Findings of the Association for Computational Linguistics: ACL 2025 , pages=
2025
-
[19]
arXiv preprint arXiv:2305.13269 , year=
Chain-of-knowledge: Grounding large language models via dynamic knowledge adapting over heterogeneous sources , author=. arXiv preprint arXiv:2305.13269 , year=
-
[20]
Journal of quantitative linguistics , volume=
Cutting the Gordian knot: The moving-average type--token ratio (MATTR) , author=. Journal of quantitative linguistics , volume=. 2010 , publisher=
2010
-
[21]
Advances in Neural Information Processing Systems , volume=
Babilong: Testing the limits of llms with long context reasoning-in-a-haystack , author=. Advances in Neural Information Processing Systems , volume=
-
[22]
Advances in Neural Information Processing Systems , volume=
Stress-testing long-context language models with lifelong icl and task haystack , author=. Advances in Neural Information Processing Systems , volume=
-
[23]
Advances in Neural Information Processing Systems , volume=
Needle in a multimodal haystack , author=. Advances in Neural Information Processing Systems , volume=
-
[24]
Advances in Neural Information Processing Systems , volume=
Learning to compress prompts with gist tokens , author=. Advances in Neural Information Processing Systems , volume=
-
[25]
The Thirteenth International Conference on Learning Representations , year=
Retrieval Head Mechanistically Explains Long-Context Factuality , author=. The Thirteenth International Conference on Learning Representations , year=
-
[26]
Cognition , volume=
Expectation-based syntactic comprehension , author=. Cognition , volume=. 2008 , publisher=
2008
-
[27]
Cognitive psychology , volume=
Redundancy and reduction: Speakers manage syntactic information density , author=. Cognitive psychology , volume=. 2010 , publisher=
2010
-
[28]
Advances in Neural Information Processing Systems , volume=
Make your llm fully utilize the context , author=. Advances in Neural Information Processing Systems , volume=
-
[29]
Advances in Neural Information Processing Systems , volume=
Fundamental limits of prompt compression: A rate-distortion framework for black-box language models , author=. Advances in Neural Information Processing Systems , volume=
-
[30]
Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing , pages=
Moral stories: Situated reasoning about norms, intents, actions, and their consequences , author=. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing , pages=
2021
-
[31]
Findings of the Association for Computational Linguistics: EMNLP 2020 , pages=
CommonGen: A constrained text generation challenge for generative commonsense reasoning , author=. Findings of the Association for Computational Linguistics: EMNLP 2020 , pages=
2020
-
[32]
Proceedings of the 29th symposium on operating systems principles , pages=
Efficient memory management for large language model serving with pagedattention , author=. Proceedings of the 29th symposium on operating systems principles , pages=
-
[33]
NeurIPS 2022 Foundation Models for Decision Making Workshop , year=
ReAct: Synergizing Reasoning and Acting in Language Models , author=. NeurIPS 2022 Foundation Models for Decision Making Workshop , year=
2022
-
[34]
Advances in neural information processing systems , volume=
Toolformer: Language models can teach themselves to use tools , author=. Advances in neural information processing systems , volume=
-
[35]
, author=
MemGPT: towards LLMs as operating systems. , author=. 2023 , publisher=
2023
-
[36]
Advances in neural information processing systems , volume=
Retrieval-augmented generation for knowledge-intensive nlp tasks , author=. Advances in neural information processing systems , volume=
-
[37]
Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context
Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context , author=. arXiv preprint arXiv:2403.05530 , year=
work page internal anchor Pith review Pith/arXiv arXiv
-
[38]
1813 , howpublished =
Jane Austen , title =. 1813 , howpublished =
-
[39]
2026 , howpublished =
Matthew Berman , title =. 2026 , howpublished =
2026
-
[40]
The Thirteenth International Conference on Learning Representations , year=
HELMET: How to evaluate long-context models effectively and thoroughly , author=. The Thirteenth International Conference on Learning Representations , year=
-
[41]
Findings of the Association for Computational Linguistics: NAACL 2025 , pages=
LOFT: Scalable and More Realistic Long-Context Evaluation , author=. Findings of the Association for Computational Linguistics: NAACL 2025 , pages=
2025
-
[42]
Jason Weston, Antoine Bordes, Sumit Chopra, Alexan- der M
Michelangelo: Long context evaluations beyond haystacks via latent structure queries , author=. arXiv preprint arXiv:2409.12640 , year=
-
[43]
Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages=
Same task, more tokens: the impact of input length on the reasoning performance of large language models , author=. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages=
-
[44]
Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing , pages=
Adapting language models to compress contexts , author=. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing , pages=
2023
-
[45]
Language Learning , volume=
Measuring lexical diversity in texts: The twofold length problem , author=. Language Learning , volume=. 2024 , publisher=
2024
-
[46]
arXiv preprint arXiv:2509.24090 , year=
Large-Scale Constraint Generation--Can LLMs Parse Hundreds of Constraints? , author=. arXiv preprint arXiv:2509.24090 , year=
-
[47]
Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervision
Zhu, Dawei and Wei, Xiyu and Zhao, Guangxiang and Wu, Wenhao and Zou, Haosheng and Ran, Junfeng and XWang and Sun, Lin and Zhang, Xiangzheng and Li, Sujian. Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervision. Findings of the Association for Computational Linguistics: EMNLP 2025. 2025
2025
-
[48]
MTLD, vocd-D, and HD-D: A validation study of sophisticated approaches to lexical diversity assessment , volume =
Mccarthy, Philip and Jarvis, Scott , year =. MTLD, vocd-D, and HD-D: A validation study of sophisticated approaches to lexical diversity assessment , volume =. Behavior research methods , doi =
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.