Lune

NeurIPS2022Top-tier venue

Transformer Memory as a Differentiable Search Index

Yi Tay, Vinh Tran, Mostafa Dehghani, Jianmo Ni, Dara Bahri, Harsh Mehta, Zhen Qin, Kai Hui, Zhe Zhao, Jai Prakash Gupta, Tal Schuster, William W. Cohen, Donald Metzler

Abstract

In this paper, we demonstrate that information retrieval can be accomplished with a single Transformer, in which all information about the corpus is encoded in the parameters of the model. To this end, we introduce the Differentiable Search Index (DSI), a new paradigm that learns a text-to-text model that maps string queries directly to relevant docids; in other words, a DSI model answers queries directly using only its parameters, dramatically simplifying the whole retrieval process. We study variations in how documents and their identifiers are represented, variations in training procedures, and the interplay between models and corpus sizes. Experiments demonstrate that given appropriate design choices, DSI significantly outperforms strong baselines such as dual encoder models. Moreover, DSI demonstrates strong generalization capabilities, outperforming a BM25 baseline in a zero-shot setup.

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.

104 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

  • Precise Zero-Shot Dense Retrieval without Relevance Labels cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
  • Precise Zero-Shot Dense Retrieval without Relevance Labels cites Language Models are Few-Shot Learners
  • Precise Zero-Shot Dense Retrieval without Relevance Labels cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Autoregressive Search Engines: Generating Substrings as Document Identifiers cites Language Models are Few-Shot Learners
  • Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models cites Improving Language Models by Retrieving from Trillions of Tokens
  • Improving Language Models by Retrieving from Trillions of Tokens cites Language Models are Few-Shot Learners
  • Recommender Systems with Generative Retrieval cites A Neural Corpus Indexer for Document Retrieval
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding cites Language Models are Few-Shot Learners
  • A Neural Corpus Indexer for Document Retrieval cites Autoregressive Search Engines: Generating Substrings as Document Identifiers
  • A Neural Corpus Indexer for Document Retrieval cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers104

  1. Recommender Systems with Generative RetrievalShashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan et al.NeurIPS 2023 · 474 citations
  2. Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language ModelsKushal Tirumala, Aram H. Markosyan, Luke Zettlemoyer, Armen AghajanyanNeurIPS 2022 · 304 citations
  3. Autoregressive Search Engines: Generating Substrings as Document IdentifiersMichele Bevilacqua, Giuseppe Ottaviano, Patrick Lewis, Scott Yih et al.NeurIPS 2022 · 242 citations
  4. A Neural Corpus Indexer for Document RetrievalYujing Wang, Yingyan Hou, Haonan Wang, Ziming Miao et al.NeurIPS 2022 · 242 citations
  5. Precise Zero-Shot Dense Retrieval without Relevance LabelsLuyu Gao, Xueguang Ma, Jimmy Lin, Jamie CallanACL 2023 · 211 citations

Builds on14

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  3. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen et al.ICLR 2021 · 1,954 citations
  4. Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
  5. Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations

Related papers

  1. IncDSI: Incrementally Updatable Document RetrievalVarsha Kishore, Chao Wan, Justin Lovelace, Yoav Artzi et al.ICML 2023 · 19 citations
  2. Understanding Differential Search Index for Text RetrievalXiaoyang Chen, Yanjiang Liu, Ben He, Le Sun et al.ACL Findings 2023 · 13 citations
  3. Auto Search Indexer for End-to-End Document RetrievalTianchi Yang, Minghui Song, Zihan Zhang, Haizhen Huang et al.EMNLP Findings 2023 · 9 citations
  4. DSI++: Updating Transformer Memory with New DocumentsSanket Vaibhav Mehta, Jai Gupta, Yi Tay, Mostafa Dehghani et al.EMNLP 2023 · 20 citations
  5. Bootstrapped Pre-training with Dynamic Identifier Prediction for Generative RetrievalYubao Tang, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke et al.ACL Findings 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines