Mask Image Watermarking

Run-Yi Hu, Jie Zhang, Shi-Qian Zhao, Nils Lukas, Ji-Wei Li +3 more
4/1/2025

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

We present MaskWM, a simple, efficient, and flexible framework for image watermarking. MaskWM has two variants: (1) MaskWM-D, which supports global watermark embedding, watermark localization, and local watermark extraction for applications such as tamper detection; (2) MaskWM-ED, which focuses on local watermark embedding and extraction, offering enhanced robustness in small regions to support fine-grined image protection.

Show full abstract

MaskWM-D builds on the classical encoder-distortion layer-decoder training paradigm. In MaskWM-D, we introduce a simple masking mechanism during the decoding stage that enables both global and local watermark extraction. During training, the decoder is guided by various types of masks applied to watermarked images before extraction, helping it learn to localize watermarks and extract them from the corresponding local areas. MaskWM-ED extends this design by incorporating the mask into the encoding stage as well, guiding the encoder to embed the watermark in designated local regions, which improves robustness under regional attacks. Extensive experiments show that MaskWM achieves state-of-the-art performance in global and local watermark extraction, watermark localization, and multi-watermark embedding. It outperforms all existing baselines, including the recent leading model WAM for local watermarking, while preserving high visual quality of the watermarked images. In addition, MaskWM is highly efficient and adaptable. It requires only 20 hours of training on a single A6000 GPU, achieving 15x computational efficiency compared to WAM. By simply adjusting the distortion layer, MaskWM can be quickly fine-tuned to meet varying robustness requirements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hu2025mask,
  title  = {Mask Image Watermarking},
  author = {Run-Yi Hu and Jie Zhang and Shi-Qian Zhao and Nils Lukas and Ji-Wei Li and Qing Guo and Han Qiu and Tian-Wei Zhang},
  year   = {2025},
  eprint = {2504.12739},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2504.12739},
  url    = {https://doi.org/10.48550/arXiv.2504.12739},
  journal = {Neural Information Processing Systems}
}

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/2504.12739.svg)](https://codeofpaper.com/paper/2504.12739)

Discussion