mlsanityData to 14 Oct 2026

Chunk-based Nearest Neighbor Machine Translation

arXiv 2205.12230 ↗First posted 24 May 2022cs.CLcited by 21

Not on the map. Why?

Abstract (arXiv)

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 citepkhandelwal2020nearest. 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 textitchunk-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.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 34 of its 51 references that are in the map. First posted on arXiv 24 May 2022.

Builds on

34 of 51 references.

References · 34

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  5. 2017Billion-scale similarity search with GPUscited by 2,497
  6. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  7. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  8. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  9. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  10. 2020COMET: A Neural Framework for MT Evaluationcited by 1,033
  11. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  12. 2014Memory Networkscited by 363
22 more
  1. 2017Six Challenges for Neural Machine Translationcited by 335
  2. 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
  3. 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 242
  4. 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
  5. 2020Nearest Neighbor Machine Translationcited by 209
  6. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  7. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
  8. 2021Efficient Nearest Neighbor Language Modelscited by 93
  9. 2021Adaptive Semiparametric Language Modelscited by 83
  10. 2018Guiding Neural Machine Translation with Retrieved Translation Piecescited by 63
  11. 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
  12. 2021Adaptive Nearest Neighbor Machine Translationcited by 58
  13. 2020Augmenting Transformers with KNN-Based Composite Memory for Dialoguecited by 53
  14. 2021Learning Language Specific Sub-network for Multilingual Machine Translationcited by 48
  15. 2021Domain Adaptation and Multi-Domain Adaptation for Neural Machine Translation: A Surveycited by 46
  16. 2021Fast Nearest Neighbor Machine Translationcited by 37
  17. 2019Non-Parametric Adaptation for Neural Machine Translationcited by 34
  18. 2021Learning Kernel-Smoothed Machine Translation with Retrieved Examplescited by 25
  19. 2021Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translationcited by 20
  20. 2018Compact Personalized Models for Neural Machine Translationcited by 19
  21. 2021Faster Nearest Neighbor Machine Translationcited by 8
  22. 2022Efficient Machine Translation Domain Adaptationcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 9; 2024: 8; 2025: 1; 2026: 1.

21 papers.

Sort:

By area:

  1. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
  2. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  3. 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 71
  4. 2024Nearest Neighbor Speculative Decoding for LLM Generation and Attributioncited by 25
  5. 2024Non-Exchangeable Conformal Language Generation with Nearest Neighborscited by 21
  6. 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
  7. 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12
  8. 2024Communication-Efficient Personalized Federated Learning for Speech-to-Text Taskscited by 8
  9. 2024Retrieving Examples from Memory for Retrieval Augmented Neural Machine Translation: A Systematic Comparisoncited by 7
  10. 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
  11. 2024NNOSE: Nearest Neighbor Occupational Skill Extractioncited by 5
  12. 2024Investigating Neural Machine Translation for Low-Resource Languages: Using Bavarian as a Case Studycited by 5
9 more
  1. 2023Multilingual k-Nearest-Neighbor Machine Translationcited by 3
  2. 2023Prompting Neural Machine Translation with Translation Memoriescited by 2
  3. 2023Towards Example-Based NMT with Multi-Levenshtein Transformerscited by 2
  4. 2024Efficient k-Nearest-Neighbor Machine Translation with Dynamic Retrievalcited by 2
  5. 2023N-Gram Nearest Neighbor Machine Translationcited by 1
  6. 2023Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layercited by 1
  7. 2023knn-seq: Efficient, Extensible kNN-MT Frameworkcited by 1
  8. 2025Angular Dispersion Accelerates k-Nearest Neighbors Machine Translationcited by 1
  9. 2026Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNetscited by 0