How AI Text Watermarks Hide in Token Choices
A ground-up guide to how language models embed statistical watermarks, how detectors test for them, and why editing or translation can weaken the evidence. This audio was created with Boson AI's Higgs Audio — https://www.boson.ai/higgs-audio
Listen on Spotify · Watch on YouTube · Pocket Casts
The hidden mark begins with token choice
Eris: <|prosody:expressive_high|>A green-list watermark hides a signal by slightly raising the odds of secret-key-selected text pieces, then checking whether those pieces appear more often than chance. To understand that, start with how a language model writes.
Vestra: A token is one unit from the model’s vocabulary. It might be a whole word, part of a word, a space, or punctuation. At each step, the model assigns a probability to every possible next token. Sampling means drawing one token at random, with more probable tokens more likely to be chosen. Then the model repeats that process using the text so far as context.
Eris: <|emotion:confusion|>So when the model is choosing how to finish “The cat sat,” it might give “on” a high probability, “by” a smaller one, and many other pieces very little chance. Sampling can still pick a less likely option; it just happens less often. That ordinary variation is what a watermark can use as cover. Does the watermark replace that choice, then?
Vestra: No, and that distinction matters. In the green-list method, the preceding text and a secret key determine which candidate tokens are green for that step. The sampler adds a small boost to their raw scores, called logits, before converting the scores into probabilities. That makes green tokens more likely, without forcing every choice to be green.
Eris: <|prosody:pause|>The detector can replay the same key-and-context rule on the finished passage. It marks which observed tokens would have been green, then asks whether the passage contains more of them than an unwatermarked passage would usually contain. A human reader sees ordinary wording; the detector looks for a small bias across many choices. So one green token proves very little on its own.
Vestra: Right. The tradeoff is direct. A stronger boost makes the pattern easier to spot, but it changes the model’s sampling distribution: some continuations become more likely and others less likely. In the paper’s tested summarization and translation tasks, stronger boosts reduced measured output quality. A weaker boost disturbs choices less, but leaves a harder signal to detect.
Eris: <|emotion:surprise|>And “green” is just the detector’s private label for this particular step. The next context creates a new partition, so the same token can be green in one place and red in another. The mark lives in the sequence of choices, not in a visible symbol attached to the sentence. I like that the signal is a pattern, not a stamp.
What a watermark test can actually say
Vestra: A text-watermark detector uses a statistical test, not a lookup that reveals who wrote a passage. A statistical test compares the observed text with a specific chance-based explanation of how that text could have appeared.
Eris: That chance-based explanation is the null hypothesis: here, assume the text was not generated using this watermark key, so its token choices have no special alignment with the key’s green lists. The competing explanation is that the watermark did influence those choices. <|emotion:confusion|>I used to hear “null hypothesis” and think it meant the detector had proved nothing at all.
Vestra: It only names the starting explanation being tested. Before looking at the passage, the detector sets a threshold for how unusual the evidence must be before it rejects that null hypothesis. A false positive happens when ordinary, unwatermarked text crosses the threshold anyway. A false negative happens when watermarked text fails to cross it, perhaps because the signal is weak or too little usable text remains.
Eris: <|prosody:pause|>The p-value describes how often the null hypothesis would produce evidence at least this extreme, if the test’s assumptions were right. If the p-value is one in a thousand, that means a result this strong or stronger would be rare under that unwatermarked model. It does not mean there is a one-in-a-thousand chance the null is true, and it does not name an author. That distinction is easy to lose in a headline.
Vestra: The threshold turns that measure into a decision rule. A lower threshold permits fewer false alarms under the assumptions, but usually misses more watermarked passages. A higher threshold catches more real signals while also flagging more unwatermarked text. Testing many keys, passages, or versions also creates more chances for a match, so a careful detector must account for those searches.
Eris: <|emotion:surprise|>Length matters because each usable token adds another chance to accumulate evidence. If a model is forced to choose the same obvious word, that choice says little about a hidden preference. A longer passage with many genuine alternatives gives the test more informative choices; a short passage may not have enough. So “more text” only helps when it contains real choices?
Vestra: Exactly: the test needs usable choices, not just words on a page.
Vestra: <|prosody:pause|>A positive result therefore means: this passage is unusually consistent with this watermark and key, under this detector and its stated test. It does not prove who typed the words, who edited them, or who owns them. It also says nothing about whether the passage is true.
A watermark can preserve the model’s average choices
Eris: <|emotion:confusion|>A green-list watermark strengthens selected-token odds. A different family tries to keep the model’s next-token probabilities unchanged on average while still making a keyed pattern detectable. The 2023 paper “Unbiased Watermark for Large Language Models” gives an early example of that idea. Vestra, when they say “unchanged on average,” what exactly is being averaged?
Vestra: <|emotion:enthusiasm|>Its basic move is to let a secret, context-derived code reweight the next-token distribution in a random way. Across the random codes, each token keeps its original average probability. The paper tests two constructions and reports that, on its chosen summarization and translation tasks, their measured output quality stayed close to the unwatermarked model. Its green-list comparison instead boosts green-token logits, and stronger boosts reduce quality on those same tasks.
Eris: <|emotion:surprise|>“Average” matters here. It does not mean every fixed key makes every individual choice behave exactly like ordinary sampling. The key creates correlations that a detector can find, while averaging over the secret randomness preserves the stated distribution property. The guarantee belongs to the construction and its conditions, not automatically to every method called a watermark. So a particular run can still have a different pattern of choices.
Vestra: <|emotion:enthusiasm|>There is another way to add evidence: combine different kinds of signals. A 2024 ensemble-watermark study combines a green-list bias with two writing features. An acrostic uses the first letters of sentences to form a hidden sequence; a sensorimotor feature favors words linked to a selected sense or action, such as “smells funny” over “looks funny.”
Eris: <|emotion:determination|>That example makes the distinction tangible. The ensemble does not hide the mark by preserving each token’s original odds; it deliberately changes them to create several signals. In the authors’ tests, those signals often survived their paraphrasing procedure better together than the green-list signal alone. Stronger settings also changed how surprising the generated text was, so robustness came with a quality tradeoff. I wouldn’t want “more signals” to disappear into “free robustness.”
Vestra: <|prosody:pause|>These methods answer different design questions. A green-list boost makes one token pattern stronger by changing probabilities. Unbiased reweighting tries to preserve the distribution when averaged over secret codes. An ensemble places several kinds of clues in the text, which may help when one clue is rewritten away. None of those mechanisms turns detection into proof of human or machine authorship.
Keyrings hides the signal in the sampling noise
Eris: <|emotion:confusion|>Mistral’s Keyrings is a text watermark designed to preserve each next-token probability while making the random choices line up with a secret key. Its technical post describes the sampler; the detector is called TextOrca. Vestra, how can a hidden key affect the choice without changing its probability?
Vestra: <|emotion:enthusiasm|>The sampling method is Gumbel-max. For each candidate token, it adds a specially shaped random value, called Gumbel noise, to the log of that token’s probability, then chooses the candidate with the highest combined score. With noise drawn from the required distribution, each token wins with exactly its original probability. That is the neat part: the noise changes the draw, while the required distribution preserves the odds.
Eris: <|prosody:pause|>Keyrings changes where that noise comes from. A keyed pseudorandom function—a repeatable rule that looks random unless you hold its secret key—uses the preceding few tokens and each candidate token to produce the noise. The same key and context let the detector reconstruct the hidden values later. The text itself still looks like the model’s usual kind of response. So the detector gets a trail back to the keyed draw, not a visible watermark mark.
Vestra: Yes, and Mistral also describes several keyrings, with one hidden keyring selected per request. That lets repeated requests to the same prompt use different keyed noise, reducing the tendency of a single deterministic key to repeat the same continuation. Their optional copula setting mixes the keyed noise with private noise to add more variation while retaining a correlation the detector can use.
Eris: <|emotion:enthusiasm|>TextOrca tests whether the observed token choices line up with a candidate keyring. It recomputes a keyed value for each visible context-and-token pair and turns those values into scores. A proxy model estimates how probable each observed token was; TextOrca gives more weight to choices that were genuinely uncertain and little or no weight to near-forced choices. That weighting seems important if some words were basically inevitable.
Vestra: Exactly; it then compares the total score with what unwatermarked text would produce under the null hypothesis. Because it checks multiple hidden keyrings, it adjusts the result for those multiple chances to match. The output is a p-value: evidence for a particular keyed signal under this test, not a statement about meaning, truth, or human versus AI in general.
Eris: <|emotion:relief|>That is a different mechanism from green-list biasing. Green-list watermarking changes the probability distribution by boosting selected logits. Keyrings uses keyed noise in a Gumbel-max sampler, and Mistral’s post says the construction preserves each next-token distribution. The authors report machine-checked proofs for their stated guarantees; those proofs establish properties of the construction, not its reliability on every edited document. I’m glad that boundary is explicit.
Vestra: <|prosody:pause|>Mistral reports that its detector found most of the tested watermarked responses in selected setups. Those are company-reported results, not an independent replication, so they are not a general accuracy promise for everyday text.
Translation and rewriting can break a token watermark
Eris: <|emotion:surprise|>AI text watermarks can lose their signal after rewriting or translation, even when the meaning survives. I find it striking that the signal can weaken while the meaning survives. Repetition or constrained output can also leave few informative choices for the detector. Is that the same problem as an edit, or a different one?
Vestra: They are related, but not identical. The 2023 unbiased-watermark paper tested random token replacement, not every possible edit. Its detection scores weakened as more tokens were replaced. It also notes a basic limit: if the original model is completely certain about the next token, an unbiased sampler has no alternative choice to use as evidence. That is why the authors say their approach needs uncertainty in the generation process. No choice means no signal to preserve in the first place.
Eris: <|prosody:pause|>The translation study tests a different change. It translated watermarked English responses into Chinese, Japanese, French, or German and measured whether the original signal remained detectable. On the two models and watermark methods they tested, the signal generally weakened substantially, even for languages more similar to English. That is stronger than a few swapped words; the whole wording has crossed languages.
Vestra: The same paper also tested a pivot-language route: translate the prompt into another language, generate there, then translate the answer back. That tests whether a watermark survives a full language switch, not just a sentence-level rewrite. For the earlier green-list and unbiased methods, the authors found detection approached random guessing under that attack; their semantic method held up somewhat better, but still lost strength. These results belong to those models, translators, and watermark designs, not to every current detector.
Eris: Its appendix also reports a separate watermark comparison across four model families, with direct translation and paraphrasing among the tested conditions. That broadens the evidence beyond one model, but it still describes those specific models and attacks. The same paper’s removal appendix splits results by summarization and question answering, another reminder that a watermark’s measured resistance depends on the task as well as the edit. <|emotion:surprise|>Paraphrasing asks whether the meaning can stay while wording changes. In the ensemble study, an automated attack replaced at least a tenth of each sample with alternative text generated around masked words. Combining the green-list, acrostic, and sensorimotor signals was detected more often than the green-list signal alone in their tested configurations. So the combined clues helped in that tested rewrite.
Vestra: That is evidence that different clues can fail differently. It is not a guarantee that an ensemble survives a stronger rewrite, another language, or a different model. The study covers three English-capable models, and its stronger watermark settings also altered the generated text more. Mistral’s Keyrings post likewise reports weaker detection when a model’s next-token probabilities are more concentrated, then better detection when the detector scores more tokens.
Eris: <|emotion:determination|>The unbiased-watermark paper raises a separate issue: a service could apply different keys to different users or requests, making a detected signal potentially link text back to a particular account or prompt. The authors say people should know when watermarking is used, be able to opt out, and be told what identifying information a mark carries and who can access it.
Vestra: And their own method creates a difficult transparency problem. Because its mark is designed to be hard to notice, a reader cannot prove from the text alone that a service did not watermark it. The authors argue their method does not lower output quality, but they still flag consent and privacy as open concerns; preserving quality does not settle who gets marked or how the signal is used.
Eris: The papers tested edits directly: random token replacement weakened detection scores, and translation substantially weakened the measured signal in the tested systems. I don’t want us to turn that into “all watermarks fail,” though.
Vestra: So a missing mark is inconclusive, and a positive mark has a narrow meaning. It is evidence about a particular statistical pattern under a particular detector. It cannot establish who authored every sentence, whether a human edited the passage, or whether any claim in it is accurate.
A practical checklist for watermark claims
Eris: When someone shows you a watermark result, first ask which watermark and which detector produced it. A green-list score, an unbiased reweighting test, and Keyrings with TextOrca rely on different signals and assumptions. That’s where I’d start before trusting the label.
Vestra: Then ask how much text was tested and what kind of text it was. Was it long enough to offer meaningful token choices? Was it repetitive, constrained, translated, paraphrased, or mixed with human writing? Those details affect how much evidence can accumulate and whether the detector can still reconstruct the original signal. A page of repeated boilerplate could be long and still tell us little.
Eris: <|prosody:pause|>Ask what false-positive rate the test targeted, what it measured on unwatermarked examples, and how many keys or candidate versions it searched. A tiny p-value is only as useful as the test’s assumptions and the controls behind that threshold. The number alone can sound much more decisive than it is.
Vestra: Ask what edits were tried and whether the evaluation was independent of the system’s authors. A company’s own benchmark can show how its method performed in that setup. It cannot by itself establish how the detector behaves across ordinary writing, different models, languages, and editing histories.
Eris: <|prosody:pause|>And keep the conclusion as narrow as the evidence. A detection result can support “this passage matches this watermark signal under this test.” It cannot prove that a person did or did not write the text, that every sentence came from one source, or that the text is true. No detected mark means no usable evidence for that particular signal; it is not proof of human authorship. That’s narrower than the headline people may want, but it’s the honest reading.
Vestra: That distinction is the useful one to carry forward: a watermark detector is a statistical test for one hidden pattern, not a general AI detector or an authorship oracle. It’s a limit I’d want stated plainly.
Follow the evidence
Eris: <|emotion:contentment|>For today’s headlines, there’s a separate news episode. Ground Truth at groundtruth.day follows the stories from the show every day.
Vestra: Follow Breach Protocol for more research explained from the ground up, and follow Ground Truth at groundtruth.day for the daily coverage. Like and share this episode, and tell us in a comment which watermark claim you’d want to check first.