Abstract
Watermarking is a key technique for detecting AI-generated text. In this work, we study its vulnerabilities and introduce the Smoothing Attack, a novel watermark removal method. By leveraging the relationship between the model’s confidence and watermark detectability, our attack selectively smoothes the watermarked content, erasing watermark traces while preserving text quality. We validate our attack on open-source models ranging from 1.3B to 30B parameters on 10 different watermarks, demonstrating its effectiveness. Our findings expose critical weaknesses in existing watermarking schemes and highlight the need for stronger defenses.
Introduction
As AI-generated text becomes ubiquitous, the need for reliable detection—to prevent plagiarism, fake news, and fraud—has led to the rise of token-based watermarking. These methods subtly bias the probability of certain tokens during generation so that a "secret" pattern can be detected later. However, research presented at EMNLP 2025 exposes a fundamental structural vulnerability in these systems. While watermarking is often touted as a robust solution, its signals are inherently tied to a model's confidence—a link that can be exploited to "smooth" away the watermark with surprising ease.
The Detectability-Quality Trade-off
The authors identify a critical "detectability-quality trade-off." If a model is highly certain about the next token (e.g., 99% probability), a watermark cannot easily force an alternative without significantly degrading the text's natural flow. Consequently, watermarks are most "vocal" and detectable at positions where the model is uncertain. Unfortunately, these high-signal areas are precisely where the watermark does the most damage to the text's quality. This tension makes current watermarking schemes fundamentally fragile.
The Smoothing Attack
The proposed Smoothing Attack is a black-box method that does not require knowledge of the watermark's secret key or specific algorithm. It operates through three main stages:
- Confidence Estimation: The attacker queries the watermarked model for top-$K$ token probabilities. These are used to estimate the squared $\ell_2$-norm of the probability vector, which serves as a proxy for the model's confidence.
- Selective Smoothing: The attack targets low-confidence positions. If the model is certain, the original token is kept (as the watermark signal is likely weak). If the model is uncertain, the token is replaced to erase the watermark trace.
- Reference Model Refinement: To suggest replacement tokens that "smooth" out the biased distribution, the attacker uses a tiny, un-watermarked reference model (e.g., a 125M parameter OPT model).
Key Results and Insights
The attack was evaluated using the C4 dataset across multiple model families (OPT, Llama3, Qwen2) and ten different watermarking schemes, including both distortionary (e.g., KGW, Unigram, UPV) and distortion-free (e.g., SynthID, Gumbel, Tournament) methods.
- Near-Total Erasure: In many cases, the attack reduced the True Positive Rate (TPR) of watermark detection to near 0% while maintaining a False Positive Rate below 1%.
- Outperforming GPT-4: The Smoothing Attack proved more effective than state-of-the-art paraphrasing attacks. For the Unigram watermark, paraphrasing left 53% of texts detectable, while Smoothing reduced detectability to just 5%.
- Asymmetric Warfare: A tiny 125M parameter reference model is sufficient to remove watermarks from a 30B parameter target model.
- Quality Recovery: Surprisingly, the attack often improves the fluency (perplexity) of watermarked text. By removing the unlikely tokens forced in by watermarks, the text is brought closer to natural human-like distributions.
Conclusion and Future Work
The Smoothing Attack demonstrates that current watermarking schemes are fragile because they concentrate signals in low-confidence regions. Future defenses must be "confidence-aware," embedding signals even when the model is highly confident or hiding traces more effectively within the "long tail" of uncertainty. While "hard-label" APIs that restrict probability access may hinder this specific attack, the fundamental tension between watermark strength and text quality remains a critical challenge for the field.
Summary updated