In plain words: A neural network trained to spot AI-written text, fed tricky near-miss examples so it avoids wrongly flagging human writing. It cut errors by more than 38 times versus the best commercial detectors and did not disadvantage nonnative English speakers.
Abstract · Technical Report on the Pangram AI-Generated Text Classifier
We present Pangram Text, a transformer-based neural network trained to distinguish text written by large language models from text written by humans. Pangram Text outperforms zero-shot methods such as DetectGPT as well as leading commercial AI detection tools with over 38 times lower error rates on a comprehensive benchmark comprised of 10 text domains (student writing, creative writing, scientific writing, books, encyclopedias, news, email, scientific papers, short-form Q&A) and 8 open- and closed-source large language models. We propose a training algorithm, hard negative mining with synthetic mirrors, that enables our classifier to achieve orders of magnitude lower false positive rates on high-data domains such as reviews. Finally, we show that Pangram Text is not biased against nonnative English speakers and generalizes to domains and models unseen during training.
Bradley Emi, Max Spero
arXiv:2402.14873 · cs.CL, cs.AI · submitted Feb 21, 2024 · updated Jul 29, 2024
abstract · pdf · html