pith. sign in

arxiv: 2606.06203 · v1 · pith:FTUXQJU6new · submitted 2026-06-04 · 💻 cs.CL · cs.AI

Dense Contexts Are Hard Contexts: Lexical Density Limits Effective Context in LLMs

Pith reviewed 2026-06-28 01:58 UTC · model grok-4.3

classification 💻 cs.CL cs.AI
keywords lexical densityLLM context windowlong-context performancefind-the-needle benchmarksinformation densityretrieval accuracyopen-weight models
0
0 comments X

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.

The paper tests whether the rate at which a context packs in distinct information acts as an independent limit on how much LLMs can use from long inputs. It runs three find-the-needle retrieval benchmarks on open-weight models from 9B to 685B parameters, all at roughly 12k tokens with the needle in controlled positions. Models that retrieve almost perfectly in low-density versions fall below 60 percent accuracy once density rises. Lowering density inside each benchmark family restores performance, showing the drop is tied to density rather than length or task type. The work therefore treats effective context size as density-dependent rather than length-dependent alone.

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

These are editorial extensions of the paper, not claims the author makes directly.

  • 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

Figures reproduced from arXiv: 2606.06203 by Danilo Giordano, Giovanni Dettori, Idilio Drago, Marco Mellia, Matteo Boffa.

Figure 1
Figure 1. Figure 1: Retrieval score across needle positions, normalized to the scores at the 2k position. Shaded bands indicate 95% Wilson score intervals. All benchmarks use ≈12k-token contexts and matched needle placement, but differ in lexical density and retrieval form. The score remains high on sparse MK-NIAH, but collapses on denser Scene-Rules and WordChecker. This motivates density as a complementary candidate axis of… view at source ↗
Figure 2
Figure 2. Figure 2: (top) makes the joint view explicit: at the lowest density, accuracy is flat across all nee￾dle positions; positional decay emerges only as density climbs. Density and position do not act independently – density is what turns on the position effect. WordChecker: noisier, but the density signal holds. On WordChecker the recovery is non￾monotonic: at moderate sparsification (unique distractors k=1k, 400) acc… view at source ↗
Figure 3
Figure 3. Figure 3: WordChecker error analysis. Predicted vs. ground truth needle positions (left) show that higher density biases model attention toward earlier context rather than uniformly degrading it; decomposing predictions by outcome (right) reveals three qualitatively distinct failure regimes: conflation, abstention, and loop inversion. inversion (Qwen3.5 family): reasoning traces show that the larger Qwen variants wa… view at source ↗
Figure 4
Figure 4. Figure 4: shows the token-length distributions for the three benchmarks. MK-NIAH has the longest candidates, with a mean of 57.8 tokens and a median of 58. Scene-Rule has medium-length rule candidates, with a mean of 27.9 tokens and a median of 27. WordChecker has very short candidates, with a mean of 2.7 tokens and a median of 3. Within each benchmark, token lengths are tightly concentrated around their medians. Th… view at source ↗
Figure 6
Figure 6. Figure 6: Prediction outcomes by ground-truth (GT) needle position on WordChecker. The stacked bars show that overall accuracy drops as the target is placed deeper in the context, but the specific failure mode (Conflation, Abstention, or Truncation) stays the same for each model across all positions. 20 [PITH_FULL_IMAGE:figures/full_fig_p020_6.png] view at source ↗
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.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 1 minor

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)
  1. [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.
  2. [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.
  3. [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)
  1. [Abstract] The abstract would benefit from naming the three specific benchmarks and the exact model sizes tested.

Simulated Author's Rebuttal

3 responses · 0 unresolved

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
  1. 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

  2. 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

  3. 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

0 steps flagged

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

0 free parameters · 0 axioms · 0 invented entities

Abstract-only review supplies no explicit free parameters, axioms, or invented entities; ledger left empty.

pith-pipeline@v0.9.1-grok · 5720 in / 1019 out tokens · 22756 ms · 2026-06-28T01:58:40.849499+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

48 extracted references · 7 canonical work pages · 1 internal anchor

  1. [1]

    2023 , howpublished =

    Greg Kamradt , title =. 2023 , howpublished =

  2. [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=

  3. [3]

    arXiv preprint arXiv:2402.13718 , year=

    \( \) Bench: Extending Long Context Evaluation Beyond 100K Tokens , author=. arXiv preprint arXiv:2402.13718 , year=

  4. [4]

    2025 , eprint=

    LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256K , author=. 2025 , eprint=

  5. [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. [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=

  7. [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. [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. [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=

  10. [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. [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 =

  12. [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. [13]

    , journal =

    Shannon, Claude E. , journal =. Prediction and Entropy of Printed

  14. [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=

  15. [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. [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. [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=

  18. [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=

  19. [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. [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=

  21. [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. [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. [23]

    Advances in Neural Information Processing Systems , volume=

    Needle in a multimodal haystack , author=. Advances in Neural Information Processing Systems , volume=

  24. [24]

    Advances in Neural Information Processing Systems , volume=

    Learning to compress prompts with gist tokens , author=. Advances in Neural Information Processing Systems , volume=

  25. [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. [26]

    Cognition , volume=

    Expectation-based syntactic comprehension , author=. Cognition , volume=. 2008 , publisher=

  27. [27]

    Cognitive psychology , volume=

    Redundancy and reduction: Speakers manage syntactic information density , author=. Cognitive psychology , volume=. 2010 , publisher=

  28. [28]

    Advances in Neural Information Processing Systems , volume=

    Make your llm fully utilize the context , author=. Advances in Neural Information Processing Systems , volume=

  29. [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. [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=

  31. [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=

  32. [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. [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=

  34. [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. [35]

    , author=

    MemGPT: towards LLMs as operating systems. , author=. 2023 , publisher=

  36. [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. [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=

  38. [38]

    1813 , howpublished =

    Jane Austen , title =. 1813 , howpublished =

  39. [39]

    2026 , howpublished =

    Matthew Berman , title =. 2026 , howpublished =

  40. [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. [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=

  42. [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. [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. [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=

  45. [45]

    Language Learning , volume=

    Measuring lexical diversity in texts: The twofold length problem , author=. Language Learning , volume=. 2024 , publisher=

  46. [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. [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

  48. [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 =