Abstract
As Large Language Model (LLM) providers increasingly turn to watermarking to track and regulate AI-generated content, the robustness of these defenses becomes paramount. This paper demonstrates that current watermarking schemes are significantly more fragile than previously thought when faced with an adaptive adversary. We present a method to automatically optimize attacks by fine-tuning small paraphrasers using Direct Preference Optimization (DPO). Our results show that even resource-constrained attackers can achieve over 96% evasion rates against state-of-the-art watermarks for less than $10 in compute costs, while maintaining high text quality.
Introduction
The potential for LLMs to be used for large-scale misinformation and spam has led to the adoption of content watermarking—hiding a secret signal within generated text detectable via a secret key. While the "gold standard" for such watermarks is robustness against removal, most are only tested against "non-adaptive" attackers. This research investigates the threat of an adaptive attacker who knows the watermarking algorithm (though not the secret key) and uses that knowledge to specifically train a model to "scrub" the watermark away.
Methodology
The researchers treat watermark evasion as a machine learning optimization problem. Their approach, illustrated in the figure below, follows three main steps:
- Surrogate Key Simulation: The attacker generates many "surrogate" keys using the known watermarking algorithm to simulate the provider's environment.
- Preference Dataset Curation: Using a surrogate model (like Llama2-7b), multiple paraphrases of watermarked text are generated. Surrogate keys are then used to identify paraphrases that successfully hide the watermark while maintaining high text quality.
- Direct Preference Optimization (DPO): This curated data is used to fine-tune a small, open-weight paraphraser. By training the model to prefer "evasive and high-quality" text over "watermarked" text, a specialized tool for watermark removal is created.
This method is "no-box" and "offline," meaning the attacker does not need to query the provider's detection API during the attack process.
Key Results and Insights
The adaptive attacks achieved near-total evasion, with rates of 96% to 98% across all four state-of-the-art watermarking methods surveyed. Crucially, the DPO-tuned paraphrasers maintained high text quality, often making the "cleaned" text indistinguishable from the original watermarked output.
Several critical insights emerged from the evaluation:
- The Power of the Surrogate: Training against a wide variety of random surrogate keys creates a model that generalizes effectively to the real, hidden secret key.
- Asymmetric Advantage: A relatively small 7-billion parameter model can effectively strip watermarks from much larger 70-billion parameter models, challenging the assumption that model scale equates to safety.
- Generalization of Evasion: A paraphraser tuned to evade one specific watermark is often highly effective at evading others, suggesting fundamental shared vulnerabilities at the token-distribution level.
- Economic Feasibility: The entire pipeline—from data curation to final fine-tuning—costs less than $10 USD on standard cloud GPU providers.
Conclusion
This study highlights a sobering reality for AI safety: for watermarking to be a viable tool, researchers must move beyond testing against naive attackers. Future defenses must be designed for a world where the adversary is just as optimized as the model itself. While this work focused on general text generation and offline attacks, the high success rates and low costs suggest that the threat of watermark evasion is immediate and significant.
Summary updated