mlsanityData to 7 Oct 2026

Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layer

arXiv 2305.13034 ↗First posted 22 May 2023cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Nearest Neighbor Machine Translation (kNN-MT) has achieved great success in domain adaptation tasks by integrating pre-trained Neural Machine Translation (NMT) models with domain-specific token-level retrieval. However, the reasons underlying its success have not been thoroughly investigated. In this paper, we comprehensively analyze kNN-MT through theoretical and empirical studies. Initially, we provide new insights into the working mechanism of kNN-MT as an efficient technique to implicitly execute gradient descent on the output projection layer of NMT, indicating that it is a specific case of model fine-tuning. Subsequently, we conduct multi-domain experiments and word-level analysis to examine the differences in performance between kNN-MT and entire-model fine-tuning. Our findings suggest that: (1) Incorporating kNN-MT with adapters yields comparable translation performance to fine-tuning on in-domain test sets, while achieving better performance on out-of-domain test sets; (2) Fine-tuning significantly outperforms kNN-MT on the recall of in-domain low-frequency words, but this gap could be bridged by optimizing the context representations with additional adapter layers.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 22 May 2023.

Builds on

38 of 50 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  10. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  12. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
26 more
  1. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
  2. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  3. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  4. 2020Nearest Neighbor Machine Translationcited by 209
  5. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  6. 2018Achieving Human Parity on Automatic Chinese to English News Translationcited by 119
  7. 2021Efficient Nearest Neighbor Language Modelscited by 93
  8. 2018Guiding Neural Machine Translation with Retrieved Translation Piecescited by 63
  9. 2021Adaptive Nearest Neighbor Machine Translationcited by 58
  10. 2020Augmenting Transformers with KNN-Based Composite Memory for Dialoguecited by 53
  11. 2022The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attentioncited by 45
  12. 2020Incorporating BERT into Parallel Sequence Decoding with Adapterscited by 39
  13. 2021Fast Nearest Neighbor Machine Translationcited by 37
  14. 2021Efficient Retrieval Augmented Generation from Unstructured Knowledge for Task-Oriented Dialogcited by 33
  15. 2023Why do Nearest Neighbor Language Models Work?cited by 29
  16. 2021Learning Kernel-Smoothed Machine Translation with Retrieved Examplescited by 25
  17. 2022Efficient Cluster-Based k-Nearest-Neighbor Machine Translationcited by 24
  18. 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
  19. 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
  20. 2021Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translationcited by 20
  21. 2022Non-Parametric Domain Adaptation for End-to-End Speech Translationcited by 12
  22. 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12
  23. 2021Frequency-Aware Contrastive Learning for Neural Machine Translationcited by 11
  24. 2022What Knowledge Is Needed? Towards Explainable Memory for kNN-MT Domain Adaptationcited by 7
  25. 2023Federated Nearest Neighbor Machine Translationcited by 5
  26. 2022Better Datastore, Better Translation: Generating Datastores from Pre-Trained Models for Nearest Neural Machine Translationcited by 2

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.