GPT-Sentinel: Distinguishing Human and ChatGPT Generated Content

Yutian Chen, Hao Kang, Vivian Zhai, Liangze Li, Rita Singh +1 more
5/13/2023
cs.CL

No official code found. Best implementation: haok1402/GPT-Sentinel-public (9 stars, last commit 2023-12-28).

Abstract

This paper presents a novel approach for detecting ChatGPT-generated vs. human-written text using language models. To this end, we first collected and released a pre-processed dataset named OpenGPTText, which consists of rephrased content generated using ChatGPT. We then designed, implemented, and trained two different models for text classification, using Robustly Optimized BERT Pretraining Approach (RoBERTa) and Text-to-Text Transfer Transformer (T5), respectively. Our models achieved remarkable results, with an accuracy of over 97% on the test dataset, as evaluated through various metrics. Furthermore, we conducted an interpretability study to showcase our model's ability to extract and differentiate key features between human-written and ChatGPT-generated text. Our findings provide important insights into the effective use of language models to detect generated text.

View on arXivView PDF

Code Implementations(1)

GPT-Sentinel: Distinguishing Human and ChatGPT Generated Content

91Python, Jupyter NotebookMay 23, 20232 years ago

Similar Papers

Cite this paper

@article{chen2023gptsentinel,
  title  = {GPT-Sentinel: Distinguishing Human and ChatGPT Generated Content},
  author = {Yutian Chen and Hao Kang and Vivian Zhai and Liangze Li and Rita Singh and Bhiksha Raj},
  year   = {2023},
  eprint = {2305.07969},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.07969v2}
}

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

Discussion