arXiv(opens in a new tab)MedicineMar 2023Cited by 8 papers on PaperVantage

Manuscript Offprint

arXiv:2303.15056

ChatGPT outperforms crowd workers for text-annotation tasks

F. Gilardi, Meysam Alizadeh, M. Kubli

Abstract

Many NLP applications require manual text annotations for a variety of tasks, notably to train classifiers or evaluate the performance of unsupervised models. Depending on the size and degree of complexity, the tasks may be conducted by crowd-workers on platforms such as MTurk as well as trained annotators, such as research assistants. Using four samples of tweets and news articles (n = 6,183), we show that ChatGPT outperforms crowd-workers for several annotation tasks, including relevance, stance, topics, and frame detection. Across the four datasets, the zero-shot accuracy of ChatGPT exceeds that of crowd-workers by about 25 percentage points on average, while ChatGPT’s intercoder agreement exceeds that of both crowd-workers and trained annotators for all tasks. Moreover, the per-annotation cost of ChatGPT is less than $0.003—about thirty times cheaper than MTurk. These results demonstrate the potential of large language models to drastically increase the efficiency of text classification.

1 Introduction

Many NLP applications require high-quality labeled data, notably to train classifiers or evaluate the performance of unsupervised models. For example, researchers often aim to filter noisy social media data for relevance, assign texts to different topics or conceptual categories, or measure their sentiment or stance. Regardless of the specific approach used for these tasks (supervised, semi-supervised, or unsupervised), labeled data are needed to build a training set or a gold standard against which performance can be assessed. Such data may be available for high-level tasks such as semantic evaluation (Emerson et al., 2022). More typically, however, researchers have to conduct original annotations to ensure that the labels match their conceptual categories (Benoit et al., 2016). Until recently, two main strategies were available. First, researchers can recruit and train coders, such as research assistants. Second, they can rely on crowd-workers on platforms such as Amazon Mechanical Turk (MTurk). Often, these two strategies are used in combination: trained annotators create a relatively small gold-standard dataset, and crowd-workers are employed to increase the volume of labeled data. Trained annotators tend to produce high-quality data, but involve significant costs. Crowd workers are a much cheaper and more flexible option, but the quality may be insufficient, particularly for complex tasks and languages other than English. Moreover, there have been concerns that MTurk data quality has decreased (Chmielewski and Kucker, 2020), while alternative platforms such as CrowdFlower and FigureEight are no longer practicable options for academic research since they were acquired by Appen, a company that is focused on a business market.

This paper explores the potential of large language models (LLMs) for text annotation tasks, with a focus on ChatGPT, which was released in November 2022. It demonstrates that zero-shot ChatGPT classifications (that is, without any additional training) outperform MTurk annotations, at a fraction of the cost. LLMs have been shown to perform very well for a wide range of purposes, including ideological scaling (Wu et al., 2023), the classification of legislative proposals (Nay, 2023), the resolution of cognitive psychology tasks (Binz and Schulz, 2023), and the simulation of human samples for survey research (Argyle et al., 2023). While a few studies suggested that ChatGPT might perform text annotation tasks of the kinds we have described (Kuzman, Mozetič and Ljubešić, 2023; Huang, Kwak and An, 2023), to the best of our knowledge our work is the first systematic evaluation. Our analysis relies on a sample of 6,183 documents, including tweets and news articles that we collected for a previous study (Alizadeh et al., 2022) as well as a new sample of tweets posted in 2023. In our previous study, the texts were labeled by trained annotators (research assistants) for five different tasks: relevance, stance, topics, and two kinds of frame detection. Using the same codebooks that we developed to instruct our research assistants, we submitted the tasks to ChatGPT as zero-shot classifications, as well as to crowd-workers on MTurk. We then evaluated the performance of ChatGPT against two benchmarks: (i) its accuracy, relative to that of crowd-workers, and (ii) its intercoder agreement, relative to that of crowd workers as well as of our trained annotators. We find that across the four datasets, ChatGPT’s zero-shot accuracy is higher than that of MTurk for most tasks. For all tasks, ChatGPT’s intercoder agreement exceeds that of both MTurk and trained annotators. Moreover, ChatGPT is significantly cheaper than MTurk. ChatGPT’s per-annotation cost is about $0.003, or a third of a cent—about thirty times cheaper than MTurk, with higher quality. At this cost, it might potentially be possible to annotate entire samples, or to create large training sets for supervised learning. While further research is needed to better understand how ChatGPT and other LLMs perform in a broader range of contexts, these results demonstrate their potential to transform how researchers conduct data annotations, and to disrupt parts of the business model of platforms such as MTurk.

References (12)

  • Content Moderation As a Political Issue: The Twitter Discourse Around Trump’s Ban
  • Out of One, Many: Using Language Models to Simulate Human Samples
  • What Determines Inter-Coder Agreement in Manual Annotations? A Meta-Analytic Investigation
  • Crowd-Sourced Text Analysis: Reproducible and Agile Production of Political Data
  • Using cognitive psychology to understand GPT-3
  • An MTurk Crisis? Shifts in Data Quality and the Impact on Study Results
  • Proceedings of the 16th International Workshop on Semantic Evaluation (SemEval-2022)
  • Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speech (opens arXiv in a new tab)
  • Large Language Models are Zero-Shot Reasoners
  • ChatGPT: Beginning of an End of Manual Linguistic Data Annotation? Use Case of Automatic Genre Identification
  • Large Language Models as Corporate Lobbyists
  • Large Language Models Can Be Used to Estimate the Ideologies of Politicians in a Zero-Shot Learning Setting