Skip to main content
QUICK REVIEW

[Paper Review] Give your Text Representation Models some Love: the Case for Basque

Rodrigo Agerri, Iñaki San Vicente|arXiv (Cornell University)|Mar 31, 2020
Natural Language Processing TechniquesComputer Science22 references9 citations
TL;DR

This paper demonstrates that training monolingual text representation models—FastText, Flair, and BERT—on a larger, higher-quality Basque corpus significantly outperforms publicly available multilingual models in downstream NLP tasks. The authors achieve state-of-the-art results across topic classification, sentiment analysis, POS tagging, and NER, with the monolingual BERTeus model improving performance by up to 10 absolute points over multilingual BERT.

ABSTRACT

Word embeddings and pre-trained language models allow to build rich representations of text and have enabled improvements across most NLP tasks. Unfortunately they are very expensive to train, and many small companies and research groups tend to use models that have been pre-trained and made available by third parties, rather than building their own. This is suboptimal as, for many languages, the models have been trained on smaller (or lower quality) corpora. In addition, monolingual pre-trained models for non-English languages are not always available. At best, models for those languages are included in multilingual versions, where each language shares the quota of substrings and parameters with the rest of the languages. This is particularly true for smaller languages such as Basque. In this paper we show that a number of monolingual models (FastText word embeddings, FLAIR and BERT language models) trained with larger Basque corpora produce much better results than publicly available versions in downstream NLP tasks, including topic classification, sentiment classification, PoS tagging and NER. This work sets a new state-of-the-art in those tasks for Basque. All benchmarks and models used in this work are publicly available.

Motivation & Objective

  • To address the underperformance of existing pre-trained models for low-resource languages like Basque by training monolingual models on larger, higher-quality corpora.
  • To investigate whether training language models from scratch on a dedicated, large Basque corpus improves performance compared to using publicly available multilingual models.
  • To establish a new state-of-the-art for Basque NLP by training and evaluating FastText, Flair, and BERT models on a 226M-token Basque Media Corpus.
  • To demonstrate that corpus quality and size, along with language-specific subword tokenization, are critical factors in model performance for low-resource languages.
  • To publicly release all models and benchmarks to support reproducibility and future research in Basque NLP.

Proposed method

  • Collected and curated the Basque Media Corpus (BMC), a 226M-token dataset combining Basque Wikipedia and news articles from multiple outlets.
  • Trained monolingual FastText word embeddings, Flair language models, and a BERT model (named BERTeus) on the BMC using standard pre-training procedures.
  • Employed language-specific subword tokenization to improve interpretability and performance, especially for morphologically rich Basque.
  • Compared model performance head-to-head with publicly available multilingual models (e.g., mBERT) on four downstream tasks: topic classification, sentiment classification, POS tagging, and NER.
  • Used standard evaluation protocols and metrics (e.g., F1, accuracy) to ensure fair comparison across models.
  • Released all models and benchmarks via Hugging Face and the IXA NLP group’s public repository for reproducibility and reuse.

Experimental results

Research questions

  • RQ1Can training monolingual text representation models on a larger, higher-quality Basque corpus lead to significant performance gains over existing publicly available multilingual models?
  • RQ2How does the performance of a monolingual BERT model (BERTeus) trained on a 226M-token Basque corpus compare to the multilingual BERT model (mBERT) on downstream NLP tasks?
  • RQ3To what extent do corpus size and quality, along with language-specific subword tokenization, contribute to improved model performance in low-resource languages like Basque?
  • RQ4Can monolingual models trained on domain-specific corpora (e.g., news articles) outperform general-purpose multilingual models in tasks like NER and sentiment classification?
  • RQ5Does the use of a dedicated, high-quality corpus enable better disambiguation of linguistic phenomena such as metonymy in NER tasks?

Key findings

  • The monolingual BERTeus model outperforms the official multilingual BERT by up to 10 absolute points in F1 score across all four downstream tasks.
  • FastText and Flair models trained on the Basque Media Corpus achieved consistently better performance than their publicly available counterparts on topic classification, sentiment classification, POS tagging, and NER.
  • The BERTeus model correctly classified metonymic entities such as 'United States' and 'Western Europe' as ORGANIZATION, while mBERT misclassified them as LOCATION, demonstrating improved disambiguation.
  • Language-specific subword tokenization in BERTeus produced more interpretable and linguistically meaningful subwords (e.g., 'Mediku' for 'doctor', 'aren' for possessive 's') compared to mBERT’s shorter, less interpretable splits.
  • The performance gains are primarily attributed to the larger and higher-quality training corpus and the monolingual training setup, not architectural changes.
  • All models and benchmarks are publicly available at http://ixa2.si.ehu.es/text-representation-models/basque, enabling reproducibility and future research in Basque NLP.

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.