Publicly-Detectable Watermarking for Language Models
2023-10-27Code Available1· sign in to hype
Jaiden Fairoze, Sanjam Garg, Somesh Jha, Saeed Mahloujifar, Mohammad Mahmoody, Mingyuan Wang
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/jfairoze/publicly-detectable-watermarkOfficialIn paperpytorch★ 14
Abstract
We present a publicly-detectable watermarking scheme for LMs: the detection algorithm contains no secret information, and it is executable by anyone. We embed a publicly-verifiable cryptographic signature into LM output using rejection sampling and prove that this produces unforgeable and distortion-free (i.e., undetectable without access to the public key) text output. We make use of error-correction to overcome periods of low entropy, a barrier for all prior watermarking schemes. We implement our scheme and find that our formal claims are met in practice.