[Paper Review] RobBERTje: a Distilled Dutch BERT Model
This paper introduces RobBERTje, a family of distilled, smaller versions of the state-of-the-art Dutch BERT model RobBERT, trained via knowledge distillation to improve efficiency. The study finds that shuffled or merged training data has minimal impact on performance, while larger distillation architectures (like DistilBERT) outperform smaller ones (like Bort), and all distilled models exhibit reduced gender-stereotypical bias compared to the teacher model.
Pre-trained large-scale language models such as BERT have gained a lot of attention thanks to their outstanding performance on a wide range of natural language tasks. However, due to their large number of parameters, they are resource-intensive both to deploy and to fine-tune. Researchers have created several methods for distilling language models into smaller ones to increase efficiency, with a small performance trade-off. In this paper, we create several different distilled versions of the state-of-the-art Dutch RobBERT model and call them RobBERTje. The distillations differ in their distillation corpus, namely whether or not they are shuffled and whether they are merged with subsequent sentences. We found that the performance of the models using the shuffled versus non-shuffled datasets is similar for most tasks and that randomly merging subsequent sentences in a corpus creates models that train faster and perform better on tasks with long sequences. Upon comparing distillation architectures, we found that the larger DistilBERT architecture worked significantly better than the Bort hyperparametrization. Interestingly, we also found that the distilled models exhibit less gender-stereotypical bias than its teacher model. Since smaller architectures decrease the time to fine-tune, these models allow for more efficient training and more lightweight deployment of many Dutch downstream language tasks.
Motivation & Objective
- To create smaller, more efficient versions of the Dutch RobBERT language model for practical deployment.
- To evaluate the impact of different data processing strategies (shuffling, merging) on distillation performance.
- To compare various distillation architectures (e.g., DistilBERT vs. Bort) for optimal efficiency and accuracy.
- To investigate whether knowledge distillation reduces gender-stereotypical bias in Dutch NLP models.
- To enable faster fine-tuning and energy-efficient inference for downstream Dutch NLP tasks.
Proposed method
- Knowledge distillation is applied to the RobBERT v2 model using a small, unlabeled Dutch corpus.
- Multiple distilled models are trained with varying data preprocessing: non-shuffled, shuffled, and merged sentence corpora.
- Distillation uses soft labels from the teacher model (RobBERT) to guide the student model’s training.
- The student models are fine-tuned on multiple downstream NLP tasks to evaluate performance.
- A log probability bias score is computed to measure and compare gender-stereotypical associations in model predictions.
- Distillation architectures include standard DistilBERT and a smaller Bort configuration for comparison.
Experimental results
Research questions
- RQ1Does shuffling the training corpus during distillation significantly affect the performance of distilled Dutch BERT models?
- RQ2Does merging consecutive sentences in the training data improve performance on long-sequence tasks?
- RQ3How do different distillation architectures (e.g., DistilBERT vs. Bort) compare in terms of accuracy and efficiency?
- RQ4Does knowledge distillation reduce gender-stereotypical bias in Dutch language models?
- RQ5Can distilled models achieve near-state-of-the-art performance with significantly reduced computational and storage requirements?
Key findings
- The performance of models trained on shuffled versus non-shuffled corpora was nearly identical across most tasks, indicating minimal impact of shuffling.
- Merging subsequent sentences in the training data led to faster training and improved performance on tasks with longer input sequences.
- The larger DistilBERT-based architecture significantly outperformed the smaller Bort hyperparametrization in all evaluated tasks.
- All distilled models exhibited reduced gender-stereotypical bias compared to the teacher model RobBERT, with bias scores ranging from -0.67 to -0.50, compared to the teacher’s 1.10.
- The distilled models achieved near-state-of-the-art performance while requiring significantly less computational power for fine-tuning and inference.
- Knowledge distillation acts as a regularizer, reducing stereotypical associations in model predictions, as confirmed by the log probability bias score metric.
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.