arXiv:2610.18151cs.CLOct 2026

Manuscript Offprint

arXiv:2610.18151

Attacking Only Half the Data: Two-Sided Evaluation of AI-Text Detector Robustness

Apu Chandraw Shill, Rabindra Nath Nandi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We investigate the robustness of widely used AI text detectors under attacks applied to both human and machine text. Prior evaluations typically attack only machine text, overlooking that human text is routinely modified through grammar correction, formatting, or invisible character insertion. We introduce a two-sided protocol that applies attacks to both classes. Across two corpora and nine detectors, reported AUROC gains vanish under two-sided evaluation, with attacked human text misclassified at rates up to 100%. While simple preprocessing reverses character-level attacks, word-level synonym substitution remains effective, meaning-preserving, and irreversible.

1 Introduction

Machine-generated text detectors are increasingly deployed in high-stakes contexts such as academic integrity checks, content moderation, and hiring. Yet their reliability has been questioned from the very beginning (Krishna et al., 2023). A central problem is that detectors often fail when text is altered, even slightly, by paraphrasing, grammar correction, or invisible character insertion. These failures matter because text is rarely submitted in a perfectly “clean” form.

Prior work has largely focused on attacks against machine-generated text, comparing it to untouched human writing. For example, paraphrasing has been shown to collapse detector performance (Krishna et al., 2023), and subsequent studies argued that this weakness is fundamental (Sadasivan et al., 2025). Benchmarks such as RAID (Dugan et al., 2024) have made paraphrase the standard stress test. More recent work has begun to explore the human side: polishing human text with an LLM can cause detectors to misclassify it (Saha and Feizi, 2025), while DetectRL (Wu et al., 2024) attacks human text but evaluates against clean machine text. However, these designs remain one-sided, either attacking only machine or only human text, and often re-tuning thresholds so that false positives never surface. As a result, they miss the full picture.

In this work, we address the missing half. We introduce a two-sided evaluation protocol that applies attacks to both human and machine text and scores them against each other. This design reveals failures that are invisible under one-sided evaluation. For example, under zero-width insertion, detectors flag up to 98% of human documents while appearing to improve AUROC when only machine text is considered. The apparent “gain” is actually a collapse once human text is included. Across two corpora and nine detectors, we find that reported gains under attack vanish under two-sided evaluation, and the cost of ignoring the human side can be devastating.

Our findings also show that some damaging attacks are surprisingly easy to undo. Simple preprocessing steps, such as stripping zero-width characters, collapsing repeated spaces, or folding homoglyphs restore detection performance to near-clean levels. By contrast, word-level synonym substitution remains effective, meaning-preserving, and irreversible.

Our main contributions are as follows:

• We introduce a two-sided protocol that applies each attack to human as well as machine text and scores the two against each other.

• We show that reported gains under attack are not real. Across two corpora and nine detectors, 39 of 162 cells show an AUROC gain, 31 significantly, and none survives two-sided as a significant gain.

• We measure the cost of the missing half. At a threshold set to 1% FPR of clean human documents, attacked human text is flagged at up to 100%.

• We show that DIPPER paraphrase no longer evades most detectors. It raises AUROC for five of nine while lowering detection for all nine, and a defense built on it fails for the same reason.

• We test sanitization as a defense. Zero-width and whitespace attacks are fully recoverable, and homoglyphs only with a matching table. Word substitutions are not recoverable.

• We show that generator choice and text length move detectors further than any attack, and that short text is where false accusations concentrate.

The source code and data will be made publicly available upon acceptance.

References (20)