Skip to main content
QUICK REVIEW

[Paper Review] JABER and SABER: Junior and Senior Arabic BERt

Abbas Ghaddar, Yimeng Wu|arXiv (Cornell University)|Dec 8, 2021
Natural Language Processing TechniquesComputer Science5 citations
TL;DR

This paper introduces JABER and SABER, two newly pre-trained Arabic BERT models—JABER (12-layer) and SABER (24-layer)—using improved training recipes including BBPE tokenization, data cleaning, and optimized hyperparameters. The models achieve state-of-the-art performance on the ALUE benchmark (77.3% average score) and outperform existing models like ARBERT and MARBERT, with SABER showing a 3.6% average improvement over JABER.

ABSTRACT

Language-specific pre-trained models have proven to be more accurate than multilingual ones in a monolingual evaluation setting, Arabic is no exception. However, we found that previously released Arabic BERT models were significantly under-trained. In this technical report, we present JABER and SABER, Junior and Senior Arabic BERt respectively, our pre-trained language model prototypes dedicated for Arabic. We conduct an empirical study to systematically evaluate the performance of models across a diverse set of existing Arabic NLU tasks. Experimental results show that JABER and SABER achieve state-of-the-art performances on ALUE, a new benchmark for Arabic Language Understanding Evaluation, as well as on a well-established NER benchmark.

Motivation & Objective

  • To address the under-training issue in existing Arabic BERT models by re-evaluating and improving the pre-training recipe.
  • To develop specialized Arabic language models—JABER (12-layer) and SABER (24-layer)—that outperform existing monolingual and multilingual models in Arabic NLU tasks.
  • To establish a systematic benchmarking framework using ALUE and ANER corp to fairly compare Arabic BERT models across diverse NLU tasks.
  • To improve model generalization across MSA, dialect, and social media text by optimizing data curation and training procedures.
  • To release open-source weights and code to support reproducibility and further research in Arabic NLP.

Proposed method

  • Pre-trained JABER and SABER using a 115GB Arabic text corpus with a duplication factor of 3, after extensive data cleaning and filtering to remove low-quality or redundant content.
  • Employed BBPE (Byte Pair Encoding) tokenization instead of WordPiece to improve subword representation and handle morphological complexity in Arabic.
  • Applied normalization during preprocessing to standardize Arabic text, improving model robustness to diacritics and spelling variations.
  • Trained models with dynamic masking and longer sequence lengths (512 tokens), following RoBERTa-style improvements to enhance representation learning.
  • Used a 15-epoch training schedule for JABER and 5 epochs for SABER, with larger batch sizes and optimized learning rate schedules.
  • Fine-tuned models on multiple downstream tasks including ALUE (8 diverse Arabic NLU tasks) and ANER corp (named entity recognition) for evaluation.

Experimental results

Research questions

  • RQ1Can a re-optimized pre-training recipe significantly improve the performance of Arabic BERT models compared to previously released models?
  • RQ2To what extent do data cleaning, normalization, and BBPE tokenization enhance Arabic BERT performance across diverse NLU tasks?
  • RQ3Does a deeper architecture (SABER, 24 layers) significantly outperform shallower models (JABER, 12 layers) on Arabic NLU benchmarks?
  • RQ4Can a single Arabic BERT model generalize effectively across MSA, dialect, and social media text without specialized pre-training on each domain?
  • RQ5How do JABER and SABER compare to existing state-of-the-art models like ARBERT and MARBERT on standardized benchmarks like ALUE and ANER corp?

Key findings

  • SABER achieved a new state-of-the-art average score of 77.3% on the ALUE benchmark, outperforming all prior models including ARBERT and MARBERT.
  • JABER outperformed ARBERT by 2% on average in the ALUE benchmark, despite having the same architecture and parameter count.
  • SABER improved upon JABER by 3.6% on average across all ALUE tasks, demonstrating the benefit of deeper architecture and optimized training.
  • On the ANER corp NER benchmark, JABER achieved the highest F1 score of 84.20%, significantly outperforming MARBERT (80.50%) and other baselines.
  • JABER showed lower variance across tasks compared to other BERT-base models, indicating more stable and robust performance.
  • The performance gap between JABER and Arabic-BERT was particularly large on challenging tasks like XNLI (+12.4%) and MQ2Q (+7.5%), suggesting superior generalization ability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.