Skip to main content
AI Watermark Removal

AI Text Watermarking

Statistical Text Watermarking

A statistical text watermark never touches the finished page. It works earlier, while the model is still choosing its next word, tilting sampling toward a hidden pattern rather than stamping a finished document afterward. A detector holding the right key can run a statistical test on a passage's token choices and get a confidence score. Someone without the key is supposed to see nothing at all, a property researchers proved mathematically rather than just claimed. Google's SynthID Text is the most developed production version, sitting inside an academic family that traces back to one 2023 paper almost everything else responds to.

Published 2026-08-11Updated 2026-08-11Research/proposal

Key takeaways

  • Word choices get nudged during sampling itself. No visible character and no hidden Unicode gets inserted into the finished text.
  • Kirchenbauer, Geiping, Wen, Katz, Miers, and Goldstein's 2023 paper is the scheme nearly everything else responds to: split the vocabulary into a green list and a red list before each token, reseed the split from prior tokens, and bias sampling toward green.
  • A 2024 follow-up from largely the same authors found that scheme stayed detectable after strong human paraphrasing once a detector saw roughly 800 tokens, at a 1-in-100,000 false-positive rate. Shorter passages carry a much weaker signal.
  • Researchers have proven, not just claimed, that a properly keyed statistical watermark is computationally indistinguishable from ordinary text to anyone lacking the key (Christ, Gunn, and Zamir, COLT 2024).
  • That proof has a real-world catch: ETH Zurich's SRI Lab showed an attacker can approximate a provider's secret green-list rule through ordinary API queries for under $50, then use the approximation to forge or strip watermarks.
  • Reddit theories about how Claude's text watermark works are unconfirmed guesswork, and whether statistical watermarking causes problems in generated code remains a genuinely open question.

Scoring a passage

What a detector actually measures

A detector holding the same secret key can recompute what each word's green list would have been, then count how often the text actually landed on green. These two illustrative passages show what a clear signal versus chance-level noise looks like; the exact words and counts are made up for illustration, not a real analyzed sample.

Likely watermarked

Theresultsclearlyshowastrongtrendacrosseverysample

8 of 10 words landed green

Well above the roughly half expected by chance alone, which is what a statistical test flags as an unlikely coincidence.

Ordinary text

Mycatknockedaglassoffthetableagaintoday

5 of 10 words landed green

Right around the chance baseline, since nothing biased these word choices toward either list.

Why length matters so much

Ten words is too short to conclude anything with real confidence; this is simplified for illustration. A 2024 follow-up to the original green-list paper found the signal stayed statistically detectable after strong human paraphrasing once a detector had roughly 800 tokens to work with, at a false-positive rate of about one in 100,000. Short passages, heavy edits, or translation all shrink how much real signal a detector has left to count.

What actually gets changed

You'll see the one thing that separates this from every other kind of AI watermark: nothing is added to the finished page.

Standard decoding already narrows the field before any watermark gets involved. Top-K or Top-P sampling trims a model's full vocabulary down to a shortlist of tokens it considers plausible for whatever comes next.

A statistical watermark works inside that shortlist. It nudges which token from the narrowed pool actually gets picked, following a pattern tied to a secret or pseudorandom key.

Nothing visible changes. No label, no punctuation trick, no hidden character on the page.

This page covers what happens after generation: how a detector who knows the key finds the pattern, and what happens when someone without the key goes looking anyway.

How a detector finds the pattern

Research/proposal

Here's the actual statistical test a detector runs, and roughly how much text it needs before the answer means anything.

Kirchenbauer, Geiping, Wen, Katz, Miers, and Goldstein's 2023 paper describes the clearest version. Before each token, the model's vocabulary splits into a green sublist and a red sublist, reseeded from the tokens that came before (or from a fixed key in later variants), and sampling leans softly toward green.

A watermarked passage ends up with more green tokens than chance alone would produce. The detector doesn't hunt for a single marker.

It counts green-token frequency across the whole passage and runs a one-proportion z-test against what pure chance predicts. That produces an interpretable p-value, and it doesn't require access to the model at detection time.

A 2024 follow-up from largely the same group stress-tested this against human rewriting, LLM paraphrasing, and dilution in longer mixed documents. The watermark stayed statistically detectable after strong human paraphrasing once a detector had roughly 800 tokens to work with, at a false-positive rate of one in 100,000.

Proven unguessable, then guessed for $50

Research/proposal

You'll see how a genuine cryptographic proof and a genuine cheap attack can both be true at the same time.

Christ, Gunn, and Zamir gave this whole approach a rigorous foundation at COLT 2024. They defined watermarking in cryptographic terms and constructed a scheme where, absent the secret key, watermarked text and ordinary text are computationally indistinguishable under standard cryptographic assumptions.

That's a proof, not marketing language. Nobody without the key is supposed to tell the difference, no matter how much text they see.

