Table of Contents
Fetching ...

What the [MASK]? Making Sense of Language-Specific BERT Models

Debora Nozza, Federico Bianchi, Dirk Hovy

TL;DR

The paper surveys language-specific BERT models and their relation to mBERT, highlighting extensive proliferation and performance gains on target languages. It analyzes architectures (BERT, ALBERT, RoBERTa), data sources, tasks (emphasizing NER and sentiment analysis), and domains across 18 languages. The authors introduce BertLang, an interactive, open-source resource to catalog models, tasks, and results, enabling easier model selection and comparison. This work guides practitioners in allocating computational resources and informs future research toward standardized, verifiable comparisons of language-specific models.

Abstract

Recently, Natural Language Processing (NLP) has witnessed an impressive progress in many areas, due to the advent of novel, pretrained contextual representation models. In particular, Devlin et al. (2019) proposed a model, called BERT (Bidirectional Encoder Representations from Transformers), which enables researchers to obtain state-of-the art performance on numerous NLP tasks by fine-tuning the representations on their data set and task, without the need for developing and training highly-specific architectures. The authors also released multilingual BERT (mBERT), a model trained on a corpus of 104 languages, which can serve as a universal language model. This model obtained impressive results on a zero-shot cross-lingual natural inference task. Driven by the potential of BERT models, the NLP community has started to investigate and generate an abundant number of BERT models that are trained on a particular language, and tested on a specific data domain and task. This allows us to evaluate the true potential of mBERT as a universal language model, by comparing it to the performance of these more specific models. This paper presents the current state of the art in language-specific BERT models, providing an overall picture with respect to different dimensions (i.e. architectures, data domains, and tasks). Our aim is to provide an immediate and straightforward overview of the commonalities and differences between Language-Specific (language-specific) BERT models and mBERT. We also provide an interactive and constantly updated website that can be used to explore the information we have collected, at https://bertlang.unibocconi.it.

What the [MASK]? Making Sense of Language-Specific BERT Models

TL;DR

The paper surveys language-specific BERT models and their relation to mBERT, highlighting extensive proliferation and performance gains on target languages. It analyzes architectures (BERT, ALBERT, RoBERTa), data sources, tasks (emphasizing NER and sentiment analysis), and domains across 18 languages. The authors introduce BertLang, an interactive, open-source resource to catalog models, tasks, and results, enabling easier model selection and comparison. This work guides practitioners in allocating computational resources and informs future research toward standardized, verifiable comparisons of language-specific models.

Abstract

Recently, Natural Language Processing (NLP) has witnessed an impressive progress in many areas, due to the advent of novel, pretrained contextual representation models. In particular, Devlin et al. (2019) proposed a model, called BERT (Bidirectional Encoder Representations from Transformers), which enables researchers to obtain state-of-the art performance on numerous NLP tasks by fine-tuning the representations on their data set and task, without the need for developing and training highly-specific architectures. The authors also released multilingual BERT (mBERT), a model trained on a corpus of 104 languages, which can serve as a universal language model. This model obtained impressive results on a zero-shot cross-lingual natural inference task. Driven by the potential of BERT models, the NLP community has started to investigate and generate an abundant number of BERT models that are trained on a particular language, and tested on a specific data domain and task. This allows us to evaluate the true potential of mBERT as a universal language model, by comparing it to the performance of these more specific models. This paper presents the current state of the art in language-specific BERT models, providing an overall picture with respect to different dimensions (i.e. architectures, data domains, and tasks). Our aim is to provide an immediate and straightforward overview of the commonalities and differences between Language-Specific (language-specific) BERT models and mBERT. We also provide an interactive and constantly updated website that can be used to explore the information we have collected, at https://bertlang.unibocconi.it.

Paper Structure

This paper contains 12 sections, 2 figures, 1 table.

Figures (2)

  • Figure 1: A schematic representation of BERT, masked language model and next sentence prediction. Different words have different meanings and BERT looks at the word context to generate contextual representations.
  • Figure 2: The BertLang website front-end interface.