TL;DR
This paper proves that "strong" watermarking for generative models—where a signal cannot be removed without ruining output quality—is theoretically and practically impossible. By using a generic "quality-preserving random walk" attack, the authors demonstrate that an adversary can efficiently erase watermarks from state-of-the-art schemes for both text and images while maintaining high output quality.
The Challenge of Strong Watermarking
As Large Language Models (LLMs) and Vision-Language Models (VLMs) become ubiquitous, there is a growing need to distinguish AI-generated content from human-generated content to prevent misinformation, academic cheating, and automated phishing. Watermarking—embedding a hidden statistical signal in the model's output—is a leading proposed solution.
However, for watermarking to be a reliable safety tool, it must be strong: a computationally bounded attacker shouldn't be able to "scrub" the watermark without significantly degrading the quality of the content. This paper investigates whether such strong watermarking is even possible. The authors conclude it is not, suggesting that current regulatory hopes for robust AI content tracking may be built on "sand."
The Quality-Preserving Random Walk Attack
The authors introduce a generic, scheme-agnostic attack called a quality-preserving random walk. The attack relies on two key components that an adversary can realistically access:
- Quality Oracle: A tool to evaluate if a candidate output is high-quality (e.g., a reward model or another powerful LLM like GPT-4).
- Perturbation Oracle: A tool to slightly modify an output while likely maintaining its quality (e.g., a smaller, open-source masked language model like T5).
The attack starts with the watermarked output and repeatedly applies small perturbations. At each step, it queries the quality oracle; if the quality is maintained, the change is kept. This process induces a random walk through the space of high-quality outputs. Because the set of watermarked outputs is a tiny subset of all possible high-quality responses, the random walk eventually "walks out" of the watermarked region into a non-watermarked one.
The authors provide a formal mathematical proof showing that under natural assumptions about the connectivity and "mixing" properties of high-quality output spaces, this attack will succeed with high probability.
Key Insights
- Verification is Easier than Generation: The core of the impossibility result is the heuristic that it's easier to check if a response is good than to generate a good response from scratch. This asymmetry fundamentally favors the attacker.
- The "Cloud" of Quality: High-quality outputs aren't isolated points; they form a connected "cloud" or graph. Watermarking schemes typically rely on this connectivity to embed signals, but that same connectivity allows an attacker to navigate away from the signal.
- Scheme Agnosticism: The attack is remarkably powerful because it doesn't require knowledge of the secret key or even which watermarking algorithm is being used. It treats the entire system as a black box.
- Modality Independence: While the focus is on LLMs, the theoretical framework applies to any generative modality, including images and audio, as long as a quality-preserving perturbation method exists.
Experimental Results
The authors evaluated their attack across text (news completion, SAT essays) and images, targeting prominent watermarking schemes applied to models like Llama2-7B and Stable Diffusion.
- Watermark Removal: In all cases, the attack successfully reduced the detection signal (z-score) to below standard significance thresholds.
- Quality Maintenance: Despite the removal of the watermark, the output quality remained stable. GPT-4, acting as a "judge," found the post-attack outputs to be of similar quality to the original watermarked versions.
- Statistical Shift: Histograms of the results show a clear shift in the distribution of z-scores from the "watermarked" range (high z-score) to the "attacked" range (low z-score, overlapping with non-watermarked content).
Limitations and Future Work
The authors acknowledge that while strong watermarking is impossible, weak watermarking—which protects against low-effort modifications like "copy-pasting"—is still achievable and useful for preventing accidental misuse or large-scale automated scraping.
A potential limitation is the efficiency of the attack; while theoretically "efficient" (polynomial time), it may require many queries to quality oracles, which could be expensive or slow in practice. Future work could explore more efficient, specialized versions of this random walk for specific modalities or more constrained output spaces where the "quality cloud" might be less connected.
Summary updated