How Claude's text watermark works: modifying token selection with a keyed function

blaizedsouza · x · 2026-08-21

Anthropic's text watermarking aims to identify AI-generated text by altering the selection process. Instead of random sampling from probable next words, a keyed function using a secret key and the previous context determines valid candidates. This biased selection creates a detectable signal where multiple plausible words exist.

Related event: Anthropic Develops Invisible Watermark for Claude Text(3 posts)→

Original post →

More from Safety

Safety channel →