논문 해설
Look It Up: Multi-bit LLM Watermarking via Codebook Search
Look It Up: 코드북 탐색 기반 다중 비트 LLM 워터마킹
- 연구 문제 짧은 LLM 생성 텍스트에서는 기존 다중 비트 워터마크가 정확도 또는 추출 속도 중 하나를 크게 희생해 실용성이 떨어집니다.
- 연구 방법 비밀 키로 만든 코드북에 n비트 워터마크를 중복 있는 u비트 코드워드로 대응시키고, 로짓 편향으로 삽입한 뒤 Levenshtein 거리로 가장 가까운 코드워드를 찾습니다.
- 주요 결과 Llama 2 7B의 200토큰 OpenGen 생성에서 16~24비트 워터마크는 거의 100%에 가까운 일치율을 기록했습니다.
짧은 텍스트의 다중 비트 워터마크 문제
LLM이 생성한 짧은 글에 식별자를 심어 출처를 추적하려면, 기존 다중 비트 워터마크는 대개 200토큰 안팎의 긴 텍스트를 가정합니다. 상품 리뷰나 소셜 미디어 글처럼 짧은 텍스트는 이 기준에 못 미치는데, 기존 방법들은 정확도와 추출 속도 중 하나를 크게 희생했습니다.
논문이 정리한 Table I 기준으로, 열거 기반 방법인 Fernandez 등의 방법은 정확도가 높지만 추출에 수 시간이 걸렸습니다. 위치 기반 할당을 쓰는 Yoo 등의 방법은 빠르지만 24비트에서 일치율이 낮았습니다. 이 논문은 두 축의 균형을 맞추는 방법을 목표로 합니다.

원문 그림 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 변형은 비트를 고정 위치에서 비교하므로, 삽입이나 삭제 한 번으로도 뒤의 비트가 어긋나 취약했습니다. 이는 저자들이 해석한 원인입니다. 이 실험은 주로 단어 수준 편집을 대상으로 하며, 다른 공격 종류까지 확장해 확인한 것은 아닙니다.
코드북 크기와 추출 비용
주요 한계는 코드북 크기입니다. 워터마크 공간이 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비트씩 두 번 삽입하는 우회를 제안하지만, 이는 논문에서 실험으로 검증된 결과가 아닙니다. 지시 튜닝 모델의 낮은 엔트로피 분포도 일치율을 떨어뜨리는 제약입니다.
논문 정보
- 저자
- 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
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
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}
}