Skip to main navigation Skip to search Skip to main content

Can Large Language Models be Used as an Alternative for Human Annotation: A Case Study of Emotion Classification

  • Nek Dil Khan
  • , Maram Fahaad Almufareh
  • , Javed Ali Khan
  • , Jianqiang Li
  • , Arif Ali Khan
  • , Mamoona Humayun

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

For market-based software evolution, user feedback has become a primary source utilized by various machine learning (ML) algorithms to identify insightful information. However, it heavily employs human subjects to complete such experimental tasks, particularly for data annotation. It is reported in software engineering (SE) literature that human subjects are challenging to find, prone to errors, and can have a second guess in identifying the correct annotation type, resulting in possible bias. In contrast, large language models (LLMs) have recently demonstrated comparatively equal or better performances in various complex SE tasks, making them a good alternative for data annotation tasks. For this purpose, the proposed approach investigated and experimented with the performance of LLMs, particularly ChatGPT, to annotate end-user feedback for ML classification tasks. We experimented with two datasets, i.e., human and ChatGPT API annotated, to explore whether ChatGPT can be used as an alternative to human annotators when preparing labeled datasets for ML experiments. For this purpose, we identify the efficacy of various deep learning (DL) classifiers in detecting associated emotions, including anger, confusion, distrust, sadness, disappointment, frustration, disgust, and fear, with end-user reviews. We obtained satisfactory results with BILSTM, GRU, CNN, LSTM, BiGRU, and RNN algorithms using the ChatGPT-generated dataset compared to the human-annotated data set. We obtained an average accuracy of 92%, 92%, 91%, 90%, 91%, and 91% compared to the manually annotated data set, 75%, 75%, 79%,48%, 73%, and 85%, with CNN, LSTM, BILSTM, GRU, BiGRU, and RNN Classifiers, respectively. The study results show that LLMs can be an alternative source for annotating datasets for ML classification experiments. However, the results need to be validated by human experts for improved generalizability and trust.
Original languageEnglish
Title of host publicationSEET - Software Engineering for Emerging Technologies - 1st International Conference, SEET 2025, Proceedings
EditorsShahid Hussain, Arif Ali Khan, Muhammad Abdul Basit Ur Rahim, Saif Ur Rehman Khan
PublisherSpringer Nature
Pages400-416
Number of pages17
ISBN (Print)9783032089762
DOIs
Publication statusPublished - 2 Jan 2026
Event1st International Conference on Software Engineering of Emerging Technologies, SEET 2025 - Long Beach, United States
Duration: 11 Aug 2025 → 12 Aug 2025

Publication series

NameCommunications in Computer and Information Science
Volume2725 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference1st International Conference on Software Engineering of Emerging Technologies, SEET 2025
Country/TerritoryUnited States
CityLong Beach
Period11/08/25 → 12/08/25

Keywords

  • Chat-GPT
  • Emotion classification
  • Human Annotations
  • Large Language Model(LLMs)
  • User Feedback Analysis

Fingerprint

Dive into the research topics of 'Can Large Language Models be Used as an Alternative for Human Annotation: A Case Study of Emotion Classification'. Together they form a unique fingerprint.

Cite this