Downstream Trade-offs of a Family of Text Watermarks

Anirudh Ajith, Sameer Singh, Danish Pruthi · DOI

Abstract: Watermarking involves implanting an imperceptible signal into generated text that can later be detected via statistical tests. A prominent family of watermarking strategies for LLMs embeds this signal by upsampling a (pseudorandomly-chosen) subset of tokens at every generation step. However, such signals alter the model's output distribution and can have unintended effects on its downstream performance. In this work, we evaluate the performance of LLMs watermarked using three different strategies over a diverse suite of tasks including those cast as k-class classification (CLS), multiple choice question answering (MCQ), short-form generation (e.g., open-ended question answering) and long-form generation (e.g., translation) tasks. We find that watermarks (under realistic hyperparameters) can cause significant drops in LLMs' effective utility across all tasks. We observe drops of 10 to 20% in CLS tasks in the average case, which shoot up to 100% in the worst case. We notice degradations of about 7% in MCQ tasks, 10-15% in short-form generation, and 5-15% in long-form generation tasks. Our findings highlight the trade-offs that users should be cognizant of when using watermarked models.

Introduction

As Large Language Models (LLMs) are increasingly deployed in public-facing applications, the need to identify AI-generated content has grown. Text watermarking has emerged as a leading solution, subtly biasing token selection to embed a detectable statistical signature. While previous research has focused on the detectability and robustness of these watermarks, their impact on the actual utility of the models for downstream tasks has remained under-explored. This paper investigates the performance costs associated with the popular "KGW family" of watermarking strategies.

Watermarking Strategies and Methodology

The study evaluates three primary watermarking algorithms:

  1. KGW: The baseline method that partitions the vocabulary into "green" (favored) and "red" (disfavored) lists based on the preceding token.
  2. EWD (Entropy-based): A variation that scales the watermark strength based on the model's confidence (entropy) at each step.
  3. SIR (Semantic-Invariant): A method using semantic embeddings to determine green/red lists, intended to resist paraphrasing attacks.

To ensure a fair comparison, the researchers utilized a Pareto-optimal hyperparameter search, identifying configurations that maximize detectability while minimizing the impact on the model's base language modeling ability (perplexity). These were tested across LLaMA, Mistral, and OPT model families.

Impact on Downstream Tasks

The Vulnerability of Classification

Classification tasks (CLS) proved to be the most sensitive to watermarking. Because these tasks often rely on the selection of a single label token (e.g., "Yes" or "No"), the watermark's pseudorandom biasing can directly conflict with the correct answer. If a correct label is placed on the "red list," the model is statistically discouraged from selecting it, leading to significant utility drops.

Normalized utility scores across three classification benchmarks (BoolQ, SST-2, CB) for different watermarking algorithms and models.

As shown in the results, the SIR algorithm consistently caused the most severe performance degradation across benchmarks like BoolQ, SST-2, and CB. While KGW and EWD maintained higher utility, they still exhibited average drops of 10–20% compared to unwatermarked baselines.

The Mechanism of "Classification Collapse"

The severity of the drop in classification tasks is tied to whether the task labels are "red-listed" by the watermark. In a worst-case scenario where the correct label is red-listed and the incorrect label is green-listed, the model's performance can collapse entirely, effectively rendering it no better than random guessing.

Impact of label 'red-listing' on BoolQ performance, demonstrating how watermarking can effectively bar correct answers when labels are red-listed.

Resilience in MCQ and Generation

Multiple Choice Questioning (MCQ) tasks showed more resilience, with average drops of only ~7%. This is attributed to the fact that MCQ options are typically multi-token phrases; the watermark's bias averages out over the sequence, allowing the model's underlying preference for the correct answer to remain more stable.

In generation tasks, the costs remain significant:

  • Short-form Generation (SGEN): Tasks like SQuADv2 saw performance decreases of 10–15%.
  • Long-form Generation (LGEN): Translation tasks (WMT) experienced BLEU score drops of 5–15%. In these contexts, watermarking can induce factual errors or "hallucinations" by forcing the model to avoid the most accurate (but red-listed) tokens, such as specific dates or names.

Conclusion

The findings demonstrate that text watermarking is not a "free" security measure. The invisible signal introduces a tangible cost in model utility, particularly for tasks with narrow output spaces like classification. While larger, more capable models show slightly better resilience to these perturbations, developers must carefully weigh the need for detectability against the potential for significant downstream performance degradation. Future work in watermark-aware decoding may offer a path to mitigate these trade-offs.

Summary updated

BibTeX
@inproceedings{ajith2024downstream,
  author = {Anirudh Ajith and Sameer Singh and Danish Pruthi},
  title = {{Downstream Trade-offs of a Family of Text Watermarks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.821},
}
Figure