English

A Watermark for Black-Box Language Models

Cryptography and Security 2026-02-24 v3 Computation and Language Machine Learning

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.

Keywords

Cite

@article{arxiv.2410.02099,
  title  = {A Watermark for Black-Box Language Models},
  author = {Dara Bahri and John Wieting},
  journal= {arXiv preprint arXiv:2410.02099},
  year   = {2026}
}

Comments

Published at TMLR 2026

R2 v1 2026-06-28T19:06:12.721Z