cs.LGMar 31, 2026
SaveRefined Detection for Gumbel Watermarking
Organizations: Google DeepMind
Abstract
We propose a simple detection mechanism for the Gumbel watermarking scheme proposed by Aaronson (2022). The new mechanism is proven to be near-optimal in a problem-dependent sense among all model-agnostic watermarking schemes under the assumption that the next-token distribution is sampled i.i.d.
Figures & tables
Algorithm 1: The watermarking algorithm accepts a secret key and a model and autoregressively samples a sequence of tokens until the token is sampled. The function uses its input to compute a pseudorandom vector uniformly distributed on .
Algorithm 2: The detection algorithm accepts the secret key, the confidence level that controls the false positive rate and the sequence of tokens to be evaluated. The is a well-chosen statistical test that the are independent and uniformly distributed on at confidence level . Various options are available as we discuss in Section 2 and Section 3 .
Algorithm 3: The power law detection algorithm accepts the secret key, the confidence level that controls the false positive rate and the sequence of tokens to be evaluated.