Skip to main content
LawSphereX

Domain-Aware k-Nearest-Neighbor Knowledge Distillation for Machine Translation

Subject: Translation and Multilingual Computing

Author or source: Zhexuan Wang, Shudong Liu, Xuebo Liu, Miao Zhang, Derek Wong, Min Zhang

Updated:

kNN-MT has utilized neighborhood knowledge for auxiliary decoding, significantly improving translation performance.

Zhexuan Wang, Shudong Liu, Xuebo Liu, Miao Zhang, Derek Wong, Min Zhang. 2024. Domain-Aware k-Nearest-Neighbor Knowledge Distillation for Machine Translation. Findings of the Association for Computational Linguistics: ACL 2024. Association for Computational Linguistics. DOI 10.18653/v1/2024.findings-acl.563. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–12

kNN-MT has utilized neighborhood knowledge for auxiliary decoding, significantly improving translation performance. Subsequently, kNN-KD transitions the use of neighborhood knowledge from the decoding phase to the training phase, to address the temporal and spatial inefficiencies inherent in kNN-MT. However, kNN-KD transfers all the kNN knowledge arbitrarily, which has the potential to restrict the learning of student models. In this paper, we propose a novel domain-aware kNN-KD method, which filters out domain-relevant neighborhood knowledge for learning in the distillation process. Notably, this entire process exclusively utilizes the neighborhood knowledge of the original model, eliminating the need for establishing any additional datastores. Experiments on four domain translation tasks demonstrate that our method achieves state-of-the-art performance, realizing an average gain of 1.55 COMET and 1.42 BLEU scores, by further enhancing the translation of rare words. Source code can be accessed at https://github.com/wangzx1219/Dk-KD.

Reading guide for translation and multilingual computing

Source page 1–12

List the languages and directions in the evaluation. Compare scores within a language pair before drawing conclusions across languages or domains.