EMNLP 2021finding29 citations

Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation

Xin Zheng, Zhirui Zhang, Shujian Huang, Boxing Chen, Jun Xie, Weihua Luo, Jiajun Chen

Abstract

Recently, kNN-MT (Khandelwal et al., 2020) has shown the promising capability of directly incorporating the pre-trained neural machine translation (NMT) model with domain-specific token-level k-nearest-neighbor (kNN) retrieval to achieve domain adaptation without retraining. Despite being conceptually attractive, it heavily relies on high-quality in-domain parallel corpora, limiting its capability on unsupervised domain adaptation, where in-domain parallel corpora are scarce or nonexistent. In this paper, we propose a novel framework that directly uses in-domain monolingual sentences in the target language to construct an effective datastore for k-nearest-neighbor retrieval. To this end, we first introduce an autoencoder task based on the target language, and then insert lightweight adapters into the original NMT model to map the token-level representation of this task to the ideal representation of the translation task. Experiments on multi-domain datasets demonstrate that our proposed approach significantly improves the translation accuracy with target-side monolingual data, while achieving comparable performance with back-translation. Our implementation is open-sourced at https://github.com/zhengxxn/UDA-KNN.

BibTeX
@inproceedings{zheng-etal-2021-non-parametric,
    title = "Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation",
    author = "Zheng, Xin  and
      Zhang, Zhirui  and
      Huang, Shujian  and
      Chen, Boxing  and
      Xie, Jun  and
      Luo, Weihua  and
      Chen, Jiajun",
    editor = "Moens, Marie-Francine  and
      Huang, Xuanjing  and
      Specia, Lucia  and
      Yih, Scott Wen-tau",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
    month = nov,
    year = "2021",
    address = "Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-emnlp.358/",
    doi = "10.18653/v1/2021.findings-emnlp.358",
    pages = "4234--4241"
}
Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation · EMNLP 2021