Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding
By mistral · · AI News
The most powerful AI platform for enterprises. Customize, fine-tune, and deploy AI assistants, autonomous agents, and multimodal AI with open models.
Keyrings introduces a distortion-free LLM watermarking method using Gumbel-max sampling with secret PRF keys, ensuring undistorted token distributions while maintaining diversity through multiple hidden keyrings and optional Gaussian-copula mixing. Its detector, TextOrca, provides exact conservative p-values via probability-binned weighting, outperforming existing detectors (including TextSeal’s) in detection power without calibration. The system supports speculative decoding, preserves output quality, and is validated with machine-checked proofs, achieving 91–95% detection rates at 0.1% FPR while maintaining near-native diversity and serving efficiency.
Detection vs. diversity cost (difference of Self-BLEU score compared to non watermarked generation) on ML4 at 256 tokens and FPR 0.1%: Autoregressive (left) and speculative decoding (right). Blue line: Keyrings at m = 8 with dedup on, as L goes 1 → 4 → 16 → 64. Red line: the same sweep with Keyrings + Copula (ρ0.95). Large markers: the three finalists, which sit on these two lines. Grey dots: the other Keyrings / Keyrings + Copula cells (m = 1 or 4, or dedup off).
Solid green and olive lines: TextSeal scored with TextOrca; dashed lines with hollow markers: the same TextSeal text scored with TextSeal's official entropy-weighted detector; arrows: what TextOrca adds on the same text. Dotted line: the matched-distortion cut of §7 (+3.3). The x axis is linear up to +3 and logarithmic beyond. Up and to the left is better.
Source: https://mistral.ai/news/keyrings-textorca-watermark/