Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding
Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding
Keyrings is a sampling-time LLM watermark that uses keyed Gumbel-max noise from secret PRF keys, keeping each token exactly distributed as the model's next-token law while restoring diversity across repeated prompts via L hidden keyrings of m keys and an optional Gaussian-copula mixing option. Its detector, TextOrca, produces an exact conservative p-value through probability-binned weighting with a closed-form tail and a Bonferroni correction over keyrings, and also detects more watermarked responses than TextSeal's official entropy-weighted detector on the same TextSeal outputs (17 of 18 ML4 settings). The system supports speculative decoding through a shared-noise Gumbel-max relay, has machine-checked Lean 4 + Mathlib guarantees, and at 0.1% FPR on 256-token ML4 outputs detects 91–95% of watermarked responses at matched diversity cost, ahead of SynthID-Text, textGrain and TextSeal-2.
Source: Mistral AI · mistral.ai