← Latest papers
🤖 AI

Learning to Watermark in the Latent Space of Generative Models

This paper introduces DistSeal, a unified approach that trains post-hoc watermarking models in the latent space of generative models and distills them into the generator or decoder, achieving robust, imperceptible, and up to 20x faster watermarking compared to traditional pixel-space methods.

Original authors: Sylvestre-Alvise Rebuffi, Tuan Tran, Valeriu Lacatusu, Pierre Fernandez, Tomáš Souček, Nikola Jovanović, Tom Sander, Hady Elsahar, Alexandre Mourachko

Published 2026-01-23
📖 4 min read☕ Coffee break read

Original authors: Sylvestre-Alvise Rebuffi, Tuan Tran, Valeriu Lacatusu, Pierre Fernandez, Tomáš Souček, Nikola Jovanović, Tom Sander, Hady Elsahar, Alexandre Mourachko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a magical artist (a Generative AI) that can paint incredibly realistic pictures from scratch. The problem is, once these pictures are out in the world, it's hard to tell if they were painted by a human or a machine. This makes it easy for bad actors to create fake news or deepfakes.

To solve this, we need to put a "hidden signature" on these AI pictures, like a secret watermark. This paper introduces a new, smarter way to do that called DISTSEAL.

Here is how it works, broken down into simple concepts:

1. The Old Way: Painting the Signature on the Canvas

Previously, people tried to add watermarks after the AI finished painting. Imagine the AI paints a 512x512 pixel image (a huge canvas). Then, a separate tool has to go in and carefully scribble a tiny, invisible code onto every single pixel of that finished canvas.

  • The Problem: This is slow and clunky. It's like hiring a second person to walk over a finished painting and add a signature. It also leaves tiny "artifacts" (glitches) that can sometimes be seen or removed easily.

2. The New Way: The "Latent Space" Kitchen

The authors realized that before the AI paints the final picture, it actually works in a compressed, hidden "kitchen" called Latent Space. Think of this as a rough sketch or a set of instructions that is much smaller and simpler than the final painting.

  • The Innovation: Instead of waiting for the painting to finish, DISTSEAL puts the watermark inside this hidden kitchen while the AI is still cooking.
  • The Benefit: Because the "kitchen" is so much smaller than the final canvas, the process is 20 times faster. It's like writing the secret code on the recipe card instead of trying to write it on the finished cake.

3. Two Ways to Use the Secret Code

The paper shows two main ways to use this new method:

A. The "Post-It Note" Method (Post-Hoc)
You can still use the system after the AI generates the image, but instead of touching the big canvas, you touch the small recipe card (the latent space) before it becomes a picture.

  • Result: It's incredibly fast and the pictures look just as good as the originals, but the hidden code is much harder to remove.

B. The "Baked-In" Method (In-Model)
This is the really cool part. The authors figured out how to "teach" the AI artist itself to always include the secret code while it paints.

  • How: They take the "Post-It Note" method and "distill" it (like transferring knowledge) directly into the AI's brain (its weights).
  • Result: Now, every time the AI paints, the watermark is baked in automatically. You don't need a separate tool anymore. If someone tries to copy the AI's code (open-source), the watermark stays there because it's part of the artist's DNA, not just a tool they can delete.

4. Why This is a Big Deal

  • Speed: It's up to 20 times faster than previous methods because it works on the small "recipe" instead of the huge "canvas."
  • Stealth: The watermarks are invisible to the human eye and don't ruin the quality of the art.
  • Durability: The paper tested these watermarks against things like cropping, resizing, changing colors, and compressing the image. The "Latent Space" watermarks survived these attacks much better than the old "Pixel Space" methods.
  • Better than Pixel Distillation: The authors tried to teach the AI using the old "Pixel" method, but it failed (the AI couldn't learn the complex patterns). However, when they taught the AI using the new "Latent" method, the AI learned perfectly.

Summary Analogy

  • Old Method: A security guard stands at the exit of a factory, stamping every single finished car with a hidden serial number. It's slow, and the stamp might rub off.
  • DISTSEAL: The factory workers are trained to stamp the hidden serial number onto the car's blueprint while they are building it. The stamp is part of the car's structure, it's done instantly, and it's nearly impossible to remove without destroying the car itself.

The paper concludes that this method works for both major types of AI image generators (Diffusion models and Autoregressive models) and provides a robust, fast, and efficient way to prove that an image came from an AI.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →