Exploring Tokenization Strategies and Vocabulary Sizes for Enhanced Arabic Language Models
Mohamed Alrefaie, Nour Eldin Morsy, Nada Saad El-Din
Key points
From the paper's conclusion- Our findings suggest the need for a tokenization strategies to address dialect challenges, enhancing model robustness across diverse linguistic contexts, and expanding datasets to encompass the rich dialect-based Arabic.
Abstract
This paper presents a comprehensive examination of the impact of tokenization strategies and vocabulary sizes on the performance of Arabic language models in downstream natural language processing tasks. Our investigation focused on the effectiveness of four tokenizers across various tasks, including News Classification, Hate Speech Detection, Sentiment Analysis, and Natural Language Inference. Leveraging a diverse set of vocabulary sizes, we scrutinize the intricate interplay between tokenization approaches and model performance. The results reveal that Byte Pair Encoding (BPE) with Farasa outperforms other strategies in multiple tasks, underscoring the significance of morphological analysis in capturing the Arabic's complex nature. However, challenges arise in sentiment analysis, where dialect-specific segmentation issues impact model's efficiency. Computational efficiency analysis demonstrates the stability of BPE with Farasa, suggesting its practical viability. Contrary to conventional assumptions, our study uncovers limited impacts of vocabulary size on model performance while keeping the model size unchanged. This challenges the common understanding among the relationship between vocabulary, model size, and downstream tasks; emphasizing the need for the study of models’ size and their corresponding vocabulary size to generalize across domains and mitigate biases, particularly in dialect-based datasets. Our findings suggest the need for a tokenization strategies to address dialect challenges, enhancing model robustness across diverse linguistic contexts, and expanding datasets to encompass the rich dialect-based Arabic.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Evaluating LLM Tokenization Efficiency on Kuwaiti Dialect, MSA and Other Arabic DialectsBig Data and Cognitive Computing · 2026
- Tokenizer Myths and Where To Find ThemarXiv · 2026
- No Single Tokenizer Feature Reliably Predicts Downstream Language Model PerformancearXiv · 2026
- Language-Specific Effects of Tokenizer Choice in Multilingual Language ModelsarXiv · 2026
- A Survey of Large Language Models for Arabic Language and its DialectsACM Transactions on Asian and Low-Resource Language Information Processing · 2026
- What Do Tokenizer Comparisons Measure? Disentangling Granularity, Root Assignment, and Word-Level Readout across Amharic and HausaarXiv · 2026