Generalised Unsupervised Domain Adaptation of Neural Machine Translation with Cross-Lingual Data Selection

Thuy-Trang Vu, Xuanli He, Dinh Phung, Gholamreza Haffari
9/9/2021
cs.CL

Official code: trangvu/guda (5 stars, Python, last commit 2022-05-04).

Abstract

This paper considers the unsupervised domain adaptation problem for neural machine translation (NMT), where we assume the access to only monolingual text in either the source or target language in the new domain. We propose a cross-lingual data selection method to extract in-domain sentences in the missing language side from a large generic monolingual corpus.

Show full abstract

Our proposed method trains an adaptive layer on top of multilingual BERT by contrastive learning to align the representation between the source and target language. This then enables the transferability of the domain classifier between the languages in a zero-shot manner. Once the in-domain data is detected by the classifier, the NMT model is then adapted to the new domain by jointly learning translation and domain discrimination tasks. We evaluate our cross-lingual data selection method on NMT across five diverse domains in three language pairs, as well as a real-world scenario of translation for COVID-19. The results show that our proposed method outperforms other selection baselines up to +1.5 BLEU score.

View on arXivView PDF

Code Implementations(1)

trangvu/gudaOfficial100%

Source code for paper "Generalised Unsupervised Domain Adaptation of Neural Machine Translation with Cross-Lingual Data Selection" - EMNLP21

50Python, ShellSep 7, 20214 years ago

Similar Papers

Cite this paper

@article{vu2021generalised,
  title  = {Generalised Unsupervised Domain Adaptation of Neural Machine Translation with Cross-Lingual Data Selection},
  author = {Thuy-Trang Vu and Xuanli He and Dinh Phung and Gholamreza Haffari},
  year   = {2021},
  eprint = {2109.04292},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.04292}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.04292.svg)](https://codeofpaper.com/paper/2109.04292)

Discussion