paper-with-me

Papers

DSI++: Updating Transformer Memory with New Documents

2022-12-19 · 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 pseudo-queries 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 re-training the DSI model for incrementally indexing five corpora in a sequence.

📄 PDF Abstract BibTeX arXiv:2212.09744

Code (0)

등록된 구현이 없습니다.

Tasks

Continual LearningNatural QuestionsRetrieval

Similar Papers 제목 키워드 기반

Memory Retention Is Not Enough to Master Memory Tasks in Reinforcement Learning

2026-01-21 · Oleg Shchendrigin, Egor Cherepanov, Alexey K. Kovalev, Aleksandr I. Panov arxiv

Effective decision-making in the real world depends on memory that is both stable and adaptive: environments change over time, and agents must retain relevant information over long horizons while also updating or overwri…

Reinforcement Learning

Mass-Editing Memory in a Transformer

2022-10-13 · Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov 외

Recent work has shown exciting promise in updating large language models with new memories, so as to replace obsolete information or add specialized knowledge. However, this line of work is predominantly limited to updat…

Language ModelingLanguage Modelling

Semantic Commit: Helping Users Update Intent Specifications for AI Memory at Scale

2025-04-12 · Priyan Vaithilingam, Munyeong Kim, Frida-Cecilia Acosta-Parenteau, Daniel Lee 외

How do we update AI memory of user intent as intent changes? We consider how an AI interface may assist the integration of new information into a repository of natural language data. Inspired by software engineering conc…

AI AgentGame DesignRAG

Local Self-Attention over Long Text for Efficient Document Retrieval

2020-05-11 · Sebastian Hofstätter, Hamed Zamani, Bhaskar Mitra, Nick Craswell 외

Neural networks, particularly Transformer-based architectures, have achieved significant performance improvements on several retrieval benchmarks. When the items being retrieved are documents, the time and memory cost of…

Document RankingRetrieval

MURR: Model Updating with Regularized Replay for Searching a Document Stream

2025-04-14 · Eugene Yang, Nicola Tonellotto, Dawn Lawrie, Sean MacAvaney 외

The Internet produces a continuous stream of new documents and user-generated queries. These naturally change over time based on events in the world and the evolution of language. Neural retrieval models that were traine…

Retrieval