[论文解读] Ghostbuster: Detecting Text Ghostwritten by Large Language Models
Ghostbuster 在不需要目标模型概率的情况下,利用对较弱语言模型的结构化特征搜索和逻辑回归分类器,在跨域内达到 99.0 F1。
We introduce Ghostbuster, a state-of-the-art system for detecting AI-generated text. Our method works by passing documents through a series of weaker language models, running a structured search over possible combinations of their features, and then training a classifier on the selected features to predict whether documents are AI-generated. Crucially, Ghostbuster does not require access to token probabilities from the target model, making it useful for detecting text generated by black-box models or unknown model versions. In conjunction with our model, we release three new datasets of human- and AI-generated text as detection benchmarks in the domains of student essays, creative writing, and news articles. We compare Ghostbuster to a variety of existing detectors, including DetectGPT and GPTZero, as well as a new RoBERTa baseline. Ghostbuster achieves 99.0 F1 when evaluated across domains, which is 5.9 F1 higher than the best preexisting model. It also outperforms all previous approaches in generalization across writing domains (+7.5 F1), prompting strategies (+2.1 F1), and language models (+4.4 F1). We also analyze the robustness of our system to a variety of perturbations and paraphrasing attacks and evaluate its performance on documents written by non-native English speakers.
研究动机与目标
- 推动需要具备跨域、提示和模型的强泛化能力的稳健 AI 生成文本检测器的需求。
- 开发一种检测方法,不需要访问目标模型的标记概率(黑盒设置)。
- 在不同领域(学生作文、新闻、创意写作)创建并发布基准,用于评估检测器。
- 研究泛化能力、对提示策略的鲁棒性以及模型范式的变换。
- 提供可解释的以特征为中心的检测方法,以减少脆弱性。
提出的方法
- 将每份文档通过一系列较弱的语言模型,以获得每个标记的概率。
- 在结合模型概率的向量和标量特征函数空间内定义结构化搜索。
- 在所选特征以及七个手工特征的基础上训练逻辑回归分类器。
- 使用来自较弱模型的概率向量( unigram、Kneser–Ney 三元组、ada 与 davinci)的输入来构建特征。
- 避免依赖高容量序列模型,以提高对分布偏移的鲁棒性。

实验结果
研究问题
- RQ1在不访问目标模型的标记概率的情况下,AI 生成文本能被检测到吗(黑盒检测)?
- RQ2检测器在跨域、跨提示和未见模型上的泛化能力如何?
- RQ3结构化特征与较弱模型概率方法对改写和同义改写是否鲁棒?
- RQ4文档长度对检测性能的影响是多少?
- RQ5该方法在非本地英语文本上的表现如何?
主要发现
- Ghostbuster 在跨三个领域的域内检测中达到 99.0 的 F1。
- 域外平均 F1 为 97.0,比 DetectGPT 高出 39.6,平均比 GPTZero 高出 7.5。
- 对提示的泛化产生 99.5 的 F1,优于 RoBERTa 和 GPTZero。
- 在多模型(包括 Claude)上,Ghostbuster 在 Claude 上达到 92.2 的 F1,相较于基于 ChatGPT 的数据有一定下降。
- 消融研究显示,结构化搜索和包含神经语言模型概率(ada、davinci)对性能至关重要;单独手工特征影响有限。
- 随着文档变长,性能提升;对非常短的文本(≤100 标记)不太可靠。
- 代码及三个新数据集已发布,用于基准测试。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。