Meta 提出大语言模型无失真水印方法 TextSeal2,通过将双密钥融合成单个虚拟密钥并引入新鲜噪声,解决了投机解码等加速推理场景下水印信号衰减的问题。在保持生成多样性的同时,每个 token 均能携带完整水印信号,在投机解码中替换被拒绝的草稿 token 且不改变接受率。
New Meta paper shows that blending 2 secret keys into 1 makes hidden watermarks in AI-written text easier to detect, even when the AI uses a common trick (like speculative decoding) to write faster.
Watermarks hide a secret-key signal in which tokens an LLM samples, so a detector can later flag its text. Meta's earlier TextSeal picked 1 of 2 keys per token at random, so detection had to average both and lost signal.
TextSeal2 blends both keys into 1 virtual key plus fresh noise, so answers stay varied and every token carries full signal. For speculative decoding, it picks replacement tokens from the leftovers of the drafts' random races, so acceptance rates stay unchanged.
On Qwen3.5-9B with speculative decoding and equal diversity, it detected 89% of 200-token answers at a 0.1% false-positive rate. TextSeal caught 71% and textGrain 67%, at the same acceptance rate.
来源:Rohan Paul · x.com