Skip to content
DigitalNeuron
Models & research

Mistral AI Details New LLM Watermarking System Keyrings and TextOrca Detector

Mistral AI published research on Keyrings, a distortion-free text watermark, and TextOrca, a detector, saying the pair preserves output diversity and quality.

By DigitalNeuron Desk2 min read

Quick answer

What did Mistral AI announce about its new LLM watermarking method?

Mistral AI published research describing Keyrings, a distortion-free watermarking method for LLM-generated text, and TextOrca, its detector. The company says the system preserves text diversity and quality, works with speculative decoding, and is backed by machine-checked proofs in Lean 4 and Mathlib.

Key takeaways

  • Mistral AI says it developed Keyrings, a sampling-time watermark for LLM-generated text, and TextOrca, a detector for it.
  • According to Mistral, Keyrings uses the Gumbel-max trick with pseudorandom function (PRF) keys so each token is drawn without distorting the model's original probability distribution.
  • Mistral says Keyrings stores multiple hidden 'keyrings' of keys and randomly assigns one per request, which the company states restores output diversity across repeated prompts.
  • Mistral says TextOrca produces an exact, conservative p-value for detection without needing calibration, and that it also detects more watermarked text than the official detector for a comparison method called TextSeal when scoring the same outputs.
  • Mistral states the method's guarantees were machine-checked using the Lean 4 and Mathlib formal verification tools.

Mistral AI has published research introducing Keyrings, a watermarking method for text produced by its language models, along with a companion detector called TextOrca.

According to Mistral, Keyrings embeds a statistical signal into generated text at the moment each token is sampled, using a technique called the Gumbel-max trick combined with pseudorandom numbers derived from a secret key. The company says this approach is distortion-free: each token is still drawn from the model's own trained probability distribution, rather than having its likelihood artificially shifted the way earlier "red-list/green-list" watermarking methods did, which Mistral says could bias generations.

How Keyrings preserves diversity

Mistral says a known limitation of earlier single-key watermarking approaches is that repeated requests for the same prompt tend to produce nearly identical outputs, collapsing the diversity a user would otherwise get from an unwatermarked model. To address this, the company says Keyrings stores multiple hidden "keyrings," each containing a set of keys, and randomly selects one keyring per request. Mistral states that this randomization is what restores diversity across repeated prompts, while the number of individual keys within a keyring has little effect on either diversity or detection strength.

Mistral also describes an optional mode called Keyrings + Copula, which mixes the keyed randomness with private noise at a tunable correlation level. The company says this option can further increase diversity at the cost of some detection power.

Two additional mechanisms support the sampler, per Mistral: a short unwatermarked buffer at the start of each response so repeated requests can diverge immediately, and a deduplication step that skips watermarking when a context window repeats within a single response, which the company says prevents repetition loops.

TextOrca as a detector

Mistral says TextOrca returns what it calls a grounded, conservative p-value, computed as a weighted sum of exponentials with a closed-form tail, and that this removes the need for calibrated detection thresholds. The company states that because TextOrca does not depend on Mistral's own sampling method, it can also be used to score text watermarked by a different method called TextSeal, and that on the same TextSeal outputs, TextOrca detects more watermarked responses than TextSeal's own official detector.

Reported results

Mistral reports that, at matched diversity cost on 256-token outputs from a model it refers to as ML4 and at a target false-positive rate of 0.1%, Keyrings and Keyrings + Copula detect between 91% and 95% of watermarked responses. The company says this places its methods ahead of three comparison methods it names as SynthID-Text, textGrain, and TextSeal-2, both with TextSeal's official detector and with TextOrca, and that the lead holds on two additional models it names as Qwen3.6-27B and Qwen3.5-9B. Mistral says it found no significant difference in served quality or on agentic benchmarks between watermarked and unwatermarked outputs.

Formal verification

Mistral states that the guarantees underlying Keyrings, including that a full watermarked sequence follows the model's exact probability law rather than just each individual token, were machine-checked using the Lean 4 proof assistant and its Mathlib library.

Source: Mistral AI, "Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding," published December 2, 2026.

Frequently asked questions

What is Keyrings?
Mistral AI describes Keyrings as a distortion-free watermarking method for text generated by large language models. It uses the Gumbel-max sampling trick combined with secret pseudorandom function keys so that watermarked tokens still follow the model's original probability distribution.
What is TextOrca?
According to Mistral, TextOrca is the detector built for Keyrings. The company says it computes an exact, conservative p-value to flag watermarked text without requiring calibrated thresholds.
Does the watermark affect output quality or diversity?
Mistral states that Keyrings is distortion-free, meaning sampled tokens follow the model's trained distribution, and that its use of multiple hidden keyrings restores diversity across repeated responses to the same prompt.
Does Keyrings work with speculative decoding?
Mistral says the system is designed to be compatible with speculative decoding, a serving technique that uses a smaller draft model to speed up generation, without degrading acceptance rate or inference speed.

Sources

  1. Keyrings and TextOrca: a diversity-preserving, distortion-free watermark and a stronger detector, served under speculative decoding | Mistral — Mistral AI
Tagsmistral-aiwatermarkingllm-detectionai-safetyspeculative-decodingresearch

Related reading

Anthropic Launches Claude Opus 4.6 With 1 Million Token Context Window

Anthropic released Claude Opus 4.6, an upgrade to its Opus-class model with a 1 million token context window in beta, improved coding and agentic task performance, and claimed state-of-the-art results on benchmarks including Terminal-Bench 2.0, Humanity's Last Exam, GDPval-AA, and BrowseComp. Anthropic says the model's safety profile matches or exceeds prior Claude models.

3 min read

Anthropic Introduces Claude Haiku 4.5

Anthropic released Claude Haiku 4.5, a small model available via the Claude API, Claude Code, Bedrock, and Vertex AI at $1/$5 per million input/output tokens. Anthropic says it matches Claude Sonnet 4's coding performance at one-third the cost and over twice the speed, and classified it under its lower-restriction ASL-2 safety standard.

2 min read

Mistral AI Releases Clipstral, an Open-Weight Multimodal Embedding Model

Mistral AI released Mistral Multimodal Embed, also called Clipstral, an open-weight 1.2B-parameter model that embeds images, videos, and multilingual text into a shared space. Mistral says it leads open-weight models up to 4B parameters on image and video retrieval, handles native resolutions, long text, and 36 languages. Weights are on Hugging Face under Apache 2.0.

2 min read