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

Yichen Wang, Shangbin Feng, Abe Bohan Hou, Xiao Pu, Chao Shen +3 more
2/18/2024
cs.CL

No official code found. Best implementation: YichenZW/Robust-Det (13 stars, last commit 2024-07-16).

Abstract

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. Further, we investigate the reasons behind these defects and propose initial out-of-the-box patches to improve robustness.

View on arXivView PDF

Code Implementations(1)

YichenZW/Robust-DetCommunity100%

The code implementation of the paper Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks (ACL 2024 main) by Yichen Wang, Shangbin Feng, Abe Bohan Hou, Xiao Pu, Chao Shen, Xiaoming Liu, and Yulia Tsvetkov, and Tianxing He, mainly at Paul G. Allen School of CSE, University of Washington.

131PythonMar 26, 20242 years ago
attack-defensemachine-generated-text-detectionrobustnessstress-testing

Similar Papers

Cite this paper

@article{wang2024stumbling,
  title  = {Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks},
  author = {Yichen Wang and Shangbin Feng and Abe Bohan Hou and Xiao Pu and Chao Shen and Xiaoming Liu and Yulia Tsvetkov and Tianxing He},
  year   = {2024},
  eprint = {2402.11638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11638v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11638.svg)](https://codeofpaper.com/paper/2402.11638)

Discussion