Are chatbots reliable text annotators? Sometimes
Open Access
- 27 March 2025
- journal article
- Published by Oxford University Press (OUP) in PNAS Nexus
- Vol. 4 (4) , pgaf069
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 with 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.Keywords
All Related Versions
Funding Information
- Independent Research Fund Denmark (0133-00187B)
This publication has 6 references indexed in Scilit:
- GPT is an effective tool for multilingual psychological text analysisProceedings of the National Academy of Sciences, 2024
- Large language models as a substitute for human experts in annotating political textResearch & Politics, 2024
- Unveiling security, privacy, and ethical concerns of ChatGPTJournal of Information and Intelligence, 2023
- ChatGPT for Text Annotation? Mind the Hype!SocArXiv, 2023
- ChatGPT outperforms crowd workers for text-annotation tasksProceedings of the National Academy of Sciences, 2023
- Making Large Language Models Better Data Creators2023