← 返回论文检索
ACL 2024aclfindings

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

Zhexuan Wang, Shudong Liu, Xuebo Liu, Miao Zhang, Derek Wong, Min Zhang

University of Macau · Harbin Institute of Technolgy, Shenzhen · Harbin Institute of Technology (Shenzhen) · Harbin Institute of Technology, Shenzhen

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。DOI 10.18653/v1/2024.findings-acl.563 ↗

摘要

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.