English

Towards Robust k-Nearest-Neighbor Machine Translation

Computation and Language 2022-10-18 v1

Abstract

k-Nearest-Neighbor Machine Translation (kNN-MT) becomes an important research direction of NMT in recent years. Its main idea is to retrieve useful key-value pairs from an additional datastore to modify translations without updating the NMT model. However, the underlying retrieved noisy pairs will dramatically deteriorate the model performance. In this paper, we conduct a preliminary study and find that this problem results from not fully exploiting the prediction of the NMT model. To alleviate the impact of noise, we propose a confidence-enhanced kNN-MT model with robust training. Concretely, we introduce the NMT confidence to refine the modeling of two important components of kNN-MT: kNN distribution and the interpolation weight. Meanwhile we inject two types of perturbations into the retrieved pairs for robust training. Experimental results on four benchmark datasets demonstrate that our model not only achieves significant improvements over current kNN-MT models, but also exhibits better robustness. Our code is available at https://github.com/DeepLearnXMU/Robust-knn-mt.

Keywords

Cite

@article{arxiv.2210.08808,
  title  = {Towards Robust k-Nearest-Neighbor Machine Translation},
  author = {Hui Jiang and Ziyao Lu and Fandong Meng and Chulun Zhou and Jie Zhou and Degen Huang and Jinsong Su},
  journal= {arXiv preprint arXiv:2210.08808},
  year   = {2022}
}

Comments

Accepted to EMNLP 2022

R2 v1 2026-06-28T03:47:03.722Z