[Paper Review] AraELECTRA: Pre-Training Text Discriminators for Arabic Language Understanding
AraELECTRA pre-trains an Arabic ELECTRA-style model using the replaced token detection objective and shows state-of-the-art results on Arabic QA, sentiment analysis, and NER with the same data and smaller model size.
Advances in English language representation enabled a more sample-efficient pre-training task by Efficiently Learning an Encoder that Classifies Token Replacements Accurately (ELECTRA). Which, instead of training a model to recover masked tokens, it trains a discriminator model to distinguish true input tokens from corrupted tokens that were replaced by a generator network. On the other hand, current Arabic language representation approaches rely only on pretraining via masked language modeling. In this paper, we develop an Arabic language representation model, which we name AraELECTRA. Our model is pretrained using the replaced token detection objective on large Arabic text corpora. We evaluate our model on multiple Arabic NLP tasks, including reading comprehension, sentiment analysis, and named-entity recognition and we show that AraELECTRA outperforms current state-of-the-art Arabic language representation models, given the same pretraining data and with even a smaller model size.
Motivation & Objective
- Motivate improved Arabic language representations beyond MLM-based pretraining.
- Explore efficiency and effectiveness of the RTD pre-training objective for Arabic text.
- Pre-train and fine-tune a 12-layer Arabic ELECTRA-style encoder on large Arabic corpora.
- Evaluate on multiple Arabic NLP tasks to establish strong baselines and comparisons with existing models.
Proposed method
- Adopt the ELECTRA RTD pre-training objective, using a small generator G to corrupt input tokens and a discriminator D to distinguish original from replaced tokens.
- Pre-train on a large-scale Arabic corpus (77GB / 8.8B words) with 15% token masking in RTD setup.
- Utilize a 12-layer transformer encoder (AraELECTRA) with 768 hidden size and 512 max input length, totaling 136M parameters.
- Fine-tune the pre-trained model with an added linear classification head for downstream tasks.
- Compare AraELECTRA against multiple Arabic transformers trained on the same data and larger models.
Experimental results
Research questions
- RQ1Does the RTD objective yield better Arabic language representations than MLM-based pretraining for key tasks?
- RQ2How does AraELECTRA perform on Arabic QA, sentiment analysis, and NER compared with existing Arabic pre-trained models when trained on the same data?
- RQ3What is the impact of model size and pretraining setup on performance for Arabic NLP tasks?
Key findings
- AraELECTRA achieves the highest performance among base-size models across tested Arabic downstream tasks.
- It surpasses existing state-of-the-art Arabic models trained on the same dataset with comparable or smaller model sizes.
- The RTD objective provides improved semantic representation and QA performance compared with MLM-based pretraining.
- On QA, sentiment analysis, and NER, AraELECTRA shows strong gains relative to several contemporaneous Arabic transformer models.
- Compared to a much larger model (Arabic-ALBERT-xlarge), AraELECTRA remains competitive on at least one QA benchmark, illustrating efficiency advantages.
- The results support the claim that RTD-based pretraining is more sample-efficient and effective for Arabic language understanding.
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.