Skip to main content

Inside AI Text Watermarking: How Hidden Signatures Work

Understanding AI text watermarking via SynthID-Text as adopted by Anthropic in August 2026 to comply with the EU AI Act transparency rules.

AI-written
Inewgen
28 Sep 2026Source: Dev.to4 min read (0 views)
Share
Inside AI Text Watermarking: How Hidden Signatures Work

Stock photo for illustration only, not from the actual event

Font size
  • AI models can embed watermarks through ordinary word choices that survive being copied.
  • Anthropic integrated Google DeepMind's SynthID-Text to meet EU AI Act transparency rules.
  • The process combines a secret key and preceding context to score tokens via tournament sampling.
  • Detectors analyze the average recovered scores across eligible tokens to identify watermarked text.

Artificial intelligence models can leave a hidden watermark embedded directly within the vocabulary choices they make. The generated text appears completely ordinary to human readers and successfully retains its watermark signature even when copied into external programs, as the marker is carried securely by the underlying token sequence.

Anthropic officially detailed its implementation approach in August 2026 within an article titled "How Claude's text watermark works," noting that it utilizes a specialized version of SynthID-Text, which Google DeepMind originally published in the journal Nature back in 2024. Anthropic explained that introducing this watermarking mechanism is necessary to satisfy the strict transparency requirements outlined in the EU AI Act.

Researchers sought to understand how ordinary word choices could effectively carry such a hidden signature and what a detector finding that signature would ultimately reveal. By tracking individual token selections through the generation process and testing a lightweight implementation with GPT-2 inside Google Colab, developers examined how a language model processes text one token at a time, utilizing a tokenizer vocabulary containing roughly 50,000 distinct tokens.

The language model assigns specific probability scores to every potential next token. In a simplified scenario without any active watermarking, sampling from these probabilities might select the word "sits" roughly half of the time. Once chosen, that token joins the growing sentence, and the model immediately calculates probabilities for the subsequent token.

Understanding AI text watermarking provides critical context for how developers maintain transparency without sacrificing linguistic fluency. As generative AI becomes more prevalent, token-level watermarking offers a technical safeguard to verify machine-generated content while keeping core model behavior intact.

data network digital stream technology

Stock photo for illustration only, not from the actual event

Applying a watermark does not alter the underlying neural network weights of the model; for the exact same input, it continues to produce the initial probability distribution. Watermarking simply influences the final selection process among candidates. While an unwatermarked model might output "The cat sits on the mat," a watermarked instance might select "The cat sat on the rug" instead, with choices unfolding dynamically during generation.

Never miss the latest news?

Subscribe to get news summaries by email - not often enough to be annoying.

โฆษณา

SynthID-Text employs a mechanism known as tournament sampling to choose the next token. The algorithm combines a secret key with preceding context tokens to assign a score of either 0 or 1 to each candidate across multiple tournament rounds. Higher scores advance through the rounds, and ties are broken randomly. This strict repeatability is precisely what enables reliable detection later on.

20MGemini responses tested by Google for quality

Regarding generation quality, Google tested its quality-preserving configuration across nearly 20 million Gemini responses. The published paper reported no statistically significant differences in user thumbs-up or thumbs-down ratings between watermarked and unwatermarked outputs. However, when a model has very few alternative choices for the next token, leaving a watermark becomes significantly harder.

"Anthropic explained its approach in August 2026 in How Claude's text watermark works . It uses a version of SynthID-Text, which Google DeepMind published in Nature in 2024 ."

Dev.to

The detection mechanism relies on the target text, the secret key, and the identical watermarking settings used during generation, alongside the matching tokenizer to split passages correctly. For text generated without the watermark, the average score hovers around 0.5, whereas watermarked passages consistently yield higher scores due to the tournament selection favoring specific scored tokens.

Source: Dev.to

Comments

Leave a Comment
0/2000

Found something wrong in this article? Report an issue with this article