Shallow Diffuse: Robust and Invisible Watermarking through Low-Dimensional Subspaces in Diffusion Models
Wenda Li, Huijie Zhang, Qing Qu
TL;DR
This work tackles the problem of watermarking diffusion-generated content in a way that works for both server-side generation and client-side post-processing. It introduces Shallow Diffuse, which embeds watermarks into a low-dimensional subspace by injecting at a carefully chosen timestep, leveraging the null-space of the Jacobian to preserve image quality while enabling reliable detection. The authors provide theoretical guarantees on watermark consistency and detectability and demonstrate strong empirical performance against baselines across multiple datasets, attacks, and model types, including T2I extensions and transformer-based diffusion. The approach is training-free, flexible, and practical for widespread deployment, offering a balanced solution between perceptual fidelity and robust attribution.
Abstract
The widespread use of AI-generated content from diffusion models has raised significant concerns regarding misinformation and copyright infringement. Watermarking is a crucial technique for identifying these AI-generated images and preventing their misuse. In this paper, we introduce Shallow Diffuse, a new watermarking technique that embeds robust and invisible watermarks into diffusion model outputs. Unlike existing approaches that integrate watermarking throughout the entire diffusion sampling process, Shallow Diffuse decouples these steps by leveraging the presence of a low-dimensional subspace in the image generation process. This method ensures that a substantial portion of the watermark lies in the null space of this subspace, effectively separating it from the image generation process. Our theoretical and empirical analyses show that this decoupling strategy greatly enhances the consistency of data generation and the detectability of the watermark. Extensive experiments further validate that our Shallow Diffuse outperforms existing watermarking methods in terms of robustness and consistency. The codes are released at https://github.com/liwd190019/Shallow-Diffuse.
