Watermarking Language Models with Error Correcting Codes
Patrick Chao, Yan Sun, Edgar Dobriban, Hamed Hassani

TL;DR
This paper introduces a novel watermarking method for large language models using error correcting codes, which is robust, undetectable to humans, and maintains output quality.
Contribution
It proposes the RBC watermarking framework that encodes signals with error correcting codes, providing robustness and theoretical guarantees while preserving text quality.
Findings
Watermark is robust to edits, deletions, and translations.
The method maintains high output quality without degradation.
Empirical results show it outperforms existing watermarking techniques.
Abstract
Recent progress in large language models enables the creation of realistic machine-generated content. Watermarking is a promising approach to distinguish machine-generated text from human text, embedding statistical signals in the output that are ideally undetectable to humans. We propose a watermarking framework that encodes such signals through an error correcting code. Our method, termed robust binary code (RBC) watermark, introduces no noticeable degradation in quality. We evaluate our watermark on base and instruction fine-tuned models and find that our watermark is robust to edits, deletions, and translations. We provide an information-theoretic perspective on watermarking, a powerful statistical test for detection and for generating -values, and theoretical guarantees. Our empirical findings suggest our watermark is fast, powerful, and robust, comparing favorably to the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Steganography and Watermarking Techniques · DNA and Biological Computing · Advanced Malware Detection Techniques
MethodsBalanced Selection
