---
id: 18985
lang: en
title: "Mistral Proposes an Invisible Watermark for AI Text: Detector Catches 91–95% of Responses"
published_at: "2026-12-02 16:28:55"
source_name: "Mistral AI Blog"
source_url: "https://mistral.ai/news/keyrings-textorca-watermark/"
canonical_url: "https://news.hamidun.com/en/news/18985"
categories: ["llm", "research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Mistral Proposes an Invisible Watermark for AI Text: Detector Catches 91–95% of Responses

> **Краткая суть (BLUF):** Mistral has devised a way to quietly mark text generated by a language model so that its origin can be proven later. The watermark hides in the choice of words and does not change the probabilities with which the model selects them, so answer quality is not affected. The TextOrca detector flags 91–95% of marked responses at 256 tokens, while plain text without a mark is wrongly classified as AI-written in only 0.1% of cases. For those who host models themselves, this offers a way to add a watermark without losing quality or speed.  • Keyrings stores L sets of keys: different queries produce different texts • The lead over SynthID-Text holds on Qwen3.6-27B and Qwen3.5-9B • The method's guarantees were checked by machine in Lean 4 + Mathlib

How can you tell whether a text was written by a neural network rather than a human? Style is unreliable, and "eyeball detectors" make mistakes. That is why labs are betting on watermarks: a hidden statistical mark that readers don't notice, but that the holder of a secret key can verify. Mistral has published research on Keyrings and TextOrca: Keyrings applies the mark during generation, and TextOrca searches for it. On responses 256 tokens long, the detector finds 91–95% of marked texts, while on ordinary unmarked text it errs in only 0.1% of cases (the paper calls this the FPR, the share of false positives). The mark does not distort the model's answers and works alongside accelerated token output.

## How the mark works

Earlier schemes such as red-list/green-list split the vocabulary into "green" and "red" words and nudged the model toward green ones. The mark worked, but it slightly skewed the answers themselves. Keyrings adds nothing to the probabilities. The model selects the next token as usual, but the randomness for that selection comes not from a system generator but from a secret pseudorandom function that depends on the key and the three preceding tokens. To an outsider it looks like ordinary noise, and every step follows exactly the probabilities the model produced. Technically, it uses the Gumbel-max trick.

The article's analogy is a coin. Suppose you "flip" it not physically but from a sequence generated by a secret number. It looks like a fair 50/50, but anyone who knows the number can reproduce the sequence and show that a match across 12 flips happens by chance with a probability of about 2.4×10⁻⁴. The same holds for tokens: the chosen words turn out to have unusually high secret "random numbers" attached.

The problem with a single key is that the model answers almost identically to the same prompt, so the diversity of responses collapses. Keyrings solves this with a set of L "key bundles" of m keys each. For each request one bundle is selected, so different requests get different noise and different continuations. The first three tokens of a response are not marked, so that repeated requests diverge from the very start. If a three-token context repeats within the response, the mark is skipped at that step: this prevents looping, and the whole response remains exactly on the model's distribution.

There is also an optional Keyrings + Copula mode, borrowed from the AutoMark work: the secret noise is mixed with private noise at a correlation of ρ = 0.95. Diversity increases, and detection power drops slightly. The authors measure diversity with Self-BLEU: how similar the responses to a single prompt are to one another in terms of shared word sequences.

## TextOrca: a detector without calibration

For each token, the detector assesses how "favorable" the secret number turned out to be. Confident tokens, where the model had almost no choice (for example, a closing bracket after an opening one), carry little signal and a lot of noise. So TextOrca groups tokens into five buckets by probability and assigns them weights of 1, 0.4, 0.2, 0.03 and 0: unexpected words count fully, while nearly predetermined ones are ignored.

The output is a closed-form p-value, meaning a ready formula rather than a threshold tuned on data. It is conservative by construction: if there is no mark in the text, a false alarm occurs no more often than the set threshold (here, 0.1%). The detector does not depend on the sampler, so it also works for other parties' marks. On the same texts, TextSeal flags more marked responses than TextSeal's own official detector does.

## Numbers and limitations

On responses of 256 tokens, at a 0.1% false positive threshold, Keyrings and Keyrings + Copula find 91–95% of marked responses with comparable loss of diversity. This is better than SynthID-Text, textGrain and TextSeal-2. The advantage holds on Qwen3.6-27B and Qwen3.5-9B. On quality benchmarks and agentic tasks in a serving setup, there is no meaningful difference from ordinary output.

For production, compatibility with speculative decoding matters. In it, a small model drafts tokens and a large one verifies them in a batch, and a naive mark breaks this scheme. Mistral uses a relay with shared noise that does not reduce the acceptance rate of tokens or the speed. The method's properties were verified by machine in Lean 4 + Mathlib.

The caveats are these. Increasing L improves diversity but costs some detection power, partly because of the correction for multiple tests (Bonferroni): the detector checks the text against each bundle. Disabling deduplication yields slightly more detections but reduces diversity and removes the guarantee for the whole sequence. The results are reported for responses of 256 tokens, and whether the mark survives a strong paraphrase needs to be tested separately.

The practical takeaway for those who host models themselves: a mark that does not distort the distribution can now be added without noticeable losses in quality or speed. Verification requires secret keys and a small model, and the value of L sets the balance between response diversity and detector sensitivity.

---
- **Первоисточник:** [Mistral AI Blog](https://mistral.ai/news/keyrings-textorca-watermark/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18985
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
