Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
Guangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang, Yue Zhang
Abstract
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 between machine-generated and human-authored content. The leading zero-shot detector, DetectGPT, showcases commendable performance but is marred by its intensive computational costs. In this paper, we introduce the concept of conditional probability curvature to elucidate discrepancies in word choices between LLMs and humans within a given context. Utilizing this curvature as a foundational metric, we present Fast-DetectGPT, an optimized zero-shot detector, which substitutes DetectGPT's perturbation step with a more efficient sampling step. Our evaluations on various datasets, source models, and test conditions indicate that Fast-DetectGPT not only surpasses DetectGPT by a relative around 75% in both the white-box and black-box settings but also accelerates the detection process by a factor of 340, as detailed in Table 1. See https://github.com/baoguangsheng/fast-detect-gpt for code, data, and results.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
103 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LLM Dataset Inference: Did you train on my dataset? cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- DeepScientist: Advancing Frontier-Pushing Scientific Findings Progressively cites Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text
- BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens cites Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text
- BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens cites A Watermark for Large Language Models
- MAGE: Machine-generated Text Detection in the Wild cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- MAGE: Machine-generated Text Detection in the Wild cites Language Models are Few-Shot Learners
- MAGE: Machine-generated Text Detection in the Wild cites A Watermark for Large Language Models
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature cites Language Models are Few-Shot Learners
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature cites A Watermark for Large Language Models
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites Language Models are Few-Shot Learners
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites A Watermark for Large Language Models
- Finetuned Language Models are Zero-Shot Learners cites Language Models are Few-Shot Learners
- Finetuned Language Models are Zero-Shot Learners cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Finetuned Language Models are Zero-Shot Learners
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- A Watermark for Large Language Models cites Training language models to follow instructions with human feedback
Cited by top-tier papers103
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated TextAbhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi et al.ICML 2024 · 262 citations
- LLM Dataset Inference: Did you train on my dataset?Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam DziedzicNeurIPS 2024 · 162 citations
- DeepScientist: Advancing Frontier-Pushing Scientific Findings ProgressivelyYixuan Weng, Minjun Zhu, Qiujie Xie, Qiyao Sun et al.ICLR 2026 · 57 citations
- BiScope: AI-generated Text Detection by Checking Memorization of Preceding TokensHanxi Guo, Siyuan Cheng, Xiaolong Jin, Zhuo Zhang et al.NeurIPS 2024 · 52 citations
- MAGE: Machine-generated Text Detection in the WildYafu Li, Qintong Li, Leyang Cui, Wei Bi et al.ACL 2024 · 44 citations
Builds on12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning et al.ICML 2023 · 988 citations
- A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz et al.ICML 2023 · 854 citations
Related papers
- Efficient Detection of LLM-generated Texts with a Bayesian Surrogate ModelYibo Miao, Hongcheng Gao, Hao Zhang, Zhijie DengACL Findings 2024 · 7 citations
- DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated TextJinyan Su, Terry Yue Zhuo, Di Wang, Preslav NakovEMNLP Findings 2023 · 80 citations
- Detecting Machine-Generated Long-Form Content with Latent-Space VariablesYufei Tian, Zeyu Pan, Nanyun PengEMNLP Findings 2024 · 3 citations
- LLMDet: A Third Party Large Language Models Generated Text Detection ToolKangxi Wu, Liang Pang, Huawei Shen, Xueqi Cheng et al.EMNLP Findings 2023 · 31 citations
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair ParadigmXiaowei Zhu, Yubing Ren, Fang Fang, Qingfeng Tan et al.NeurIPS 2025 · 10 citations
