DSI++: Updating Transformer Memory with New Documents
Sanket Vaibhav Mehta, Jai Gupta, Yi Tay, Mostafa Dehghani, Vinh Q. Tran, Jinfeng Rao, Marc Najork, Emma Strubell, Donald Metzler
摘要
Differentiable Search Indices (DSIs) encode a corpus of documents in model parameters and use the same model to answer user queries directly. Despite the strong performance of DSI models, deploying them in situations where the corpus changes over time is computationally expensive because reindexing the corpus requires re-training the model. In this work, we introduce DSI++, a continual learning challenge for DSI to incrementally index new documents while being able to answer queries related to both previously and newly indexed documents. Across different model scales and document identifier representations, we show that continual indexing of new documents leads to considerable forgetting of previously indexed documents. We also hypothesize and verify that the model experiences forgetting events during training, leading to unstable learning. To mitigate these issues, we investigate two approaches. The first focuses on modifying the training dynamics. Flatter minima implicitly alleviate forgetting, so we optimize for flatter loss basins and show that the model stably memorizes more documents (+12%). Next, we introduce a generative memory to sample pseudoqueries for documents and supplement them during continual indexing to prevent forgetting for the retrieval task. Extensive experiments on novel continual indexing benchmarks based on Natural Questions (NQ) and MS MARCO demonstrate that our proposed solution mitigates forgetting significantly. Concretely, it improves the average Hits@10 by +21.1% over competitive baselines for NQ and requires 6 times fewer model updates compared to retraining the DSI model for incrementally indexing five corpora in a sequence.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Locating and Editing Factual Associations in GPT 引用了 Fast Model Editing at Scale
- Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
- Improving Language Models by Retrieving from Trillions of Tokens 引用了 Language Models are Few-Shot Learners
- UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models 引用了 Improving Language Models by Retrieving from Trillions of Tokens
- UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models 引用了 Learning to Tokenize for Generative Retrieval
- Fast Model Editing at Scale 引用了 Language Models are Few-Shot Learners
- Learning to Tokenize for Generative Retrieval 引用了 Language Models are Few-Shot Learners
- Planning Ahead in Generative Retrieval: Guiding Autoregressive Generation through Simultaneous Decoding 引用了 How Does Generative Retrieval Scale to Millions of Passages?
- Planning Ahead in Generative Retrieval: Guiding Autoregressive Generation through Simultaneous Decoding 引用了 Learning to Tokenize for Generative Retrieval
- Planning Ahead in Generative Retrieval: Guiding Autoregressive Generation through Simultaneous Decoding 引用了 Scalable and Effective Generative Information Retrieval
引用它的顶会 Paper25
- Learning to Tokenize for Generative RetrievalWeiwei Sun, Lingyong Yan, Zheng Chen, Shuaiqiang Wang 等NeurIPS 2023 · 151 次引用
- Scalable and Effective Generative Information RetrievalHansi Zeng, Chen Luo, Bowen Jin, Sheikh Muhammad Sarwar 等WWW 2024 · 72 次引用
- UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language ModelsXiaoxi Li, Yujia Zhou, Zhicheng DouAAAI 2024 · 24 次引用
- How Does Generative Retrieval Scale to Millions of Passages?Ronak Pradeep, Kai Hui, Jai Gupta, Ádám D. Lelkes 等EMNLP 2023 · 23 次引用
- Planning Ahead in Generative Retrieval: Guiding Autoregressive Generation through Simultaneous DecodingHansi Zeng, Chen Luo, Hamed ZamaniSIGIR 2024 · 21 次引用
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai 等ICML 2022 · 1,629 次引用
- Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn 等ICLR 2022 · 527 次引用
相关 Paper
- IncDSI: Incrementally Updatable Document RetrievalVarsha Kishore, Chao Wan, Justin Lovelace, Yoav Artzi 等ICML 2023 · 19 次引用
- Transformer Memory as a Differentiable Search IndexYi Tay, Vinh Tran, Mostafa Dehghani, Jianmo Ni 等NeurIPS 2022 · 506 次引用
- Bootstrapped Pre-training with Dynamic Identifier Prediction for Generative RetrievalYubao Tang, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke 等ACL Findings 2024 · 3 次引用
- A Parametric Memory Head for Continual Generative RetrievalKidist Amde Mekonnen, Yubao Tang, Maarten de RijkeSIGIR 2026
- Understanding Differential Search Index for Text RetrievalXiaoyang Chen, Yanjiang Liu, Ben He, Le Sun 等ACL Findings 2023 · 13 次引用
