On the Language-specificity of Multilingual BERT and the Impact of Fine-tuning

Marc Tanti, Lonneke van der Plas, Claudia Borg, Albert Gatt
9/14/2021
cs.CLcs.NE

Official code: mtanti/mbert-language-specificity (2 stars, Python, last commit 2021-09-14).

Abstract

Recent work has shown evidence that the knowledge acquired by multilingual BERT (mBERT) has two components: a language-specific and a language-neutral one. This paper analyses the relationship between them, in the context of fine-tuning on two tasks -- POS tagging and natural language inference -- which require the model to bring to bear different degrees of language-specific knowledge.

Show full abstract

Visualisations reveal that mBERT loses the ability to cluster representations by language after fine-tuning, a result that is supported by evidence from language identification experiments. However, further experiments on 'unlearning' language-specific representations using gradient reversal and iterative adversarial learning are shown not to add further improvement to the language-independent component over and above the effect of fine-tuning. The results presented here suggest that the process of fine-tuning causes a reorganisation of the model's limited representational capacity, enhancing language-independent representations at the expense of language-specific ones.

View on arXivView PDF

Code Implementations(1)

Code and data for the paper "On the Language-specificity of Multilingual BERT and the Impact of Fine-tuning".

21Python, ShellSep 14, 20215 years ago

Similar Papers

Cite this paper

@article{tanti2021languagespecificity,
  title  = {On the Language-specificity of Multilingual BERT and the Impact of Fine-tuning},
  author = {Marc Tanti and Lonneke van der Plas and Claudia Borg and Albert Gatt},
  year   = {2021},
  eprint = {2109.06935},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.06935}
}

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

Discussion