RMCW: A Deletion-Robust Watermark Based on Reed--Muller Codes for Language Models
Yi Wang, Baicheng Chen, Yu Wang, Jian Zhao, Yilei Chen, Tianxing He
Abstract
Large Language Model (LLM) watermarking provides a lightweight mechanism for identifying text generated by a specific model, but its robustness remains fragile under post-processing attacks. Deletion attacks are particularly challenging because they shift token positions and break the alignment between observed tokens and their original watermark positions. We propose Reed--Muller Code Watermarking (RMCW), an LLM watermarking method based on Reed--Muller codes. In contrast to global codeword recovery, RMCW searches for surviving local algebraic structure, leveraging the Reed--Solomon consistency induced by affine-line restrictions of Reed--Muller codewords. During generation, RMCW injects a Reed--Muller structure into the sequence via a secret-keyed vocabulary partition. During detection, it maps the given text to keyed vocabulary bins and tests local subsequences for low-degree Reed--Solomon consistency using Berlekamp--Welch tests. Experiments on C4 and ELI5 datasets with OPT-1.3B and Llama-3.1-8B-Instruct show that RMCW preserves strong clean-text detectability and outperforms or matches the baseline methods under several deletion and rewriting attacks. Our code is available at https://github.com/BaichengDanny/RMCW.
Create a lesson
Metadata
- Categories
- cs.CR, cs.CL, cs.LG
Related papers
Towards Computational Robustness of Latent Diffusion Watermarking Against Removal Attacks with Adaptive Detector Access
Shared title terminologycs.CRDe Zhang Lee, Ee-Chien Chang
Semantic Behavioral Watermarking: Paraphrase-Robust and Forgery-Resistant Provenance for LLM Agents
Shared title terminologycs.CRSuxin Ji, Hungtao Wan, Shaoxuan Chen et al.
Rethinking Visual Provenance: Detection and Watermarking Across Direct Visual Generation and LLM-Driven Code Rendering
Shared title terminologycs.CRZheng Gao, Xiaoyu Li, Zhicheng Bao et al.
Grammar-Guided Code Watermarking with Green Temperature
Shared title terminologycs.CRHyundong Jin, Hyeseon An, Soohan Lim et al.
Language Model Fingerprinting Requires Rethinking Watermark Teachers
Shared title terminologycs.CRJeongyeon Hwang, Anshul Nasery, Sewoong Oh et al.
Evaluating and Improving the Robustness of Large Language Models to Input Sequence Variations
Shared title terminologycs.CRNarek Maloyan