論文解説
Look It Up: Multi-bit LLM Watermarking via Codebook Search
Look It Up:コードブック探索による多ビットLLMウォーターマーキング
- 課題 短いLLM生成テキストでは、既存の多ビットウォーターマークが精度か抽出速度のどちらかを大きく犠牲にするため、実用性が下がります。
- 手法 秘密鍵で作ったコードブックで、nビットのウォーターマークを重複を含むuビットのコードワードに対応させます。ロジットバイアスで挿入したあと、Levenshtein距離で最も近いコードワードを探します。
- 結果 Llama 2 7BによるOpenGenの200トークン生成では、16~24ビットのウォーターマークがほぼ100%に近い一致率を記録しました。
短いテキストにおける多ビットウォーターマークの課題
LLMが生成した短い文章に識別子を埋め込んで出所を追跡するには、既存の多ビットウォーターマークは通常200トークン前後の長いテキストを想定しています。商品レビューやSNSの投稿のような短いテキストはこの基準を満たさず、既存手法は精度か抽出速度のどちらかを大きく犠牲にしていました。
論文のTable Iによると、列挙ベースのFernandez等の手法は精度が高い一方で、抽出に数時間かかりました。位置ベースの割り当てを使うYoo等の手法は高速ですが、24ビットでは一致率が低くなりました。本論文は、この2つの軸のバランスを取る方法を目指しています。

論文の図 Table I. Comparison of multi-bit watermarking methods on accuracy (match rate). The match rate is the percentage of watermarked texts from which the full hidden message is correctly extracted. Texts were generated withLlama 2 7Band embedded message was 24 bits long.
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。コードブックに基づく埋め込みと抽出
提案手法では、まず秘密鍵からコードブックをオフラインで一度作成します。nビットのウォーターマークをuビットのコードワードに線形符号化するため、uがnより大きく、冗長性が生じます。この冗長性が誤り耐性の根拠です。
埋め込みの段階では、選択したコードワードの各ビットをトークンごとの語彙分割に割り当て、ロジットバイアスδで生成トークンを誘導します。抽出の段階では、受け取ったテキストからビット列を復元したあと、コードブックのすべてのエントリとの距離を計算し、最も近いウォーターマークを選びます。主要な変種では、挿入と削除を許容するLevenshtein距離を使います。論文では、n=24、u=127の設定でコードブックが約256 MBであると述べられており、これはコードブックのサイズが抽出コストのボトルネックになることを示しています。

