Three Bricks to Consolidate Watermarks for Large Language Models
Pierre Fernandez, Antoine Chaffin, Karim Tit, Vivien Chappelier, Teddy Furon
TL;DR
This work tackles the problem of distinguishing generated from natural text by consolidating watermarking approaches for large language models. It introduces three bricks: (i) grounded, non-asymptotic statistical tests that guarantee false positive rates below $10^{-6}$, (ii) cross-benchmark evaluation to assess practical impact on downstream NLP tasks, and (iii) advanced detection schemes including Neyman–Pearson scoring and multi-bit watermarking for model/version tracing. The findings reveal that traditional $Z$-tests miscalibrate FPR in realistic regimes and that non-asymptotic statistics with rectified scoring provide reliable detection; watermarking has limited but manageable impact on generation quality, especially for larger models, and enables identification of the watermark source across many users. Collectively, the paper offers a practical, reliable framework for watermarking LLM outputs with implications for security, accountability, and model governance.
Abstract
The task of discerning between generated and natural texts is increasingly challenging. In this context, watermarking emerges as a promising technique for ascribing generated text to a specific model. It alters the sampling generation process so as to leave an invisible trace in the generated output, facilitating later detection. This research consolidates watermarks for large language models based on three theoretical and empirical considerations. First, we introduce new statistical tests that offer robust theoretical guarantees which remain valid even at low false-positive rates (less than 10$^{\text{-6}}$). Second, we compare the effectiveness of watermarks using classical benchmarks in the field of natural language processing, gaining insights into their real-world applicability. Third, we develop advanced detection schemes for scenarios where access to the LLM is available, as well as multi-bit watermarking.
