Skip to main navigation Skip to search Skip to main content

From human annotation to automation: LLM-in-the-loop active learning for Arabic sentiment analysis

  • Dania Refai*
  • , Alaa Dalaq
  • , Doaa Dalaq
  • , Irfan Ahmad
  • *Corresponding author for this work

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

1 Scopus citations

Abstract

Natural language processing (NLP), especially sentiment analysis, plays a vital role in marketing, customer service, and social media monitoring by providing insights into user opinions and emotions. However, progress in Arabic sentiment analysis remains limited due to the lack of large, high-quality labeled datasets. While active learning has proven effective in reducing annotation efforts in other languages, few studies have explored it in Arabic tasks. Likewise, the use of large language models (LLMs) for assisting annotation and benchmarking to human labeling remains unexplored. In this paper, we propose an active learning framework for Arabic sentiment analysis to reduce annotation costs while maintaining high performance. We evaluate recurrent neural networks (RNN), long short-term memory (LSTM), and gated recurrent units (GRU), together with transformer-based Arabic language models AraBERT, MARBERT, and AraELECTRA, as non-active-learning baselines across three datasets: Hunger Station, AJGT, and MSAC. Two annotation strategies are compared: Human labeling and LLM-assisted labeling. Five LLMs are evaluated as annotators: GPT-4o, Claude 3.7 Sonnet, Gemini 2.5 Pro, DeepSeek Chat, and LLaMA 3 70B Instruct. Our results show that LLM-assisted active learning achieves performance comparable to human labeling while significantly reducing annotation requirements. Across the evaluated datasets, comparable performance is achieved using approximately 20% to 55% of the labeled training data, highlighting the effectiveness of LLM-assisted annotation in reducing labeling effort. Overall, active learning combined with LLM-based labeling offers a scalable and cost-effective solution for sentiment analysis in low-resource languages such as Arabic.

Original languageEnglish
Article number700
JournalNeural Computing and Applications
Volume38
Issue number16
DOIs
StatePublished - Aug 2026

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive licence to Springer-Verlag London Ltd., part of Springer Nature 2026.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 4 - Quality Education
    SDG 4 Quality Education

Keywords

  • Active learning
  • Arabic natural language processing
  • Large language models
  • Low-resource data
  • Sentiment analysis

ASJC Scopus subject areas

  • Software
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'From human annotation to automation: LLM-in-the-loop active learning for Arabic sentiment analysis'. Together they form a unique fingerprint.

Cite this