GPT-Sentinel: Distinguishing Human and ChatGPT Generated Content
Yutian Chen, Hao Kang, Vivian Zhai, Liangze Li, Rita Singh, Bhiksha Raj
TL;DR
The paper tackles the problem of distinguishing human-authored text from ChatGPT-generated content by creating the OpenGPTText dataset through paraphrase-based generation and training two detectors, RoBERTa-Sentinel and T5-Sentinel. It compares supervised fine-tuning approaches against traditional and zero-shot methods, demonstrates high accuracy (>97%) on test data, and conducts a multifaceted interpretability study (PCA, integrated gradients, and t-SNE) to reveal the features driving GPT-like predictions. The work reveals that while both models perform well on the OpenGPTText-derived data, transfer to GPT-2 outputs remains challenging, and the T5-based approach generally offers more robust performance with higher confidence. The dataset release plan and interpretability analyses enable practical deployment and future improvements across languages and contexts.
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.
