vix.ing · top · new · best · stats

Cognitive Constraint Simulation and the Geometry of Human Authorship: A First-Principles Theory of AI Text Detection

2023/01/26 by Eric Mitchell, Yoonho Lee, Mitchell, Eric +7 · 4 voices · 179 citations
Computer Science · Mathematics · #Algorithm #Artificial intelligence #Classifier (UML) #Computer science #Curvature #Discriminative model #Function (biology) #Geometry #Hate Speech and Cyberbullying Detection #Linguistics #Machine learning #Mathematics #Natural Language Processing Techniques #Natural language processing #Pattern recognition (psychology) #Shot (pellet) #Topic Modeling #Zero (linguistics)

paper · pdf · doi:10.48550/arxiv.2301.11305

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2023/01/26 · openalex created_date 2023/01/28 · openalex updated_date 2026/07/28

Abstract

The increasing fluency and widespread usage of large language models (LLMs) highlight the desirability of corresponding tools aiding detection of LLM-generated text. In this paper, we identify a property of the structure of an LLM's probability function that is useful for such detection. Specifically, we demonstrate that text sampled from an LLM tends to occupy negative curvature regions of the model's log probability function. Leveraging this observation, we then define a new curvature-based criterion for judging if a passage is generated from a given LLM. This approach, which we call DetectGPT, does not require training a separate classifier, collecting a dataset of real or generated passages, or explicitly watermarking generated text. It uses only log probabilities computed by the model of interest and random perturbations of the passage from another generic pre-trained language model (e.g., T5). We find DetectGPT is more discriminative than existing zero-shot methods for model sample detection, notably improving detection of fake news articles generated by 20B parameter GPT-NeoX from 0.81 AUROC for the strongest zero-shot baseline to 0.95 AUROC for DetectGPT. See https://ericmitchell.ai/detectgpt for code, data, and other project information.

Cited by

Discussions

Related