Adversarial Attacks on AI-Generated Text Detection Models: A Token Probability-Based Approach Using Embeddings
Ahmed K. Kadhim, Lei Jiao, Rishad Shafik, Ole-Christoffer Granmo
TL;DR
This work investigates adversarial attacks on AI-generated text detectors by reengineering token probabilities through embedding- and synonym-based substitutions. It introduces a three-pronged framework (embedding similarity, synonym similarity, and a hybrid scheme) implemented with a transparent Tsetlin Machine to produce interpretable adversarial steps. Empirical results show substantial reductions in AUROC for multiple detectors (notably Fast-DetectGPT) on XSum and SQuAD, with Word2Vec and TM-AE delivering particularly strong attacks and hybrid methods achieving the lowest detection scores. The study highlights vulnerabilities in current detection systems and argues for robust defenses that fuse embedding-derived probability signals with traditional detection features to resist adversarial manipulation in practical settings.
Abstract
In recent years, text generation tools utilizing Artificial Intelligence (AI) have occasionally been misused across various domains, such as generating student reports or creative writings. This issue prompts plagiarism detection services to enhance their capabilities in identifying AI-generated content. Adversarial attacks are often used to test the robustness of AI-text generated detectors. This work proposes a novel textual adversarial attack on the detection models such as Fast-DetectGPT. The method employs embedding models for data perturbation, aiming at reconstructing the AI generated texts to reduce the likelihood of detection of the true origin of the texts. Specifically, we employ different embedding techniques, including the Tsetlin Machine (TM), an interpretable approach in machine learning for this purpose. By combining synonyms and embedding similarity vectors, we demonstrates the state-of-the-art reduction in detection scores against Fast-DetectGPT. Particularly, in the XSum dataset, the detection score decreased from 0.4431 to 0.2744 AUROC, and in the SQuAD dataset, it dropped from 0.5068 to 0.3532 AUROC.
