[Paper Review] Provable Robust Watermarking for AI-Generated Text
The paper introduces Unigram-Watermark, a provably robust watermarking method for AI-generated text that maintains generation quality while enabling reliable detection and strong resistance to editing and paraphrasing attacks, with formal guarantees and empirical validation.
We study the problem of watermarking large language models (LLMs) generated text -- one of the most promising approaches for addressing the safety challenges of LLM usage. In this paper, we propose a rigorous theoretical framework to quantify the effectiveness and robustness of LLM watermarks. We propose a robust and high-quality watermark method, Unigram-Watermark, by extending an existing approach with a simplified fixed grouping strategy. We prove that our watermark method enjoys guaranteed generation quality, correctness in watermark detection, and is robust against text editing and paraphrasing. Experiments on three varying LLMs and two datasets verify that our Unigram-Watermark achieves superior detection accuracy and comparable generation quality in perplexity, thus promoting the responsible use of LLMs. Code is available at https://github.com/XuandongZhao/Unigram-Watermark.
Motivation & Objective
- Formalize a rigorous framework to quantify watermark effectiveness, correctness, and robustness against post-processing.
- Propose Unigram-Watermark (K=1) as a robust, simple watermarking scheme with fixed green/red split.
- Prove generation quality guarantees and exponential decay of Type I/II errors with text length.
- Show robustness guarantees against edits and paraphrasing, with theoretical and empirical support.
- Demonstrate practical effectiveness across multiple models and datasets.
Proposed method
- Define Watermark and Detect algorithms with a fixed green list and logit shift delta for green tokens.
- Use a z-statistic on the count of green-list tokens to decide watermarked text.
- Provide provable guarantees: Renyi-divergence bounds on distribution change, Type I/II error bounds, and security against post-processing.
- Prove ω-quality of watermarked output and robustness to edits via theoretical theorems.
- Compare Unigram-Watermark to a prior soft watermark and show superior robustness under attacks.
- Experiment with GPT2-XL, OPT-1.3B, LLaMA-7B on OpenGen and LFQA datasets showing detection performance and generation quality.
Experimental results
Research questions
- RQ1Can a unigram-based watermark provide provable guarantees for detection accuracy and robustness against edits?
- RQ2What are the quantitative tradeoffs between watermark strength, detection power, and text quality across models and datasets?
- RQ3How does Unigram-Watermark compare to prior watermark schemes under paraphrasing and editing attacks?
- RQ4Under what conditions do Type I and Type II error rates decay as text length grows?
- RQ5Is the watermark robust against common post-processing attacks while preserving generation quality?
Key findings
- Unigram-Watermark achieves perfect or near-perfect detection (TPR ~1.000) at 1% and 10% false positive rates on OpenGen and LFQA without attacks.
- Under paraphrase and editing attacks, Unigram-Watermark consistently outperforms KGW+23 across multiple models, maintaining high detection rates.
- Watermarked text preserves perplexity close to human-generated text, indicating generation quality is maintained.
- Theoretical guarantees show Renyi-divergence between watermarked and original distributions is tightly bounded by delta, ensuring ω-quality.
- Type I error can be controlled to be below the chosen alpha via threshold calibration, with exponential decay as text length increases.
- Security results demonstrate robustness to editing, with the z-score changing only modestly under bounded edits, improving resilience relative to prior work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.