Saved in:
Bibliographic Details
Main Authors: Luo, Haitong, Zhang, Weiyao, Wang, Suhang, Zou, Wenji, Lin, Chungang, Meng, Xuying, Zhang, Yujun
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.11343
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914246593347584
author Luo, Haitong
Zhang, Weiyao
Wang, Suhang
Zou, Wenji
Lin, Chungang
Meng, Xuying
Zhang, Yujun
author_facet Luo, Haitong
Zhang, Weiyao
Wang, Suhang
Zou, Wenji
Lin, Chungang
Meng, Xuying
Zhang, Yujun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_11343
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SpecDetect: Simple, Fast, and Training-Free Detection of LLM-Generated Text via Spectral Analysis
Luo, Haitong
Zhang, Weiyao
Wang, Suhang
Zou, Wenji
Lin, Chungang
Meng, Xuying
Zhang, Yujun
Computation and Language
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.
title SpecDetect: Simple, Fast, and Training-Free Detection of LLM-Generated Text via Spectral Analysis
topic Computation and Language
url https://arxiv.org/abs/2508.11343