TL;DR
Jais 2 is a new family of open-weight, Arabic-centric large language models (8B and 70B parameters) built from the ground up to master the complexities of the Arabic language and its diverse cultural heritage. By combining massive scale with specialized data for regional dialects and culturally grounded domains like poetry and religion, it sets a new state-of-the-art for Arabic AI while remaining highly competitive in English.
What Problem Does This Paper Address?
Most modern LLMs suffer from a pronounced "Western bias." Because they are trained primarily on English-heavy web crawls, they often struggle with the nuances of other languages. Arabic is particularly challenging due to diglossia: the linguistic phenomenon where a formal version of the language (Modern Standard Arabic, or MSA) is used for writing and news, while dozens of distinct regional dialects are used for daily conversation.
General-purpose models often treat Arabic as a monolith, failing to capture the lexical and grammatical diversity of dialects like Egyptian, Levantine, or Maghrebi. Furthermore, they lack "cultural grounding"—the deep understanding of social, moral, and historical contexts specific to the Arab world. Jais 2 aims to bridge this gap by providing a model that is "developed in the Arab world for the Arab world."
Methods
Unlike many regional models that are simply fine-tuned versions of Llama or Mistral, Jais 2 was trained from scratch. Key technical highlights include:
- Custom Vocabulary: A 150K-token vocabulary optimized specifically for Arabic, which significantly improves training and inference efficiency.
- Architectural Tweaks: The models use $ReLU^2$ activations for higher sparsity and an expanded 8× feedforward filter ratio.
- Maximal Update Parameterization ($\mu P$): This allowed the team to tune hyperparameters on a tiny 100-million parameter proxy model and reliably transfer those settings to the massive 70B version, saving enormous amounts of compute.
- Multi-Stage Training: The process involved standard pretraining, a specialized "annealing" stage to boost reasoning, and a post-training pipeline including Instruction Fine-Tuning (IFT) and Direct Preference Optimization (DPO) to ensure safety and helpfulness.
Datasets
The models were trained on a staggering 1.6 trillion tokens, including a purpose-curated Arabic corpus of 624 billion tokens.
- Linguistic Diversity: The data spans MSA and 17 different regional dialects, including "Arabizi" (Arabic written with Latin characters).
- Cultural Curation: The team included specialized datasets for Arabic poetry, Islamic jurisprudence (QA), and even dream interpretation.
- New Benchmarks: The researchers introduced new, human-validated benchmarks for Arabic Cuisine and Arabic Dream Interpretation to test the models' ability to reason within specific cultural frameworks.
Key Insights and Ideas
- The Power of Annealing: The researchers found that upsampling high-quality, domain-specific data during the final 10% of pretraining (the annealing phase) led to a 5–9% improvement in average scores. This suggests that when you show the model certain data is just as important as what data you show it.
- Dialects are Foundation, Not an Afterthought: By integrating dialectal data into the base pretraining rather than just fine-tuning for it later, Jais 2 achieves a level of "native" fluency in colloquial Arabic that adapted models struggle to match.
- Efficiency via Hardware: Training was performed on Cerebras Condor Galaxy supercomputers. The architecture allowed for near-perfect linear scaling, enabling the training of a 70B model from scratch with high compute efficiency.
Key Results
Jais 2 70B currently leads the pack among open-weight models for Arabic:
- OALL2 Leaderboard: It achieved a macro-average of 79.36%, significantly outperforming Llama-3.3-70B (74.23%) and Qwen2.5-72B (71.20%).
- Generative Excellence: On the AraGen benchmark, which uses "LLM-as-a-judge" to evaluate open-ended responses, Jais 2 70B scored 70.71%, the highest among all evaluated open models.
- Speed: When served on Cerebras hardware, the 70B model delivers up to 2,000 tokens per second, making it viable for high-throughput real-world applications.
Limitations and Future Work
While Jais 2 is a landmark for Arabic AI, the authors acknowledge some hurdles:
- English Reasoning Gap: Although competitive, Jais 2 still trails slightly behind top English-centric models in complex mathematical reasoning (GSM8K) and factual grounding.
- Religious Reasoning: While strong in Islamic QA, the model still has room to improve in complex reasoning over religious dietary and fasting constraints.
- Future Directions: The team plans to extend support to even more low-resource Arabic varieties and focus on improving long-context reasoning and factual grounding in future iterations.
Summary updated