Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:48 UTC · f374118c09a2 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,24 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "OYj8yMVkLx"- }- ],- "title": "Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale",- "authors": [- "Siddharth Gollapudi",- "Prasann Singhal",- "Nilesh Gupta",- "Sewon Min"- ],- "abstract": "Language models (LMs) raise an alluring alternative to vector-based retrieval: \\emph{generating} a relevant answer, entirely based on an in-context corpus. In spite of this appeal, prior studies consider proprietary systems or the smaller-scale reranking task, leaving corpus-scale in-context retrieval largely unexplored.\nIn this work, we present the first systematic study of in-context retrieval on two scales practical retrievers demand: \\emph{million-token} corpora and \\emph{length-generalization} far beyond training-time sizes.\nWe first introduce BlockSearch, a 0.6B LCLM retriever whose architectural and training modifications improve over prior LM baselines and length-generalize up to $10\\times$ beyond its training regime. However, its retrieval still collapses under more extreme extrapolation.\nWe trace this failure to an \\emph{attention dilution} effect: as the corpus grows, irrelevant documents dominate the softmax denominator, minimizing the normalized mass on the gold document even as its pre-softmax score stays high. Motivated by this analysis, we introduce \\emph{length-aware} adjustments to the attention softmax and \\emph{document-level sparse attention}, improving retrieval at million-token scale, better performance than the concurrent $7\\times$-larger MSA system, and comparable performance to dense retrieval. Together, our results position in-context retrieval as a viable alternative to classical retrieval, emphasizing attention control under extreme context growth as a new challenge.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "fc79afc7-4bc9-4ff7-be3c-b639ac26e9a2"}
paper.json added
+++ b/paper.json@@ -0,0 +1,14 @@+{+ "title": "Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale",+ "authors": [+ "Siddharth Gollapudi",+ "Prasann Singhal",+ "Nilesh Gupta",+ "Sewon Min"+ ],+ "abstract": "Language models (LMs) raise an alluring alternative to vector-based retrieval: \\emph{generating} a relevant answer, entirely based on an in-context corpus. In spite of this appeal, prior studies consider proprietary systems or the smaller-scale reranking task, leaving corpus-scale in-context retrieval largely unexplored.\nIn this work, we present the first systematic study of in-context retrieval on two scales practical retrievers demand: \\emph{million-token} corpora and \\emph{length-generalization} far beyond training-time sizes.\nWe first introduce BlockSearch, a 0.6B LCLM retriever whose architectural and training modifications improve over prior LM baselines and length-generalize up to $10\\times$ beyond its training regime. However, its retrieval still collapses under more extreme extrapolation.\nWe trace this failure to an \\emph{attention dilution} effect: as the corpus grows, irrelevant documents dominate the softmax denominator, minimizing the normalized mass on the gold document even as its pre-softmax score stays high. Motivated by this analysis, we introduce \\emph{length-aware} adjustments to the attention softmax and \\emph{document-level sparse attention}, improving retrieval at million-token scale, better performance than the concurrent $7\\times$-larger MSA system, and comparable performance to dense retrieval. Together, our results position in-context retrieval as a viable alternative to classical retrieval, emphasizing attention control under extreme context growth as a new challenge.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}