(a) §1.2 — the red–green trickA toy autoregressive model over 29 words with a small grammar (Definition 3: the prefix determines the next-token distribution), so the two texts read as simple sentences. At each position the key pseudorandomly marks γ = 0.25 of the vocabulary green via a PRF of the prefix and token — here keyed by the previous token, so a repeated context reuses its green set, the reuse issue §2 handles by seeding only after enough entropy. Hovering a token opens that step’s probability table: the possible next words with p → p̂, green rows raised, red rows shrunk by normalization, the sampled word boxed in gold, and the green mass q → q̂ beneath. A step with a single possible word shows no bias at all — a deterministic step has no freedom to spend, the entropy point of §2. Watermarking adds δ to green logits: p̂(v) ∝ p(v) eδ 1[green], raising the green mass from q to eδq/(1−q+eδq). Ordinary text hits green at rate ≈ γ; watermarked text at ≈ γ+ρ. The detector counts hits and accepts above γ+ρ/2; concentration makes both errors e−Ω(ρ²L), so L = O(ρ−2log(1/ε)) suffices (Theorem 1). Without the key the tokens are just tokens — press reveal to see what the key sees.
bias δ
length L
–
(b) §2 — undetectable: Gumbel samplingSample X = argmaxv Uv1/p(v) with keyed Uv = Fk(prefix, v). Then X ∼ p exactly — the output distribution is untouched, so no one without the key can tell watermarked from plain (Definition 4) — while the winner’s own value satisfies Pr[Uv ≤ u | X = v] = u1/p(v): biased toward 1. The key holder accumulates S = −Σ log(1−ui): plain text gives E[S] = L ± √L, watermarked text noticeably more — when there is entropy to spend; a near-deterministic step (some p(v) ≈ 1) contributes almost nothing, which is why the notes seed the PRF only after enough empirical entropy has accumulated. References: Aaronson 2022; Christ, Gunn & Zamir, COLT 2024.
–