paper

TIDEmark: Joint Token Watermarking for Diffusion Language Models via Multi-Marginal Optimal Transport

arXiv:2611.39168

Abstract

Watermarks for autoregressive language models are typically applied one token at a time. Diffusion language models (DLMs) generate text in parallel by successively updating multiple token positions. Most existing DLM watermarks focus on side-information generation, leaving the other watermarking components similar to their autoregressive counterparts. In this work, we leverage the parallel nature of DLMs to jointly watermark multiple tokens. By jointly watermarking token blocks, we improve detection without increasing the watermark's distortion. To do that, we introduce TIDEmark (Transport-based Interaction for Distortion-free Embedding of watermarks), which leverages multi-marginal optimal transport. TIDEmark is a distortion-free watermark whose score function builds on intra-block token interactions. TIDEmark offer a computationally tractable joint watermark by solving an entropic MOT over sparse computational graphs that encode token interactions in the block. Consequently, TIDEmark's computational complexity scales linearly with the DLM's block size. We demonstrate TIDEmark's superior performance in several generation tasks, such as summarization, question answering, and code generation. For example, on Multi-News, TIDEmark attains up to 89%-99% TPR@5% while keeping ROUGE-L within 0.6 points of the unwatermarked baseline, while on LCC it reaches up to 82%-92% TPR@5% while maintaining higher code similarity. Code: https://github.com/omerlux/TIDEmark.