paper-with-me

홈 › Papers

Exploring Tokenization Strategies and Vocabulary Sizes for Enhanced Arabic Language Models

2024-03-17 · Mohamed Taher Alrefaie, Nour Eldin Morsy, Nada Samir

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 nuances of the Arabic language. However, challenges arise in sentiment analysis, where dialect specific segmentation issues impact model efficiency. Computational efficiency analysis demonstrates the stability of BPE with Farasa, suggesting its practical viability. Our study uncovers limited impacts of vocabulary size on model performance while keeping the model size unchanged. This is challenging the established beliefs about 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. Paper's recommendations include refining tokenization strategies to address dialect challenges, enhancing model robustness across diverse linguistic contexts, and expanding datasets to encompass the rich dialect based Arabic. This work not only advances our understanding of Arabic language models but also lays the foundation for responsible and ethical developments in natural language processing technologies tailored to the intricacies of the Arabic language.

📄 PDF Abstract BibTeX arXiv:2403.11130

Code (1)

nourmorsy/PremioLLM

Tasks

Computational EfficiencyHate Speech DetectionMorphological AnalysisNatural Language InferenceNews ClassificationSentiment Analysis

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Exploring the Effect of Segmentation and Vocabulary Size on Speech Tokenization for Speech Language Models

2025-05-23 · Shunsuke Kando, Yusuke Miyao, Shinnosuke Takamichi

The purpose of speech tokenization is to transform a speech signal into a sequence of discrete representations, serving as the foundation for speech language models (SLMs). While speech tokenization has many options, the…

Speech TokenizationSpoken Language Understanding

Analyzing Cognitive Plausibility of Subword Tokenization

2023-10-20 · Lisa Beinborn, Yuval Pinter

Subword tokenization has become the de-facto standard for tokenization, although comparative evaluations of subword vocabulary quality across languages are scarce. Existing evaluation studies focus on the effect of a tok…

Small Vocabularies, Big Gains: Pretraining and Tokenization in Time Series Models

2025-11-06 · Alexis Roger, Gwen Legate, Kashif Rasul, Yuriy Nevmyvaka 외 arxiv

Tokenization and transfer learning are two critical components in building state of the art time series foundation models for forecasting. In this work, we systematically study the effect of tokenizer design, specificall…

Representation LearningTransfer Learning

Linguistic Laws Meet Protein Sequences: A Comparative Analysis of Subword Tokenization Methods

2024-11-26 · Burak Suyunu, Enes Taylan, Arzucan Özgür

Tokenization is a crucial step in processing protein sequences for machine learning models, as proteins are complex sequences of amino acids that require meaningful segmentation to capture their functional and structural…

Exploring the Benefits of Tokenization of Discrete Acoustic Units

2024-06-08 · Avihu Dekel, Raul Fernandez

Tokenization algorithms that merge the units of a base vocabulary into larger, variable-rate units have become standard in natural language processing tasks. This idea, however, has been mostly overlooked when the vocabu…

Language ModelingLanguage Modelling