Codebook search recovers multi-bit LLM watermarks from short texts
Original title: Look It Up: Multi-bit LLM Watermarking via Codebook Search
Near-perfect recovery of 16-24 bit payloads on 200-token generations; results weaken on some instruction-tuned models with very short texts.
Researchers propose mapping an n-bit LLM watermark payload to a longer codeword and embedding it by biasing token logits during generation. Extraction matches the received bits to the nearest entry in a secret codebook using Hamming or Levenshtein distance. Recovery is near-perfect for 16-24 bit payloads on 200-token text and strong at 127 tokens on base models, but weaker for some instruction-tuned models on very short, low-entropy outputs. A BCH variant avoids storing the codebook but is generally less robust; deletions and light paraphrasing are handled better than insertions or stronger rewrites.
- Payloads are embedded through token-level logit biasing during generation.
- Extraction uses Hamming or Levenshtein distance against a secret codebook.
- A BCH variant skips codebook storage but generally reduces robustness.
- Levenshtein matching helps with deletions and light paraphrasing.
From the original article
1 min read at arxiv.orgAttributing short LLM-generated texts to a specific source remains challenging for existing multi-bit watermarking methods, which often require long generations or costly decoding to recover payloads reliably. We propose a codebook-based watermarking scheme that maps an $n$-bit payload to a longer $u$-bit codeword and embeds it during generation through token-level logit biasing.
By Jarosław Janas · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.