mlsanityData to 7 Oct 2026

Adaptive Nearest Neighbor Machine Translation

arXiv 2105.13022 ↗First posted 27 May 2021cs.CLcited by 58

Not on the map. Why?

Abstract (arXiv)

kNN-MT, recently proposed by Khandelwal et al. (2020a), successfully combines pre-trained neural machine translation (NMT) model with token-level k-nearest-neighbor (kNN) retrieval to improve the translation accuracy. However, the traditional kNN algorithm used in kNN-MT simply retrieves a same number of nearest neighbors for each target token, which may cause prediction errors when the retrieved neighbors include noises. In this paper, we propose Adaptive kNN-MT to dynamically determine the number of k for each target token. We achieve this by introducing a light-weight Meta-k Network, which can be efficiently trained with only a few training samples. On four benchmark machine translation datasets, we demonstrate that the proposed method is able to effectively filter out the noises in retrieval results and significantly outperforms the vanilla kNN-MT model. Even more noteworthy is that the Meta-k Network learned on one domain could be directly applied to other domains and obtain consistent improvements, illustrating the generality of our method. Our implementation is open-sourced at https://github.com/zhengxxn/adaptive-knn-mt.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 17 of its 20 references that are in the map. First posted on arXiv 27 May 2021.

Builds on

17 of 20 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  6. 2017Billion-scale similarity search with GPUscited by 2,477
  7. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  8. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  9. 2017Six Challenges for Neural Machine Translationcited by 334
  10. 2020Nearest Neighbor Machine Translationcited by 209
  11. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  12. 2018Achieving Human Parity on Automatic Chinese to English News Translationcited by 119
5 more
  1. 2018Guiding Neural Machine Translation with Retrieved Translation Piecescited by 63
  2. 2020BERT-kNN: Adding a kNN Search Component to Pretrained Language Models for Better QAcited by 36
  3. 2019Non-Parametric Adaptation for Neural Machine Translationcited by 34
  4. 2019Unsupervised Domain Adaptation for Neural Machine Translation with Domain-Aware Feature Embeddingscited by 14
  5. 2020Iterative Domain-Repaired Back-Translationcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 18; 2023: 20; 2024: 13; 2025: 3; 2026: 1.

58 papers.

Sort:

By area:

  1. 2022A Survey on Retrieval-Augmented Text Generationcited by 157
  2. 2022Training Language Models with Memory Augmentationcited by 112
  3. 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
  4. 2024Measuring and Enhancing Trustworthiness of LLMs in RAG through Grounded Attributions and Learning to Refusecited by 33
  5. 2022Efficient Cluster-Based k-Nearest-Neighbor Machine Translationcited by 24
  6. 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
  7. 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
  8. 2024Non-Exchangeable Conformal Language Generation with Nearest Neighborscited by 21
  9. 2021Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translationcited by 20
  10. 2021Layer-wise Model Pruning based on Mutual Informationcited by 19
  11. 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
  12. 2022Towards Robust k-Nearest-Neighbor Machine Translationcited by 15
38 more
  1. 2023Retrosynthesis Prediction with Local Template Retrievalcited by 15
  2. 2023kNN-Adapter: Efficient Domain Adaptation for Black-Box Language Modelscited by 13
  3. 2022Non-Parametric Domain Adaptation for End-to-End Speech Translationcited by 12
  4. 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12
  5. 2022Nearest Neighbor Knowledge Distillation for Neural Machine Translationcited by 10
  6. 2021Non-Parametric Online Learning from Human Feedback for Neural Machine Translationcited by 8
  7. 2024Communication-Efficient Personalized Federated Learning for Speech-to-Text Taskscited by 8
  8. 2022Efficient Machine Translation Domain Adaptationcited by 7
  9. 2022Nearest Neighbor Non-autoregressive Text Generationcited by 7
  10. 2022Improving Retrieval Augmented Neural Machine Translation by Controlling Source and Fuzzy-Match Interactionscited by 7
  11. 2022What Knowledge Is Needed? Towards Explainable Memory for kNN-MT Domain Adaptationcited by 7
  12. 2023KIT's Multilingual Speech Translation System for IWSLT 2023cited by 7
  13. 2023Tram: A Token-level Retrieval-augmented Mechanism for Source Code Summarizationcited by 6
  14. 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
  15. 2022Integrating Translation Memories into Non-Autoregressive Machine Translationcited by 5
  16. 2023Federated Nearest Neighbor Machine Translationcited by 5
  17. 2024NNOSE: Nearest Neighbor Occupational Skill Extractioncited by 5
  18. 2024Mind Your Neighbours: Leveraging Analogous Instances for Rhetorical Role Labeling for Legal Documentscited by 5
  19. 2022Learning Decoupled Retrieval Representation for Nearest Neighbour Neural Machine Translationcited by 4
  20. 2023kNN-BOX: A Unified Framework for Nearest Neighbor Generationcited by 3
  21. 2023Multilingual k-Nearest-Neighbor Machine Translationcited by 3
  22. 2022Improving Robustness of Retrieval Augmented Translation via Shuffling of Suggestionscited by 2
  23. 2022Better Datastore, Better Translation: Generating Datastores from Pre-Trained Models for Nearest Neural Machine Translationcited by 2
  24. 2023Prompting Neural Machine Translation with Translation Memoriescited by 2
  25. 2023Towards Example-Based NMT with Multi-Levenshtein Transformerscited by 2
  26. 2024Generating Diverse Translation with Perturbed kNN-MTcited by 2
  27. 2024Efficient k-Nearest-Neighbor Machine Translation with Dynamic Retrievalcited by 2
  28. 2023N-Gram Nearest Neighbor Machine Translationcited by 1
  29. 2023Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layercited by 1
  30. 2023Rethinking Translation Memory Augmented Neural Machine Translationcited by 1
  31. 2023knn-seq: Efficient, Extensible kNN-MT Frameworkcited by 1
  32. 2023Towards Faster k-Nearest-Neighbor Machine Translationcited by 1
  33. 2024Cross-lingual Contextualized Phrase Retrievalcited by 1
  34. 2024A Large Language Model-based Framework for Semi-Structured Tender Document Retrieval-Augmented Generationcited by 1
  35. 2025Long-Tail Crisis in Nearest Neighbor Language Modelscited by 1
  36. 2025Angular Dispersion Accelerates k-Nearest Neighbors Machine Translationcited by 1
  37. 2022Blur the Linguistic Boundary: Interpreting Chinese Buddhist Sutra in English via Neural Machine Translationcited by 0
  38. 2023Retrieval-Augmented Classification with Decoupled Representationcited by 0

50 most cited of 58 All 58 (JSON)