Baselines for Identifying Watermarked Large Language Models

Leonard Tang, Gavin Uberti, Tom Shlomi
5/29/2023
cs.LGcs.AIcs.CR

No official code found. Best implementation: leonardtang/LLM-Watermarks (4 stars, last commit 2023-05-09).

Abstract

We consider the emerging problem of identifying the presence and use of watermarking schemes in widely used, publicly hosted, closed source large language models (LLMs). We introduce a suite of baseline algorithms for identifying watermarks in LLMs that rely on analyzing distributions of output tokens and logits generated by watermarked and unmarked LLMs. Notably, watermarked LLMs tend to produce distributions that diverge qualitatively and identifiably from standard models. Furthermore, we investigate the identifiability of watermarks at varying strengths and consider the tradeoffs of each of our identification mechanisms with respect to watermarking scenario. Along the way, we formalize the specific problem of identifying watermarks in LLMs, as well as LLM watermarks and watermark detection in general, providing a framework and foundations for studying them.

View on arXivView PDF

Code Implementations(1)

Baselines for Identifying Watermarked Large Language Models (ICML AdvML 2023)

41Python3 years ago

Similar Papers

Cite this paper

@article{tang2023baselines,
  title  = {Baselines for Identifying Watermarked Large Language Models},
  author = {Leonard Tang and Gavin Uberti and Tom Shlomi},
  year   = {2023},
  eprint = {2305.18456},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18456v1}
}

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

Discussion