How Anthropic implements text watermarking in Claude
Anthropic is introducing watermarking for Claude to comply with the EU AI Act, using a method that doesn't affect output quality or cost.
Anthropic is implementing text watermarking for future Claude models to comply with the EU AI Act and the EU Code of Practice on Transparency of AI-Generated Content. This system allows for the determination of the likelihood that Claude was involved in writing a piece of text, a move shared by other major AI providers who signed the same code of practice. The company explains how this process works without adding hidden characters or increasing the cost of token usage.
The mechanism of randomness in word selection
Claude generates text by selecting the most likely next word from a list of candidates. In cases where multiple words are equally sensible, the model typically uses a random number generator to make the final choice. Watermarking replaces this arbitrary generator with a specific key and the preceding words to settle the selection.
This creates a pattern that remains undetectable to human readers but can be identified by anyone possessing the encoding key. The model does not become biased toward specific words, nor does it choose obscure synonyms it would not normally use. It simply changes the source of randomness to make the sequence consistent with the key.
Impact on output quality and technical performance
Internal testing and a study by Google DeepMind on the SynthID-Text technique show no statistically significant difference in creativity, readability, or content between watermarked and unwatermarked text. Human raters found no difference in quality when comparing the two side-by-side. This ensures that users can set ambitious AI tasks without worrying about degraded results.
The process has a negligible impact on model speed. Because the watermark does not require extra tokens, the price to serve and use the model remains unchanged. Furthermore, the watermark contains no identifying information and cannot be traced back to a specific person, organization, or individual chat.
Scenarios where watermarking is less effective
The watermark is only applied to words Claude chooses. In factual passages where only one correct word exists, such as the title of Isaac Newton's Principia Mathematica, the watermark cannot be applied without decreasing accuracy. Similarly, if Claude is used only for light proofreading of human-written text, there may be too few changes for the watermark to be detectable.
Code production also sees less watermarking because exact output is often required to prevent the code from breaking. However, the watermark can still be applied to arbitrary choices, such as comments within the code. For those integrating these models into workflows, understanding how to use Claude Desktop with Ollama can help manage different model environments.
Detection and file metadata
Anthropic is releasing a detection API in private preview for regulators, law enforcement, media, and eligible organizations under EU law. While light editing may not remove the watermark, a complete rewrite of the text will eliminate it. The system can only determine if Claude was likely involved in the content, not whether it wrote the text from scratch or heavily edited it.
For non-text files like .png, .jpg, or .svg, Anthropic uses the C2PA open industry standard. Instead of a watermark, it attaches a cryptographically signed note in the file's metadata stating that Claude processed the file. This metadata does not change the file itself and contains no personal identifying information.
Sources
Related news
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.