Skip to main content
QUICK REVIEW

[Paper Review] Humanizing Machine-Generated Content: Evading AI-Text Detection through Adversarial Attack

Ying Zhou, Ben He|arXiv (Cornell University)|Apr 2, 2024
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper introduces the Adversarial Detection Attack on AI-Text (ADAT) task and proposes the Humanizing Machine-Generated Content (HMGC) framework to evade AI-text detectors via adversarial perturbations. The method uses perplexity-aware word substitution and adversarial learning in dynamic scenarios, achieving evasion within 10 seconds and demonstrating that detectors remain vulnerable despite iterative robustness training.

ABSTRACT

With the development of large language models (LLMs), detecting whether text is generated by a machine becomes increasingly challenging in the face of malicious use cases like the spread of false information, protection of intellectual property, and prevention of academic plagiarism. While well-trained text detectors have demonstrated promising performance on unseen test data, recent research suggests that these detectors have vulnerabilities when dealing with adversarial attacks such as paraphrasing. In this paper, we propose a framework for a broader class of adversarial attacks, designed to perform minor perturbations in machine-generated content to evade detection. We consider two attack settings: white-box and black-box, and employ adversarial learning in dynamic scenarios to assess the potential enhancement of the current detection model's robustness against such attacks. The empirical results reveal that the current detection models can be compromised in as little as 10 seconds, leading to the misclassification of machine-generated text as human-written content. Furthermore, we explore the prospect of improving the model's robustness over iterative adversarial learning. Although some improvements in model robustness are observed, practical applications still face significant challenges. These findings shed light on the future development of AI-text detectors, emphasizing the need for more accurate and robust detection methods.

Motivation & Objective

  • To formalize and define the Adversarial Detection Attack on AI-Text (ADAT) task as a novel benchmark for adversarial attacks on AI-text detectors.
  • To develop a general-purpose attack framework (HMGC) that enables both white-box and black-box adversarial attacks on AI-generated text.
  • To evaluate the robustness of existing detectors under dynamic, iterative adversarial attacks using adversarial learning.
  • To investigate the trade-off between semantic preservation and evasion success in adversarial perturbations.
  • To guide future detector design by exposing vulnerabilities and identifying key factors like perplexity in evasion effectiveness.

Proposed method

  • Proposes the HMGC framework to perform adversarial attacks on AI-text detectors by generating semantically preserved perturbations using a combination of word substitution and perplexity-based optimization.
  • Employs a dual-attack strategy: white-box attacks using full model access and black-box attacks using a surrogate model to estimate gradient information.
  • Introduces a perplexity-aware module (HMGC-PPL) to prioritize word substitutions that increase text perplexity, enhancing evasion while preserving semantics.
  • Applies iterative adversarial learning in dynamic scenarios, where the detector is retrained with adversarial examples generated in each round to simulate real-world robustness training.
  • Uses a reward-based feedback loop in the attack process, where the attacker refines perturbations based on detector predictions to maximize evasion success.
  • Employs a surrogate model to bridge the gap between white-box and black-box settings, enabling effective attack generation without full access to the target detector.

Experimental results

Research questions

  • RQ1Can adversarial attacks effectively evade state-of-the-art AI-text detectors with minimal semantic changes to the original text?
  • RQ2How does the inclusion of perplexity as a feature in word substitution affect the success rate of adversarial attacks on AI-text detectors?
  • RQ3To what extent can iterative adversarial learning improve the robustness of AI-text detectors against evolving attack strategies?
  • RQ4What is the trade-off between semantic fidelity and evasion success in adversarial perturbations, and how can it be optimized?
  • RQ5How do different attack settings (white-box vs. black-box) compare in terms of attack efficiency and success rate?

Key findings

  • The proposed HMGC framework successfully evades AI-text detectors in as little as 10 seconds, demonstrating high practical feasibility of adversarial attacks.
  • In the initial 3 rounds of adversarial training, the detector’s AUC drops to approximately 0.5, indicating near-random classification performance.
  • After 7 rounds of adversarial learning, the detector achieves a stable but still inadequate robustness, with only about 10% success rate in detecting adversarial samples.
  • Removing the perplexity-aware module (HMGC-PPL) reduces attack success rate by 8%, confirming its critical role in effective evasion.
  • The attack success rate increases by 1% when the universal sentence encoder (USE) constraint is removed, but this comes with a 0.2 increase in text perplexity, indicating a trade-off between evasion and semantic quality.
  • Despite iterative adversarial training, the detector remains vulnerable, with an error rate exceeding 10% in classifying adversarial text as human-written, highlighting persistent robustness challenges.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.