[Paper Review] Large Pre-Trained Models with Extra-Large Vocabularies: A Contrastive Analysis of Hebrew BERT Models and a New One to Outperform Them All
This paper introduces AlephBERTGimmel, a new large pre-trained language model for modern Hebrew with a 128K-token vocabulary, significantly larger than prior Hebrew BERT models. Through a contrastive analysis, it demonstrates that larger vocabularies reduce subword tokenization splits and improve performance across multiple NLP tasks, achieving state-of-the-art results on morphological segmentation, POS tagging, NER, sentiment analysis, and full morphological analysis.
We present a new pre-trained language model (PLM) for modern Hebrew, termed AlephBERTGimmel, which employs a much larger vocabulary (128K items) than standard Hebrew PLMs before. We perform a contrastive analysis of this model against all previous Hebrew PLMs (mBERT, heBERT, AlephBERT) and assess the effects of larger vocabularies on task performance. Our experiments show that larger vocabularies lead to fewer splits, and that reducing splits is better for model performance, across different tasks. All in all this new model achieves new SOTA on all available Hebrew benchmarks, including Morphological Segmentation, POS Tagging, Full Morphological Analysis, NER, and Sentiment Analysis. Subsequently we advocate for PLMs that are larger not only in terms of number of layers or training data, but also in terms of their vocabulary. We release the new model publicly for unrestricted use.
Motivation & Objective
- To investigate the impact of vocabulary size on the performance of pre-trained language models for modern Hebrew.
- To address the challenge of subword tokenization splits in low-resource languages like Hebrew, which can degrade model performance.
- To develop and evaluate a new Hebrew BERT model with an extra-large vocabulary to improve NLP task accuracy.
- To establish a new state-of-the-art benchmark for Hebrew NLP by outperforming existing models across multiple tasks.
Proposed method
- Design and train a new Hebrew BERT model, AlephBERTGimmel, with a 128,000-token vocabulary, significantly larger than standard Hebrew PLMs.
- Perform a contrastive analysis comparing AlephBERTGimmel against mBERT, heBERT, and AlephBERT across multiple NLP tasks.
- Use subword tokenization with byte-pair encoding (BPE) and optimize vocabulary to minimize out-of-vocabulary and subword splits.
- Fine-tune the model on a range of Hebrew NLP benchmarks, including morphological segmentation, POS tagging, NER, sentiment analysis, and full morphological analysis.
- Evaluate model performance using standard metrics and compare results to prior state-of-the-art models.
- Release the trained model publicly for unrestricted use to support future research and applications.
Experimental results
Research questions
- RQ1How does increasing vocabulary size affect subword tokenization splits in Hebrew pre-trained language models?
- RQ2To what extent does a larger vocabulary improve performance on downstream Hebrew NLP tasks?
- RQ3Can a model with a 128K vocabulary outperform existing state-of-the-art Hebrew BERT models across multiple benchmarks?
- RQ4What is the relative impact of vocabulary size compared to model depth or training data size in Hebrew NLP?
- RQ5Does reducing subword splits lead to consistent performance gains across diverse NLP tasks in Hebrew?
Key findings
- AlephBERTGimmel achieves state-of-the-art performance on all evaluated Hebrew NLP benchmarks, including morphological segmentation, POS tagging, full morphological analysis, NER, and sentiment analysis.
- The model exhibits significantly fewer subword tokenization splits compared to previous models due to its larger vocabulary, which correlates with improved performance.
- Reducing subword splits leads to measurable improvements in model accuracy across all tested tasks, validating the hypothesis that vocabulary size is a critical factor in low-resource language modeling.
- The contrastive analysis confirms that larger vocabularies contribute more to performance gains than increases in model depth or training data size alone.
- The model outperforms mBERT, heBERT, and AlephBERT across all benchmarks, establishing a new SOTA for Hebrew NLP.
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.