Exploring Unsupervised Pretraining Objectives for Machine Translation

Christos Baziotis, Ivan Titov, Alexandra Birch, Barry Haddow
6/10/2021
cs.CL

Official code: cbaziotis/nmt-pretraining-objectives (2 stars, Python, MIT, last commit 2022-10-05).

Abstract

Unsupervised cross-lingual pretraining has achieved strong results in neural machine translation (NMT), by drastically reducing the need for large parallel data. Most approaches adapt masked-language modeling (MLM) to sequence-to-sequence architectures, by masking parts of the input and reconstructing them in the decoder.

Show full abstract

In this work, we systematically compare masking with alternative objectives that produce inputs resembling real (full) sentences, by reordering and replacing words based on their context. We pretrain models with different methods on English$\leftrightarrow$German, English$\leftrightarrow$Nepali and English$\leftrightarrow$Sinhala monolingual data, and evaluate them on NMT. In (semi-) supervised NMT, varying the pretraining objective leads to surprisingly small differences in the finetuned performance, whereas unsupervised NMT is much more sensitive to it. To understand these results, we thoroughly study the pretrained models using a series of probes and verify that they encode and use information in different ways. We conclude that finetuning on parallel data is mostly sensitive to few properties that are shared by most models, such as a strong decoder, in contrast to unsupervised NMT that also requires models with strong cross-lingual abilities.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the source code and data for the paper: "Exploration of Unsupervised Pretraining Objectives for Machine Translation" in Findings of ACL 2021.

20Python, ShellMay 22, 20214 years agoMIT

Similar Papers

Cite this paper

@article{baziotis2021exploring,
  title  = {Exploring Unsupervised Pretraining Objectives for Machine Translation},
  author = {Christos Baziotis and Ivan Titov and Alexandra Birch and Barry Haddow},
  year   = {2021},
  eprint = {2106.05634},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.05634}
}

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

Discussion