Beyond Semantic Narrowing: Robust and Efficient LLM Watermarking with Hamming Neighborhoods
HammingMark watermarks LLM text via Hamming-neighborhood semantic hashes, cutting resampling while keeping detectability and quality.
Researchers propose HammingMark, an LLM watermark that uses the preceding sentence's semantic hash as a dynamic center and accepts candidates inside its Hamming neighborhood. The design retains more naturally likely continuations than methods that impose a single watermark-specific semantic preference, reducing semantic narrowing. On C4 and BookSum it needs 2.2 sampled candidates per accepted sentence, 72.8 percent fewer than the most sampling-efficient prior method, with strong robustness and near-unwatermarked quality. On constrained generation it reports the highest detection rates and the highest or tied-highest ROUGE-L scores.
- Hamming neighborhood in hash space keeps more natural continuations
- Needs 2.2 candidates per sentence, a 72.8 percent sampling cut
- Highest detection with top or tied ROUGE-L on constrained tasks
- Evaluated on C4 and BookSum with near-unwatermarked quality
From the original article
1 min read at arxiv.orgSemantic watermarking improves robustness against watermark removal attacks by embedding detectable signals into sentence-level representations. However, existing watermarking methods typically impose watermark-specific semantic preferences on generated sentences without explicitly accounting for the highly non-uniform and context-dependent semantic preference of LLM generation.
By Zewen Sun · 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.