arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.25944

Unveiling Spectral Mechanisms in Training-Free LLM Text Detection

Haitong Luo, Xuying Meng, Weiyao Zhang, Wenji Zou, Shengfeng Lou, Xuefeng Jiang, Chungang Lin, Yujun Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The rapid advancement of Large Language Models (LLMs) makes it increasingly difficult to distinguish human writing from machine-generated text. Training-free detection offers a scalable solution, yet common confidence-based metrics mainly measure average token probabilities and often miss the signal fluctuations that characterize human writing, which we call “generative vitality”. Spectral analysis offers a way to capture this vitality, but its mechanism and practical boundaries remain underexplored. In this paper, we analyze spectral detection from both theoretical and empirical perspectives. We connect spectral energy to variance in proxy log-probability trajectories and explain how broader human token choices create the fluctuations used by frequency-domain indicators. We further show that the strength of this signal depends on text length and sampling range: spectral evidence is clearest for long, continuous, constrained generation, while short, fragmented, mixed, and edited settings require complementary confidence and fluctuation views. These findings clarify when frequency-domain detection works and provide guidance for future multi-dimensional detector design.

1 Introduction

The rapid advancement of Large Language Models (LLMs) has transformed digital content creation (Crothers et al., 2023), while also blurring the distinction between texts written by humans and those generated by machines. This ambiguity creates risks such as misinformation (Opdahl et al., 2023; Fang et al., 2024) and academic plagiarism (Else, 2023; Currie, 2023). Among existing solutions, training-free detection (Solaiman et al., 2019; Su et al., 2023; Gehrmann et al., 2019; Ippolito et al., 2019; Xu et al., 2024; Luo et al., 2025)

Figure

Figure 1: Illustration of Generative Vitality. The plot shows token log-likelihood trajectories computed by a proxy LLM. Human writing (red) contains vitality spikes caused by unpredictable low-probability tokens, marked in red in the text below. AI outputs (blue) are typically smoother because decoding favors high-probability tokens. Yellow-highlighted regions mark segments with large generation-probability divergence.

is particularly attractive because it identifies LLM-generated text from statistical patterns such as probability curvature (Bao et al., 2023; Mitchell et al., 2023) or entropy (Ippolito et al., 2019), without requiring large supervised training sets.

Most training-free methods rely on confidence-based indicators such as LogLikelihood and Rank (Solaiman et al., 2019), which assume that LLMs select tokens with higher probabilities than humans. Recent studies (Xu et al., 2024; Luo et al., 2025) suggest that these metrics overlook signal fluctuation, termed generative vitality. We define this vitality as the intermittent emergence of unpredictable tokens from a low-probability region. As visualized in Figure 1, human authors often introduce expressive low-probability tokens that create sharp negative spikes in the likelihood trajectory, while LLM decoding more often follows a smoother high-probability path.

To capture these fluctuations, initial efforts such as Lastde (Xu et al., 2024) use multi-scale entropy, but this can introduce sensitivity to hyperparameters. SpecDetect (Luo et al., 2025) takes a frequency-domain approach, based on the obser-

∗^{*}Corresponding authors.

†^{\dagger}Corresponding authors.

vation that human writing tends to exhibit higher spectral energy than LLM-generated text. Although SpecDetect performs well, the mechanism behind this spectral gap and its behavior in complex real-world scenarios, such as short snippets, mixed-source content (Lee et al., 2022; Wang et al., 2024), and collaborative editing (Zhang et al., 2024), remain insufficiently understood. Consequently, the practical utility of frequency-domain detection is constrained by three critical “unknowns” that we address in this paper.

The Theoretical Unknown: Why are frequency-domain methods effective? Empirical results show a spectral energy gap, but the generation source of this gap remains unclear. The Capability Unknown: What are the boundaries of their effectiveness? Existing evaluations are primarily document-level, leaving short text, mixed-source text, and human-AI editing underexplored. The Solution Unknown: How should we address spectral failure mode? If spectral methods cannot excel in all scenarios, what is the solution? Specifically, can we integrate them with traditional methods to build a robust system?

In this work, we present a comprehensive analysis to bridge these gaps. First, we develop a theoretical model centered on the generative vitality of human writing and show how fluctuation disparities manifest as a frequency-domain signature. Building on this foundation, we evaluate spectral evidence across standard document-level benchmarks and more challenging real-world scenarios, including mixed-source and collaborative writing.

Our analysis leads to several key insights. First, spectral and confidence-based metrics are mathematically and empirically distinct, reflecting fluctuation and mean-level properties of the proxy probability signal. Second, spectral evidence is strongest when generation is long, continuous, and produced under a constrained sampling scope, while short fragments and point-wise editing weaken the signal. Finally, integrating confidence metrics is a potential direction for scenarios where frequency-domain methods fail, while naive combination can dilute useful signals. Developing more effective, adaptive fusion strategies remains a critical challenge for future research.

By mapping out where frequency-domain detection works and which signals become informative in different regimes, this paper provides a roadmap for future multi-dimensional AI detectors. Our code is available in this repository.

References (14)