in-context-retrieval

Tag

Cards List
#in-context-retrieval

Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval

arXiv cs.CL ↗ · 2026-10-01 Cached

This paper mechanistically analyzes how positional encoding choices (RoPE vs. SWA NoPE hybrids) shape in-context retrieval across 22 open-weight models, showing that PE hybrids shift from positional to semantic retrieval mechanisms, explaining their long-context gains and trade-offs.

0 favorites 0 likes
#in-context-retrieval

Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale

arXiv cs.CL ↗ · 2026-07-03 Cached

This paper systematically studies in-context retrieval at million-token scale, introducing BlockSearch, a 0.6B LM retriever, and analyzing attention dilution. The model matches or outperforms dense retrieval on benchmarks like MS MARCO and NQ, and significantly outperforms on tasks requiring different similarity notions, highlighting the potential of in-context retrieval while emphasizing attention control under extreme context growth.

0 favorites 0 likes
← Back to home

Submit Feedback