On the Language Neutrality of Pre-trained Multilingual Representations

Jindřich Libovický, Rudolf Rosa, Alexander Fraser
4/9/2020
cs.CL

Official code: jlibovicky/assess-multilingual-bert (4 stars, Python, BSD-3-Clause, last commit 2021-08-17).

Abstract

Multilingual contextual embeddings, such as multilingual BERT and XLM-RoBERTa, have proved useful for many multi-lingual tasks. Previous work probed the cross-linguality of the representations indirectly using zero-shot transfer learning on morphological and syntactic tasks.

Show full abstract

We instead investigate the language-neutrality of multilingual contextual embeddings directly and with respect to lexical semantics. Our results show that contextual embeddings are more language-neutral and, in general, more informative than aligned static word-type embeddings, which are explicitly trained for language neutrality. Contextual embeddings are still only moderately language-neutral by default, so we propose two simple methods for achieving stronger language neutrality: first, by unsupervised centering of the representation for each language and second, by fitting an explicit projection on small parallel data. Besides, we show how to reach state-of-the-art accuracy on language identification and match the performance of statistical methods for word alignment of parallel sentences without using parallel data.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Scripts for assesing multilingual BERT.

42Python, ShellAug 20, 20195 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{libovick2020language,
  title  = {On the Language Neutrality of Pre-trained Multilingual Representations},
  author = {Jindřich Libovický and Rudolf Rosa and Alexander Fraser},
  year   = {2020},
  eprint = {2004.05160},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.05160}
}

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

Discussion