In 2024, the same year, Jovanović, Staab, and Vechev at ETH Zurich's SRI Lab tested what that guarantee is worth once a real system sits behind a public API. Querying the API for under $50 in total cost was enough to approximate the provider's secret green-list rule.

With that approximation in hand, they ran two attacks:

  • Spoofing: forging the watermark onto text the model never wrote, succeeding more than 80% of the time.
  • Scrubbing: stripping it from text the model did write, pushing success from near 0% to over 85% in settings people had assumed were safe.

The cryptography wasn't wrong. Christ, Gunn, and Zamir's proof holds for a key that never leaks any signal, and Jovanović and colleagues showed that cheap, repeated queries against a real deployment leak enough about the key's behavior to defeat that assumption in practice.

A 2025 follow-up from the same lab now runs statistical tests that detect the presence and identify the family of the three most popular watermarking schemes from black-box queries alone, no logits access required. That's the prerequisite skill both stealing and spoofing depend on.

SynthID Text, the production version

Confirmed

Here's what Google actually ships, what it claims about robustness, and the awkward thing its own detector returns instead of yes or no.

Google's SynthID Text is the most developed real-world version of this family of techniques. It's applied as a generation-time logits processor after Top-K and Top-P sampling narrow the candidate pool, and the Nature paper behind it describes a tournament-sampling design.

Google documents it as robust to mild paraphrasing while acknowledging that thorough rewriting or translation can greatly reduce detector confidence, and has open sourced SynthID Text for developers. That deployment and robustness claim is documented specifically for the Gemini app and web experience.

Whether the Gemini API applies the same watermarking is disputed. A Google-affiliated developer-forum reply dated August 5, 2026 states plainly that generated text from the API is not SynthID-watermarked and that native text watermarking isn't currently planned, which directly conflicts with Google DeepMind's own SynthID page. No primary source reconciles the two, so treat API behavior as unconfirmed.

There's a related gap worth noticing. Google's own Gemini Apps help page for verifying AI-generated content covers images, video, and audio, and not text.

Google's documentation also describes three possible ways a text detector could be deployed, fully private, semi-private API, or public, without saying which one Google itself runs. That's why there's still no button you can press to check a passage of Gemini text.

What people online guess about the mechanism

Community discussion

You'll get the full list of mechanisms Reddit proposed for Claude's watermark, and why none of them is confirmed by anything Anthropic published.

When Anthropic announced that Claude now embeds invisible watermarks in its text output, the r/singularity thread reacting to it spent most of its energy guessing at a mechanism. People know invisible watermarks in images. Text isn't pixels.

Commenters floated:

  • Hidden Unicode or invisible characters
  • Overrepresented n-grams
  • First-letter or sentence-position patterns
  • Token-probability nudges
  • Something SynthID-like, or several signals stacked together

None of it is confirmed. Anthropic's own announcement doesn't name a mechanism, so every theory above, even the ones that resemble SynthID's actual documented approach, is inference by analogy rather than a disclosed method.

The thread also raised a concern worth stating honestly: that statistical watermarking could be weak on short passages, brittle under paraphrasing, and specifically awkward in code, where nudging token choices risks bugs or stylistic weirdness.

That's a genuinely open question this site's research hasn't resolved, for Claude or for the field generally. Some commenters also imagined an arms race of de-watermarking tools, false-watermarking attacks, and model-to-model laundering.

FAQ

Does a statistical text watermark change how the text reads?

Not in a way a casual reader would notice. It only shifts which words get chosen among options the model already considered reasonable, so no visible character or label gets added. The difference only shows up in the statistics of token choices when a detector with the right key checks for it.

How much text does a detector need to be confident?

There's no single fixed number, since it depends on the scheme and how much editing happened. The closest thing to a hard data point comes from Kirchenbauer et al.'s 2024 paper: the original green/red-list watermark stayed statistically detectable after strong human paraphrasing once a detector had about 800 tokens to work with, at a false-positive rate of one in 100,000.

Can someone actually steal a provider's secret watermarking key?

Not the literal key, but researchers got close enough for it to matter. ETH Zurich's SRI Lab showed that querying a provider's API for under $50 was enough to approximate the secret green-list rule well enough to forge the watermark onto text the model never wrote and to strip real watermarks with better than 85% success. That's a research demonstration against tested academic schemes, not a confirmed attack against any specific shipped product's exact configuration.

Next steps

  • See where in the sampling pipeline the nudge actually sits, plus the rival designs that trade off quality and edit tolerance differently. Token probability watermarking
  • Compare Google's robustness claims against four independent audits that tested SynthID Text in 2025 and 2026. Text watermark robustness
  • Look at the forgery side specifically, including the defensive test that catches spoofed watermarks. AI watermark spoofing
  • Read the 2023 green-list paper directly. It's short, the core idea fits on one page, and every argument in this field starts there. A Watermark for Large Language Models

Sources and citation status