Arabic Dialect Detection Using Large Language Models: A Comparative Analysis

The Arabic language's rich dialectal variation presents a significant challenge for natural language processing (NLP), especially due to code-switching, phonetic shifts, and region-specific expressions. This study investigates the performance of state-of-the-art large language models (LLMs)—GPT-4, Falcon-7B-Instruct, and LLaMA-3-8B—in classifying Arabic dialects using the MADAR Corpus, a comprehensive dataset covering city-level and regional dialects. The data was preprocessed through normalization, character standardization, and class balancing to enable consistent evaluation across five major dialect groups: Levant, Nile, Gulf, North Africa, and Iraq. In addition to zero-shot and few-shot evaluations of the general-purpose LLMs, we fine-tuned AraBERT on the balanced MADAR dataset and developed a hybrid system combining AraBERT with GPT-4 as a fallback when confidence was low. AraBERT achieved the highest accuracy (68.00%), outperforming GPT-4 (42.80%), Falcon (20%), and LLaMA (23%). The hybrid approach reached 66.13%, reflecting the potential-and complexity-of combining general and domain-specific models. These findings highlight the strengths of task-specific fine-tuning for dialect detection and reveal the limitations of multilingual LLMs when applied to linguistically diverse and underrepresented dialectal data.

Authors

Institutions

Publication Details

Published
2025-04-16
DOI
https://doi.org/10.1109/ictcs65341.2025.10989347
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Arabic Dialect Detection Using Large Language Models: A Comparative Analysis

Hind Rahma Alowais, Ashraf Elnagar
1 citations
Natural Language Processing Techniques
2.48
article

Arabic Dialect Detection Using Large Language Models: A Comparative Analysis

Hind Rahma Alowais, Ashraf Elnagar
article en
1 citations

Abstract

The Arabic language's rich dialectal variation presents a significant challenge for natural language processing (NLP), especially due to code-switching, phonetic shifts, and region-specific expressions. This study investigates the performance of state-of-the-art large language models (LLMs)—GPT-4, Falcon-7B-Instruct, and LLaMA-3-8B—in classifying Arabic dialects using the MADAR Corpus, a comprehensive dataset covering city-level and regional dialects. The data was preprocessed through normalization, character standardization, and class balancing to enable consistent evaluation across five major dialect groups: Levant, Nile, Gulf, North Africa, and Iraq. In addition to zero-shot and few-shot evaluations of the general-purpose LLMs, we fine-tuned AraBERT on the balanced MADAR dataset and developed a hybrid system combining AraBERT with GPT-4 as a fallback when confidence was low. AraBERT achieved the highest accuracy (68.00%), outperforming GPT-4 (42.80%), Falcon (20%), and LLaMA (23%). The hybrid approach reached 66.13%, reflecting the potential-and complexity-of combining general and domain-specific models. These findings highlight the strengths of task-specific fine-tuning for dialect detection and reveal the limitations of multilingual LLMs when applied to linguistically diverse and underrepresented dialectal data.

University of Sharjah (AE)
Quality Education
Openalex Percentile: Top 10%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Arabic Dialect Detection Using Large Language Models: A Comparative Analysis — Hind Rahma Alowais, Ashraf Elnagar · (2025) | TGRS Research Map | TGRS