Contrastive Learning for Many-to-many Multilingual Neural Machine Translation

Xiao Pan, Mingxuan Wang, Liwei Wu, Lei Li
5/20/2021
cs.CLcs.LG

Official code: PANXiao1994/mRASP2 (120 stars, last commit 2021-12-21).

Abstract

Existing multilingual machine translation approaches mainly focus on English-centric directions, while the non-English directions still lag behind. In this work, we aim to build a many-to-many translation system with an emphasis on the quality of non-English language directions. Our intuition is based on the hypothesis that a universal cross-language representation leads to better multilingual translation performance. To this end, we propose mRASP2, a training method to obtain a single unified multilingual translation model. mRASP2 is empowered by two techniques: a) a contrastive learning scheme to close the gap among representations of different languages, and b) data augmentation on both multiple parallel and monolingual data to further align token representations. For English-centric directions, mRASP2 outperforms existing best unified model and achieves competitive or even better performance than the pre-trained and fine-tuned model mBART on tens of WMT's translation directions. For non-English directions, mRASP2 achieves an improvement of average 10+ BLEU compared with the multilingual Transformer baseline. Code, data and trained models are available at https://github.com/PANXiao1994/mRASP2.

View on arXivView PDF

Code Implementations(1)

PANXiao1994/mRASP2Official100%
12023Shell, PythonMay 20, 20214 years ago

Cite this paper

@article{pan2021contrastive,
  title  = {Contrastive Learning for Many-to-many Multilingual Neural Machine Translation},
  author = {Xiao Pan and Mingxuan Wang and Liwei Wu and Lei Li},
  year   = {2021},
  eprint = {2105.09501},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.09501}
}

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

Discussion