Learning to Watermark in the Latent Space of Generative Models
Sylvestre-Alvise Rebuffi, Tuan Tran, Valeriu Lacatusu, Pierre Fernandez, Tomáš Souček, Nikola Jovanović, Tom Sander, Hady Elsahar, Alexandre Mourachko
TL;DR
DistSeal introduces latent-space watermarking for diffusion and autoregressive image models, enabling post-hoc watermarks in latent representations and in-model watermarking via distillation into either the model or its latent decoder. Latent watermarkers demonstrate competitive robustness with up to 20× speedups over pixel-space baselines, and distillation into the latent decoder or generative model preserves or enhances watermark robustness while maintaining image quality. The work provides a detailed comparison of post-hoc vs in-model trade-offs, analyzes watermark formation during generation, and offers practical guidance for deployment and multi-watermarking scenarios. It also outlines limitations and directions for future work, including extensions to video and stronger attack defenses.
Abstract
Existing approaches for watermarking AI-generated images often rely on post-hoc methods applied in pixel space, introducing computational overhead and potential visual artifacts. In this work, we explore latent space watermarking and introduce DistSeal, a unified approach for latent watermarking that works across both diffusion and autoregressive models. Our approach works by training post-hoc watermarking models in the latent space of generative models. We demonstrate that these latent watermarkers can be effectively distilled either into the generative model itself or into the latent decoder, enabling in-model watermarking. The resulting latent watermarks achieve competitive robustness while offering similar imperceptibility and up to 20x speedup compared to pixel-space baselines. Our experiments further reveal that distilling latent watermarkers outperforms distilling pixel-space ones, providing a solution that is both more efficient and more robust.
