Abstract
Many commercial and open-source models claim to detect machine-generated text with extremely high accuracy (99% or more). However, very few of these detectors are evaluated on shared benchmark datasets and even when they are, the datasets used for evaluation are insufficiently challenging—lacking variations in sampling strategy, adversarial attacks, and open-source generative models. In this work we present RAID: the largest and most challenging benchmark dataset for machine-generated text detection. RAID includes over 6 million generations spanning 11 models, 8 domains, 11 adversarial attacks and 4 decoding strategies. Using RAID, we evaluate the out-of-domain and adversarial robustness of 8 open- and 4 closed-source detectors and find that current detectors are easily fooled by adversarial attacks, variations in sampling strategies, repetition penalties, and unseen generative models. We release our data along with a leaderboard to encourage future research.
The Problem: The "Lab-Grown" Accuracy Gap
As Large Language Models (LLMs) become ubiquitous, the demand for reliable AI text detectors has skyrocketed. These tools are critical for combating phishing, disinformation, and academic dishonesty. Currently, many commercial and open-source tools claim accuracy rates exceeding 99%.
However, these claims are often based on "lab-grown" evaluations. Detectors are typically tested on narrow, easy-to-spot datasets using default model settings. In the real world, an adversary will not use default settings; they will employ different sampling strategies, add repetition penalties, or apply adversarial "perturbations"—such as swapping characters for similar-looking ones—to evade detection. RAID addresses this robustness gap by providing a standardized, rigorous framework to evaluate how detectors perform under realistic pressure.
The RAID Benchmark
The researchers developed the Robust AI Detection (RAID) benchmark by systematically generating text across a massive multi-dimensional matrix, resulting in over 6 million generations. This makes it the largest benchmark of its kind.
Methodology
- 11 Generators: Ranging from older models like GPT-2 to modern giants like GPT-4 and LLaMA 2 70B.
- 8 Domains: Including news, recipes, poetry, and Reddit posts.
- 4 Decoding Strategies: Testing both "greedy" decoding and random sampling, with and without repetition penalties.
- 11 Adversarial Attacks: Ranging from simple whitespace additions and misspellings to sophisticated paraphrasing and "homoglyph" attacks (replacing Latin characters with identical-looking Cyrillic ones).
In addition to the core English dataset, the researchers released RAID-extra, containing 2.3M generations in challenging domains like Python code and non-English news (Czech and German).
Key Insights: Why Detectors Fail
The "Default Settings" Trap
Detectors are highly performant on "greedy" decoding, which produces the most predictable output. However, simply switching to random sampling and adding a repetition penalty—which makes AI text sound more human and less repetitive—can drop detector accuracy by up to 32 points.
The Threshold Crisis
Many open-source detectors exhibit dangerously high false positive rates (FPR) when used with default thresholds. For example, some metric-based detectors flagged nearly 100% of human text as AI when using a naive 0.5 threshold. For real-world applications, falsely accusing a human is a high-cost error, making a strict 5% FPR benchmark necessary for evaluation.
Generalization and Adversarial Fragility
- Weak Generalization: Detectors perform best on the models they were trained on. A detector trained on GPT-2 might reach 95% accuracy on GPT-2 text but fail to cross 60% when faced with a modern model like LLaMA 2.
- Adversarial Blindness: Most detectors are completely blind to homoglyph attacks. By swapping a few letters for their Cyrillic look-alikes, an adversary can reduce a detector's accuracy to near-zero.
Key Results
- Top Performer: Among the 12 tested, Binoculars emerged as the most robust detector, particularly at low False Positive Rates, though it still struggled with certain adversarial attacks.
- Commercial vs. Open-Source: Commercial detectors (like GPTZero and Originality) generally showed better calibration (lower false positives) out-of-the-box than open-source neural models, but they remained susceptible to the same evasion tactics.
- The 5% FPR Benchmark: When forced to maintain a 5% FPR, many detectors that claimed "99% accuracy" saw their actual detection rates plummet, especially in creative domains like poetry or informal domains like Reddit.
Conclusion and Future Work
RAID exposes the fragility of the current AI detection landscape. While detectors are useful in controlled environments, they are not yet robust enough to handle adversarial users or diverse generative strategies. The researchers have released the RAID dataset and a live leaderboard to encourage the community to move toward more adversarial and honest evaluations of AI detection technology. Future work will need to address the rapid evolution of LLMs and expand robust evaluation to more low-resource languages and sophisticated gradient-based attacks.
Summary updated