Enhancing Watermarking Quality for LLMs via Contextual Generation States Awareness
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
Recent advancements in watermarking techniques have enabled the embedding of secret messages into AI-generated text (AIGT), serving as an important mechanism for AIGT detection. Existing methods typically interfere with the generation processes of large language models (LLMs) to embed signals within the generated text. However, these methods often rely on heuristic rules, which can result in suboptimal token selection and a subsequent decline in the quality of the generated content. In this paper, we introduce a plug-and-play contextual generation states-aware watermarking framework (CAW) that dynamically adjusts the embedding process. It can be seamlessly integrated with various existing watermarking methods to enhance generation quality. First, CAW incorporates a watermarking capacity evaluator, which can assess the impact of embedding messages at different token positions by analyzing the contextual generation states. Furthermore, we introduce a multi-branch pre-generation mechanism to avoid the latency caused by the proposed watermarking strategy. Building on this, CAW can dynamically adjust the watermarking process based on the evaluated watermark capacity of each token, thereby minimizing potential degradation in content quality. Extensive experiments conducted on datasets across multiple domains have verified the effectiveness of our method, demonstrating superior performance compared to various baselines in terms of both detection rate and generation quality.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 32 of its 35 references that are in the map. First posted on arXiv 9 Jun 2025.
Builds on
32 of 35 references.
Closest ancestors · 22
Same direction, newest first
- 2024Building Intelligence Identification System via Large Language Model Watermarking: A Survey and Beyond15 Jul
- 2024MarkLLM: An Open-Source Toolkit for LLM Watermarking16 May
- 2024CodeIP: A Grammar-Guided Multi-Bit Watermark for Large Language Models of Code24 Apr
- 2024An Entropy-based Text Watermarking Detection Method20 Mar
- 2024Duwak: Dual Watermarks in Large Language Models12 Mar
- 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trick20 Feb
- 2024Adaptive Text Watermark for Large Language Models25 Jan
- 2023Optimizing watermarks for large language models28 Dec
- 2023A Robust Semantics-based Watermark for Large Language Model against Paraphrasing15 Nov
- 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Models18 Oct
- 2023A Resilient and Accessible Distribution-Preserving Watermark for Large Language Models11 Oct
- 2023Unbiased Watermark for Large Language Models22 Sep
10 more
- 2023Advancing Beyond Identification: Multi-bit Watermark for Large Language Models1 Aug
- 2023An Unforgeable Publicly Verifiable Watermark for Large Language Models30 Jul
- 2023Towards Codable Watermarking for Injecting Multi-bits Information to LLMs29 Jul
- 2023Robust Distortion-free Watermarks for Language Models28 Jul
- 2023Watermarking Conditional Text Generation for AI Detection: Unveiling Challenges and a Semantic-Aware Watermark Remedy25 Jul
- 2023Provable Robust Watermarking for AI-Generated Text30 Jun
- 2023Undetectable Watermarks for Language Models25 May
- 2023Who Wrote this Code? Watermarking for Code Generation24 May
- 2023A Watermark for Large Language Models24 Jan
- 2022The Ethical Need for Watermarks in Machine-Generated Language7 Sep
Other references · 10
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 365
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
- 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 38
- 2023WatME: Towards Lossless Watermarking Through Lexical Redundancycited by 27
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025In-Context Watermarks for Large Language Models
- 2024Watermarking Large Language Models and the Generated Content: Opportunities and Challenges
- 2025WaterSearch: Exploring Seed Pooling for Improving the Quality-Detectability Trade-off in LLM Watermarking
- 2025How Good is Post-Hoc Watermarking With Language Model Rephrasing?
- 2024Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach
- 2024Less is More: Sparse Watermarking in LLMs with Enhanced Text Quality
- 2025Temperature Matters: Enhancing Watermark Robustness Against Paraphrasing Attacks
- 2025CATMark: A Context-Aware Thresholding Framework for Robust Cross-Task Watermarking in Large Language Models