dgMARK: Decoding-Guided Watermarking for Diffusion Language Models
Pyo Min Hong, Albert No
TL;DR
dgMARK addresses provenance for discrete diffusion language models by leveraging decoding-order as a watermarking channel. It embeds signals through a parity-based hashing rule that guides the unmasking order, avoiding modifications to the model’s learned probabilities and remaining compatible with common decoding strategies. The approach includes a one-step lookahead variant and a robust sliding-window detector to maintain detection under post-editing, with empirical results showing strong detectability and minimal quality loss against baselines KGW and PATTERN-MARK. This decoding-guided method offers a practical, scalable provenance tool for dLLMs, robust to edits and suitable for long-form generation.
Abstract
We propose dgMARK, a decoding-guided watermarking method for discrete diffusion language models (dLLMs). Unlike autoregressive models, dLLMs can generate tokens in arbitrary order. While an ideal conditional predictor would be invariant to this order, practical dLLMs exhibit strong sensitivity to the unmasking order, creating a new channel for watermarking. dgMARK steers the unmasking order toward positions whose high-reward candidate tokens satisfy a simple parity constraint induced by a binary hash, without explicitly reweighting the model's learned probabilities. The method is plug-and-play with common decoding strategies (e.g., confidence, entropy, and margin-based ordering) and can be strengthened with a one-step lookahead variant. Watermarks are detected via elevated parity-matching statistics, and a sliding-window detector ensures robustness under post-editing operations including insertion, deletion, substitution, and paraphrasing.
