[Paper Review] ALLaM: Large Language Models for Arabic and English
ALLaM introduces a series of large language models fine-tuned for Arabic and English, leveraging continued pretraining on multilingual data and alignment with human preferences to achieve state-of-the-art performance in Arabic benchmarks without catastrophic forgetting in English. The model demonstrates effective second-language acquisition through vocabulary expansion and parallel data, significantly outperforming base models in both languages.
We present ALLaM: Arabic Large Language Model, a series of large language models to support the ecosystem of Arabic Language Technologies (ALT). ALLaM is carefully trained considering the values of language alignment and knowledge transfer at scale. Our autoregressive decoder-only architecture models demonstrate how second-language acquisition via vocabulary expansion and pretraining on a mixture of Arabic and English text can steer a model towards a new language (Arabic) without any catastrophic forgetting in the original language (English). Furthermore, we highlight the effectiveness of using parallel/translated data to aid the process of knowledge alignment between languages. Finally, we show that extensive alignment with human preferences can significantly enhance the performance of a language model compared to models of a larger scale with lower quality alignment. ALLaM achieves state-of-the-art performance in various Arabic benchmarks, including MMLU Arabic, ACVA, and Arabic Exams. Our aligned models improve both in Arabic and English from their base aligned models.
Motivation & Objective
- Address the lack of high-performing, culturally grounded large language models for Arabic, a high-resource but underrepresented language in frontier AI systems.
- Overcome catastrophic forgetting when adapting English-pretrained models to Arabic by enabling second-language acquisition through continued pretraining.
- Improve model performance in Arabic through strategic use of parallel/translated data and alignment with human preferences.
- Demonstrate that quality alignment and knowledge transfer can outperform larger models with less effective fine-tuning.
- Support the Arabic NLP ecosystem by releasing open-access, high-quality multilingual models with strong zero-shot and few-shot generalization.
Proposed method
- Fine-tune a base Llama-2 model via continued pretraining on a mixture of Arabic and English text to enable second-language acquisition in Arabic without forgetting English.
- Use a merged tokenizer combining Llama-2’s English vocabulary with a dedicated Arabic subword vocabulary to improve coverage and reduce out-of-vocabulary tokens.
- Apply supervised fine-tuning (SFT) using instruction-tuned data in both Arabic and English to align model outputs with desired behaviors.
- Perform preference-based fine-tuning using human feedback to further align model outputs with human preferences, improving coherence and safety.
- Leverage parallel or translated data to enhance cross-lingual knowledge transfer and improve alignment between Arabic and English capabilities.
- Train models from scratch using a curated, multilingual dataset to validate the effectiveness of the alignment and pretraining strategy.
Experimental results
Research questions
- RQ1Can a large language model trained primarily on English effectively acquire and perform well in Arabic without catastrophic forgetting?
- RQ2To what extent does continued pretraining on mixed Arabic-English data improve zero-shot and few-shot performance on Arabic benchmarks?
- RQ3How does alignment with human preferences affect model performance compared to scale alone, particularly in low-resource languages like Arabic?
- RQ4What role does parallel or translated data play in improving cross-lingual knowledge transfer and model alignment?
- RQ5Can a model trained from scratch on multilingual data achieve performance comparable to or better than a fine-tuned model in both Arabic and English?
Key findings
- ALLaM achieves state-of-the-art performance on the MMLU Arabic benchmark, outperforming existing models including Jais and AceGPT.
- The ALLaM 7B model fine-tuned from scratch outperforms the continued pretraining variant, indicating that full-scale pretraining on multilingual data enhances performance.
- Preference training significantly improves model outputs in both Arabic and English, even surpassing larger models with less effective alignment.
- The merged tokenizer used in ALLaM shows higher fertility rates across Arabic, English, and code compared to models using only Arabic or English tokenization.
- ALLaM models demonstrate strong zero-shot and few-shot generalization across Arabic NLP tasks, including ACVA and Arabic Exams.
- Human evaluation confirms that ALLaM models generate more helpful, factually accurate, and culturally appropriate responses in Arabic than comparable models.
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.