English

Fighting Fire with Fire: Can ChatGPT Detect AI-generated Text?

Computation and Language 2023-08-21 v2 Artificial Intelligence

Abstract

Large language models (LLMs) such as ChatGPT are increasingly being used for various use cases, including text content generation at scale. Although detection methods for such AI-generated text exist already, we investigate ChatGPT's performance as a detector on such AI-generated text, inspired by works that use ChatGPT as a data labeler or annotator. We evaluate the zero-shot performance of ChatGPT in the task of human-written vs. AI-generated text detection, and perform experiments on publicly available datasets. We empirically investigate if ChatGPT is symmetrically effective in detecting AI-generated or human-written text. Our findings provide insight on how ChatGPT and similar LLMs may be leveraged in automated detection pipelines by simply focusing on solving a specific aspect of the problem and deriving the rest from that solution. All code and data is available at https://github.com/AmritaBh/ChatGPT-as-Detector.

Keywords

Cite

@article{arxiv.2308.01284,
  title  = {Fighting Fire with Fire: Can ChatGPT Detect AI-generated Text?},
  author = {Amrita Bhattacharjee and Huan Liu},
  journal= {arXiv preprint arXiv:2308.01284},
  year   = {2023}
}

Comments

to appear in SIGKDD Explorations (December 2023)

R2 v1 2026-06-28T11:46:38.573Z