Lune

NeurIPS2022Top-tier venue

Decoupled Context Processing for Context Augmented Language Modeling

Zonglin Li, Ruiqi Guo, Sanjiv Kumar

Abstract

Language models can be augmented with a context retriever to incorporate knowledge from large external databases. By leveraging retrieved context, the neural network does not have to memorize the massive amount of world knowledge within its internal parameters, leading to better parameter efficiency, interpretability and modularity. In this paper we examined a simple yet effective architecture for incorporating external context into language models based on decoupled Encoder Decoder architecture. We showed that such a simple architecture achieves competitive results on auto-regressive language modeling and open domain question answering tasks. We also analyzed the behavior of the proposed model which performs grounded context transfer. Finally we discussed the computational implications of such retrieval augmented models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ResMem: Learn what you can and memorize the rest cites Improving Language Models by Retrieving from Trillions of Tokens
  • ResMem: Learn what you can and memorize the rest cites Generalization through Memorization: Nearest Neighbor Language Models
  • Improving Language Models by Retrieving from Trillions of Tokens cites Generalization through Memorization: Nearest Neighbor Language Models
  • Improving Language Models by Retrieving from Trillions of Tokens cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Improving Language Models by Retrieving from Trillions of Tokens cites Extracting Training Data from Large Language Models
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models cites Improving Language Models by Retrieving from Trillions of Tokens
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models cites Generalization through Memorization: Nearest Neighbor Language Models
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Generalization through Memorization: Nearest Neighbor Language Models
  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your compute cites Improving Language Models by Retrieving from Trillions of Tokens
  • Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your compute cites Generalization through Memorization: Nearest Neighbor Language Models
  • Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your compute cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation Fusion cites Improving Language Models by Retrieving from Trillions of Tokens
  • ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation Fusion cites Generalization through Memorization: Nearest Neighbor Language Models
  • ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation Fusion cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks cites Generalization through Memorization: Nearest Neighbor Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language ModelsWenqi Jiang, Marco Zeller, Roger Waleffe, Torsten Hoefler et al.VLDB 2025 · 50 citations
  2. Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your computeMichiel de Jong, Yury Zemlyanskiy, Nicholas FitzGerald, Joshua Ainslie et al.ICML 2023 · 20 citations
  3. ResMem: Learn what you can and memorize the restZitong Yang, Michal Lukasik, Vaishnavh Nagarajan, Zonglin Li et al.NeurIPS 2023 · 14 citations
  4. The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in TransformersZonglin Li, Chong You, Srinadh Bhojanapalli, Daliang Li et al.ICLR 2023 · 10 citations
  5. ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation FusionShangyu Wu, Ying Xiong, Yufei Cui, Xue Liu et al.ICLR 2024 · 7 citations

Builds on15

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
  3. Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
  4. Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
  5. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations

Related papers

  1. Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat et al.ICML 2020 · 2,937 citations
  2. Decoupling Knowledge and Context: An Efficient and Effective Retrieval Augmented Generation Framework via Cross AttentionQian Dong, Qingyao Ai, Hongning Wang, Yiding Liu et al.WWW 2025 · 19 citations
  3. Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy ContextsYouna Kim, Hyuhng Joon Kim, Cheonbok Park, Choonghyun Park et al.EMNLP Findings 2024 · 6 citations
  4. Context Quality Matters in Training Fusion-in-Decoder for Extractive Open-Domain Question AnsweringKosuke Akimoto, Kunihiro Takeoka, Masafumi OyamadaEMNLP Findings 2023 · 6 citations
  5. REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question AnsweringYuhao Wang, Ruiyang Ren, Junyi Li, Xin Zhao et al.EMNLP 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines