Skip to main content
QUICK REVIEW

[Paper Review] Are the Multilingual Models Better? Improving Czech Sentiment with Transformers

Pavel Přibáň, Josef Steinberger|arXiv (Cornell University)|Aug 24, 2021
Sentiment Analysis and Opinion MiningComputer Science50 references6 citations
TL;DR

This paper evaluates monolingual and multilingual transformer models for Czech sentiment polarity detection, demonstrating that large multilingual models like XLM-R-Large outperform smaller monolingual models and achieve state-of-the-art results. It further shows that zero-shot cross-lingual transfer from English to Czech performs within 4.4% of fine-tuned monolingual models, marking the first such study for Czech sentiment analysis.

ABSTRACT

In this paper, we aim at improving Czech sentiment with transformer-based models and their multilingual versions. More concretely, we study the task of polarity detection for the Czech language on three sentiment polarity datasets. We fine-tune and perform experiments with five multilingual and three monolingual models. We compare the monolingual and multilingual models' performance, including comparison with the older approach based on recurrent neural networks. Furthermore, we test the multilingual models and their ability to transfer knowledge from English to Czech (and vice versa) with zero-shot cross-lingual classification. Our experiments show that the huge multilingual models can overcome the performance of the monolingual models. They are also able to detect polarity in another language without any training data, with performance not worse than 4.4 % compared to state-of-the-art monolingual trained models. Moreover, we achieved new state-of-the-art results on all three datasets.

Motivation & Objective

  • To evaluate the performance of monolingual and multilingual transformer models on Czech sentiment polarity detection.
  • To investigate whether multilingual models can transfer knowledge across languages, particularly from English to Czech and vice versa.
  • To establish a standardized data split for future evaluation of Czech sentiment analysis tasks.
  • To release fine-tuned models and code to support reproducibility and future research.
  • To achieve new state-of-the-art results on three Czech sentiment datasets using transformer-based models.

Proposed method

  • Fine-tuned seven pre-trained transformer models—five multilingual and three monolingual—on three Czech sentiment datasets.
  • Used standard fine-tuning procedures with hyperparameters optimized per model, including learning rates of 2e-6 for best performance.
  • Performed zero-shot cross-lingual classification by fine-tuning models on English data and evaluating on Czech data without further training.
  • Evaluated performance using accuracy and F1-score on test sets, with confidence intervals reported for stability assessment.
  • Selected models based on development set performance and compared results against prior state-of-the-art approaches.
  • Released all fine-tuned models, code, and a standardized data split to enable reproducibility and future benchmarking.

Experimental results

Research questions

  • RQ1Can multilingual transformer models outperform monolingual models in Czech sentiment polarity detection?
  • RQ2To what extent can multilingual models perform zero-shot cross-lingual sentiment classification between English and Czech?
  • RQ3How does model size and architecture affect performance on low-resource Czech sentiment datasets?
  • RQ4Can a standardized data split improve comparability and reproducibility in future Czech sentiment analysis research?
  • RQ5What are the optimal hyperparameters and fine-tuning strategies for transformer models on Czech text?

Key findings

  • The XLM-R-Large model achieved state-of-the-art performance on all three Czech sentiment datasets, outperforming both monolingual and smaller multilingual models.
  • The XLM-R-Large model achieved 93.98% accuracy in zero-shot cross-lingual classification from Czech to English, only 3.4% below the current SOTA on English IMDB.
  • Zero-shot transfer from English to Czech with XLM-R-Large achieved 94.22% accuracy on the Czech CSFD dataset, within 4.4% of the best monolingual model fine-tuned on Czech.
  • The monolingual Czert-B model, despite having fewer parameters, performed competitively and is suitable for low-resource settings.
  • Lower learning rates (2e-6) consistently led to better convergence and higher performance across all models.
  • Fine-tuning on smaller datasets (e.g., FB with ~6k examples) showed higher variance and greater risk of overfitting, indicating instability in low-resource scenarios.

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.