Lune

ACL2024顶会

Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks

Yichen Wang, Shangbin Feng, Abe Bohan Hou, Xiao Pu, Chao Shen, Xiaoming Liu, Yulia Tsvetkov, Tianxing He

摘要

The widespread use of large language models (LLMs) is increasing the demand for methods that detect machine-generated text to prevent misuse. The goal of our study is to stress test the detectors' robustness to malicious attacks under realistic scenarios. We comprehensively study the robustness of popular machine-generated text detectors under attacks from diverse categories: editing, paraphrasing, prompting, and co-generating. Our attacks assume limited access to the generator LLMs, and we compare the performance of detectors on different attacks under different budget levels. Our experiments reveal that almost none of the existing detectors remain robust under all the attacks, and all detectors exhibit different loopholes. Averaging all detectors, the performance drops by 35% across all attacks. 1 average drop budget … … … … Figure 1: Pipeline of the study. The attacks are carried out on the machine-generated texts before, during, or after generation. Each attack is applied with different perturbation levels, denoted as budgets ( §4). topic mostly focus on the robustness of specific 039 detectors or particular attack methods. For exam-040 ple, Liu et al. (2022) specifically evaluate the to-041 ken editing attack for model-based detectors, and 042 Zhang et al. (2023) assay the topic-shifting attack 043 for metric-based detectors, etc. To the best of our 044 knowledge, in the literature, there is no thorough 045 comparative evaluation of robustness of machine-046 generated text detectors against malicious attacks, 047 covering a wide range of detectors and attacks. 048 With this goal, we study the robustness of 8 049 prevalent MGT detectors from 3 categories under 050 12 realistic attacks ( §6, Table 1), including edit-051 ing, paraphrasing, prompting, co-generating, etc. 052 The majority of the attacks in this paper are pro-053 posed or attempted for the first time. For a fair 054 comparison across detectors and attacks, we utilize 055 a series of metrics to measure the perturbation level 056 of each attack, which we term "budget" ( §4). Strik-057 ingly, our experiments ( §6.1) reveal that almost 058 none of the existing detectors remains robust un-059 der all the attacks, showing a variety of potential 060 weaknesses or loopholes. For example, about 2 to 061 6-character editing by typo insertion can severely 062 deceive metric-based detectors, such as DetectGPT 063 (Mitchell et al., 2023), to perform worse than a 064 random prediction ( §6.2), etc. Hence, we view the 065 attacks as the stumbling blocks for current MGT de-066 tectors toward robustness. Moreover, we interpret 067 the reasons behind the detectors' weaknesses under 068 1 Attack Category Method Model-Free? Level Access Detailed Descriptions Editing ( §6.2) post-generation Typo Insertion ✓ Character None Create typos by inserting, deleting, substituting, and transposing mainly. Homoglyph Alteration ✓ Character None Change English characters into visually similar Unicodes, e.g., Cyrillic characters. Format Character Editing ✓ Character None Change or insert formatting characters, including zero-width whitespace 200B insertion, and shift character editing, e.g., , , 000B (vertical tab), etc. Paraphrasing Table 1 : Overview of the attacks. 'Model-Free' means whether the attacker is free from using any additional language model or not. 'Access' indicates the access to the generator needed when doing the attack (details in §6 and examples in Table 15 ). attacks, and we further introduce out-of-the-box 069 patches with inferior performance in some scenar-070 ios (further defense discussed in Appendix E.1). 071 We build a robustness leaderboard (Table 2, and 072 the pipeline is illustrated in Figure 1) by averag-073 ing results from different attacks. We find that 074 watermarking (Kirchenbauer et al., 2023a) per-075 forms best for robust MGT detection to its ap-076 plicable attacks. 2 Next, model-based detectors 077 are more robust than metric-based ones in most 078 cases. Overall, this study aims to raise awareness 079 of the detection vulnerabilities and the urgency of 080 more robust methodologies, thereby turning the 081 stumbling blocks into stepping stones. 082 2 Problem Formulation 083 Threat Model. Figure 1 shows the overall pipeline. 084 There are three roles in the problem: generator 085 ( §3), detector ( §3), and attacker (Table 1, §6). The 086 task for the detector is to classify whether a given 087 piece of text is human-written (HWT) or machine-088 generated (MGT) from the generator LM. In the 089 attacked scenario, before the MGT is sent to the 090 detector, an attacker could tamper with the text or Davinci-003 (OpenAI, 2022b) and GPT-4 (OpenAI, 117 2023) as the closed-source generator representa-118 tives. All the generators shared similar results 119 under attacks (Appendix G.3). We select GPT-J 120 (6B) as the default generator to show the results 121 in §6 if unspecified (we empirically find stronger 122 generative LMs are

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI Coauthoring 引用了 Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better
  • HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI Coauthoring 引用了 ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training 引用了 Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training 引用了 HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI Coauthoring
  • Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial Training 引用了 MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment
  • MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers 引用了 Neural Text Generation With Unlikelihood Training
  • OSTAR: Optimized Statistical Text-classifier with Adversarial Resistance 引用了 Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better
  • MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment 引用了 Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Better
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. HACo-Det: A Study Towards Fine-Grained Machine-Generated Text Detection under Human-AI CoauthoringZhixiong Su, Yichen Wang, Herun Wan, Zhaohan Zhang 等ACL 2025 · 10 次引用
  2. Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be BetterShengchao Liu, Xiaoming Liu, Yichen Wang, Zehua Cheng 等ACL 2024 · 5 次引用
  3. MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral AlignmentShengchao Liu, Xiaoming Liu, Chengzhengxu Li, Zhaohan Zhang 等AAAI 2026 · 1 次引用
  4. Learning From Dictionary: Enhancing Robustness of Machine-Generated Text Detection in Zero-Shot Language via Adversarial TrainingYuanfan Li, Qi Zhou, Zexuan XieICLR 2026
  5. OSTAR: Optimized Statistical Text-classifier with Adversarial ResistanceYuhan Yao, Feifei Kou, Lei Shi, Xiao Yang 等NeurIPS 2025

它引用的 Paper14

  1. Neural Text Generation With Unlikelihood TrainingSean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan 等ICLR 2020 · 683 次引用
  2. MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun 等NeurIPS 2021 · 606 次引用
  3. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 次引用
  4. ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-trainingWeizhen Qi, Yu Yan, Yeyun Gong, Dayiheng Liu 等EMNLP Findings 2020 · 385 次引用
  5. Can Large Language Models Be an Alternative to Human Evaluations?David Cheng-Han Chiang, Hung-yi LeeACL 2023 · 254 次引用

相关 Paper

  1. Stress-testing Machine Generated Text Detection: Shifting Language Models Writing Style to Fool DetectorsAndrea Pedrotti, Michele Papucci, Cristiano Ciaccio, Alessio Miaschi 等ACL Findings 2025 · 2 次引用
  2. Authorship Obfuscation in Multilingual Machine-Generated Text DetectionDominik Macko, Róbert Móro, Adaku Uchendu, Ivan Srba 等EMNLP Findings 2024 · 6 次引用
  3. MGTBench: Benchmarking Machine-Generated Text DetectionXinlei He, Xinyue Shen, Zeyuan Chen, Michael Backes 等CCS 2024 · 30 次引用
  4. Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated TextYize Cheng, Vinu Sankar Sadasivan, Mehrdad Saberi, Shoumik Saha 等NeurIPS 2025 · 28 次引用
  5. DetectRL-X: Towards Reliable Multilingual and Real-World LLM-Generated Text DetectionJunchao Wu, Yefeng Liu, Chenyu Zhu, Hao Zhang 等ACL 2026
黄昏的海面,两侧是细线勾勒的悬崖