RMCW: Reed-Muller Code-Based Deletion-Resistant LLM Watermarking MethodRMCW: A Deletion-Robust Watermark Based on Reed--Muller Codes for Language Models
Translation in progress — untranslated text is omitted.
The researchers propose RMCW, a large language model watermarking method based on Reed-Muller codes, to address token position shifts and watermark alignment failure caused by deletion attacks. In the generation phase, Reed-Muller structure is injected into the text sequence through keyed vocabulary partitioning; in the detection phase, the text is mapped to keyed vocabulary bins, and the Berlekamp-Welch test is used to check low-degree Reed-Solomon consistency of local subsequences, thereby seeking surviving local algebraic structure rather than recovering the global codeword. Experiments on the C4 and ELI5 datasets with OPT-1.3B and Llama-3.1-8B-Instruct show that RMCW maintains strong detectability on clean text and matches or outperforms baseline methods under various deletion and rewriting attacks. The code is open-sourced at https://github.com/BaichengDanny/RMCW。
- Deletion shifts subsequent tokens, causing position-based watermarks to lose synchronization. The authors argue that detection need not recover the entire codeword; it only needs to find local structures that are unlikely to appear in watermark-free text.
- RMCW uses a key to partition the vocabulary into q bins and biases the next token according to a Reed–Muller grid. Detection maps the text back to bin labels, runs error-tolerant Reed–Solomon checks on local windows of multiple strides, and aggregates them into an approximate detection score.
- On C4, Llama-3.1-8B-Instruct, and up to 500 tokens, RMCW achieves a clean-text TPR@1%FPR of 99.8%, 98.1% under burst deletion, and 86.6% under synonym substitution; paraphrasing is only 8.3%, and random deletion is lower than KGW.
- The authors note: detection is not guaranteed under arbitrary rewriting; strong paraphrasing replaces most of the surface wording; short texts may provide insufficient evidence at low false-positive rates; pdet is an approximate score and needs recalibration when changing models, vocabularies, or domains. The experiments cover two models, C4, ELI5, and MBPP.
Related events and news
1 events · 0 news mentions
- This event's paper
RMCW:基于Reed-Muller码的抗删除LLM水印