Skip to main navigation Skip to search Skip to main content

STAR: instruction tuning for Arabic across tasks, datasets, and models

  • Maged S. Al-Shaibani
  • , Zaid Alyafeai
  • , Irfan Ahmad*
  • *Corresponding author for this work

Research output: Contribution to journal › Article › peer-review

Abstract

Large Language Models (LLMs) have demonstrated remarkable capabilities across various natural language processing tasks, yet their effectiveness for Arabic language processing remains underexplored. This paper presents an in-depth evaluation of instruction tuning for Arabic NLP tasks using three prominent LLMs: LLaMA 3.1-8B, AceGPT-v2-8B, and Qwen3-8B. To support this evaluation and future Arabic NLP research, we introduce STAR (inStruction Tuning for ARabic), a publicly released collection of 355 Jinja2 instruction templates spanning 87 datasets and 20 NLP tasks, together with over 46 million rendered instruction–output pairs. Using a 60-template subset of STAR, we evaluate three model variants for each LLM—base, instruction-tuned, and custom LoRA-tuned—on six diverse Arabic NLP tasks (MCQ-based Natural Language Understanding, Natural Language Inference, Dialect Identification, Sarcasm Detection, Machine Translation, and Summarization) across 12 datasets. We employ both intra-dataset evaluation (generalization within training distribution) and intra-task evaluation (generalization across datasets of the same task) to assess model robustness. Results demonstrate that instruction tuning consistently improves performance across most tasks, with notable variations in effectiveness across different tasks and prompts. Models show sensitivity to cross-dataset generalization and prompt styles, while task-specific tuning noticeably reduces prompt sensitivity. Our findings reveal that optimal results depend on careful prompt engineering and task-specific settings, providing insights for developing more effective Arabic language modeling practices. Our code is available at https://github.com/KFUPM-JRCAI/instructions-tuning.

Original languageEnglish
Article number69
JournalLanguage Resources and Evaluation
Volume60
Issue number4
DOIs
StatePublished - Dec 2026

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive licence to Springer Nature B.V. 2026.

Keywords

  • Arabic NLP
  • Arabic instruction tuning
  • Cross dataset generalization
  • LLMs
  • Prompt engineering

ASJC Scopus subject areas

  • Language and Linguistics
  • Education
  • Linguistics and Language
  • Library and Information Sciences

Fingerprint

Dive into the research topics of 'STAR: instruction tuning for Arabic across tasks, datasets, and models'. Together they form a unique fingerprint.

Cite this