[Paper Review] Taqyim: Evaluating Arabic NLP Tasks Using ChatGPT Models
This paper evaluates GPT-3.5 and GPT-4 on seven Arabic NLP tasks (sentiment, translation, transliteration, paraphrasing, POS tagging, summarization, diacritization) and introduces the Taqyim Python interface for evaluation.
Large language models (LLMs) have demonstrated impressive performance on various downstream tasks without requiring fine-tuning, including ChatGPT, a chat-based model built on top of LLMs such as GPT-3.5 and GPT-4. Despite having a lower training proportion compared to English, these models also exhibit remarkable capabilities in other languages. In this study, we assess the performance of GPT-3.5 and GPT-4 models on seven distinct Arabic NLP tasks: sentiment analysis, translation, transliteration, paraphrasing, part of speech tagging, summarization, and diacritization. Our findings reveal that GPT-4 outperforms GPT-3.5 on five out of the seven tasks. Furthermore, we conduct an extensive analysis of the sentiment analysis task, providing insights into how LLMs achieve exceptional results on a challenging dialectal dataset. Additionally, we introduce a new Python interface https://github.com/ARBML/Taqyim that facilitates the evaluation of these tasks effortlessly.
Motivation & Objective
- Assess GPT-3.5 and GPT-4 performance on seven Arabic NLP tasks.
- Compare ChatGPT results against state-of-the-art (SoTA) Arabic models.
- Analyze sentiment analysis in depth and provide insights for dialectal data.
- Develop and release an open-source Python interface to facilitate Arabic NLP evaluations.
Proposed method
- Zero-shot evaluation of GPT-3.5 and GPT-4 across seven tasks using task-specific prompts.
- Use datasets EASC, AJGT, PADT, APB, UNv1, BOLT, WikiNews for respective tasks.
- Apply task-specific evaluation metrics (RougeL, Accuracy, BLEU, DER).
- Provide preprocessing and post-processing steps (e.g., diacritization windowing, output formatting constraints).
- Develop a Python interface built on a forked OpenAI evals library for seamless evaluation.

Experimental results
Research questions
- RQ1How do GPT-3.5 and GPT-4 perform on seven Arabic NLP tasks without task-specific fine-tuning?
- RQ2Which tasks see GPT-4 outperforming GPT-3.5, and where do they diverge from SoTA models?
- RQ3What insights can be drawn from a detailed sentiment analysis case study on dialectal Arabic?
- RQ4How can a Python evaluation interface (Taqyim) simplify and standardize Arabic NLP task evaluation?
Key findings
- GPT-4 outperforms GPT-3.5 on five of the seven tasks in zero-shot settings.
- GPT-3.5 exceeds GPT-4 on summarization and diacritization tasks.
- GPT-based models generally lag behind task-specific fine-tuned models except in summarization where they perform well.
- Detailed diacritization results reveal domain-dependent performance across WikiNews, with culture domain being relatively better.
- A novel Python library, Taqyim, is released to ease evaluation and integrate with OpenAI evals, datasets, and token management.

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.