2606.06203

Total: 1

#1 Dense Contexts Are Hard Contexts: Lexical Density Limits Effective Context in LLMs [PDF] [Copy] [Kimi] [REL]

Authors: Giovanni Dettori, Matteo Boffa, Danilo Giordano, Idilio Drago, Marco Mellia

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.

Subjects: Computation and Language , Artificial Intelligence

Publish: 2026-06-04 14:08:30 UTC