paper-with-me

홈 › Papers

DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature

2023-01-26 · Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, Chelsea Finn

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.

📄 PDF Abstract BibTeX arXiv:2301.11305

Code (4)

eric-mitchell/detect-gpt 공식 구현 pytorch
BurhanUlTayyab/DetectGPT pytorch
clcs-sustech/fouriergpt pytorch
loris3/evaluation_explanation_quality pytorch

Tasks

ArticlesLanguage ModellingText Detection

Methods 이 논문이 사용한 방법론

GPT-NeoX GPT-NeoX is an autoregressive transformer decoder model whose architecture largely follows that of GPT-3, with a few notable deviations. The model has 20 billion parameters…

Similar Papers 제목 키워드 기반

Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature

2023-10-08 · Guangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang 외

Large language models (LLMs) have shown the ability to produce fluent and cogent content, presenting both productivity opportunities and societal risks. To build trustworthy AI systems, it is imperative to distinguish be…

Applying Ensemble Methods to Model-Agnostic Machine-Generated Text Detection

2024-06-18 · Ivan Ong, Boon King Quek

In this paper, we study the problem of detecting machine-generated text when the large language model (LLM) it is possibly derived from is unknown. We do so by apply ensembling methods to the outputs from DetectGPT class…

Language ModelingLanguage ModellingLarge Language ModelText Detection

DetectGPT-SC: Improving Detection of Text Generated by Large Language Models through Self-Consistency with Masked Predictions

2023-10-23 · Rongsheng Wang, Qi Li, Sihong Xie

General large language models (LLMs) such as ChatGPT have shown remarkable success, but it has also raised concerns among people about the misuse of AI-generated texts. Therefore, an important question is how to detect w…

Logical ReasoningText Generation

Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better

2024-02-01 · Shengchao Liu, Xiaoming Liu, Yichen Wang, Zehua Cheng 외

The burgeoning generative capabilities of large language models (LLMs) have raised growing concerns about abuse, demanding automatic machine-generated text detectors. DetectGPT, a zero-shot metric-based detector, first i…

Contrastive Learning

Efficient Detection of LLM-generated Texts with a Bayesian Surrogate Model

2023-05-26 · Yibo Miao, Hongcheng Gao, Hao Zhang, Zhijie Deng

The detection of machine-generated text, especially from large language models (LLMs), is crucial in preventing serious social problems resulting from their misuse. Some methods train dedicated detectors on specific data…