Lune

ICML2022顶会

Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval

Uri Alon, Frank F. Xu, Junxian He, Sudipta Sengupta, Dan Roth, Graham Neubig

摘要

Retrieval-based language models (R-LM) model the probability of natural language text by combining a standard language model (LM) with examples retrieved from an external datastore at test time. While effective, a major bottleneck of using these models in practice is the computationally costly datastore search, which can be performed as frequently as every time step. In this paper, we present RetoMaton - retrieval automaton - which approximates the datastore search, based on (1) saving pointers between consecutive datastore entries, and (2) clustering of entries into"states". This effectively results in a weighted finite automaton built on top of the datastore, instead of representing the datastore as a flat list. The creation of the automaton is unsupervised, and a RetoMaton can be constructed from any text collection: either the original training corpus or from another domain. Traversing this automaton at inference time, in parallel to the LM inference, reduces its perplexity by up to 1.85, or alternatively saves up to 83% of the nearest neighbor searches over kkNN-LM (Khandelwal et al., 2020) without hurting perplexity. Our code and trained models are available at https://github.com/neulab/retomaton .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 Nearest Neighbor Machine Translation
  • Improving Language Models by Retrieving from Trillions of Tokens 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Improving Language Models by Retrieving from Trillions of Tokens 引用了 Accelerating Large-Scale Inference with Anisotropic Vector Quantization
  • Improving Language Models by Retrieving from Trillions of Tokens 引用了 Retrieval Augmented Language Model Pre-Training
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models 引用了 Nearest Neighbor Machine Translation
  • Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models 引用了 Retrieval Augmented Language Model Pre-Training
  • Test-Time Training on Nearest Neighbors for Large Language Models 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Test-Time Training on Nearest Neighbors for Large Language Models 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Test-Time Training on Nearest Neighbors for Large Language Models 引用了 Retrieval Augmented Language Model Pre-Training
  • Unlimiformer: Long-Range Transformers with Unlimited Length Input 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Unlimiformer: Long-Range Transformers with Unlimited Length Input 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Nearest Neighbor Machine Translation 引用了 Accelerating Large-Scale Inference with Anisotropic Vector Quantization
  • Retrieval Augmented Language Model Pre-Training 引用了 Generalization through Memorization: Nearest Neighbor Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. Unlimiformer: Long-Range Transformers with Unlimited Length InputAmanda Bertsch, Uri Alon, Graham Neubig, Matthew GormleyNeurIPS 2023 · 176 次引用
  2. Decoupling Knowledge from Memorization: Retrieval-augmented Prompt LearningXiang Chen, Lei Li, Ningyu Zhang, Xiaozhuan Liang 等NeurIPS 2022 · 68 次引用
  3. Test-Time Training on Nearest Neighbors for Large Language ModelsMoritz Hardt, Yu SunICLR 2024 · 66 次引用
  4. Algorithmic progress in language modelsAnson Ho, Tamay Besiroglu, Ege Erdil, Zifan Carl Guo 等NeurIPS 2024 · 51 次引用
  5. Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language ModelsWenqi Jiang, Marco Zeller, Roger Waleffe, Torsten Hoefler 等VLDB 2025 · 50 次引用

它引用的 Paper11

  1. Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat 等ICML 2020 · 2,937 次引用
  2. Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai 等ICML 2022 · 1,629 次引用
  3. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
  4. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng 等ICML 2020 · 539 次引用
  5. Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用

相关 Paper

  1. You can't pick your neighbors, or can you? When and How to Rely on Retrieval in the kNN-LMAndrew Drozdov, Shufan Wang, Razieh Rahimi, Andrew McCallum 等EMNLP Findings 2022 · 10 次引用
  2. Why do Nearest Neighbor Language Models Work?Frank F. Xu, Uri Alon, Graham NeubigICML 2023 · 33 次引用
  3. RegaVAE: A Retrieval-Augmented Gaussian Mixture Variational Auto-Encoder for Language ModelingJingcheng Deng, Liang Pang, Huawei Shen, Xueqi ChengEMNLP Findings 2023 · 3 次引用
  4. Efficient Nearest Neighbor Language ModelsJunxian He, Graham Neubig, Taylor Berg-KirkpatrickEMNLP 2021
  5. Scaling Retrieval-Based Language Models with a Trillion-Token DatastoreRulin Shao, Jacqueline He, Akari Asai, Weijia Shi 等NeurIPS 2024 · 76 次引用
黄昏的海面,两侧是细线勾勒的悬崖