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

Amrita Bhattacharjee, Huan Liu
8/2/2023
cs.CLcs.AI

Official code: AmritaBh/ChatGPT-as-Detector (7 stars, last commit 2023-07-06).

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.

View on arXivView PDF

Code Implementations(1)

Code and links to data for the paper "Fighting Fire with Fire: Can ChatGPT Detect AI-generated Text?"

71PythonJul 1, 20233 years ago

Similar Papers

Cite this paper

@article{bhattacharjee2023fighting,
  title  = {Fighting Fire with Fire: Can ChatGPT Detect AI-generated Text?},
  author = {Amrita Bhattacharjee and Huan Liu},
  year   = {2023},
  eprint = {2308.01284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01284v2}
}

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/2308.01284.svg)](https://codeofpaper.com/paper/2308.01284)

Discussion