mlsanityData to 7 Oct 2026

Simply Trainable Nearest Neighbour Machine Translation with GPU Inference

arXiv 2407.19965 ↗First posted 29 Jul 2024cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Nearest neighbor machine translation is a successful approach for fast domain adaption, which interpolates the pre-trained transformers with domain-specific token-level k-nearest-neighbor (kNN) retrieval without retraining. Despite kNN MT's success, searching large reference corpus and fixed interpolation between the kNN and pre-trained model led to computational complexity and translation quality challenges. Among other papers, Dai et al. proposed methods to obtain a small number of reference samples dynamically for which they introduced a distance-aware interpolation method using an equation that includes free parameters. This paper proposes a simply trainable nearest neighbor machine translation and carry out inference experiments on GPU. Similar to Dai et al., we first adaptively construct a small datastore for each input sentence. Second, we train a single-layer network for the interpolation coefficient between the knnMT and pre-trained result to automatically interpolate in different domains. Experimental results on different domains show that our proposed method either improves or sometimes maintain the translation quality of methods in Dai et al. while being automatic. In addition, our GPU inference results demonstrate that knnMT can be integrated into GPUs with a drop of only 5% in terms of speed.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 13 references that are in the map. First posted on arXiv 29 Jul 2024.

Builds on

11 of 13 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
  3. 2020Nearest Neighbor Machine Translationcited by 209
  4. 2021Scalable and Efficient MoE Training for Multitask Multilingual Modelscited by 76
  5. 2021Adaptive Nearest Neighbor Machine Translationcited by 58
  6. 2021Fast Nearest Neighbor Machine Translationcited by 37
  7. 2021Learning Kernel-Smoothed Machine Translation with Retrieved Examplescited by 25
  8. 2022Efficient Cluster-Based k-Nearest-Neighbor Machine Translationcited by 24
  9. 2021Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translationcited by 20
  10. 2022Towards Robust k-Nearest-Neighbor Machine Translationcited by 15
  11. 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12

Built on by

Not cited yet.