MASH: Evading Black-Box AI-Generated Text Detectors via Style Humanization
Yongtong Gu, Songze Li, Xia Hu
TL;DR
MASH reframes AI-generated text detection as a style transfer problem and presents a four-stage black-box attack pipeline that few-shot tunes AI text to human-like style while preserving quality. Through Data Construction, Style-Injection SFT, DPO Alignment, and Inference-Time Refinement, it achieves high attack success (average ASR ≈ 92%) across six domains and five detectors, outperforming 11 baselines. The approach demonstrates strong robustness and transferability, including to commercial detectors, while also revealing a notable defense-robustness trade-off when detectors are adversarially trained. Overall, MASH serves as an effective red-teaming tool and a basis for strengthening detector systems against style-based evasion.
Abstract
The increasing misuse of AI-generated texts (AIGT) has motivated the rapid development of AIGT detection methods. However, the reliability of these detectors remains fragile against adversarial evasions. Existing attack strategies often rely on white-box assumptions or demand prohibitively high computational and interaction costs, rendering them ineffective under practical black-box scenarios. In this paper, we propose Multi-stage Alignment for Style Humanization (MASH), a novel framework that evades black-box detectors based on style transfer. MASH sequentially employs style-injection supervised fine-tuning, direct preference optimization, and inference-time refinement to shape the distributions of AI-generated texts to resemble those of human-written texts. Experiments across 6 datasets and 5 detectors demonstrate the superior performance of MASH over 11 baseline evaders. Specifically, MASH achieves an average Attack Success Rate (ASR) of 92%, surpassing the strongest baselines by an average of 24%, while maintaining superior linguistic quality.
