Second Language (Arabic) Acquisition of LLMs via Progressive Vocabulary Expansion
About
This paper addresses the critical need for democratizing large language models (LLM) in the Arab world, a region that has seen slower progress in developing models comparable to state-of-the-art offerings like GPT-4 or ChatGPT 3.5, due to a predominant focus on mainstream languages (e.g., English and Chinese). One practical objective for an Arabic LLM is to utilize an Arabic-specific vocabulary for the tokenizer that could speed up decoding. However, using a different vocabulary often leads to a degradation of learned knowledge since many words are initially out-of-vocabulary (OOV) when training starts. Inspired by the vocabulary learning during Second Language (Arabic) Acquisition for humans, the released AraLLaMA employs progressive vocabulary expansion, which is implemented by a modified BPE algorithm that progressively extends the Arabic subwords in its dynamic vocabulary during training, thereby balancing the OOV ratio at every stage. The ablation study demonstrated the effectiveness of Progressive Vocabulary Expansion. Moreover, AraLLaMA achieves decent performance comparable to the best Arabic LLMs across a variety of Arabic benchmarks. Models, training data, benchmarks, and codes will be all open-sourced.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| commonsense inference | HellaSwag | Accuracy85.53 | 91 | |
| Physical Commonsense Reasoning | PIQA | Accuracy83.24 | 78 | |
| World Knowledge | MMLU | Accuracy77.98 | 33 | |
| Multilingual Knowledge Evaluation | m-MMLU | Overall Accuracy68.44 | 31 | |
| Conversational Ability | MT-Bench | MT-Bench Score6.01 | 28 | |
| Science Question Answering | ARC Challenge | Accuracy (ARC)60.07 | 19 | |
| Dialectal Arabic Evaluation | AraDiCE | PIQA Acc (Egy)67.36 | 10 | |
| Dialectal Arabic Evaluation | MMLU Dialectal Arabic | Accuracy (MMLU DA)68.56 | 10 | |
| Knowledge Evaluation | ArabicMMLU | Accuracy73.87 | 10 | |
| Cultural Awareness & Instruction Following | Arabic Cultural Value Alignment (test) | Cultural Score3.37 | 10 |