Before understanding watermarking, you need to understand how AI text generation works.
When Claude writes text, it generates one word at a time. At each step, it considers multiple candidate words and selects the most appropriate one.
Example:
"The weather today was cold and ___"
| Word | Likelihood |
|---|---|
| "overcast" | ✅ High |
| "grey" | ✅ High |
| "sugary" | ❌ Very Low |
Key insight: When two words are roughly equally good, the final choice is settled by a random number. This randomness is the foundation watermarking exploits.
Watermarking does not add anything to the text. Instead, it replaces the source of randomness.
Without watermarking:
Random number generator → picks "overcast"
With watermarking:
Secret key + preceding words → deterministically picks "overcast" or "grey"
The chosen word still appears random to any reader. However, someone with the secret key can later check whether the sequence of word choices is consistent with what the key would have produced.
Think of it this way:
| Property | Without Watermark | With Watermark |
|---|---|---|
| Source of randomness | Arbitrary random number | Secret key + context |
| Output quality | Normal | Identical |
| Detectable by reader | N/A | No |
| Detectable with key | N/A | Yes |
Imagine playing Monopoly, but instead of rolling dice, players use digits of pi starting from a random position.
This is exactly how watermarked text works:
This is critical — watermarking has specific, bounded capabilities.
Not all text gets equal watermarking. Understand why:
"Isaac Newton's most famous work was called Principia ___"
Only "Mathematica" is correct. No choice exists → no watermark applied
Most code must be exact to function. Very few arbitrary choices exist.
If Claude only fixes grammar in your document, nearly all words remain yours. Too few Claude-chosen words exist for a detectable pattern.
Rule of thumb: The more Claude writes from scratch, the stronger the watermark.
| Question | Answer |
|---|---|
| Does it slow Claude down? | No |
| Does it cost more? | No (no extra tokens) |
| Can it identify me? | No |
| Can editing remove it? | Light edits: partially. Complete rewrite: yes |
| Does it affect image files? | Images use a different system (C2PA metadata) |
Watermarking is being implemented to comply with the EU AI Act, which requires AI providers to mark AI-generated content.
Key facts:
Students often confuse these two approaches:
| Watermark Detection | AI Detection Software (e.g., Pangram) | |
|---|---|---|
| Uses secret key | ✅ Yes | ❌ No |
| Method | Checks word-choice patterns against key | Analyzes stylistic "tells" |
| Accuracy basis | Cryptographic | Statistical/linguistic |
| Example signal | Consistent key-based word selections | Overuse of "quietly," "this isn't X, it's Y" |
| Reliability | Higher (mathematical) | Lower (pattern-based) |
LLM generates text
↓
Multiple words are equally valid
↓
[Without watermark] → Random number picks word
[With watermark] → Secret key + context picks word
↓
Output looks identical to readers
↓
With the key → Pattern is detectable
Without key → Indistinguishable from unwatermarked text
Core takeaway: Watermarking is a clever repurposing of unavoidable randomness in AI text generation — it changes where randomness comes from without changing what the output looks or reads like.