Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your compute
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Retrieval-augmented language models such as Fusion-in-Decoder are powerful, setting the state of the art on a variety of knowledge-intensive tasks. However, they are also expensive, due to the need to encode a large number of retrieved passages. Some work avoids this cost by pre-encoding a text corpus into a memory and retrieving dense representations directly. However, pre-encoding memory incurs a severe quality penalty as the memory representations are not conditioned on the current input. We propose LUMEN, a hybrid between these two extremes, pre-computing the majority of the retrieval representation and completing the encoding on the fly using a live encoder that is conditioned on the question and fine-tuned for the task. We show that LUMEN significantly outperforms pure memory on multiple question-answering tasks while being much cheaper than FiD, and outperforms both for any given compute budget. Moreover, the advantage of LUMEN over FiD increases with model size.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 36 of its 49 references that are in the map. First posted on arXiv 25 Jan 2023.
Builds on
36 of 49 references.
Closest ancestors · 6
Same direction, newest first
- 2022FiDO: Fusion-in-Decoder optimized for stronger performance and faster inference15 Dec
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks30 Oct
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
- 2022Augmenting Pre-trained Language Models with QA-Memory for Open-Domain Question Answering10 Apr
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb
Other references · 30
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 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
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
18 more
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2022Memorizing Transformerscited by 219
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2022Training Language Models with Memory Augmentationcited by 112
- 2021KG-FiD: Infusing Knowledge Graph in Fusion-in-Decoder for Open-Domain Question Answeringcited by 66
- 2022FiD-Light: Efficient and Effective Retrieval-Augmented Text Generationcited by 63
- 2021Mention Memory: incorporating textual knowledge into Transformers through entity mention attentioncited by 42
- 2021Rider: Reader-Guided Passage Reranking for Open-Domain Question Answeringcited by 28
- 2022Decoupled Context Processing for Context Augmented Language Modelingcited by 24
- 2018Adaptive Document Retrieval for Deep Question Answeringcited by 16
- 2021ReadTwice: Reading Very Large Documents with Memoriescited by 14
- 2022Can Open-Domain QA Reader Utilize External Knowledge Efficiently like Humans?cited by 10
Built on by
Citing papers per year: 2023: 6; 2024: 6; 2025: 5.
17 papers.
Sort:
By area:
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Modelscited by 85
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
- 2024Bridging the Preference Gap between Retrievers and LLMscited by 69
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generationcited by 34
- 2023Retrieval-augmented Multi-modal Chain-of-Thoughts Reasoning for Large Language Modelscited by 18
- 2023ATLANTIC: Structure-Aware Retrieval-Augmented Language Model for Interdisciplinary Sciencecited by 15
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interactioncited by 7
- 2023GLIMMER: generalized late-interaction memory rerankercited by 7
- 2023BTR: Binary Token Representations for Efficient Retrieval Augmented Language Modelscited by 5
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generationcited by 5
- 2024Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processingcited by 3
5 more
- 2024Recall: Empowering Multimodal Embedding for Edge Devicescited by 3
- 2025NAACL2025 Tutorial: Adaptation of Large Language Modelscited by 2
- 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memorycited by 1
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generationcited by 1
- 2025DeCAL Tokenwise Compressioncited by 0
- 2025DeCAL Tokenwise Compression11 Aug 2025
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generation15 May 2025
- 2025NAACL2025 Tutorial: Adaptation of Large Language Models4 Apr 2025
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation11 Mar 2025
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Models21 Jan 2025
- 2024Recall: Empowering Multimodal Embedding for Edge Devices9 Sep 2024
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation5 Aug 2024
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey18 Jul 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024
- 2024Bridging the Preference Gap between Retrievers and LLMs13 Jan 2024
- 2024Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processing10 Jan 2024
- 2023Retrieval-augmented Multi-modal Chain-of-Thoughts Reasoning for Large Language Models4 Dec 2023
5 more
- 2023ATLANTIC: Structure-Aware Retrieval-Augmented Language Model for Interdisciplinary Science21 Nov 2023
- 2023BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models2 Oct 2023
- 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memory28 Aug 2023
- 2023GLIMMER: generalized late-interaction memory reranker17 Jun 2023
- 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interaction31 May 2023
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Modelscited by 85
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
- 2024Bridging the Preference Gap between Retrievers and LLMscited by 69
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generationcited by 34
- 2023ATLANTIC: Structure-Aware Retrieval-Augmented Language Model for Interdisciplinary Sciencecited by 15
- 2023BTR: Binary Token Representations for Efficient Retrieval Augmented Language Modelscited by 5
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generationcited by 5
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generationcited by 1
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generation15 May 2025
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation11 Mar 2025
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Models21 Jan 2025
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation5 Aug 2024
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey18 Jul 2024
- 2024Bridging the Preference Gap between Retrievers and LLMs13 Jan 2024
- 2023ATLANTIC: Structure-Aware Retrieval-Augmented Language Model for Interdisciplinary Science21 Nov 2023
- 2023BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models2 Oct 2023
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interactioncited by 7
- 2023GLIMMER: generalized late-interaction memory rerankercited by 7
- 2024Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processingcited by 3
- 2024Recall: Empowering Multimodal Embedding for Edge Devicescited by 3
- 2025NAACL2025 Tutorial: Adaptation of Large Language Modelscited by 2
- 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memorycited by 1
- 2025DeCAL Tokenwise Compressioncited by 0
- 2025DeCAL Tokenwise Compression11 Aug 2025
- 2025NAACL2025 Tutorial: Adaptation of Large Language Models4 Apr 2025
- 2024Recall: Empowering Multimodal Embedding for Edge Devices9 Sep 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024
- 2024Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processing10 Jan 2024
- 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memory28 Aug 2023
- 2023GLIMMER: generalized late-interaction memory reranker17 Jun 2023
- 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interaction31 May 2023
Similar, not cited
Close in wording, no citation either way
- 2026To Memorize or to Retrieve: Scaling the Interaction Between Pretraining and Retrieval
- 2025MLP Memory: A Retriever-Pretrained Memory for Large Language Models
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval
- 2024MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentation
- 2023BRENT: Bidirectional Retrieval Enhanced Norwegian Transformer
- 2026EnComp: Lightweight Encoder-Only Context Compression for Retrieval-Augmented Question Answering
- 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation
- 2024Memory3: Language Modeling with Explicit Memory