Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Large Language Models can be Guided to Evade AI-Generated Text Detection

About

Large language models (LLMs) have shown remarkable performance in various tasks and have been extensively utilized by the public. However, the increasing concerns regarding the misuse of LLMs, such as plagiarism and spamming, have led to the development of multiple detectors, including fine-tuned classifiers and statistical methods. In this study, we equip LLMs with prompts, rather than relying on an external paraphraser, to evaluate the vulnerability of these detectors. We propose a novel Substitution-based In-Context example Optimization method (SICO) to automatically construct prompts for evading the detectors. SICO is cost-efficient as it requires only 40 human-written examples and a limited number of LLM inferences to generate a prompt. Moreover, once a task-specific prompt has been constructed, it can be universally used against a wide range of detectors. Extensive experiments across three real-world tasks demonstrate that SICO significantly outperforms the paraphraser baselines and enables GPT-3.5 to successfully evade six detectors, decreasing their AUC by 0.5 on average. Furthermore, a comprehensive human evaluation show that the SICO-generated text achieves human-level readability and task completion rates, while preserving high imperceptibility. Finally, we propose an ensemble approach to enhance the robustness of detectors against SICO attack. The code is publicly available at https://github.com/ColinLu50/Evade-GPT-Detector.

Ning Lu, Shengcai Liu, Rui He, Qi Wang, Yew-Soon Ong, Ke Tang• 2023

Related benchmarks

TaskDatasetResultRank
Watermark DetectionVicuna-7b 16k 50 samples v1.5
AUROC (Overall)0.986
94
Watermark DetectionLlama-2-7b-chat-hf 10 samples UMD watermarking (test)
AUROC (t=0)1
64
Watermark Attack RobustnessVicuna 7b 16k v1.5 (test)
ASR80
30
Watermark Attack Success RateLlama-2-7b-chat-hf UMD watermarking (10 samples)
ASR30
15
Watermark Evasionvicuna-7b 50 samples, UMD watermarking v1.5-16k (test)
ASR (0 Unattacked)18
15
Showing 5 of 5 rows

Other info

Follow for update