Modelling Latent Translations for Cross-Lingual Transfer

Edoardo Maria Ponti, Julia Kreutzer, Ivan Vulić, Siva Reddy
7/23/2021
cs.CL

Official code: McGill-NLP/latent-translation (17 stars, Python, GPL-3.0, last commit 2021-11-22).

Abstract

While achieving state-of-the-art results in multiple tasks and languages, translation-based cross-lingual transfer is often overlooked in favour of massively multilingual pre-trained encoders. Arguably, this is due to its main limitations: 1) translation errors percolating to the classification phase and 2) the insufficient expressiveness of the maximum-likelihood translation.

Show full abstract

To remedy this, we propose a new technique that integrates both steps of the traditional pipeline (translation and classification) into a single model, by treating the intermediate translations as a latent random variable. As a result, 1) the neural machine translation system can be fine-tuned with a variant of Minimum Risk Training where the reward is the accuracy of the downstream task classifier. Moreover, 2) multiple samples can be drawn to approximate the expected loss across all possible translations during inference. We evaluate our novel latent translation-based model on a series of multilingual NLU tasks, including commonsense reasoning, paraphrase identification, and natural language inference. We report gains for both zero-shot and few-shot learning setups, up to 2.7 accuracy points on average, which are even more prominent for low-resource languages (e.g., Haitian Creole). Finally, we carry out in-depth analyses comparing different underlying NMT models and assessing the impact of alternative translations on the downstream performance.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Code for the paper "Modelling Latent Translations for Cross-Lingual Transfer"

173Python, ShellJul 20, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ponti2021modelling,
  title  = {Modelling Latent Translations for Cross-Lingual Transfer},
  author = {Edoardo Maria Ponti and Julia Kreutzer and Ivan Vulić and Siva Reddy},
  year   = {2021},
  eprint = {2107.11353},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.11353}
}

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

Discussion