Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Models

Nora Kassner, Philipp Dufter, Hinrich Schütze
2/1/2021
cs.CL

Official code: norakassner/mlama (25 stars, Python, last commit 2024-01-22).

Abstract

Recently, it has been found that monolingual English language models can be used as knowledge bases. Instead of structural knowledge base queries, masked sentences such as "Paris is the capital of [MASK]" are used as probes.

Show full abstract

We translate the established benchmarks TREx and GoogleRE into 53 languages. Working with mBERT, we investigate three questions. (i) Can mBERT be used as a multilingual knowledge base? Most prior work only considers English. Extending research to multiple languages is important for diversity and accessibility. (ii) Is mBERT's performance as knowledge base language-independent or does it vary from language to language? (iii) A multilingual model is trained on more text, e.g., mBERT is trained on 104 Wikipedias. Can mBERT leverage this for better performance? We find that using mBERT as a knowledge base yields varying performance across languages and pooling predictions across languages improves performance. Conversely, mBERT exhibits a language bias; e.g., when queried in Italian, it tends to predict Italy as the country of origin.

View on arXivView PDF

Code Implementations(1)

norakassner/mlamaOfficial100%
256Python, ShellSep 20, 20202 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kassner2021multilingual,
  title  = {Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Models},
  author = {Nora Kassner and Philipp Dufter and Hinrich Schütze},
  year   = {2021},
  eprint = {2102.00894},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.00894}
}

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

Discussion