Mistral unveils Keyrings, a hidden watermark for AI text

In short

91 to 95% watermarked answers caught, 256 tokens, ML4; 0.1% false-positive rate the test targets; 0.82× Keyrings throughput against stock vLLM at maximum load; 100 secret key sets audited for false alarms

How does Keyrings watermark text?

A language model writes one token (a word or part of a word) at a time by drawing from a list of probabilities. Keyrings uses the Gumbel-max trick: add a random number to each candidate's score and take the highest. If the random numbers are fair, the pick follows the model's probabilities exactly. The watermark replaces them with numbers from a pseudorandom function that is fed a secret key and the last three tokens. They look random to everyone, but the key holder can recompute them later.

Mistral says this gives two properties: no logit bias (the older "green list" method nudges some words up, which can bend the text), and each step stays exactly the model's own distribution.

The weak point of a single secret key is that the same prompt always produces the same answer. Keyrings' fix, as the post describes it:

Mistral measures variety with Self-BLEU, the average overlap between answers to the same prompt (higher means more repetitive). It reports the extra overlap a watermark causes against an unmarked model.

How does the TextOrca detector decide?

A detector sees only the text, the secret keys, a matching tokenizer and a small proxy model that estimates how predictable each word was. For every token it recomputes the key's number and scores it. Unwatermarked text scores like chance, while watermarked text scores higher, and surprising words count most because predictable ones carry almost no signal. TextOrca sorts tokens into five bins by that probability, gives each bin a fixed weight and reports a p-value with a closed-form formula, so no threshold is tuned on sample data. Because it does not know which keyring was used, it tests all L and corrects for that.

Mistral says the same detector also works on text from the rival TextSeal watermark, and beat TextSeal's own detector in 17 of 18 settings on ML4 (the exception: 89.6% against 89.9%).

How well does it work?

The headline figure is a false-positive rate of 0.1%: no more than 1 in 1,000 ordinary texts flagged. At that setting, on ML4 with 256-token answers:

With speculative decoding, a speed-up where a small model drafts words and the large one checks them, the three versions catch 88.4%, 90.3% and 83.8%. Mistral says the watermark leaves the share of accepted draft tokens unchanged (0.449 against 0.452 without it), and that SynthID-Text falls to 19.5% or lower there.

The other models are less flattering. On Qwen3.5-9B Keyrings catches 92.2 to 95.8%, but on Qwen3.6-27B only 24.4 to 33.2% at 256 tokens, rising to 63.0 to 72.2% at 400. Mistral explains that this model's answers are more predictable, so every method needs longer text; it says Keyrings still leads the matched rivals there. Mistral also audited 100 unscreened key sets for false alarms: on ML4 the average was 0.098% to 0.104% against the 0.1% target, though the worst set reached 0.200% to 0.300% depending on the version, while TextSeal-2's own detector had one set at 5.34%.

A 91 to 95% catch rate holds for 256-token English answers on one Mistral model. A short reply, a more predictable model or a text that someone rewrites can behave differently. We found no results on paraphrased or translated text in the post.

Does it hurt quality or speed?

Mistral reports no significant difference from the unwatermarked model on GPQA, MMLU-Pro, HealthBench Professional and IFEval, and on the agentic tests Terminal-Bench 4, DeepSWE and BrowseComp. It also says that is weaker than proving no harm: the margins of error are 5 to 9 points. On Terminal-Bench 4 the two Copula versions scored 6.9 and 8.3 points below the unwatermarked model (23.6%), and the post says those runs cannot separate a cost of 3 to 8 points from noise. Plain Keyrings stayed within 3 points.

On speed, on 8 B200 GPUs, Keyrings kept 0.82× the output of stock vLLM at maximum load, against 0.16× for TextSeal-2, 0.40× for SynthID-Text and 0.17 to 0.21× for textGrain. With speculative decoding it kept 0.33× at 160 simultaneous requests; Mistral blames its own relay engine for that gap, not the watermark.

What does "machine-checked" mean here?

Mistral says the method's guarantees are checked in Lean 4 with Mathlib. Lean 4 is a proof assistant: a program that accepts a mathematical proof only if every step follows from the rules. This covers the mathematics of the scheme (each step is exact), not the real-world tests, and we did not see the proofs.

What is not stated

Terms in plain English

Where things stand

Mistral published the method on 2 December 2026. The open questions are whether the detector can be run outside Mistral and how it holds up on edited text.

Official channels of Mistral AI: Website · LinkedIn · X · YouTube

Sources

Sources

Related stories

More from AI in Europe

All stories from AI in Europe