Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation

Zhiwei He, Xing Wang, Rui Wang, Shuming Shi, Zhaopeng Tu
3/16/2022
cs.CL

Official code: zwhe99/SelfTraining4UNMT (31 stars, Python, last commit 2023-10-06).

Abstract

Back-translation is a critical component of Unsupervised Neural Machine Translation (UNMT), which generates pseudo parallel data from target monolingual data. A UNMT model is trained on the pseudo parallel data with translated source, and translates natural source sentences in inference.

Show full abstract

The source discrepancy between training and inference hinders the translation performance of UNMT models. By carefully designing experiments, we identify two representative characteristics of the data gap in source: (1) style gap (i.e., translated vs. natural text style) that leads to poor generalization capability; (2) content gap that induces the model to produce hallucination content biased towards the target language. To narrow the data gap, we propose an online self-training approach, which simultaneously uses the pseudo parallel data {natural source, translated target} to mimic the inference scenario. Experimental results on several widely-used language pairs show that our approach outperforms two strong baselines (XLM and MASS) by remedying the style and content gaps.

View on arXivView PDF

Code Implementations(1)

[ACL 2022] Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation

311Python, ShellMar 7, 20223 years ago
machine-translationnlpunsupervised-learning

Similar Papers

Cite this paper

@article{he2022bridging,
  title  = {Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation},
  author = {Zhiwei He and Xing Wang and Rui Wang and Shuming Shi and Zhaopeng Tu},
  year   = {2022},
  eprint = {2203.08394},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.08394}
}

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/2203.08394.svg)](https://codeofpaper.com/paper/2203.08394)

Discussion