English

Red Teaming Language Model Detectors with Language Models

Computation and Language 2023-10-20 v2 Machine Learning

Abstract

The prevalence and strong capability of large language models (LLMs) present significant safety and ethical risks if exploited by malicious users. To prevent the potentially deceptive usage of LLMs, recent works have proposed algorithms to detect LLM-generated text and protect LLMs. In this paper, we investigate the robustness and reliability of these LLM detectors under adversarial attacks. We study two types of attack strategies: 1) replacing certain words in an LLM's output with their synonyms given the context; 2) automatically searching for an instructional prompt to alter the writing style of the generation. In both strategies, we leverage an auxiliary LLM to generate the word replacements or the instructional prompt. Different from previous works, we consider a challenging setting where the auxiliary LLM can also be protected by a detector. Experiments reveal that our attacks effectively compromise the performance of all detectors in the study with plausible generations, underscoring the urgent need to improve the robustness of LLM-generated text detection systems.

Keywords

Cite

@article{arxiv.2305.19713,
  title  = {Red Teaming Language Model Detectors with Language Models},
  author = {Zhouxing Shi and Yihan Wang and Fan Yin and Xiangning Chen and Kai-Wei Chang and Cho-Jui Hsieh},
  journal= {arXiv preprint arXiv:2305.19713},
  year   = {2023}
}

Comments

Preprint. Accepted by TACL

R2 v1 2026-06-28T10:51:48.222Z