
Mistral AI
· 1 min read
Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding
Thinking
Summary
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.
1. What we wanted from a watermark
Seeded coin-toss intuition. Without secret seed kk, Observed A and Observed B are both indistinguishable 50/50 sequences (8 H, 8 T). With kk, the 12-flip seeded subsequence stands out with exact null probability 2−12≈2.4×10−42^{-12} \approx 2.4 \times 10^{-4}, whereas an ordinary fair coin matches only half the flips by chance (p=0.60p = 0.60).
A production watermark has to satisfy three practical constraints at once:
Original source
This story was published by Mistral AI. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on mistral.ai


