Technical explainer

SynthID Text: What Google Open-Sourced — and What It Didn't

Public code, private keys. The algorithm is published; the configuration that makes a detector work is not.

PublishedThe algorithm and reference codeNature paper, GitHub reference implementation and a supported Hugging Face Transformers build.
Not publishedThe keys and configurationDetection needs the same watermark configuration used at generation. Google's docs say to keep it private.

Most discussions of AI watermarking start with images. SynthID Text is a different machine: it does not touch a finished document, it changes how the next word is chosen. That difference explains both its low cost and its limits.

For the image side, see how SynthID works and the SynthID hub. This page stays with text.

Text marking vs image marking

SynthID TextSynthID Image
When appliedDuring generation, at token samplingAfter the image is generated
What changesProbability scores used to pick the next tokenPixel values across the image
Visible to readerNoNo
Detection needsText plus the watermark configurationOfficial decoder held by the operator
Weak againstParaphrase, short text, low-entropy outputHeavy transformations that weaken the pixel signal

The image system is described in the internet-scale deployment paper. The text system has its own peer-reviewed record, which is where the next section comes from.

Where the watermark enters

A language model produces text one token at a time, assigning a probability to each possible next token. SynthID Text applies a small, pseudo-random influence to those scores — the paper calls the core method tournament sampling — so the chosen tokens carry a statistical pattern. The reader sees ordinary prose.

Where SynthID Text changes token sampling A model produces probabilities, a keyed function nudges them, a token is chosen, and the same key is needed later for detection. ONE TOKEN, ONE NUDGE MODEL token probabilities KEYED NUDGE tournament sampling PRIVATE KEY keep secret OUTPUT ordinary-looking text Detection later needs the same configuration — publishing the algorithm does not publish the key. Diagram by MarkTruth, 2026-12-01. Conceptual summary of the Nature paper and Google's developer documentation.
Figure 1 — the key is part of the signal. Code can be public while detection stays tied to a secret configuration.

What the Nature paper established

"Scalable watermarking for identifying large language model outputs" was published in Nature on 23 October 2024. It describes a production-ready scheme, not a laboratory demo.

~20MGemini responses analysed for thumbs-up / thumbs-down feedback
0.01 / 0.02%Reported like / dislike differences — described as statistically insignificant
0.57%Per-token latency increase in one measured configuration

The paper also reports detection results across models including Gemma and Mistral, and argues the scheme beats comparable methods in both non-distorting and distorting settings. Those numbers belong to the paper's test conditions; they are not a general accuracy figure for any text detector.

The paper's own limits. No text detection method is foolproof. Detection is weaker for short text and low-entropy distributions. Paraphrasing can weaken the signal, and generative watermarking requires the service operator to apply it — open models deployed elsewhere cannot be forced to.

Open source does not mean open detector

Google's developer documentation says SynthID Text is open source. It describes a logits processor applied after top-k and top-p filtering, a reference implementation on GitHub, and a supported implementation in Hugging Face Transformers. It also explains that configuration parameters such as keys and ngram_len shape the watermark — and that every configuration should be stored privately, because anyone who copies it could replicate the mark.

That is the cleanest way to state the boundary: the method is public, the instance is private. This is the same structural idea described in the SynthID hub for images, but the implementation details differ.

What this means when text is scanned

  1. A detector that claims to find any SynthID text without a configuration is making more than the published method supports.
  2. Short passages give the signal less to work with; a confident verdict on a paragraph is suspect.
  3. Rewriting changes the token sequence the watermark depends on. Absence after paraphrase is not proof the original had no mark.
  4. A watermark answer, if one is available, is about generation. It is not an authorship or truth verdict — the same boundary we apply to image layers.

Common questions

How is SynthID Text different from the image watermark?

The image watermark is applied to the finished image. Text marking happens during generation: token probabilities are nudged at sampling time, so no post-processing step is needed.

Is SynthID Text really open source?

Google states that SynthID Text is open source, with a reference implementation on GitHub and a supported implementation in Hugging Face Transformers. The watermark configuration and keys are meant to be kept private.

Does open source mean anyone can detect any watermarked text?

No. Detection requires the watermark configuration used at generation. Publishing the algorithm does not publish the keys, and the Nature paper notes that no text detection method is foolproof.

What did the Nature paper actually measure?

It introduced tournament sampling, reported detection results across several models, analysed roughly 20 million Gemini responses for quality feedback, and measured a 0.57 percent per-token latency increase in one configuration.

Can paraphrasing remove a text watermark?

Editing and LLM paraphrasing can weaken or remove the signal. The paper also notes that detection is weaker for short text and low-entropy distributions.

Keep the layers separate

For files, check what is actually present; for text, remember that detection depends on a private configuration.

Open the image check

More technical reading in MarkTruth's journal, including the SynthID hub.

Primary sources