[Paper Review] Czert -- Czech BERT-like Model for Language Representation
This paper introduces Czert, the first monolingual BERT-like language models for Czech, based on BERT and ALBERT architectures, pre-trained on 36 GB of diverse Czech text (50× more sentences than multilingual models). The Czert-B model achieves state-of-the-art performance on 9 out of 11 NLP tasks, outperforming multilingual models like mBERT and SlavicBERT across semantic similarity, sentiment classification, named entity recognition, and semantic role labeling, with publicly released pre-trained and fine-tuned models for research use.
This paper describes the training process of the first Czech monolingual language representation models based on BERT and ALBERT architectures. We pre-train our models on more than 340K of sentences, which is 50 times more than multilingual models that include Czech data. We outperform the multilingual models on 9 out of 11 datasets. In addition, we establish the new state-of-the-art results on nine datasets. At the end, we discuss properties of monolingual and multilingual models based upon our results. We publish all the pre-trained and fine-tuned models freely for the research community.
Motivation & Objective
- To develop high-performing, monolingual BERT-like language models specifically for the Czech language, overcoming limitations of multilingual models.
- To pre-train models on a significantly larger Czech-specific corpus (36 GB, 340K+ sentences) than available in multilingual models, enhancing linguistic representation.
- To establish state-of-the-art results on key Czech NLP tasks, including semantic text similarity, named entity recognition, and sentiment classification.
- To release fully trained, ready-to-use pre-trained and fine-tuned models for the Czech NLP community.
Proposed method
- Pre-training the Czert-B (BERT-based) and Czert-A (ALBERT-based) models from random initialization on a 36 GB Czech text corpus combining Wikipedia, news, and the Czech National Corpus.
- Using the standard masked language modeling (MLM) objective and a modified next sentence prediction (NSP) task as pre-training objectives.
- Fine-tuning the pre-trained models on six downstream NLP tasks: semantic text similarity (STS), named entity recognition (NER), morphological tagging (MoT), semantic role labeling (SRL), sentiment classification (SC), and multi-label document classification (MLC).
- Evaluating performance on 11 datasets across these tasks and comparing results against multilingual models (mBERT and SlavicBERT).
- Applying standard BERT/ALBERT architecture with 12 layers, 768 hidden dimensions (Czert-B), and 12 attention heads, with weight sharing in Czert-A to reduce parameters.
- Using 10-fold cross-validation for evaluation on STS tasks and reporting mean performance with 95% confidence intervals.
Experimental results
Research questions
- RQ1Can a monolingual BERT-like model pre-trained on a large, diverse Czech corpus outperform existing multilingual models on Czech NLP tasks?
- RQ2How does the performance of a Czech-specific model compare to multilingual models like mBERT and SlavicBERT across various NLP benchmarks?
- RQ3To what extent does increasing the size of the pre-training corpus (by 50×) improve downstream task performance for Czech NLP?
- RQ4Does the Czert-B model achieve state-of-the-art results on key Czech NLP tasks such as semantic text similarity and named entity recognition?
Key findings
- Czert-B outperforms mBERT and SlavicBERT on 9 out of 11 evaluated datasets, establishing new state-of-the-art results on 9 datasets.
- On the STS task, Czert-B achieved a Pearson correlation of 89.29±0.17, significantly outperforming mBERT (87.88±0.08) and SlavicBERT (88.97±0.09).
- On the sentiment classification (SC) task, Czert-B achieved 83.74±0.40 F1, a 5% improvement over the previous state-of-the-art on the CNA dataset.
- On the NER task using the CNEC dataset, Czert-B achieved an F1 score of 86.27, a 5% increase over the previous SoTA, and surpassed SlavicBERT.
- Czert-B achieved a new state-of-the-art F1 of 99.410 on the CoNLL-09 SRL dataset, outperforming mBERT (99.301) and SlavicBERT (99.211).
- The models demonstrated more stable and robust training, with reduced overfitting, especially on small datasets, compared to multilingual baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.