Mistral Releases Keyrings Watermarking Method: Achieves 91-95% Detection Rate While Maintaining Output Diversity
Mistral introduces a distortion-free LLM watermarking method that preserves output diversity and supports speculative decoding, achieving high detection rates without degrading model quality.
French AI company Mistral has released Keyrings, a new sampling-time watermarking method for large language models (LLMs), along with its detector TextOrca. The method addresses the long-standing trade-off between watermark detection strength and output diversity in distortion-free watermarks. By using Gumbel-max sampling with secret pseudorandom function (PRF) keys, Keyrings ensures that every token is drawn exactly from the model's trained distribution, leaving no statistical bias or logit manipulation.
To restore diversity across repeated prompts, Keyrings maintains multiple hidden keyrings and samples one per request. An optional Gaussian-copula mixing further enhances diversity by blending keyed noise with private noise. The accompanying detector, TextOrca, provides exact conservative p-values through probability-binned weighting, outperforming existing detectors like TextSeal's official entropy-weighted version without requiring calibration.
In tests on 256-token outputs at a 0.1% false-positive rate target, Keyrings and Keyrings + Copula achieved detection rates of 91–95%, surpassing comparable methods such as SynthID-Text, textGrain, and TextSeal-2. Crucially, the system is compatible with speculative decoding, a technique used to accelerate LLM serving. Mistral reports no significant difference in served quality or agentic benchmarks, and the method's guarantees have been machine-checked in Lean 4 + Mathlib.