MarkTune: Improving the Quality-Detectability Trade-off in Open-Weight LLM Watermarking
Yizhou Zhao, Zhiwei Steven Wu, Adam Block
TL;DR
MarkTune addresses the challenge of watermarking open-weight LLMs by moving from static weight perturbations (GaussMark) to an on-policy fine-tuning regime that treats the watermark signal as a learnable reward. By optimizing a dual objective that rewards watermark detectability while regularizing text quality, MarkTune steers updates toward watermark-sensitive directions near a high-quality reference distribution, achieving a quality-detectability frontier close to inference-time methods. The approach preserves false-positive guarantees, generalizes across datasets, and demonstrates robustness to paraphrasing and substantial fine-tuning. Empirically, it outperforms prior model-embedded schemes on detection strength with minimal degradation to downstream performance, suggesting a practical, general strategy for embedding robust watermarks in open-weight LMs.
Abstract
Watermarking aims to embed hidden signals in generated text that can be reliably detected when given access to a secret key. Open-weight language models pose acute challenges for such watermarking schemes because the inference-time interventions that dominate contemporary approaches cannot be enforced once model weights are public. Existing watermaking techniques for open-weight models, such as the recently proposed GaussMark, typically rely on small modifications to model weights, which can yield signals detectable to those equipped with a secret key, but achieving detection power comparable to inference-time watermarks generally requires weight perturbations that noticeably reduce generation quality. We introduce MarkTune, a theoretically principled, on-policy fine-tuning framework that treats the GaussMark signal as a reward while simultaneously regularizing against degradation in text quality. We derive MarkTune as an improvement on GaussMark and demonstrate that MarkTune consistently improves the quality-detectability trade-off over GaussMark by steering finer-grained, watermark-aware weight updates within the model's representation space while preserving generation quality. Empirically, we show that MarkTune pushes the quality-detectability frontier of GaussMark close to that of inference-time watermarking, remains robust to paraphrasing and fine-tuning attacks, and exhibits strong generalization: a model fine-tuned on one dataset retains substantial watermark detection power on unseen datasets. Together, these results establish MarkTune as a general strategy for embedding robust, high-quality watermarks into open-weight LMs.
