SpecDetect: Simple, Fast, and Training-Free Detection of LLM-Generated Text via Spectral Analysis
Haitong Luo, Weiyao Zhang, Suhang Wang, Wenji Zou, Chungang Lin, Xuying Meng, Yujun Zhang
摘要
The proliferation of high-quality text from Large Language Models (LLMs) demands reliable and efficient detection methods. While existing training-free approaches show promise, they often rely on surface-level statistics and overlook fundamental signal properties of the text generation process. In this work, we reframe detection as a signal processing problem, introducing a novel paradigm that analyzes the sequence of token log-probabilities in the frequency domain. By systematically analyzing the signal's spectral properties using the global Discrete Fourier Transform (DFT) and the local Short-Time Fourier Transform (STFT), we find that human-written text consistently exhibits significantly higher spectral energy. This higher energy reflects the larger-amplitude fluctuations inherent in human writing compared to the suppressed dynamics of LLM-generated text. Based on this key insight, we construct SpecDetect, a detector built on a single, robust feature from the global DFT: DFT total energy. We also propose an enhanced version, SpecDetect++, which incorporates a sampling discrepancy mechanism to further boost robustness. Extensive experiments show that our approach outperforms the state-of-the-art model while running in nearly half the time. Our work introduces a new, efficient, and interpretable pathway for LLM-generated text detection, showing that classical signal processing techniques offer a surprisingly powerful solution to this modern challenge.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 The Curious Case of Neural Text Degeneration
- DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text 引用了 The Curious Case of Neural Text Degeneration
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature 引用了 DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
它引用的 Paper12
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning 等ICML 2023 · 988 次引用
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defenseKalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting 等NeurIPS 2023 · 657 次引用
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability CurvatureGuangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang 等ICLR 2024 · 311 次引用
- DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated TextXianjun Yang, Wei Cheng, Yue Wu, Linda Ruth Petzold 等ICLR 2024 · 173 次引用
相关 Paper
- WaveDetect: Robust Framework for Machine-Generated Text Detection via Wavelet TransformZhichen Liu, Kaitong Qin, Linhan He, Yang XuACL Findings 2026
- Training-free LLM-generated Text Detection by Mining Token Probability SequencesYihuai Xu, Yongwei Wang, Yifei Bi, Huangsen Cao 等ICLR 2025
- Detecting Subtle Differences between Human and Model Languages Using Spectrum of Relative LikelihoodYang Xu, Yu Wang, Hao An, Zhichen Liu 等EMNLP 2024 · 20 次引用
- MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral AlignmentShengchao Liu, Xiaoming Liu, Chengzhengxu Li, Zhaohan Zhang 等AAAI 2026 · 1 次引用
- Zero-Shot Detection of LLM-Generated Text using Temperature SensitivityShixuan Ma, Jiahao Li, Zhendong Mao, Quan WangACL 2026
