{"slug": "claude-s-text-watermark-uses-secret-keys-to-derive-randomness", "title": "Claude's Text Watermark Uses Secret Keys To Derive Randomness", "summary": "Anthropic has detailed how its Claude AI model embeds a text watermark by deriving randomness from a secret key combined with preceding tokens, enabling detection of AI-generated text. The method exploits near-tied token probabilities, where the choice appears random to users but can be verified by key holders to confirm Claude's authorship.", "body_md": "Anthropic just explained how Claude’s text watermark works, and the approach is pretty neat. Here is how it works…\n\nWhen Claude announced this, I was super keen to understand how they would implement this, especially for text. Images are pretty straightforward to watermark, but text was an interesting problem.\n\nEvery time an LLM generates a token, it is choosing from a probability distribution. Often, several candidates are nearly tied. For example…\n\n“The weather today was cold and…” could just as easily continue with “overcast” or “grey”. Neither is more correct. Normally, a plain random number generator breaks that tie.\n\nThe watermark changes only one thing - where that randomness comes from.\n\nInstead of an arbitrary random number, the model derives its random value from a secret key plus the tokens that came right before. The token picked still looks like an ordinary random choice to us.\n\nBut anyone holding the key can replay that same derivation on a piece of text and check whether the sequence of choices matches what the key would produce. The better the match, the higher the probability that Claude wrote it.\n\nPretty neat.", "url": "https://wpnews.pro/news/claude-s-text-watermark-uses-secret-keys-to-derive-randomness", "canonical_source": "https://arpitbhayani.me/notes/claude-s-text-watermark-uses-secret-keys-to-derive-randomness", "published_at": "2026-08-15 00:00:00+00:00", "updated_at": "2026-09-02 20:54:12.794528+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-safety", "ai-products"], "entities": ["Anthropic", "Claude"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/claude-s-text-watermark-uses-secret-keys-to-derive-randomness", "markdown": "https://wpnews.pro/news/claude-s-text-watermark-uses-secret-keys-to-derive-randomness.md", "text": "https://wpnews.pro/news/claude-s-text-watermark-uses-secret-keys-to-derive-randomness.txt", "jsonld": "https://wpnews.pro/news/claude-s-text-watermark-uses-secret-keys-to-derive-randomness.jsonld"}}