arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23746cs.CLcs.AI
收藏

DetectRL:在真实世界场景中基准测试大语言模型生成文本检测

DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios

University of Macau(澳门大学);NLP 2 CT Lab(NLP 2 CT实验室)

Junchao Wu, Runzhe Zhan, Derek F. Wong, Shu Yang, Xinyi Yang, Yulin Yuan, Lidia S. Chao

AI总结:

DetectRL 构建了一个面向真实世界场景的 LLM 生成文本检测基准,通过模拟提示用法、人类修订和写作噪声等对抗性数据,揭示现有 SOTA 检测器的局限,并分析多种因素对检测性能的影响。

摘要:

检测由大语言模型(LLMs)生成的文本近来引起了极大关注。借助 DetectGPT 等零样本方法,检测能力已达到令人瞩目的水平。然而,现有检测器在真实世界应用中的可靠性仍未得到充分探索。在本研究中,我们提出了一个新基准 DetectRL,并强调即使是当前最先进的(SOTA)检测技术在这项任务中仍然表现不佳。我们从 LLMs 特别容易被滥用的领域收集了人类撰写的数据集。利用流行的 LLMs,我们生成了更贴合真实世界应用的数据。与以往研究不同,我们采用启发式规则来创建对抗性 LLM 生成文本,模拟各种提示用法、诸如词语替换等人类修订以及诸如拼写错误等写作噪声。我们开发的 DetectRL 揭示了当前 SOTA 检测器的优势与局限。更重要的是,我们分析了写作风格、模型类型、攻击方法、文本长度以及真实世界人类写作因素对不同类型检测器的潜在影响。我们相信 DetectRL 可以作为一个有效的基准,用于在真实世界场景中评估检测器,并随着先进攻击方法的演进而不断更新,从而提供更具压力的评估,以推动更高效检测器的发展。数据和代码已公开,地址为:https://github.com/NLP2CT/DetectRL。

英文摘要:

Detecting text generated by large language models (LLMs) is of great recent interest. With zero-shot methods like DetectGPT, detection capabilities have reached impressive levels. However, the reliability of existing detectors in real-world applications remains underexplored. In this study, we present a new benchmark, DetectRL, highlighting that even state-of-the-art (SOTA) detection techniques still underperformed in this task. We collected human-written datasets from domains where LLMs are particularly prone to misuse. Using popular LLMs, we generated data that better aligns with real-world applications. Unlike previous studies, we employed heuristic rules to create adversarial LLM-generated text, simulating various prompts usages, human revisions like word substitutions, and writing noises like spelling mistakes. Our development of DetectRL reveals the strengths and limitations of current SOTA detectors. More importantly, we analyzed the potential impact of writing styles, model types, attack methods, the text lengths, and real-world human writing factors on different types of detectors. We believe DetectRL could serve as an effective benchmark for assessing detectors in real-world scenarios, evolving with advanced attack methods, thus providing more stressful evaluation to drive the development of more efficient detectors. Data and code are publicly available at: https://github.com/NLP2CT/DetectRL.

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

↑