English

INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation

Computation and Language 2023-06-13 v1

Abstract

Neural machine translation has achieved promising results on many translation tasks. However, previous studies have shown that neural models induce a non-smooth representation space, which harms its generalization results. Recently, kNN-MT has provided an effective paradigm to smooth the prediction based on neighbor representations during inference. Despite promising results, kNN-MT usually requires large inference overhead. We propose an effective training framework INK to directly smooth the representation space via adjusting representations of kNN neighbors with a small number of new parameters. The new parameters are then used to refresh the whole representation datastore to get new kNN knowledge asynchronously. This loop keeps running until convergence. Experiments on four benchmark datasets show that \method achieves average gains of 1.99 COMET and 1.0 BLEU, outperforming the state-of-the-art kNN-MT system with 0.02x memory space and 1.9x inference speedup.

Keywords

Cite

@article{arxiv.2306.06381,
  title  = {INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation},
  author = {Wenhao Zhu and Jingjing Xu and Shujian Huang and Lingpeng Kong and Jiajun Chen},
  journal= {arXiv preprint arXiv:2306.06381},
  year   = {2023}
}

Comments

10 pages, ACL-2023

R2 v1 2026-06-28T11:01:50.616Z