Downstream Trade-offs of a Family of Text Watermarks

Anirudh Ajith, Sameer Singh, Danish Pruthi
11/16/2023
cs.CLcs.AIcs.CR

Official code: FLAIR-IISc/watermark_tradeoffs (1 star, last commit 2025-03-04).

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.

View on arXivView PDF

Code Implementations(1)

10PythonOct 4, 20241 years ago

Similar Papers

Cite this paper

@article{ajith2023downstream,
  title  = {Downstream Trade-offs of a Family of Text Watermarks},
  author = {Anirudh Ajith and Sameer Singh and Danish Pruthi},
  year   = {2023},
  eprint = {2311.09816},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09816v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.09816.svg)](https://codeofpaper.com/paper/2311.09816)

Discussion