[2002.08909] REALM: Retrieval-Augmented Language Model Pre-Training
Language model pre-training has been shown to capture a surprising amount of world knowledge, crucial for NLP tasks such as question answering. However, this knowledge is stored implicitly in the parameters of a neural network, requiring ever-larger networks to cover more facts. To capture knowledge in a more modular and interpretable way, we augment language model pre-training with a latent knowledge retriever, which allows the model to retrieve and attend over documents from a large corpus such as Wikipedia, used during pre-training, fine-tuning and inference. For the first time, we show how to pre-train such a knowledge retriever in an unsupervised manner, using masked language modeling as the learning signal and backpropagating through a retrieval step that considers millions of documents. We demonstrate the effectiveness of Retrieval-Augmented Language Model pre-training (REALM) by fine-tuning on the challenging task of Open-domain Question Answering (Open-QA). We compare against state-of-the-art models for both explicit and implicit knowledge storage on three popular Open-QA benchmarks, and find that we outperform all previous methods by a significant margin (4-16% absolute accuracy), while also providing qualitative benefits such as interpretability and modularity.
REALM: Retrieval-Augmented Language Model Pre-Training Kelvin Guu * 1 Kenton Lee * 1 Zora Tung 1 Panupong Pasupat 1 Ming-Wei Chang 1 Abstract Language model pre-training has been shown to arXiv:2002.08909v1 [cs.CL] 10 Feb 2020 capture a surprising amount of world knowledge, crucial for NLP tasks such as question answer-…
saved by
related reading
- radford2018improving.pdfcs.ubc.ca
- [2005.11401] Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasksarxiv.org
- [1912.13318] LayoutLM: Pre-training of Text and Layout for Document Image Understandingarxiv.org
- Recursive Language Models | Alex L. Zhangalexzhang13.github.io
- [2005.14165] Language Models are Few-Shot Learnersarxiv.org
- [2106.09685] LoRA: Low-Rank Adaptation of Large Language Modelsarxiv.org
- Self-Adapting Language Modelsarxiv.org
- [2511.08579] Training Language Models to Explain Their Own Computationsarxiv.org
- Unlocking the Working Memory of Large Language Models for Latent Reasoningarxiv.org
- Language Models as Knowledge Bases?aclanthology.org
- Recent Advances in Language Model Fine-tuningruder.io
- 1810.04805arxiv.org