Watermark under Fire: A Robustness Evaluation of LLM Watermarking

Jiacheng Liang, Zian Wang, Lauren Hong, Shouling Ji, Ting Wang

TL;DR

The authors introduce WaterPark, the first comprehensive open-source platform designed to stress-test Large Language Model (LLM) watermarking methods against a battery of adversarial attacks. Their evaluation of 10 state-of-the-art watermarkers reveals that many previously held beliefs about robustness are incorrect, uncovering a fundamental trade-off between a watermark's resilience and the quality of the generated text.

What Problem Does This Paper Address?

As LLMs become ubiquitous, the need to identify AI-generated content—to prevent disinformation, academic dishonesty, and phishing—has become critical. Watermarking has emerged as a leading solution, where statistical signals are embedded directly into the text during the generation process.

However, the field has lacked a unified way to evaluate these "watermarkers." Most existing research focuses on how well a watermark can be detected in ideal conditions, but in the real world, an adversary will try to remove it. They might paraphrase the text, swap words, or mix it with human-written content. Until now, there hasn't been a systematic study on how specific design choices (like how a watermark depends on previous words) actually impact its ability to survive these "watermark removal attacks."

Methods

The researchers developed WaterPark, a unified evaluation framework that integrates:

  • 10 State-of-the-Art Watermarkers: Including popular methods like TGRL, UG, and Google’s SynthID.
  • 12 Representative Attacks: Categorized into linguistic variations (e.g., lowercasing), lexical editing (e.g., adding typos, swapping words), text-mixing (copy-pasting AI text into human text), and paraphrasing (using another LLM to rewrite the content).
  • 8 Key Metrics: Measuring both detection effectiveness (TPR, FPR, AUC) and text fidelity (BERTScore, MAUVE, P-SP).
Figure 1: Illustration of LLM watermarking and watermark removal attacks.

A core part of their method is a Controlled Comparative Analysis. By isolating specific components—such as the generation strategy or the detection method—they could pinpoint exactly which algorithmic choices lead to better robustness.

Datasets

The study uses a diverse set of five datasets to ensure broad and unbiased results:

  • C4: General text completion.
  • HC3: Question-answering.
  • Story Completion: Creative writing.
  • Law Stack Exchange: Legal domain QA.
  • Paper Conclusion: Academic summarization.

These were tested across three different LLMs: OPT-1.3B, LLaMA3-7B-chat, and Qwen2.5-14B-Instruct.

Key Insights and Ideas

  • The "Context Trap": Many watermarkers are "text-dependent," meaning the watermark for the next word depends on the previous few words. The authors found these are highly vulnerable. If an attack changes even one word in the "context," the detector loses its alignment and fails. Surprisingly, context-free designs (like UG) are often more robust because they apply the same signal regardless of the surrounding text.
  • Robustness vs. Fidelity Trade-off: The evaluation revealed two distinct groups of watermarkers. One group (e.g., TGRL, UG) prioritizes high text quality but is easier to break. The other group (e.g., RDF, GO) is incredibly robust against attacks but noticeably degrades the "naturalness" of the text.
  • Refining Prior Conclusions: The paper explicitly challenges several findings from previous work. For instance, while earlier studies suggested context-free designs were less robust, WaterPark proves they actually show higher resilience to paraphrasing attacks.
A summary of how WaterPark's findings refine or contradict conclusions from prior research.

Key Results

  • Champion of Robustness: RDF and UG emerged as the most resilient against paraphrasing and text-mixing. RDF, in particular, uses an "edit-score" detection method that is specifically designed to handle structural changes in text.
  • Vulnerability to "Expert" Paraphrasing: Even the most robust watermarkers struggle against high-quality paraphrasing. A single round of rewriting by a powerful model like ChatGPT can reduce detection rates below 30% for almost all methods.
  • Design Matters More Than Model Size: The relative robustness ranking of watermarkers remained consistent across different LLMs and datasets, suggesting that the inherent algorithmic design is the primary factor in security.
Figure 3: Watermarker robustness to multi-attacks. a) Con- text dependency: TGRL (text-dependent) and UG (context- free); b) Generation strategy: TGRL (distribution-shift) and GO (distribution-transform); c) Detection method: UPV (Model-based) and UPVstat (Score-based). RDF and GO.

Limitations and Future Work

The authors acknowledge several limitations:

  • Scope: The study focuses on "training-free" watermarking. It does not cover methods that require retraining the LLM itself.
  • Adversary Capabilities: The threat model assumes the adversary uses an LLM that is less capable than the target model. If an attacker has access to a significantly more powerful model, they might bypass these watermarks even more easily.
  • Causal Complexity: Because watermarker components are often tightly coupled, it is difficult to perform a perfect "ablation study" on every single sub-module.

Future research directions include exploring more advanced "adaptive attacks" where the adversary uses a surrogate detector to iteratively refine their attack until the watermark is gone.

Summary updated

Abstract

Various watermarking methods (``watermarkers'') have been proposed to identify LLM-generated texts; yet, due to the lack of unified evaluation platforms, many critical questions remain under-explored: i) What are the strengths/limitations of various watermarkers, especially their attack robustness? ii) How do various design choices impact their robustness? iii) How to optimally operate watermarkers in adversarial environments? To fill this gap, we systematize existing LLM watermarkers and watermark removal attacks, mapping out their design spaces. We then develop WaterPark, a unified platform that integrates 10 state-of-the-art watermarkers and 12 representative attacks. More importantly, by leveraging WaterPark, we conduct a comprehensive assessment of existing watermarkers, unveiling the impact of various design choices on their attack robustness. We further explore the best practices to operate watermarkers in adversarial environments. We believe our study sheds light on current LLM watermarking techniques while WaterPark serves as a valuable testbed to facilitate future research.
BibTeX
@misc{liang2024watermark,
  author = {Jiacheng Liang and Zian Wang and Lauren Hong and Shouling Ji and Ting Wang},
  title = {{Watermark under Fire: A Robustness Evaluation of LLM Watermarking}},
  year = {2024},
  eprint = {2411.13425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13425},
}
Figure