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

Are AI-Generated Text Detectors Robust to Adversarial Perturbations?

About

The widespread use of large language models (LLMs) has sparked concerns about the potential misuse of AI-generated text, as these models can produce content that closely resembles human-generated text. Current detectors for AI-generated text (AIGT) lack robustness against adversarial perturbations, with even minor changes in characters or words causing a reversal in distinguishing between human-created and AI-generated text. This paper investigates the robustness of existing AIGT detection methods and introduces a novel detector, the Siamese Calibrated Reconstruction Network (SCRN). The SCRN employs a reconstruction network to add and remove noise from text, extracting a semantic representation that is robust to local perturbations. We also propose a siamese calibration technique to train the model to make equally confidence predictions under different noise, which improves the model's robustness against adversarial perturbations. Experiments on four publicly available datasets show that the SCRN outperforms all baseline methods, achieving 6.5\%-18.25\% absolute accuracy improvement over the best baseline method under adversarial attacks. Moreover, it exhibits superior generalizability in cross-domain, cross-genre, and mixed-source scenarios. The code is available at \url{https://github.com/CarlanLark/Robust-AIGC-Detector}.

Guanhua Huang, Yuchen Zhang, Zhe Li, Yongjian You, Mingze Wang, Zhouwang Yang• 2024

Related benchmarks

TaskDatasetResultRank
AI-generated text detectionCross-genre (test)
OA94.5
32
AIGT detectionHC3 PWWS attack, AI to Human (in-domain)
Overall Accuracy100
28
AI-generated text detectionmixed-source AI -> Human GPT-2, GPT-Neo, GPT-J, LLaMa, GPT-3
Overall Accuracy95.5
26
AI-generated text detectionHC3 (test)
F1 (Overall)99.93
18
AIGT detectioncross-domain AIGT detection Human -> AI
Overall Accuracy99.5
14
AIGT detectionSeqXGPT-Bench cross-domain
Precision (AI)98.71
14
AIGT detectioncross-domain AIGT detection Overall
OA0.93
14
AI-generated text detectionCross-genre AIGT Overall (test)
OA82.5
14
AIGT detectionHC3 Deep-Word-Bug attack Overall (in-domain)
OA100
14
AIGT detectionHC3 Pruthi attack Overall (in-domain)
Overall Accuracy100
14
Showing 10 of 22 rows

Other info

Code

Follow for update