Concrete Cryptanalysis of the Permuted Reed--Solomon Pseudorandom Code for LLM Watermarking
Abstract
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 , where is the information per pair of responses. The cost grows as in the message dimension , which is superpolynomial in the code length , so it does not contradict the conjecture, which requires . Expressed in tokens, the cost depends on the language model only through its mean bit-flip probability and its embedded bits per token . Under an i.i.d. symbol model, we show that no dimension is decodable within the Guruswami--Sudan radius once . With measured GPT-2 and Llama-2-7B statistics at gate , this translates to the fact that a 300-word response gives a cost between and (extra channel noise or ), and 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 , agree with the predicted cost within about bit in most settings.
Create a lesson
Metadata
- Categories
- cs.CR, cs.IT, math.IT
- Comments
- 12 pages, 7 tables, 1 figure
Related papers
Full Structure Recovery of Linearized Reed-Solomon Codes
Shared title terminologycs.CRValentina Astore, Martino Borello, Alain Couvreur
From Vendor-Neutral Request to Paid Backend: Procurement Integrity at the Commitment Boundary of AI Coding Agents
Shared title terminologycs.CRJinqian Zhang, Haojun Xia, Shujiang Wu et al.
Exposure of Virtual Asset Service Providers to Quantum Cryptanalysis: A Comparative Analysis with the Banking System and Public Blockchains in Brazil and the United
Shared title terminologycs.CRLuciano Juvinski
Towards Computational Robustness of Latent Diffusion Watermarking Against Removal Attacks with Adaptive Detector Access
Shared title terminologycs.CRDe Zhang Lee, Ee-Chien Chang
Now You See It, Now You Don't: Manipulating Perception and Attention in Code Vulnerability Detection LLM Agents
Shared title terminologycs.CRShanquan Yang, Boyu Kuang, Chunyi Zhou et al.
Post-AI Cryptography: Is Cryptographic Security Ready for AI-Driven Cryptanalysis?
Shared title terminologycs.CRAli Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour