How AI Text Watermarking Works: Secret Keys, Green/Red Word Choices, and Detection

✍️ OpenClawRadar📅 Published: August 15, 2026🔗 Source
Ad

AI text watermarking works by hiding marks in the choices between words, not in the text itself. Google has watermarked Gemini app and web text since 2024, and Claude models mark text at the model level as of August 2026. The marks survive copy-paste and are invisible to readers.

Watermarking via word-choice bias

When a language model writes, it picks each word by rolling weighted dice over a shortlist of candidates. Watermarking uses a secret key to color those candidates green or red, then nudges the dice slightly toward green. The text still reads naturally — red words can still win, just less often.

How detection works

With the secret key, you can re-color any text and count how many words are green. In unmarked text, about half the words will be green by chance. In watermarked text, the count is significantly higher. The detector doesn't read the text — it just counts green words over a sufficiently long run.

Ad

What editing does to the mark

The watermark lives in runs of untouched wording. Each word's color is derived from a short window of preceding words, so editing erases the mark exactly where the run breaks. Short texts are hard to call — a 1,500-word document with a mild tilt would flag at only ~55% green, which is why longer texts are more reliable.

Production schemes

  • Google SynthID: Uses a secret tournament instead of a simple nudge, preserving exact word probabilities.
  • Aaronson's scheme: Derives the dice-rolls themselves from the key.
  • Kirchenbauer et al. (2023): The classic green/red bias approach.

Check out the interactive visual guide for a hands-on demo of the process.

📖 Read the full source: HN AI Agents

Ad

👀 See Also