Fig. 1 . Our watermarking scheme. A codebook is pre-generated offline and later used by the embedding and extraction algorithms. The embedding phase embeds a long codeword (e.g., 127 bits) into the generated text. During the extraction, a noisy version of codeword is first obtained and then the closest codeword is searched in the codebook. Once the closest codeword is identified, the corresponding watermark is extracted. The detection decision (watermarked vs. non-watermarked) is based on the distance threshold. A distance is measured by the Hamming or Levenshtein distance.
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。OpenGen 200トークンと127トークンの実験
Llama 2 7Bで生成した200トークンのテキストに対して、16、20、24、32ビットのウォーターマークを評価しました。ロジットバイアスはδ=6に、サンプリングはgreedyに固定しました。コードブック手法は16~24ビットでほとんどの場合、ほぼ100%に近い一致率を記録しました。
![Table II. Comparison of methods on match rate (%) for different
watermark lengths (in bits) on 200 tokens. Evaluated on the OpenGen
dataset [10]. †BCH uses 127…](/papers/1c207fc0-dbd1-422d-aa7e-04c5ad2d615b/figures/figure-e971a4db79e39f1ff5fd00ab73a4da95.png?thumb=512)
論文の図 Table II. Comparison of methods on match rate (%) for different watermark lengths (in bits) on 200 tokens. Evaluated on the OpenGen dataset [10]. †BCH uses 127 tokens (native BCH codeword length) for 16–24-bit watermarks to maximize the error correction rate; the 32-bit watermark uses 200 tokens with code shortening (see Appendix D). NA denotes that a method was too computationally expensive for the whole dataset.
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。127トークンのテキストと24ビットの設定では、Table IIIを使ってEssays-With-InstructionsとHC3データを比較しました。
![Table III. Match rate (%) at FPR≤1%for a 24-bit watermark. Eval-
uated on Essays-With-Instructions dataset [12] and HC3 dataset [13].](/papers/1c207fc0-dbd1-422d-aa7e-04c5ad2d615b/figures/figure-5c98c219df2938554f37263da9792db0.png?thumb=512)
論文の図 Table III. Match rate (%) at FPR≤1%for a 24-bit watermark. Eval- uated on Essays-With-Instructions dataset [12] and HC3 dataset [13].
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。編集攻撃に対する頑健性
攻撃実験では、Llama 2 7BのOpenGen生成テキストに攻撃予算0.1を適用し、n=20、u=200の設定とLevenshtein距離で抽出しました。単語の削除と軽いパラフレーズでは、Levenshtein版は比較的頑健でした。単語の挿入が最も難しかったものの、一致率は約60%を維持しました。
![Figure 2: Match rate under attacks, evaluated on generations fromLlama 2 7Bwith the OpenGen dataset [10]. The attacker’s budget is
10% of a total number of tok…](/papers/1c207fc0-dbd1-422d-aa7e-04c5ad2d615b/figures/figure-4b69d5e7a57fd20b556b4fe616bf02f6.png?thumb=512)
Fig. 2 . Match rate under attacks, evaluated on generations fromLlama 2 7Bwith the OpenGen dataset [10]. The attacker’s budget is 10% of a total number of tokens for a given text. Baseline values are estimated from Figure 6 of Quet al.[6].
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。HammingとBCHの変種は、ビットを固定位置で比較するため、挿入や削除が1回あるだけでもそれ以降のビットがずれ、脆弱でした。これは著者らが解釈している原因です。この実験は主に単語レベルの編集を対象としており、他の種類の攻撃まで広げて確認したわけではありません。
コードブックのサイズと抽出コスト
主な限界はコードブックのサイズです。ウォーターマークの空間が2^nとして大きくなると、抽出時にすべてのコードワードとの距離を計算する必要があるため、コストが急増します。n=32では、コードブックは2^32 × 127ビット、約64 GB規模になると論文は報告しています。

論文の図 Table IV . Average extraction time per query forn=24(≈16.8M codebook entries). Hamming and Levenshtein benchmarked on an AMD Epyc 7302 (16C/32T, 3.0 GHz) with a single Nvidia RTX 5090 (32 GB).
出典 · CC BY 4.0 · Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk · Look It Up: Multi-bit LLM Watermarking via Codebook Search · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。著者らは、長いテキストを分けて16ビットずつ2回埋め込む回避策を提案していますが、これは論文で実験によって検証された結果ではありません。instruction tuningを施したモデルの低エントロピーの分布も、一致率を下げる制約になります。
論文情報
- 著者
- Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2026年11月12日
- 登録日
- 2026年11月13日
- 更新日
- 2026年11月12日
- バージョン
- v1
- arXiv
- 2611.16890
- カテゴリ
- cs.CR · cs.AI · cs.CL
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
Attributing 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. During extraction, the received bit sequence is matched to the nearest codeword in a precomputed secret codebook using Hamming or Levenshtein distance. Experiments show that our method achieves near-perfect recovery for 16-24 bit payloads on 200-token generations and strong performance on 127-token generations for base models. Results are weaker on some instruction-tuned models with very short texts, where low-entropy output distributions reduce embedding reliability. We also study a BCH-based variant that avoids codebook storage but generally reduces robustness. The Levenshtein variant improves resilience to deletions and light paraphrasing, while insertions and stronger rewrites remain challenging. We analyze collision probability, codeword separation, extraction time, tokenization consistency, and text quality, highlighting both the practicality and limitations of codebook-based watermarking for short-form attribution.
この論文を引用
Jarosław Janas, Paweł Morawiecki, Josef Pieprzyk (2026). Look It Up: Multi-bit LLM Watermarking via Codebook Search. arXiv:2611.16890v1. https://arxiv.org/abs/2611.16890v1
BibTeX
@misc{janas2026look,
title = {{Look It Up: Multi-bit LLM Watermarking via Codebook Search}},
author = {Jarosław Janas and Paweł Morawiecki and Josef Pieprzyk},
year = {2026},
eprint = {2611.16890},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.16890v1}
}