Keyed word/token choices
Anthropic says watermarking changes the source of randomness used when Claude chooses among plausible next words, creating a statistical pattern checkable with Anthropic's key — not hidden Unicode.
ZK-F — Zero-Knowledge Forensics is a technical reference for understanding how large language models embed detectable signals in generated text, how those signals can be detected and verified, how robust they are to editing and transformation, and how statistical watermarking fits alongside signed provenance such as C2PA.
Current focus: Anthropic has now explained Claude's text-watermark mechanism at a high level: keyed randomness subtly influences token and word choices during generation, creating a statistical signal that can be checked with Anthropic's key. The exact proprietary construction and detector remain undisclosed.
The homepage is the map. Technology guides explain how marking systems work. Forensics guides explain what detection and removal can actually prove.
Anthropic has confirmed a keyed statistical text watermark encoded through word/token choices — not hidden Unicode. What detection, code, editing and authorship claims actually mean.
Read the Claude guide → 02 · TECHNOLOGYThe full technical taxonomy: token biasing, keyed sampling, distribution-preserving methods, semantic watermarks, detection statistics, security properties and attacks.
Read the technical primer → 03 · TECHNOLOGYGoogle DeepMind's production text watermark: Tournament Sampling, keyed context scores, Gemini deployment and how it differs from KGW.
Explore SynthID Text → 04 · TECHNOLOGYGreen/red vocabulary partitions, logit bias, context hashing and the z-score detector that became the canonical LLM watermarking baseline.
Understand KGW → 05 · TECHNOLOGYWhy signed Content Credentials and statistical content watermarks solve different parts of the provenance problem — and why modern systems increasingly use both.
Compare provenance layers → 06 · FORENSICSGeneric AI classifiers, keyed watermark detectors and C2PA verifiers answer different questions. What each can verify — and what a result does not prove.
Understand detection → 07 · FORENSICSA technical taxonomy of removal by mark class: Unicode marks, statistical watermarks, C2PA metadata, soft binding and pixel-domain signals — with honest residual-risk reporting.
Understand robustness →Anthropic's August 2026 technical explanation confirms a keyed statistical word/token-choice mechanism. The exact proprietary algorithm, detector statistic and key hierarchy remain undisclosed.
Anthropic says watermarking changes the source of randomness used when Claude chooses among plausible next words, creating a statistical pattern checkable with Anthropic's key — not hidden Unicode.
A detector with the key estimates evidence of Claude involvement. Longer, higher-choice passages provide more evidence; factual text and precise code offer less marking opportunity. A free API/tool is planned but not yet public.
The exact sampling construction, detector statistic, thresholds, key hierarchy and cryptographic security parameters are still not public. Claude has not been established as KGW or SynthID's exact production system.
Do not confuse a watermark detector with a generic AI classifier. A provider watermark detector checks for an intentionally embedded keyed signal. A generic “AI detector” estimates whether prose resembles model output and may have unrelated error modes.
A language model already chooses among many plausible next tokens. A watermarking decoder uses a secret or pseudorandom rule to make some of those otherwise plausible choices slightly more likely, creating a pattern that a detector can reconstruct later.
The LLM produces probabilities over its vocabulary for the next token.
A PRF, hash or secret random sequence maps the current context to watermark state.
The decoder biases, ranks or couples token selection to that hidden state while trying to preserve quality.
The detector recomputes the rule over observed text and measures whether the correlation is too strong to be chance.
Watermarking is easiest when many next tokens are plausible. Open-ended prose gives the decoder freedom to steer among near-equivalent choices. Code, names, quotations, equations and exact factual completions are harder: choosing a watermark-preferred token may be unacceptable when there is only one correct continuation.
This is why detection power depends on more than length. Two passages with the same token count can contain very different amounts of usable watermark signal.
Kirchenbauer et al.'s soft watermark is the best-known baseline. The generator designates a pseudorandom fraction γ of the vocabulary as “green” for each context and biases those tokens. The detector counts green tokens.
Here T is the number of scored token positions and NG is the number that fall in the context-specific green set. Under a simplified null model, an unwatermarked sequence should hit green tokens near the base rate γ. Watermarked text should show a statistically significant excess.
This demonstrates the KGW-style statistic only. It does not detect Claude, Gemini or any production watermark.
A false-positive rate that sounds tiny can produce large numbers of incorrect flags at internet scale. Production evaluation should therefore report true-positive rate at very low false-positive rates, sequence length, entropy, language, domain and attack strength — not just a single “accuracy” number.
The frontier is no longer one algorithm. Modern systems make different choices about distortion, secret keys, synchronization, semantics, payloads and public verification.
| Family | Core mechanism | Strength | Main weakness |
|---|---|---|---|
| KGW / green-list | Context-derived token partition + logit bias | Simple, interpretable, cheap | Distribution distortion and rewrite sensitivity |
| Cryptographic sampling | Secret PRF/randomness guides token sampling | Can offer strong secrecy/undetectability definitions | Synchronization and key management |
| Distribution-preserving | Reweighting or sampling preserves target marginal distribution | Low detectable distortion | Detection/robustness design is more complex |
| SynthID Text | Keyed context scores + Tournament Sampling | Production-scale evidence | Strong rewriting still weakens signal |
| Semantic watermark | Sentence meaning/embedding regions carry signal | Better lexical paraphrase tolerance | Higher generation cost and semantic attack surface |
| Post-hoc rewriting | Rewrite existing text to embed a watermark | Works without controlling original generation | Fidelity and compute tradeoffs |
The important question is not whether a watermark is “unremovable.” Strong results show that universal removal resistance is unrealistic under natural threat models. The practical objective is to make removal costly while preserving low false positives and high quality.
A watermark tries to make a signal survive inside the content. C2PA binds cryptographically signed provenance claims to an asset. Neither subsumes the other.
| Embedded text watermark | C2PA / Content Credentials | |
|---|---|---|
| Question answered | Does this content carry a hidden signal consistent with key/system k? | Does this asset carry a valid signed claim about origin/edit history? |
| Evidence | Probabilistic/statistical | Cryptographic signature verification |
| Copy/paste text | Can survive | Usually loses the manifest binding |
| Heavy rewrite | Can be weakened or erased | Produces a new asset/history rather than preserving the old claim automatically |
| Rich provenance | Limited unless multi-bit payloads are used | Designed for rich assertions and history |
Claude illustrates the layered architecture. Anthropic says generated text uses an embedded watermark, while supported image/file outputs use signed provenance following C2PA. The two signals cover different failure modes.
EU AI Act Article 50 transparency obligations became applicable on 2 August 2026. The European Commission's transparency work emphasizes marking AI-generated or manipulated content in machine-readable ways that are effective, interoperable, robust and reliable as technically feasible.
This regulatory context helps explain the timing of new provider provenance systems. Technical marking is no longer merely an academic benchmark: providers must think about deployment coverage, interoperability, detection access, false positives, robustness, documentation and governance.
ZK-F is a technical reference, not legal advice. Compliance obligations depend on provider/deployer role, modality, placement date and use case.
ZK-F prioritizes original papers, provider documentation and standards rather than secondary summaries.
Published by 402T Labs SLUZK-F is a 402T Labs research initiative focused on technical provenance, watermark security and privacy-preserving verification for generative AI. Visit 402T.com ↗
Yes. Anthropic says supported Claude models embed an imperceptible watermark through keyed word/token choices during generation. Anthropic has explained the mechanism class but has not published the exact proprietary algorithm or a public third-party detector.
Not established. Claude's disclosed mechanism is a keyed statistical token-choice watermark in the same broad family as KGW and SynthID Text, but Anthropic has not said Claude uses the Kirchenbauer green-list construction.
Anthropic plans a free detection API/tool for users and third parties, but public access is not yet available as of 15 August 2026. Unofficial AI-text classifiers should not be assumed to detect Anthropic's actual watermark.
Strong paraphrasing can substantially weaken token-level signals, especially when another capable LLM regenerates most of the text. Some schemes survive partial edits better than others, and sufficient surviving text can remain detectable.
Watermark detection usually aggregates many small statistical events. Short text provides fewer observations, so the detector has less evidence and must trade false positives against false negatives more aggressively.
No. The text may come from an unwatermarked model, an unsupported model version, a short generation, or a watermark that was weakened by editing, translation, summarization or mixing.
They solve different problems. C2PA can provide strong signed provenance while the asset and manifest stay associated. An embedded watermark can survive ordinary copy/paste that strips metadata. Defense in depth uses both when appropriate.