Text Watermarking
Once a model can write a paragraph indistinguishable from a person's, a practical question follows: can the machine mark its own work? Text watermarking answers yes — by biasing which words get chosen, in a pattern a detector holding the secret key can measure and a reader cannot perceive.
How the mark gets inThe standard construction works at sampling time. Before each token, a pseudo-random function keyed on a secret and on the preceding tokens splits the vocabulary into a favoured "green" list and the rest; the sampler adds a small bonus to the green candidates. Any individual choice looks ordinary, because near-synonyms are plentiful and the bonus is gentle, but across a few hundred tokens the share of green words sits far above chance. Detection is then a statistical test on that share, requiring the text and the key but not the model or any stored copy of the output. Google's SynthID-Text is a deployed variant that runs a tournament over several pseudo-random scores, tuned so measured quality on standard benchmarks is unchanged.
What it solves, and what it does notWatermarking gives a platform a way to recognise its own model's output without a registry of everything it ever wrote. Its limits are sharp:
- Short text carries no signal — confidence needs a few hundred tokens, so a sentence or a tweet is undetectable.
- Editing erodes it — paraphrasing, translating or splicing passages dilutes the pattern until the test fails.
- Only a consenting generator applies it — an open-weight model can be run with watermarking switched off, so the absence of a watermark proves nothing at all.
Text watermarking embeds a hidden statistical signal in generated text by nudging token selection toward a pseudo-randomly chosen subset of the vocabulary at each step, keyed on a secret. A detector holding the key tests a passage for that bias, so model output can be identified without storing it anywhere. The method needs a few hundred tokens to be confident, weakens under paraphrasing, and proves nothing by its absence, since any model can be run unwatermarked.
A banknote carries a watermark you only notice when you hold it up to the light. Text watermarking gives AI-written text the same kind of invisible mark. As the model writes, it quietly leans towards certain words over equally good alternatives, following a secret pattern. The writing reads completely normally, but software that knows the pattern can examine a long passage and tell that a machine produced it. That helps schools and websites spot AI text without keeping a copy of everything ever generated. It only works on longer pieces, it fades once someone rewrites the wording, and it tells you nothing if the tool chose not to use it.