Beyond Semantic Narrowing: Robust and Efficient LLM Watermarking with Hamming Neighborhoods
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
Semantic 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. When these two preferences are poorly aligned, many natural continuations become incompatible with the watermark, causing semantic narrowing: reduced semantic freedom, increased resampling cost, and potential degradation on tasks with strict semantic requirements. To alleviate this problem, we propose HammingMark, which uses the semantic hash of the preceding sentence as a dynamic center and accepts candidates whose hashes fall within its Hamming neighborhood. Defining watermark validity over a Hamming neighborhood in compact hash space retains a larger fraction of naturally likely semantic continuations. The coarse many-to-one hash mapping further allows diverse semantic realizations to remain watermark-valid. Experiments on C4 and BookSum show that HammingMark achieves strong robustness, high detectability, and near-unwatermarked generation quality, requiring only 2.2 sampled candidates per accepted sentence,a 72.8% reduction compared with the most sampling-efficient existing method. On more complex tasks with strict semantic constraints, HammingMark achieves the highest detection rates with the highest or tied-highest ROUGE-L scores, demonstrating its effectiveness in balancing watermark detectability and generation quality under constrained generation settings.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 25 of its 30 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
25 of 30 references.
Closest ancestors · 14
Same direction, newest first
- 2026Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Models8 Jan
- 2025PMark: Towards Robust and Distortion-free Semantic-level Watermarking with Channel Constraints25 Sep
- 2025Copyright Protection for Large Language Models: A Survey of Methods, Challenges, and Trends15 Aug
- 2025MorphMark: Flexible Adaptive Watermarking for Large Language Models14 May
- 2025SimMark: A Robust Sentence-Level Similarity-Based Watermarking Algorithm for Large Language Models5 Feb
- 2024Watermarking Techniques for Large Language Models: A Survey26 Aug
- 2024MarkLLM: An Open-Source Toolkit for LLM Watermarking16 May
- 2024An Entropy-based Text Watermarking Detection Method20 Mar
- 2024k-SemStamp: A Clustering-Based Semantic Watermark for Detection of Machine-Generated Text17 Feb
- 2023A Robust Semantics-based Watermark for Large Language Model against Paraphrasing15 Nov
- 2023A Semantic Invariant Robust Watermark for Large Language Models10 Oct
- 2023Unbiased Watermark for Large Language Models22 Sep
2 more
Other references · 11
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2019ELI5: Long Form Question Answeringcited by 575
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
- 2022Locally Typical Samplingcited by 111
- 2024Improving Uncertainty Estimation through Semantically Diverse Language Generationcited by 35
- 2026Open Technical Problems in Open-Weight AI Model Risk Managementcited by 5
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiencycited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023SemStamp: A Semantic Watermark with Paraphrastic Robustness for Text Generation
- 2026Semantic Differentiation for Tackling Challenges in Watermarking Low-Entropy Constrained Generation Outputs
- 2026ChainMark: Model-Free LLM Watermarking with Closed-Form Calibration
- 2025WaterSearch: Exploring Seed Pooling for Improving the Quality-Detectability Trade-off in LLM Watermarking
- 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learning
- 2026Breaking Semantic-Aware Watermarks via LLM-Guided Coherence-Preserving Semantic Injection
- 2026DenMark: Robust Semantic Watermarking for Diffusion Language Models
- 2024PostMark: A Robust Blackbox Watermark for Large Language Models