Attention Dilution in Long-Context Retrieval

burkov · x · 2026-07-16

This paper from UC Berkeley and UT Austin tests on a corpus scale of nearly 1 million tokens: Can LLMs reliably find a single relevant document from massive inputs without relying on an independent vector retrieval model?

The authors first built a 600 million parameter model named BlockSearch, attributing the performance degradation to attention dilution: while relevant documents receive high raw scores, the accumulated scores of numerous irrelevant documents dilute the effective signal when converted into attention weights.

They attempted two targeted fixes:

As a result, performance on standard benchmarks approaches strong vector retrieval baselines. On a task relying more heavily on exact phrasing rather than semantic similarity, the best version outperformed vector baselines by several times, though performance still degrades as the corpus continues to scale.

Original post →

More from Research

Research channel →