Finding Universal Grammatical Relations in Multilingual BERT

Ethan A. Chi, John Hewitt, Christopher D. Manning
5/9/2020
cs.CLcs.LG

Official code: echinaceous/multilingual-probing-visualization (48 stars, Python, last commit 2020-05-13).

Abstract

Recent work has found evidence that Multilingual BERT (mBERT), a transformer-based multilingual masked language model, is capable of zero-shot cross-lingual transfer, suggesting that some aspects of its representations are shared cross-lingually. To better understand this overlap, we extend recent work on finding syntactic trees in neural networks' internal representations to the multilingual setting.

Show full abstract

We show that subspaces of mBERT representations recover syntactic tree distances in languages other than English, and that these subspaces are approximately shared across languages. Motivated by these results, we present an unsupervised analysis method that provides evidence mBERT learns representations of syntactic dependency labels, in the form of clusters which largely agree with the Universal Dependencies taxonomy. This evidence suggests that even without explicit supervision, multilingual masked language models learn certain linguistic universals.

View on arXivView PDF

Code Implementations(1)

Codebase for probing and visualizing multilingual models.

485Python, JavaScriptMay 2, 20206 years agoNOASSERTION

Similar Papers

Cite this paper

@article{chi2020finding,
  title  = {Finding Universal Grammatical Relations in Multilingual BERT},
  author = {Ethan A. Chi and John Hewitt and Christopher D. Manning},
  year   = {2020},
  eprint = {2005.04511},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.04511}
}

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

Discussion