Skip to main content
QUICK REVIEW

[Paper Review] Testing the Reliability of ChatGPT for Text Annotation and Classification: A Cautionary Remark

Michael Reiss|arXiv (Cornell University)|Apr 17, 2023
Artificial Intelligence in Healthcare and EducationMedicine31 citations
TL;DR

The paper analyzes the zero-shot reliability of ChatGPT for text annotation and classification, showing that outputs can be inconsistent across prompts, temperatures, and repetitions, and recommends caution and validation over unsupervised use.

ABSTRACT

Recent studies have demonstrated promising potential of ChatGPT for various text annotation and classification tasks. However, ChatGPT is non-deterministic which means that, as with human coders, identical input can lead to different outputs. Given this, it seems appropriate to test the reliability of ChatGPT. Therefore, this study investigates the consistency of ChatGPT's zero-shot capabilities for text annotation and classification, focusing on different model parameters, prompt variations, and repetitions of identical inputs. Based on the real-world classification task of differentiating website texts into news and not news, results show that consistency in ChatGPT's classification output can fall short of scientific thresholds for reliability. For example, even minor wording alterations in prompts or repeating the identical input can lead to varying outputs. Although pooling outputs from multiple repetitions can improve reliability, this study advises caution when using ChatGPT for zero-shot text annotation and underscores the need for thorough validation, such as comparison against human-annotated data. The unsupervised application of ChatGPT for text annotation and classification is not recommended.

Motivation & Objective

  • Assess the zero-shot reliability of ChatGPT for text annotation and classification on a real-world News vs. Not News task.
  • Examine how model parameters (temperature), prompt variations, and repeated inputs affect consistency.
  • Evaluate whether pooling outputs from repetitions improves reliability to a scientifically acceptable threshold.
  • Highlight implications for using ChatGPT in automated annotation software and the need for thorough validation.

Proposed method

  • Use gpt-3.5-turbo via OpenAI API to classify 234 German-speaking website texts into News or Not News.
  • Create ten different instructions (prompt variations) informed by a human-coded codebook and shorter alternatives.
  • Test two temperature settings (0.25 and 1) across 46,800 inputs (2340 prompts x 10 repetitions x 2 temps).
  • Measure consistency with Krippendorff’s Alpha across: (i) no pooling, (ii) majority from three repetitions, (iii) majority from ten repetitions.
  • Compare outputs across different prompts and repeated identical inputs to assess intra- and inter-prompt reliability.

Experimental results

Research questions

  • RQ1How consistent are ChatGPT classifications across different prompts for the same input?
  • RQ2How does the temperature setting influence the reliability of ChatGPT’s zero-shot annotations?
  • RQ3Does pooling outputs from multiple repetitions improve reliability, and to what extent?
  • RQ4Is there meaningful consistency when repeating identical inputs under the same configuration?
  • RQ5What are the implications for using ChatGPT in unsupervised text annotation workflows?

Key findings

  • Consistency between two temperature settings can be below reliability thresholds when not pooling (Alpha = 0.75).
  • Pooling ten repetitions increases consistency to Alpha = 0.91 for identical prompts across temperatures.
  • Different wording of instructions yields low consistency (Alpha not above 0.6) regardless of pooling.
  • Within identical-input repetitions, lower temperature yields higher consistency (Alpha > 0.9); higher temperature yields Alpha around 0.85 for the strongest regime.
  • Overall, zero-shot classifications can be unreliable and require validation against human-annotated data; unsupervised use is not recommended.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.