Skip to main content
QUICK REVIEW

[Paper Review] Arabic Dialect Identification in the Wild

Ahmed Abdelalí, Hamdy Mubarak|arXiv (Cornell University)|May 13, 2020
Natural Language Processing TechniquesComputer Science32 references25 citations
TL;DR

This paper introduces QADI, a large-scale, balanced, and automatically collected dataset of 540k tweets from 18 Arab countries, using profile-based user filtering and MSA/dialect distinction via distant supervision. The dataset enables state-of-the-art country-level Arabic dialect identification with a macro F1-score of 60.6%, significantly outperforming prior datasets like MADAR.

ABSTRACT

We present QADI, an automatically collected dataset of tweets belonging to a wide range of country-level Arabic dialects -covering 18 different countries in the Middle East and North Africa region. Our method for building this dataset relies on applying multiple filters to identify users who belong to different countries based on their account descriptions and to eliminate tweets that are either written in Modern Standard Arabic or contain inappropriate language. The resultant dataset contains 540k tweets from 2,525 users who are evenly distributed across 18 Arab countries. Using intrinsic evaluation, we show that the labels of a set of randomly selected tweets are 91.5% accurate. For extrinsic evaluation, we are able to build effective country-level dialect identification on tweets with a macro-averaged F1-score of 60.6% across 18 classes.

Motivation & Objective

  • To address the lack of large-scale, balanced, non-genre-specific datasets for fine-grained Arabic dialect identification in social media.
  • To develop an automated, scalable method for collecting dialectal Arabic tweets from Twitter by leveraging user profile self-identification and MSA/dialect distinction.
  • To build and evaluate state-of-the-art models for country-level Arabic dialect identification using the newly constructed dataset.
  • To analyze the challenges of dialect overlap and code-switching in multilingual Arabic social media.

Proposed method

  • Automatically identify users from 18 Arab countries using keywords in Twitter profile descriptions indicating national identity (e.g., 'proud Egyptian').
  • Apply a distant supervision-based classifier to distinguish Modern Standard Arabic (MSA) from Dialectal Arabic (DA), filtering out MSA-heavy or inappropriate content.
  • Collect and retain only tweets from users who self-identify with a country and predominantly tweet in DA, ensuring dialectal authenticity.
  • Construct a balanced dataset with ~182 test tweets per country, manually labeled by native speakers for validation.
  • Train and evaluate multiple models using n-grams, static and contextual embeddings (e.g., BERT-base-multilingual, AraBERT), and classifiers (SVM, fine-tuned Transformers).
  • Use intrinsic evaluation (91.5% label accuracy on random sample) and extrinsic evaluation (macro F1-score) to validate dataset quality and model performance.

Experimental results

Research questions

  • RQ1Can an automated, scalable method reliably collect dialectal Arabic tweets from Twitter while ensuring country-level balance and linguistic authenticity?
  • RQ2How accurate are the country-level dialect labels in the resulting dataset, as validated by human annotation?
  • RQ3To what extent can state-of-the-art models achieve effective country-level dialect identification on this new dataset?
  • RQ4What are the primary sources of error in Arabic dialect identification, particularly regarding dialectal overlap and code-switching?

Key findings

  • The QADI dataset contains 540,000 tweets from 2,525 users across 18 Arab countries, with a balanced distribution and a manually validated test set of 182 tweets per country.
  • Intrinsic evaluation shows that 91.5% of randomly sampled tweet labels are accurate, confirming high label quality.
  • The best-performing model, fine-tuned AraBERT, achieves a macro-averaged F1-score of 60.6% on the 18-class dialect identification task.
  • The largest sources of misclassification occur within regional clusters—Gulf, Levantine, Maghrebi, and Nile Basin dialects—due to linguistic similarity and overlap.
  • Approximately 2% of misclassified tweets are outliers, primarily due to code-switching, quotes from songs or poetry, or inclusion of MSA words.
  • Training on QADI yields significantly better performance than training on the public MADAR dataset, demonstrating the superiority of QADI in size, balance, and quality.

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.