← Lab /AI/ML

Codebook watermarking recovers 16-24 bits from 200-token LLM outputs

The authors claim near-perfect recovery of 16-24-bit payloads in short (≈200 token) generations using a codebook-based watermark

AI/ML arXiv 12 Nov 2026 Method Prototype evidence Threat model

Published as “Look It Up: Multi-bit LLM Watermarking via Codebook Search”

Why it matters

The approach makes it practical to embed and detect identifying payloads in short AI-generated posts, enabling attribution of fake reviews or social-media content at scale.

Summary

The paper shows that its codebook-based multi-bit watermarking scheme attains near-100% match rates for up to 24-bit payloads even on very short (127-token) texts, and extraction runs in a few milliseconds (under 0.1 s), making real-time detection feasible. However, for 32-bit watermarks the codebook approach becomes too slow and falls behind a BCH variant, and performance degrades on instruction-tuned models. Evidence comes from extensive experiments on several Llama and Mistral models using public datasets, with reported match rates and extraction times.

What they found 3

  1. Near-perfect extraction accuracy for up to 24-bit watermarks on short texts

    “Our codebook-based schemes achieve nearly a 100% match rate across most settings, outperforming all other methods.”

  2. Extraction is fast enough for real-time use

    “Even in the slowest setting, extraction takes under 0.1 seconds-practical for real-time use.”

  3. Method remains robust to modest word-level attacks

    “Our method offers a meaningful level of robustness, particularly against the word deletion and light paraphrasing attacks (10% modified tokens).”

Caveats 5

  • For the 32-bit watermark, we obtain the second-best result (BCH variant), since the codebook-based algorithms were too computationally expensive (see Section VI).
  • Generally, performance is comparatively lower on instruction-tuned models. We attribute this to the low-entropy, peaky logit distributions produced by these models after fine-tuning with methods like RLHF, which can overpower the logit-biasing mechanism.
  • A main limitation of our proposed scheme is the size of the codebook, which directly impacts extraction efficiency.
  • Therefore, a trade-off exists between the watermark’s capacity (2n) and the computational cost of extraction.
  • The limitation can be circumvented by requiring longer texts for embedding a watermark.

What’s new here 4

  • Enables millisecond-scale extraction of multi-bit watermarks via brute-force codebook search.
  • Achieves ~100% match rate on 127-token texts for payloads up to 24 bits.
  • Demonstrates robustness against word-deletion and light paraphrasing attacks using Levenshtein distance.
  • Mitigates tokenization inconsistency through per-token consistency checks.

Threat model stated by the source

Adversaryan entity that edits watermarked text while preserving meaning and readability
Capabilitycan modify up to 10% of tokens via insertion, deletion, synonym replacement, or paraphrasing
Assumesattacks requiring substantial human effort or heavy paraphrasing by other models are excluded; global rewrites that generate entirely new text are considered out of scope