arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.18535cs.CLeess.SP
收藏

痕迹在句子中:无偏轻量级 ChatGPT 生成文本检测器

Trace Is In Sentences: Unbiased Lightweight ChatGPT-Generated Text Detector

Mo Mu, Dianqiao Lei, Chang Li

AI总结:

本文针对 ChatGPT 生成文本检测易受改写干扰和词级偏差影响的问题,提出一种基于句子内部结构建模的轻量级检测框架,并通过对比学习和因果反事实方法消除偏差,在两类数据集上验证了有效性。

摘要:

ChatGPT 的广泛采用引发了对其滥用的担忧,凸显了对 AI 生成文本进行稳健检测的需求。当前的词级检测器容易受到改写或简单提示(PSP)的影响,遭受由 ChatGPT 的词级模式(CWP)和训练数据内容所诱导的偏差,在修改后的文本上性能下降,并且通常需要大型模型或在线 LLM 交互。为了解决这些问题,我们引入了一项新任务,用于检测原始的和经 PSP 修改的 AI 生成文本,并提出一个轻量级框架,该框架基于文本的内部结构进行分类,而内部结构在词级变化下保持不变。我们的方法从预训练语言模型中编码句子嵌入,并通过注意力机制对其关系进行建模。我们采用对比学习来减轻自回归生成带来的嵌入偏差,并结合带有反事实方法的因果图,将结构特征与主题相关偏差隔离开来。在两个精心构建的数据集上的实验,包括摘要对比和修订版生活常见问题解答,验证了我们方法的有效性。

英文摘要:

The widespread adoption of ChatGPT has raised concerns about its misuse, highlighting the need for robust detection of AI-generated text. Current word-level detectors are vulnerable to paraphrasing or simple prompts (PSP), suffer from biases induced by ChatGPT's word-level patterns (CWP) and training data content, degrade on modified text, and often require large models or online LLM interaction. To tackle these issues, we introduce a novel task to detect both original and PSP-modified AI-generated texts, and propose a lightweight framework that classifies texts based on their internal structure, which remains invariant under word-level changes. Our approach encodes sentence embeddings from pre-trained language models and models their relationships via attention. We employ contrastive learning to mitigate embedding biases from autoregressive generation and incorporate a causal graph with counterfactual methods to isolate structural features from topic-related biases. Experiments on two curated datasets, including abstract comparisons and revised life FAQs, validate the effectiveness of our method.

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

↑