mlsanityData to 14 Oct 2026

Towards Faster k-Nearest-Neighbor Machine Translation

arXiv 2312.07419 ↗First posted 12 Dec 2023cs.CL cs.NEcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent works have proven the effectiveness of k-nearest-neighbor machine translation(a.k.a kNN-MT) approaches to produce remarkable improvement in cross-domain translations. However, these models suffer from heavy retrieve overhead on the entire datastore when decoding each token. We observe that during the decoding phase, about 67% to 84% of tokens are unvaried after searching over the corpus datastore, which means most of the tokens cause futile retrievals and introduce unnecessary computational costs by initiating k-nearest-neighbor searches. We consider this phenomenon is explainable in linguistics and propose a simple yet effective multi-layer perceptron (MLP) network to predict whether a token should be translated jointly by the neural machine translation model and probabilities produced by the kNN or just by the neural model. The results show that our method succeeds in reducing redundant retrieval operations and significantly reduces the overhead of kNN retrievals by up to 53% at the expense of a slight decline in translation quality. Moreover, our method could work together with all existing kNN-MT systems. This work has been accepted for publication in the jornal Advances in Artificial Intelligence and Machine Learning (ISSN: 2582-9793). The final published version can be found at DOI: https://dx.doi.org/10.54364/AAIML.2024.41111

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 18 of its 25 references that are in the map. First posted on arXiv 12 Dec 2023.

Builds on

18 of 25 references.

References · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  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. 2014Recurrent Models of Visual Attentioncited by 349
  8. 2020Nearest Neighbor Machine Translationcited by 209
  9. 2019Dice Loss for Data-imbalanced NLP Taskscited by 182
  10. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  11. 2018Retrieve and Refine: Improved Sequence Generation Models For Dialoguecited by 82
  12. 2018A Survey of Domain Adaptation for Neural Machine Translationcited by 64
6 more
  1. 2016One-shot Learning with Memory-Augmented Neural Networkscited by 60
  2. 2021Adaptive Nearest Neighbor Machine Translationcited by 58
  3. 2021Learning Language Specific Sub-network for Multilingual Machine Translationcited by 48
  4. 2020BERT-kNN: Adding a kNN Search Component to Pretrained Language Models for Better QAcited by 36
  5. 2022Efficient Cluster-Based k-Nearest-Neighbor Machine Translationcited by 24
  6. 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.