Discovering Spoofing Attempts on Language Model Watermarks

Thibaud Gloaguen, Nikola Jovanović, Robin Staab, Martin Vechev
10/3/2024
cs.CRcs.AIcs.LG

Official code: eth-sri/watermark-spoofing-detection (1 star, last commit 2025-05-23).

Abstract

LLM watermarks stand out as a promising way to attribute ownership of LLM-generated text. One threat to watermark credibility comes from spoofing attacks, where an unauthorized third party forges the watermark, enabling it to falsely attribute arbitrary texts to a particular LLM. Despite recent work demonstrating that state-of-the-art schemes are, in fact, vulnerable to spoofing, no prior work has focused on post-hoc methods to discover spoofing attempts. In this work, we for the first time propose a reliable statistical method to distinguish spoofed from genuinely watermarked text, suggesting that current spoofing attacks are less effective than previously thought. In particular, we show that regardless of their underlying approach, all current learning-based spoofing methods consistently leave observable artifacts in spoofed texts, indicative of watermark forgery. We build upon these findings to propose rigorous statistical tests that reliably reveal the presence of such artifacts and thus demonstrate that a watermark has been spoofed. Our experimental evaluation shows high test power across all learning-based spoofing methods, providing insights into their fundamental limitations and suggesting a way to mitigate this threat. We make all our code available at https://github.com/eth-sri/watermark-spoofing-detection .

View on arXivView PDF

Code Implementations(1)

10Shell, PythonMay 22, 20251 years ago

Similar Papers

Cite this paper

@article{gloaguen2024discovering,
  title  = {Discovering Spoofing Attempts on Language Model Watermarks},
  author = {Thibaud Gloaguen and Nikola Jovanović and Robin Staab and Martin Vechev},
  year   = {2024},
  eprint = {2410.02693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.02693v2},
  journal = {ICML 2024 2024}
}

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/2410.02693.svg)](https://codeofpaper.com/paper/2410.02693)

Discussion