6.4.12 · D3AI Safety & Alignment

Worked examples — Watermarking and provenance

2,731 words12 min readBack to topic

This page is a drill. We take the parent watermarking note and push its detection formula through every kind of input it can meet: strong signals, weak signals, the "no watermark at all" case, the degenerate tiny-text case, an attack that erodes the signal, and a real courtroom-style word problem.

Before line one, let us re-earn the symbols we lean on the whole way down.

Figure — Watermarking and provenance
Figure s01 — the green-count bell curve for . Observe three things: the dashed navy line at the baseline (what a fair coin expects), the magenta double-arrow showing one "wobble" wide, and the orange dot for Ex 1's count of 260 greens sitting six wobbles to the right — so far out in the thin tail that no honest coin lands there.


The scenario matrix

Every case the detection formula can throw at us falls into one of these cells. The worked examples below are each tagged with the cell they cover.

Cell Case class What is special Example
A Strong watermark, large , clean detect Ex 1
B No watermark (null case) , Ex 2
C Weak / borderline near threshold, decision matters Ex 3
D Degenerate tiny too few tokens to trust Ex 4
E Extreme / limiting (all green) or Ex 5
F Attack erodes signal (paraphrase) drops but may survive Ex 6
G Real-world word problem courtroom decision + false-positive rate Ex 7
H Exam twist (solve for unknown) given and , find Ex 8
I Below baseline (anti-signal) , negative Ex 9


One picture tying the cells together

Figure — Watermarking and provenance
Figure s02 — every worked example placed on the standardized -axis. The magenta vertical line at is the decision boundary; the shaded magenta sliver to its right is the "flag as watermarked" zone. Watch how the honest cases (Ex 2 at , Ex 9 at ) sit under the fat middle of the bell, the borderline cases (Ex 4 at , Ex 3 at ) hover left of the line and stay unflagged, while Ex 7 () lands exactly on the boundary and Ex 1 () sits deep in the flag zone. Ex 5's ceiling () is far off the right edge — the strongest a fair coin could ever be beaten.

Look at the sunset bell curve: the threshold line at (magenta) is the decision boundary. Ex 2 () and Ex 9 () sit under the fat middle — ordinary. Ex 3 () and Ex 4 () sit in the "suspicious but not proven" band. Ex 1 (), Ex 7 (), and the ceiling Ex 5 () live in the far-right sliver where a fair coin essentially never lands.

Recall Quick self-test

For , , what is ? ::: . Why can't a 4-token all-green text be flagged? ::: Its is only (), far short of the bar; tiny samples wobble too much. What is the maximum for ? ::: , reached when every token is green. A text gives . Watermarked? ::: No — negative means fewer greens than a coin; detectors flag only the positive tail. Does appear in the formula? ::: No — shapes how many greens the model produces, but detection reads only and .

Related deep material: AI-generated content detection, Model fingerprinting, Content moderation, and the parent Watermarking and provenance (Hinglish).