Lune

EMNLP2022顶会

Chunk-based Nearest Neighbor Machine Translation

Pedro Henrique Martins, Zita Marinho, André F. T. Martins

摘要

Semi-parametric models, which augment generation with retrieval, have led to impressive results in language modeling and machine translation, due to their ability to retrieve fine-grained information from a datastore of examples. One of the most prominent approaches, kNN-MT, exhibits strong domain adaptation capabilities by retrieving tokens from domain-specific datastores (Khandelwal et al., 2021) . However, kNN-MT requires an expensive retrieval operation for every single generated token, leading to a very low decoding speed (around 8 times slower than a parametric model). In this paper, we introduce a chunk-based kNN-MT model which retrieves chunks of tokens from the datastore, instead of a single token. We propose several strategies for incorporating the retrieved chunks into the generation process, and for selecting the steps at which the model needs to search for neighbors in the datastore. Experiments on machine translation in two settings, static and "on-the-fly" domain adaptation, show that the chunk-based kNN-MT model leads to significant speed-ups (up to 4 times) with only a small drop in translation quality. 1

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • 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 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Prompting Neural Machine Translation with Translation Memories 引用了 Unsupervised Domain Clusters in Pretrained Language Models
  • Prompting Neural Machine Translation with Translation Memories 引用了 Nearest Neighbor Machine Translation
  • RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Simple and Scalable Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Simple and Scalable Nearest Neighbor Machine Translation 引用了 Nearest Neighbor Machine Translation
  • Simple and Scalable Nearest Neighbor Machine Translation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Subset Retrieval Nearest Neighbor Machine Translation 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Subset Retrieval Nearest Neighbor Machine Translation 引用了 Unsupervised Domain Clusters in Pretrained Language Models
  • Subset Retrieval Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Subset Retrieval Nearest Neighbor Machine Translation 引用了 Simple and Scalable Nearest Neighbor Machine Translation
  • Subset Retrieval Nearest Neighbor Machine Translation 引用了 Nearest Neighbor Machine Translation
  • Nearest Neighbor Machine Translation 引用了 Unsupervised Domain Clusters in Pretrained Language Models
  • Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Nearest Neighbor Machine Translation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Nearest Neighbor Speculative Decoding for LLM Generation and Attribution 引用了 Improving Language Models by Retrieving from Trillions of Tokens
  • Nearest Neighbor Speculative Decoding for LLM Generation and Attribution 引用了 Generalization through Memorization: Nearest Neighbor Language Models
  • Nearest Neighbor Speculative Decoding for LLM Generation and Attribution 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective AugmentationFangyuan Xu, Weijia Shi, Eunsol ChoiICLR 2024 · 260 次引用
  2. Nearest Neighbor Speculative Decoding for LLM Generation and AttributionMinghan Li, Xilun Chen, Ari Holtzman, Beidi Chen 等NeurIPS 2024 · 29 次引用
  3. Prompting Neural Machine Translation with Translation MemoriesAbudurexiti Reheman, Tao Zhou, Yingfeng Luo, Di Yang 等AAAI 2023 · 11 次引用
  4. Simple and Scalable Nearest Neighbor Machine TranslationYuhan Dai, Zhirui Zhang, Qiuzhi Liu, Qu Cui 等ICLR 2023 · 9 次引用
  5. Subset Retrieval Nearest Neighbor Machine TranslationHiroyuki Deguchi, Taro Watanabe, Yusuke Matsui, Masao Utiyama 等ACL 2023 · 7 次引用

它引用的 Paper9

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
  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. Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用
  5. Unsupervised Domain Clusters in Pretrained Language ModelsRoee Aharoni, Yoav GoldbergACL 2020 · 13 次引用

相关 Paper

  1. Fast Nearest Neighbor Machine TranslationYuxian Meng, Xiaoya Li, Xiayu Zheng, Fei Wu 等ACL Findings 2022 · 32 次引用
  2. Efficient Cluster-Based k-Nearest-Neighbor Machine TranslationDexin Wang, Kai Fan, Boxing Chen, Deyi XiongACL 2022 · 35 次引用
  3. Efficient k-Nearest-Neighbor Machine Translation with Dynamic RetrievalYan Gao, Zhiwei Cao, Zhongjian Miao, Baosong Yang 等ACL Findings 2024 · 1 次引用
  4. Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine TranslationZhiwei Cao, Baosong Yang, Huan Lin, Suhang Wu 等ACL 2023 · 1 次引用
  5. Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection LayerRuize Gao, Zhirui Zhang, Yichao Du, Lemao Liu 等EMNLP 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