This page assumes you know nothing. Before you can read the parent note, you must first meet every symbol it throws at you. We build each one from a picture, explain why the topic needs it, and only then let it appear.
The picture: imagine a train. Each carriage is one token, coupled in order. The model builds the train one carriage at a time, always looking at the carriage it just added before choosing the next.
Why the topic needs it. Text watermarking happens at generation time — exactly when the model picks the next carriage wt. If you don't picture text as an ordered chain of choices, none of the later steps make sense. See Information theory for why "a choice" is the unit of hidden information.
The picture: a giant bag of Scrabble tiles. At every step the model reaches into the same bag and pulls one tile. The bag never changes; only which tile it draws changes.
Why the topic needs it. The watermark works by splitting this bag into two halves (a "green" half and a "red" half) and quietly preferring one half. To split a thing, you must first know what the whole thing is.
The picture: a race with 50,000 runners lined up. Each runner has a number pinned on — that's its logit. The bigger the number, the further ahead it starts.
We have scores, but to actually pick a token we need probabilities (numbers between 0 and 1 that add up to 1). The tool that converts scores into probabilities is called softmax.
Let's earn every symbol in that line.
Why ex and not just the raw score? Two reasons, and both matter:
Scores can be negative; probabilities cannot. ex is always positive, so every token gets a sensible non-negative chance.
It makes the effect of adding δmultiplicative. Watch:
The picture: softmax is a "vote-share calculator." Give each runner's number to e(⋅), then each runner's probability is its slice of the total pie. Bumping green runners by δ enlarges their slices.
Why the topic needs it.δ is the single dial that trades detectability against quality. Every debate in the parent (poetry degradation, paraphrase attacks) is really a debate about how big to make δ. Related idea: nudging a model's output is close cousin to Adversarial examples, where a tiny push changes behaviour.
The picture: at every step, the bag of tiles is repainted — half the tiles turn green, half stay red — and the painting pattern is decided by the previous carriage wt−1.
Why the topic needs it. The watermark is nothing more than a preference for green. In natural (un-watermarked) text, about half the tokens land green by pure chance. In watermarked text, noticeably more than half are green. That gap is what the detector hunts for. Distinguishing "made by the model" from a random baseline is exactly the goal of AI-generated content detection.
We now need to prove a suspicious text really is watermarked, not just lucky. We count green tokens and ask: is this count surprising?
The picture: flip 200 coins, you expect ~100 heads but you'll usually land somewhere in 100 ± 7. A result of 150 heads would scream "these coins are rigged." Watermarked text is the rigged coin.
Why this exact formula? Subtracting μ centres the count on zero (so "no surprise" = 0). Dividing by σ converts the surprise into a universal unit ("number of wobbles"), so the same threshold works for a 50-token text or a 5000-token one. This is the standardising move that makes the two forms of the formula equal (just simplify N/4=2N).