arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.23336cs.CL
收藏

WaveDetect: 基于小波变换的机器生成文本检测鲁棒框架

WaveDetect: Robust Framework for Machine-Generated Text Detection via Wavelet Transform

Dept. of Computer Science and Engineering, Southern University of Science and Technology(南方科技大学计算机科学与工程系)

Zhichen Liu, Kaitong Qin, Linhan He, Yang Xu

AI总结:

提出WaveDetect框架,将文本检测转化为时频域信号处理任务,利用连续小波变换提取机器文本的谱指纹,在三个数据集上达到新最优,对对抗扰动、跨域偏移和模型演化具有鲁棒性。

摘要:

随着大型语言模型在自然语言生成方面逐渐接近人类水平的流畅度,仅依赖表面语义伪影来检测LLM生成的文本已变得日益不可靠。现有检测器在面对三个关键挑战时常常失效:对抗性扰动、跨域偏移以及基础模型的快速时间演化。为解决这些问题,我们提出\wavedetect,一个新颖的框架,将文本检测重新表述为时频域内的信号处理任务。与以往分析静态令牌概率分布的方法不同,\wavedetect将生成的输出建模为概率信号,并对其应用可微分的连续小波变换,将其转换为可学习的频谱表示。这一过程揭示了机器生成文本中内在的“谱指纹”——这些模式在时域中不可见。在三个精心策划的数据集(RAID、EvoBench和Domain-Shift)上的全面评估表明,我们的方法达到了新的最优水平。它不仅实现了卓越的准确性,而且对复杂攻击表现出显著的鲁棒性,能够泛化到分布外主题和未见过的演化LLM。我们的结果验证了频谱分析作为LLM生成文本检测的一种有前景范式的有效性。

英文摘要:

As Large Language Models asymptotically approach human-level fluency in natural language generation, solely relying on surface-level semantic artifacts for detecting LLM-generated texts has become increasingly precarious. Existing detectors often falter when facing three critical challenges: adversarial perturbations, cross-domain shifts, and the rapid temporal evolution of the foundation model. To address these issues, we propose \wavedetect, a novel framework that reformulates text detection as a signal processing task within the time-frequency domain. Unlike previous methods that analyze static token probability distributions, \wavedetect models the generated output as a probability signal, upon which a differentiable Continuous Wavelet Transform is applied to convert them into learnable spectral representations. This process reveals the intrinsic ``spectral fingerprints'' in machine-generated texts--patterns that remain invisible in time domain. Comprehensive evaluations on three well-curated datasets (RAID, EvoBench, and Domain-Shift) show that our method achieves a new state-of-the-art. It not only achieves superior accuracy but also exhibits remarkable robustness against sophisticated attacks, generalization across out-of-distribution topics and unseen evolving LLMs. Our results validate the efficacy of spectral analysis as a promising paradigm for LLM-generated texts detection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