The canonical construction: green-list watermarking
Kirchenbauer et al. made LLM watermarking easy to reproduce. At each token position, a hash or pseudorandom function derived from recent context selects a “green list” containing a fraction γ of the vocabulary. The decoder adds a bias δ to those green-token logits before sampling.
If the model has many plausible next tokens, this small steering can increase green-token frequency without producing visibly strange prose. A detector that knows the rule reconstructs the green list at every position and counts how often the observed token lands in it.
Read the full Kirchenbauer / KGW guide →
Why it became the baseline: no retraining is required; embedding happens during decoding; detection can be model-free; and the false-positive threshold is analytically interpretable under a simplified null model.