Are Chatbots Reliable Text Annotators? Sometimes

Ross Deans Kristensen-McLachlan, Miceal Canavan, Márton Kardos, Mia Jacobsen, Lene Aarøe
11/9/2023
cs.CLcs.AI

No official code found. Best implementation: centre-for-humanities-computing/llm-tweet-classification (8 stars, MIT, last commit 2025-02-24).

Abstract

Recent research highlights the significant potential of ChatGPT for text annotation in social science research. However, ChatGPT is a closed-source product which has major drawbacks with regards to transparency, reproducibility, cost, and data protection. Recent advances in open-source (OS) large language models (LLMs) offer an alternative without these drawbacks. Thus, it is important to evaluate the performance of OS LLMs relative to ChatGPT and standard approaches to supervised machine learning classification. We conduct a systematic comparative evaluation of the performance of a range of OS LLMs alongside ChatGPT, using both zero- and few-shot learning as well as generic and custom prompts, with results compared to supervised classification models. Using a new dataset of tweets from US news media, and focusing on simple binary text annotation tasks, we find significant variation in the performance of ChatGPT and OS models across the tasks, and that the supervised classifier using DistilBERT generally outperforms both. Given the unreliable performance of ChatGPT and the significant challenges it poses to Open Science we advise caution when using ChatGPT for substantive text annotation tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Classifying tweets with large language models with zero- and few-shot learning.

81Python, DockerfileAug 14, 20231 years agoMIT

Similar Papers

Cite this paper

@article{kristensenmclachlan2023chatbots,
  title  = {Are Chatbots Reliable Text Annotators? Sometimes},
  author = {Ross Deans Kristensen-McLachlan and Miceal Canavan and Márton Kardos and Mia Jacobsen and Lene Aarøe},
  year   = {2023},
  eprint = {2311.05769},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.05769v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.05769.svg)](https://codeofpaper.com/paper/2311.05769)

Discussion