构建真实场景下检测大模型文本的基准,揭示现有方法的不足
DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios
- 用启发式规则生成模拟真实使用的对抗性文本
- 发现顶尖检测器在真实场景中仍表现不佳
- 适合评估检测器在复杂写作环境下的鲁棒性
大语言模型生成文本的检测近年备受关注。尽管零样本方法如DetectGPT已达到较高水平,但现有检测器在真实应用场景中的可靠性仍缺乏深入研究。本文提出新基准DetectRL,通过收集大模型易被滥用领域的真人写作文本,并利用主流LLM生成更贴近实际应用的文本数据。不同于以往研究,我们采用启发式规则生成对抗性文本,模拟多种提示使用方式、人工修改(如替换词汇)及书写噪声(如拼写错误)。DetectRL揭示了当前SOTA检测器的优劣,分析了写作风格、模型类型、攻击方法、文本长度及真实人类写作因素对各类检测器的影响。我们认为DetectRL可作为真实场景下检测器评估的有效基准,随攻击手段演进而更新,为提升检测效率提供更严苛的测试环境。数据与代码公开于:https://github.com/NLP2CT/DetectRL。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。