Discovering Spoofing Attempts on Language Model Watermarks
Thibaud Gloaguen, Nikola Jovanović, Robin Staab, Martin Vechev
TL;DR
The paper investigates spoofing threats to LLM watermarks and introduces a statistically principled framework to distinguish spoofed text from genuine ξ-watermarked text. By exposing artifacts arising from a spoofer’s dependence on a training dataset of watermarked text, it designs two test regimes (Standard and Reprompting) based on a correlation-based statistic that, under appropriate assumptions, converges to a standard normal, enabling reliable hypothesis testing. Empirical results across multiple watermarking schemes, spoofer models, and text lengths demonstrate controlled Type I error and high power (often >90% at 1% FPR) as text length grows, highlighting a fundamental limitation of current learning-based spoofers. The work provides practical defenses for watermark attribution and offers generalizable methods for detecting watermark spoofing with broad applicability to different schemes, along with releasing accompanying code for reproducibility and further research.
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 .
