A Watermark for Black-Box Language Models

Dara Bahri, John Wieting
10/2/2024
cs.CRcs.CLcs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Watermarking has recently emerged as an effective strategy for detecting the outputs of large language models (LLMs). Most existing schemes require white-box access to the model's next-token probability distribution, which is typically not accessible to downstream users of an LLM API. In this work, we propose a principled watermarking scheme that requires only the ability to sample sequences from the LLM (i.e. black-box access), boasts a distortion-free property, and can be chained or nested using multiple secret keys. We provide performance guarantees, demonstrate how it can be leveraged when white-box access is available, and show when it can outperform existing white-box schemes via comprehensive experiments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bahri2024watermark,
  title  = {A Watermark for Black-Box Language Models},
  author = {Dara Bahri and John Wieting},
  year   = {2024},
  eprint = {2410.02099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.02099v2}
}

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/2410.02099.svg)](https://codeofpaper.com/paper/2410.02099)

Discussion