计算机科学 > 密码学与安全
[提交于 2026年11月29日]
标题:Concrete Cryptanalysis of the Permuted Reed--Solomon Pseudorandom Code for LLM Watermarking
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Pseudorandom error-correcting codes (PRCs) give undetectable and robust watermarks for large language models (LLMs). To our knowledge, the permuted Reed--Solomon code (PRSC) is the most robust PRC against worst-case edits, and its security rests on an asymptotic conjecture that has not been tested at deployable sizes. We give a keyless distinguisher for PRSC that counts the symbols at which two responses agree, a count that the secret permutations leave unchanged. We derive the exact distribution of the agreement count and the resulting sample cost $T\approx 6/\sqrt{D}$, where $D$ is the information per pair of responses. The cost $T$ grows as $2^{\Theta(k\log k)}$ in the message dimension $k$, which is superpolynomial in the code length $n$, so it does not contradict the conjecture, which requires $T=\mathrm{poly}(n)$. Expressed in tokens, the cost depends on the language model only through its mean bit-flip probability $\bar{p}$ and its embedded bits per token $\kappa$. Under an i.i.d. symbol model, we show that no dimension $k\geq 2$ is decodable within the Guruswami--Sudan radius once $\bar{p}\geq 1-1/\sqrt{2}$. With measured GPT-2 and Llama-2-7B statistics at gate $\tau=0.2$, this translates to the fact that a 300-word response gives a cost between $2^{29}$ and $2^{58}$ (extra channel noise $\eta=0.1$ or $0.2$), and $2^{128}$ needs about 1000--1600 words for GPT-2 and 3500--4400 for Llama-2-7B. Our end-to-end experiments on both models, at code length $17$, agree with the predicted cost within about $0.3$ bit in most settings.
提交历史
来自:Shuiyin Liu[v1] 2026年11月29日 星期日 14:08:46 UTC (184 KB)