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

Fast-DetectGPT:通过条件概率曲率实现机器生成文本的高效零样本检测

Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature

Zhejiang University(浙江大学);Westlake University(西湖大学);Shanghai Polytechnic University(上海第二工业大学);Nanyang Technological University(南洋理工大学);Westlake Institute for Advanced Study(西湖高等研究院)

Guangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang, Yue Zhang

AI总结:

本文提出 Fast-DetectGPT,利用条件概率曲率替代扰动步骤,实现零样本机器文本检测,性能提升约75%,速度加快340倍。

摘要:

大型语言模型(LLMs)已展现出生成流畅且令人信服内容的能力,这既带来了生产力机遇,也带来了社会风险。为了构建可信赖的人工智能系统,区分机器生成内容与人类创作内容至关重要。领先的零样本检测器 DetectGPT 展示了出色的性能,但其高昂的计算成本是一大缺陷。在本文中,我们引入条件概率曲率的概念,以阐明在给定上下文中 LLM 与人类在词汇选择上的差异。利用这一曲率作为基础度量,我们提出了 Fast-DetectGPT,一种优化的零样本检测器,它用更高效的采样步骤替代了 DetectGPT 的扰动步骤。我们在多个数据集、源模型和测试条件下的评估表明,Fast-DetectGPT 不仅在白盒和黑盒设置中相对 DetectGPT 提升了约 75%,而且将检测过程加速了 340 倍,详见 Table 1。代码、数据和结果见 \url{https://github.com/baoguangsheng/fast-detect-gpt}。

英文摘要:

Large language models (LLMs) have shown the ability to produce fluent and cogent content, presenting both productivity opportunities and societal risks. To build trustworthy AI systems, it is imperative to distinguish between machine-generated and human-authored content. The leading zero-shot detector, DetectGPT, showcases commendable performance but is marred by its intensive computational costs. In this paper, we introduce the concept of conditional probability curvature to elucidate discrepancies in word choices between LLMs and humans within a given context. Utilizing this curvature as a foundational metric, we present **Fast-DetectGPT**, an optimized zero-shot detector, which substitutes DetectGPT's perturbation step with a more efficient sampling step. Our evaluations on various datasets, source models, and test conditions indicate that Fast-DetectGPT not only surpasses DetectGPT by a relative around 75% in both the white-box and black-box settings but also accelerates the detection process by a factor of 340, as detailed in Table 1. See \url{https://github.com/baoguangsheng/fast-detect-gpt} for code, data, and results.

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

↑