Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformer
Not on the map. Why?
Abstract (arXiv)
Systems for knowledge-intensive tasks such as open-domain question answering (QA) usually consist of two stages: efficient retrieval of relevant documents from a large corpus and detailed reading of the selected documents to generate answers. Retrievers and readers are usually modeled separately, which necessitates a cumbersome implementation and is hard to train and adapt in an end-to-end fashion. In this paper, we revisit this design and eschew the separate architecture and training in favor of a single Transformer that performs Retrieval as Attention (ReAtt), and end-to-end training solely based on supervision from the end QA task. We demonstrate for the first time that a single model trained end-to-end can achieve both competitive retrieval and QA performance, matching or slightly outperforming state-of-the-art separately trained retrievers and readers. Moreover, end-to-end adaptation significantly boosts its performance on out-of-domain datasets in both supervised and unsupervised settings, making our model a simple and adaptable solution for knowledge-intensive tasks. Code and models are available at https://github.com/jzbjyb/ReAtt.
Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). Builds on 39 of its 54 references that are in the map. First posted on arXiv 5 Dec 2022.
Builds on
39 of 54 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
27 more
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2020Fact or Fiction: Verifying Scientific Claimscited by 546
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
- 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 410
- 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
- 2022Memorizing Transformerscited by 219
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answeringcited by 133
- 2021Scaling Deep Contrastive Learning Batch Size under Memory Limited Setupcited by 123
- 2021GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrievalcited by 119
- 2021TSDAE: Using Transformer-based Sequential Denoising Auto-Encoder for Unsupervised Sentence Embedding Learningcited by 116
- 2021COIL: Revisit Exact Lexical Match in Information Retrieval with Contextualized Inverted Listcited by 113
- 2022Training Language Models with Memory Augmentationcited by 112
- 2022PLAID: An Efficient Engine for Late Interaction Retrievalcited by 95
- 2020Relevance-guided Supervision for OpenQA with ColBERTcited by 71
- 2021The Web Is Your Oyster - Knowledge-Intensive NLP against a Very Large Web Corpuscited by 60
- 2021Domain-matched Pre-training Tasks for Dense Retrievalcited by 53
- 2021UnitedQA: A Hybrid Approach for Open Domain Question Answeringcited by 42
- 2021R2-D2: A Modular Baseline for Open-Domain Question Answeringcited by 37
- 2021Phrase Retrieval Learns Passage Retrieval, Toocited by 33
- 2020Is Retriever Merely an Approximator of Reader?cited by 30
- 2021You Only Need One Model for Open-domain Question Answeringcited by 17
Built on by
Citing papers per year: 2023: 15; 2024: 18; 2025: 10; 2026: 2.
45 papers.
Sort:
By area:
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023Active Retrieval Augmented Generationcited by 506
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Modelscited by 84
- 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Modelscited by 63
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 62
- 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 54
- 2024PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makerscited by 42
33 more
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2023ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrievalcited by 26
- 2024Metacognitive Retrieval-Augmented Large Language Modelscited by 26
- 2024Manipulating Large Language Models to Increase Product Visibilitycited by 24
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 24
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
- 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaborationcited by 16
- 2025SurGE: A Benchmark and Evaluation Framework for Scientific Survey Generationcited by 14
- 2023Evaluating Generative Ad Hoc Information Retrievalcited by 11
- 2024Large Language Models for Social Networks: Applications, Challenges, and Solutionscited by 11
- 2023Robust Natural Language Understanding with Residual Attention Debiasingcited by 10
- 2024RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generationcited by 10
- 2023GLIMMER: generalized late-interaction memory rerankercited by 7
- 20231-PAGER: One Pass Answer Generation and Evidence Retrievalcited by 7
- 2025DioR: Adaptive Cognitive Detection and Contextual Retrieval Optimization for Dynamic Retrieval-Augmented Generationcited by 7
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrievalcited by 5
- 2025ImpRAG: Retrieval-Augmented Generation with Implicit Queriescited by 5
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compressioncited by 4
- 2025IterKey: Iterative Keyword Generation with LLMs for Enhanced Retrieval Augmented Generationcited by 4
- 2024Pre-training Cross-lingual Open Domain Question Answering with Large-scale Synthetic Supervisioncited by 3
- 2025Dynamic and Parametric Retrieval-Augmented Generationcited by 3
- 2025MultiRAG: A Knowledge-guided Framework for Mitigating Hallucination in Multi-source Retrieval Augmented Generationcited by 3
- 2023BRENT: Bidirectional Retrieval Enhanced Norwegian Transformercited by 2
- 2024Think-then-Act: A Dual-Angle Evaluated Retrieval-Augmented Generationcited by 2
- 2024FastFiD: Improve Inference Efficiency of Open Domain Question Answering via Sentence Selectioncited by 2
- 2023Pay Attention to What You Needcited by 1
- 2024You Only Use Reactive Attention Slice For Long Context Retrievalcited by 1
- 2025Equipping Retrieval-Augmented Large Language Models with Document Structure Awarenesscited by 1
- 2026ACR: Adaptive Context Refactoring via Context Refactoring Operators for Multi-Turn Dialoguecited by 1
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorizationcited by 0
- 2025Few-Shot Multilingual Open-Domain QA from 5 Examplescited by 0
- 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptationcited by 0
- 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptation29 Sep 2026
- 2026ACR: Adaptive Context Refactoring via Context Refactoring Operators for Multi-Turn Dialogue9 Jan 2026
- 2025Equipping Retrieval-Augmented Large Language Models with Document Structure Awareness5 Oct 2025
- 2025SurGE: A Benchmark and Evaluation Framework for Scientific Survey Generation21 Aug 2025
- 2025MultiRAG: A Knowledge-guided Framework for Mitigating Hallucination in Multi-source Retrieval Augmented Generation5 Aug 2025
- 2025Dynamic and Parametric Retrieval-Augmented Generation7 Jun 2025
- 2025ImpRAG: Retrieval-Augmented Generation with Implicit Queries2 Jun 2025
- 2025IterKey: Iterative Keyword Generation with LLMs for Enhanced Retrieval Augmented Generation13 May 2025
- 2025DioR: Adaptive Cognitive Detection and Contextual Retrieval Optimization for Dynamic Retrieval-Augmented Generation14 Apr 2025
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancement31 Mar 2025
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval12 Mar 2025
- 2025Few-Shot Multilingual Open-Domain QA from 5 Examples27 Feb 2025
33 more
- 2024You Only Use Reactive Attention Slice For Long Context Retrieval3 Sep 2024
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression28 Aug 2024
- 2024FastFiD: Improve Inference Efficiency of Open Domain Question Answering via Sentence Selection12 Aug 2024
- 2024Think-then-Act: A Dual-Angle Evaluated Retrieval-Augmented Generation18 Jun 2024
- 2024PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makers18 Jun 2024
- 2024RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generation9 Jun 2024
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Tasks4 Jun 2024
- 2024Manipulating Large Language Models to Increase Product Visibility11 Apr 2024
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorization2 Apr 2024
- 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Models15 Mar 2024
- 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models11 Mar 2024
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrieval28 Feb 2024
- 2024Pre-training Cross-lingual Open Domain Question Answering with Large-scale Synthetic Supervision26 Feb 2024
- 2024Instruction-tuned Language Models are Better Knowledge Learners20 Feb 2024
- 2024Metacognitive Retrieval-Augmented Large Language Models18 Feb 2024
- 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration7 Feb 2024
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Survey15 Jan 2024
- 2024Large Language Models for Social Networks: Applications, Challenges, and Solutions4 Jan 2024
- 2023Evaluating Generative Ad Hoc Information Retrieval8 Nov 2023
- 20231-PAGER: One Pass Answer Generation and Evidence Retrieval25 Oct 2023
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances11 Oct 2023
- 2023Retrieval meets Long Context Large Language Models4 Oct 2023
- 2023Pay Attention to What You Need25 Jul 2023
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Models27 Jun 2023
- 2023Extending Context Window of Large Language Models via Positional Interpolation27 Jun 2023
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval23 Jun 2023
- 2023GLIMMER: generalized late-interaction memory reranker17 Jun 2023
- 2023Robust Natural Language Understanding with Residual Attention Debiasing28 May 2023
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformers25 May 2023
- 2023Query Rewriting for Retrieval-Augmented Large Language Models23 May 2023
- 2023ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrieval18 May 2023
- 2023Active Retrieval Augmented Generation11 May 2023
- 2023BRENT: Bidirectional Retrieval Enhanced Norwegian Transformer19 Apr 2023
- 2023Active Retrieval Augmented Generationcited by 506
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Modelscited by 63
- 2024PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makerscited by 42
- 2024Metacognitive Retrieval-Augmented Large Language Modelscited by 26
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 24
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
- 2024RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generationcited by 10
- 2025DioR: Adaptive Cognitive Detection and Contextual Retrieval Optimization for Dynamic Retrieval-Augmented Generationcited by 7
- 2025ImpRAG: Retrieval-Augmented Generation with Implicit Queriescited by 5
- 2025IterKey: Iterative Keyword Generation with LLMs for Enhanced Retrieval Augmented Generationcited by 4
12 most cited of 16 All 16 (JSON)
- 2025Equipping Retrieval-Augmented Large Language Models with Document Structure Awareness5 Oct 2025
- 2025MultiRAG: A Knowledge-guided Framework for Mitigating Hallucination in Multi-source Retrieval Augmented Generation5 Aug 2025
- 2025Dynamic and Parametric Retrieval-Augmented Generation7 Jun 2025
- 2025ImpRAG: Retrieval-Augmented Generation with Implicit Queries2 Jun 2025
- 2025IterKey: Iterative Keyword Generation with LLMs for Enhanced Retrieval Augmented Generation13 May 2025
- 2025DioR: Adaptive Cognitive Detection and Contextual Retrieval Optimization for Dynamic Retrieval-Augmented Generation14 Apr 2025
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancement31 Mar 2025
- 2024You Only Use Reactive Attention Slice For Long Context Retrieval3 Sep 2024
- 2024PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makers18 Jun 2024
- 2024RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generation9 Jun 2024
- 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Models15 Mar 2024
- 2024Metacognitive Retrieval-Augmented Large Language Models18 Feb 2024
12 newest of 16 All 16 (JSON)
- 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaborationcited by 16
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrievalcited by 5
- 2024Think-then-Act: A Dual-Angle Evaluated Retrieval-Augmented Generationcited by 2
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval12 Mar 2025
- 2024Think-then-Act: A Dual-Angle Evaluated Retrieval-Augmented Generation18 Jun 2024
- 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration7 Feb 2024
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Modelscited by 84
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 62
- 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 54
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2023ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrievalcited by 26
- 2024Manipulating Large Language Models to Increase Product Visibilitycited by 24
- 2025SurGE: A Benchmark and Evaluation Framework for Scientific Survey Generationcited by 14
- 2023Evaluating Generative Ad Hoc Information Retrievalcited by 11
12 most cited of 24 All 24 (JSON)
- 2026ACR: Adaptive Context Refactoring via Context Refactoring Operators for Multi-Turn Dialogue9 Jan 2026
- 2025SurGE: A Benchmark and Evaluation Framework for Scientific Survey Generation21 Aug 2025
- 2025Few-Shot Multilingual Open-Domain QA from 5 Examples27 Feb 2025
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression28 Aug 2024
- 2024FastFiD: Improve Inference Efficiency of Open Domain Question Answering via Sentence Selection12 Aug 2024
- 2024Manipulating Large Language Models to Increase Product Visibility11 Apr 2024
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorization2 Apr 2024
- 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models11 Mar 2024
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrieval28 Feb 2024
- 2024Pre-training Cross-lingual Open Domain Question Answering with Large-scale Synthetic Supervision26 Feb 2024
- 2024Instruction-tuned Language Models are Better Knowledge Learners20 Feb 2024
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Survey15 Jan 2024
12 newest of 24 All 24 (JSON)