Abstract
ChatGPT’s emergence has transformed NLP, yet its efficacy across diverse linguistic contexts like Arabic remains largely uncharted. This study presents GPTAraEval, the first extensive performance analysis of ChatGPT on Arabic NLP. We conduct a large-scale evaluation encompassing 44 language understanding and generation tasks across over 60 datasets. Our findings reveal that despite its multilingual prowess, ChatGPT is consistently surpassed by smaller, specialized models fine-tuned for Arabic. Furthermore, we compare ChatGPT and GPT-4’s performance on Modern Standard Arabic (MSA) and Dialectal Arabic (DA), highlighting significant shortcomings in handling regional dialects.
Introduction: The Challenge of Arabic Diglossia
While Large Language Models (LLMs) like ChatGPT have demonstrated remarkable capabilities in English, their performance in other languages is less understood. Arabic presents a unique challenge due to diglossia: the coexistence of Modern Standard Arabic (MSA), used in formal contexts, and various regional dialects (DA) used in daily life. Existing evaluations were often anecdotal; GPTAraEval provides a rigorous benchmark to determine if general-purpose LLMs can navigate the morphological richness and sociolinguistic variety of the Arabic macro-language.
Evaluation Framework
The researchers implemented a comprehensive "head-to-head" comparison across a wide array of tasks and models. The evaluation included:
- Models: ChatGPT (
gpt-3.5-turbo-0301), GPT-4, BLOOMZ (7.1B multilingual), and specialized Arabic models like MARBERTV2 (NLU) and AraT5 (NLG). - Prompting: Testing both 0-shot and k-shot (3, 5, 10 examples) settings. Notably, English prompts were found to outperform Arabic prompts for Arabic tasks.
- Tasks: 48 NLU datasets from the ORCA benchmark (20 tasks) and 23 NLG datasets (13 task clusters), including translation, summarization, and diacritization.
Key Insights and Results
The study yielded several critical findings regarding the current state of Arabic LLMs:
The Fine-Tuning Advantage
A primary takeaway is that model scale does not guarantee Arabic proficiency. Smaller models explicitly fine-tuned on Arabic data, such as MARBERT, consistently outperformed ChatGPT. For instance, on the ORCA NLU benchmark, MARBERTV2 achieved a Macro-F1 of 68.85, significantly higher than ChatGPT’s best 10-shot score of 51.28. In NLG tasks like summarization, the specialized AraT5 model reached 35.31 ROUGE-L, nearly doubling ChatGPT's 19.58.
The Dialect Deficit
Both ChatGPT and GPT-4 exhibit a significant performance drop when transitioning from MSA to Dialectal Arabic. The models are clearly "MSA-centric," likely reflecting the prevalence of formal text in their training corpora. While GPT-4 represents a substantial leap over ChatGPT, the improvement is uneven: it improved by 18.6% on MSA tasks but only by 10.4% on DA tasks.
Semantic vs. Syntactic Capabilities
ChatGPT performs well in semantic tasks like paraphrase detection, where it occasionally rivals fine-tuned models in few-shot settings. However, it struggles with tasks requiring precise linguistic mechanics, such as diacritization (adding vowel marks). Additionally, ChatGPT showed a tendency for "over-sensitivity" to toxicity, frequently producing false positives on non-toxic Arabic text due to a lack of cultural nuance in its safety filters.
GPT-4 as an Automated Judge
The study also explored the utility of GPT-4 as a potential alternative for human evaluation in Arabic NLG. Comparing GPT-4's ratings to those of native speakers revealed a 71.5% agreement rate, suggesting that GPT-4 can reliably automate parts of the expensive human evaluation process.
Limitations and Future Directions
The evaluation was conducted on a random sample of 200 examples per dataset due to API costs, which may miss edge cases. Furthermore, the rapid iteration of OpenAI models means performance is a moving target. Future research should focus on improving LLM performance on low-resource Arabic dialects and refining prompting strategies to better leverage cross-lingual knowledge.
Conclusion
GPTAraEval underscores that while general-purpose LLMs are powerful, they are not yet a replacement for specialized, fine-tuned models in the Arabic context, especially for dialectal varieties. The "dialect frontier" remains a significant challenge for the next generation of multilingual models.
Summary updated