Watermark Anything with Localized Messages

Tom Sander, Pierre Fernandez, Alain Durmus, Teddy Furon, Matthijs Douze
2/12/2026

No official code found. Best implementation: facebookresearch/watermark-anything (1,134 stars, MIT, last commit 2025-06-20). 1 more below.

Abstract

Image watermarking methods are not tailored to handle small watermarked areas. This restricts applications in real-world scenarios where parts of the image may come from different sources or have been edited. We introduce a deep-learning model for localized image watermarking, dubbed the Watermark Anything Model (WAM). The WAM embedder imperceptibly modifies the input image, while the extractor segments the received image into watermarked and non-watermarked areas and recovers one or several hidden messages from the areas found to be watermarked. The models are jointly trained at low resolution and without perceptual constraints, then post-trained for imperceptibility and multiple watermarks. Experiments show that WAM is competitive with state-of-the art methods in terms of imperceptibility and robustness, especially against inpainting and splicing, even on high-resolution images. Moreover, it offers new capabilities: WAM can locate watermarked areas in spliced images and extract distinct 32-bit messages with less than 1 bit error from multiple small regions -- no larger than 10% of the image surface -- even for small 256x256 images. Training and inference code and model weights are available at https://github.com/facebookresearch/watermark-anything.

View on arXivView PDF

Code Implementations(2)

MIT

Official implementation of the paper "Watermark Anything with Localized Messages"

1,13456Python, Jupyter NotebookNov 11, 20241 years agoMIT
imageimage-watermarkingwatermarking
Apache-2.0

Docker implementation of the paper "Watermark Anything with Localized Messages"

10PythonDec 2, 20247 months agoApache-2.0
cuda-supportdocker-imagewamwatermark-anything

Similar Papers

Cite this paper

@article{sander2026watermark,
  title  = {Watermark Anything with Localized Messages},
  author = {Tom Sander and Pierre Fernandez and Alain Durmus and Teddy Furon and Matthijs Douze},
  year   = {2026},
  eprint = {2411.07231},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.07231},
  journal = {ICLR 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/2411.07231.svg)](https://codeofpaper.com/paper/2411.07231)

Discussion