Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated Text

Yize Cheng, Vinu Sankar Sadasivan, Mehrdad Saberi, Shoumik Saha, Soheil Feizi

Abstract

Adversarial Paraphrasing is a training-free framework designed to "humanize" AI-generated text by utilizing an AI detector to guide a Large Language Model's (LLM) paraphrasing process. By iteratively selecting tokens that minimize "AI-likeness" scores during generation, this method consistently evades a wide array of detection systems—including neural classifiers and watermarking schemes—while maintaining high linguistic quality and semantic fidelity.

Introduction

As Large Language Models (LLMs) become ubiquitous, the ability to distinguish between human and machine-generated text has become a critical frontier in AI safety. This has led to an arms race between detection systems (neural classifiers, zero-shot statistical tests, and watermarking) and evasion techniques. While simple paraphrasing was once sufficient to fool early detectors, modern robust models like RADAR are specifically trained to resist such basic attacks.

This paper introduces a universal attack: a method that does not merely bypass a specific target but produces text that is "human-like" enough to transfer its evasive properties across entirely different detection architectures. The core premise is that because high-performing detectors aim to model the same "human" distribution to minimize false positives, text optimized to appear human to one detector will likely appear human to others.

The Adversarial Paraphrasing Framework

The authors propose a gradient-free approach to controlled text generation that integrates a guidance detector directly into the LLM's decoding loop.

Overview of the Adversarial Paraphrasing framework at iteration $i$, where a detector guides the LLM's token selection.

The Algorithm

At each auto-regressive step of the generation process:

  1. Proposal: An off-the-shelf, instruction-tuned LLM (e.g., LLaMA-3-8B) acts as a rephraser, proposing a set of candidate next tokens filtered via top-$p$ and top-$k$ masking.
  2. Scoring: Each candidate token is appended to the current sequence and scored by a smaller "guidance detector" (e.g., OpenAI-RoBERTa-Large).
  3. Selection: The token that results in the lowest "AI score" (or highest "human score") is selected for the final output.

This method is computationally efficient; because the guidance detectors (100M–350M parameters) are significantly smaller than the paraphraser LLM (8B parameters), they contribute less than 5% of the total computational overhead.

Experimental Setup and Datasets

The attack's effectiveness was evaluated across several diverse datasets:

  • MAGE: 4,000 texts (half AI-generated, half human-written) for evaluating non-watermark detectors.
  • Watermarked Datasets: 2,000 samples generated using LLaMA-3.1-8B-Instruct with KGW and Unigram watermarking schemes.
  • Evaluation Targets: The attack was tested against eight detectors, including neural-based (RoBERTa, MAGE, RADAR), zero-shot (Fast-DetectGPT, GLTR), and watermarking-based systems.

Key Results and Universal Transferability

The results demonstrate massive drops in detection accuracy. When guided by OpenAI-RoBERTa-Large, the True Positive Rate at a 1% False Positive Rate (T@1%F) dropped from 76.8% to 14.2% on the MAGE detector and from 12.4% to 4.4% on the robust RADAR detector. The attack proved equally devastating against watermarking; on Fast-DetectGPT, the T@1%F plummeted from 32.3% to a near-zero 0.3%.

Heatmap showing the relative reduction in True Positive Rate (TPR) at 1% False Positive Rate across various guidance and deployed detectors, illustrating universal transferability.

A critical insight is the Universal Transferability of the attack. As shown in the heatmap above, guiding the LLM with a single trained classifier allows the resulting text to successfully evade zero-shot and watermarking detectors it has never encountered. This suggests that "human-likeness" is a consistent statistical target across different detection methodologies.

Quality and Limitations

Using GPT-4o as an automated judge, the study found that 87% of adversarially paraphrased texts maintained high quality (scores of 4 or 5 out of 5). While there is a slight increase in perplexity compared to simple paraphrasing, the text remains fluent and semantically faithful.

However, the attack is not infallible. In approximately 4.15% of cases, the process "backfired," making the text more likely to be flagged as AI. Furthermore, the current implementation uses a greedy search (depth-1); the authors suggest that multi-step beam search could further enhance success rates at a higher computational cost.

Conclusion

Adversarial Paraphrasing exposes a fundamental vulnerability in current AI detection systems. By demonstrating that "human-likeness" can be targeted as a statistical objective, this work challenges the long-term viability of current detection and watermarking methods. The authors suggest that these adversarial examples should be used to train the next generation of more resilient, "adversarial-proof" detectors.

Summary updated

BibTeX
@inproceedings{cheng2025adversarial,
  author = {Yize CHENG and Vinu Sankar Sadasivan and Mehrdad Saberi and Shoumik Saha and Soheil Feizi},
  title = {{Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated Text}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=fYjF9KIJd5},
}
Figure