Skip to main content
QUICK REVIEW

[Paper Review] Mono vs Multilingual Transformer-based Models: a Comparison across Several Language Tasks

Diego de Vargas Feijó, Viviane P. Moreira|arXiv (Cornell University)|Jul 19, 2020
Topic ModelingComputer Science17 references7 citations
TL;DR

This paper introduces BertPT and AlbertPT, monolingual BERT and ALBERT models pre-trained on diverse Portuguese corpora, and compares their performance against multilingual BERT across seven NLP tasks. Results show that monolingual models achieve state-of-the-art results on most tasks, with performance within 5% of multilingual BERT, indicating minimal advantage in training a single-language model for Portuguese.

ABSTRACT

BERT (Bidirectional Encoder Representations from Transformers) and ALBERT (A Lite BERT) are methods for pre-training language models which can later be fine-tuned for a variety of Natural Language Understanding tasks. These methods have been applied to a number of such tasks (mostly in English), achieving results that outperform the state-of-the-art. In this paper, our contribution is twofold. First, we make available our trained BERT and Albert model for Portuguese. Second, we compare our monolingual and the standard multilingual models using experiments in semantic textual similarity, recognizing textual entailment, textual category classification, sentiment analysis, offensive comment detection, and fake news detection, to assess the effectiveness of the generated language representations. The results suggest that both monolingual and multilingual models are able to achieve state-of-the-art and the advantage of training a single language model, if any, is small.

Motivation & Objective

  • To address the underrepresentation of Portuguese in multilingual NLP resources by training and releasing monolingual BERT and ALBERT models.
  • To evaluate whether monolingual Portuguese models outperform multilingual models on single-language NLP tasks.
  • To compare the effectiveness of monolingual (BertPT, AlbertPT) and multilingual BERT across diverse NLP tasks in Portuguese.
  • To provide researchers with freely available, high-quality pre-trained models for Portuguese NLP without requiring complex training pipelines.

Proposed method

  • Pre-trained BERT and ALBERT models (BertPT and AlbertPT) on a diverse mix of Portuguese text sources including Wikipedia, news, subtitles, research abstracts, and parliamentary sessions.
  • Used standard BERT and ALBERT architecture with masked language modeling and next sentence prediction pre-training objectives.
  • Fine-tuned the models on seven downstream NLP tasks: semantic textual similarity, textual entailment, text categorization, sentiment analysis, offensive comment detection, fake news detection, and emotion classification.
  • Evaluated performance using standard metrics such as accuracy, F1-score, and macro/micro averages across 10-fold cross-validation.
  • Compared results against published baselines and the official multilingual BERT model, with performance differences considered equivalent if within 5%.
  • Applied both multi-class and binary classification setups for emotion classification, using mean F1 and accuracy across six emotion classes.

Experimental results

Research questions

  • RQ1Does a monolingual BERT model fine-tuned on Portuguese outperform the multilingual BERT model on Portuguese NLP tasks?
  • RQ2How do the performance of BertPT and AlbertPT compare to existing task-specific baselines across multiple NLP tasks?
  • RQ3To what extent does training on diverse Portuguese text domains improve model generalization compared to multilingual models?
  • RQ4Is the performance difference between monolingual and multilingual models significant enough to justify training a dedicated monolingual model for Portuguese?
  • RQ5How does model size and training efficiency (e.g., ALBERT vs BERT) affect performance on low-resource NLP tasks in Portuguese?

Key findings

  • BertPT and AlbertPT outperformed existing baselines on most of the seven evaluated NLP tasks, demonstrating strong performance for Portuguese.
  • The performance gap between BertPT/AlbertPT and multilingual BERT was within 5% on 32 out of 38 pairwise comparisons, indicating comparable effectiveness.
  • AlbertPT achieved equivalent or better performance than BertPT in 28 out of 38 comparisons, with 6 wins versus 4 losses, and lower training cost, making it the preferred choice.
  • Multilingual BERT achieved more wins (13) than BertPT (12) and AlbertPT (13) in pairwise comparisons, suggesting a slight edge possibly due to exposure to similar languages like Spanish.
  • The models performed particularly well on informal text tasks (e.g., offensive comment detection and sentiment analysis), where multilingual BERT underperformed due to lack of training on such styles.
  • Misclassifications in emotion classification were attributed more to dataset annotation inconsistencies than model limitations, as models matched or slightly underperformed a strong baseline (F1 0.84) despite lower accuracy in multi-class setup.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.