LaWa: Using Latent Space for In-Generation Image Watermarking

Ahmad Rezaei, Mohammad Akbari, Saeed Ranjbar Alvar, Arezou Fatemi, Yong Zhang
2/14/2026

No official code found. Best implementation: vbdi/LaWa (18 stars, last commit 2025-05-27).

Abstract

With generative models producing high quality images that are indistinguishable from real ones, there is growing concern regarding the malicious usage of AI-generated images. Imperceptible image watermarking is one viable solution towards such concerns. Prior watermarking methods map the image to a latent space for adding the watermark. Moreover, Latent Diffusion Models (LDM) generate the image in the latent space of a pre-trained autoencoder. We argue that this latent space can be used to integrate watermarking into the generation process. To this end, we present LaWa, an in-generation image watermarking method designed for LDMs. By using coarse-to-fine watermark embedding modules, LaWa modifies the latent space of pre-trained autoencoders and achieves high robustness against a wide range of image transformations while preserving perceptual quality of the image. We show that LaWa can also be used as a general image watermarking method. Through extensive experiments, we demonstrate that LaWa outperforms previous works in perceptual quality, robustness against attacks, and computational complexity, while having very low false positive rate. Code is available here.

View on arXivView PDF

Code Implementations(1)

vbdi/LaWaCommunity100%

[ECCV 2024] LaWa: Using Latent Space for In-Generation Image Watermarking

183Shell, PythonJan 31, 20251 years ago
diffusion-modelsgenerative-modelsimage-watermarkinglatent-spaceresponsible-ai+1 more

Similar Papers

Cite this paper

@article{rezaei2026lawa,
  title  = {LaWa: Using Latent Space for In-Generation Image Watermarking},
  author = {Ahmad Rezaei and Mohammad Akbari and Saeed Ranjbar Alvar and Arezou Fatemi and Yong Zhang},
  year   = {2026},
  eprint = {2408.05868},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.05868},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.05868.svg)](https://codeofpaper.com/paper/2408.05868)

Discussion