Retrieval from Within: An Intrinsic Capability of Attention-Based Models
Summary
INTRA demonstrates that attention-based models can perform retrieval directly from internal representations, unifying retrieval and generation while improving evidence recall and answer quality.
View Cached Full Text
Cached at: 05/14/26, 04:19 PM
Paper page - Retrieval from Within: An Intrinsic Capability of Attention-Based Models
Source: https://huggingface.co/papers/2605.05806
Abstract
INTRA demonstrates that attention-based models can perform retrieval directly from internal representations, unifying retrieval and generation while improving evidence recall and answer quality.
Retrieval-augmented generation(RAG) typically treats retrieval and generation as separate systems. We ask whether anattention-based encoder-decodercan instead retrieve directly from its own internal representations. We introduce INTRA (INTrinsic Retrievalvia Attention), a framework wheredecoder attention queriesscorepre-encoded evidence chunksthat are then directly reused as context for generation. By construction, INTRA unifies retrieval and generation, eliminating theretriever-generator mismatchtypical of RAG pipelines. This design also amortizes context encoding by reusing precomputed encoder states across queries. On question-answering benchmarks, INTRA outperforms strong engineered retrieval pipelines on bothevidence recallandend-to-end answer quality. Our results demonstrate that attention-based models already possess a retrieval mechanism that can be elicited, rather than added as an external module.
View arXiv pageView PDFAdd to collection
Get this paper in your agent:
hf papers read 2605\.05806
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.05806 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2605.05806 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.05806 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Rethinking Reasoning-Intensive Retrieval: Evaluating and Advancing Retrievers in Agentic Search Systems
The paper introduces BRIGHT-Pro, a new benchmark for reasoning-intensive retrieval, and RTriever-Synth, a synthetic corpus used to fine-tune RTriever-4B for improved performance in agentic search systems.
The Attribution Blind Spot: Detecting When Language Models Rely on Memory Rather Than Retrieved Context
Proposes Computational Reality Monitoring to detect when language models rely on pretraining memory rather than retrieved context, addressing the attribution blind spot in retrieval-augmented generation.
The Structural Attention Tax: How Retrieval Format Hijacks In-Context Learning Independent of Content
This paper identifies and formalizes the 'structural attention tax' phenomenon, where the format of retrieved content (e.g., knowledge graph triples) independently distorts LLM attention distribution regardless of semantic relevance, leading to compressed demonstration attention. It provides a formal framework, empirical evidence across models and benchmarks, and proposes structure-aware mitigation strategies.
Critic-R: Improving Agentic Search using Instruction-tuned Retrievers with Natural Language Introspective Feedback
Critic-R introduces a framework using a critic model to provide introspective feedback between the reasoning agent and retriever, improving agentic search performance at both inference and training time without requiring retraining the agent.
REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression
REAL introduces an Attention Behavior Matrix to analyze attention head behaviors in both success and failure cases, enabling more effective KV cache eviction. It achieves comparable accuracy to the strongest baseline while requiring 32x less space.