Provable Robust Watermarking for AI-Generated Text

Xuandong Zhao, Prabhanjan Ananth, Lei Li, Yu-Xiang Wang
6/30/2023
cs.CLcs.LG

Official code: XuandongZhao/Unigram-Watermark (39 stars, MIT, last commit 2023-12-04).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2024] Provable Robust Watermarking for AI-Generated Text

399Shell, PythonJun 28, 20232 years agoMIT

Cite this paper

@article{zhao2023provable,
  title  = {Provable Robust Watermarking for AI-Generated Text},
  author = {Xuandong Zhao and Prabhanjan Ananth and Lei Li and Yu-Xiang Wang},
  year   = {2023},
  eprint = {2306.17439},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17439v2},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.17439.svg)](https://codeofpaper.com/paper/2306.17439)

Discussion