Papers › Watermark Anything with Localized Messages

Watermark Anything with Localized Messages

11 Nov 2024arXiv:2411.07231archive 2025-07-28

Tom Sander, Pierre Fernandez, Alain Durmus, Teddy Furon, Matthijs Douze

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 256×256 images.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.07231")

Code

Syntology Ran 34 of 49 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 2 ran · fixture could not drive it; 28 ran with no contract checked.

By repository: official repository: 34 samples from 1 repository, 22 ran; found in paper text by Syntology: 15 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/watermark-anything officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

49 samples harvested; 34 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
2ran · fixture could not drive it
28ran
15unverified

Licence: 0 of the 49 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CocoSegmentationMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 80c21d2438a32b0e · report
Contrast facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · e9eafb1566e6b410 · report
Crop facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 01cf303cd45363e0 · report
CustomMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 06b45d2bcb7006fd · report
DumbAreaMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 0586a3f60f44d1f6 · report
Extractor facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · e3ec9af8c9ef9bee · report
FullMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 843dfd652b76d05e · report
GaussianBlur facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 45df3aed2dab3bf2 · report
Identity facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · bcb4b3ed6a29fdd0 · report
JND facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran fingerprinted MIT (permissive) · 9bf49095b19f1774 · report
LinearRamp facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 8b41e1fbee5d7c00 · report
MedianFilter facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 22b2c33174652dc9 · report
MixedMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran fingerprinted MIT (permissive) · 8122ac142e3190b1 · report
OutpaintingMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 78f1137a7dc7ad7f · report
RandomIrregularMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 3d789e9b974a7cdf · report
RandomRectangleMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 1f79e4607cb770db · report
RandomSuperresMaskEmbedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 07b001f953998cdf · report
Resize facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · b3a188c9eac7c269 · report
Rotate facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · d6cd467d5838c3d0 · report
Saturation facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran MIT (permissive) · 3fb53df7c3ecd86c · report
make_random_rectangle_mask facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran · fixture could not drive it MIT (permissive) · f174810f10e50f60 · report
make_random_superres_mask facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository ran · fixture could not drive it MIT (permissive) · d7e21a6d2678b40a · report
Augmenter facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 7862f045dd0fd872 · report
Brightness facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 615d578f9886ba11 · report
CropResizePad facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 529c6fe4a443b596 · report
DrawMethod facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · d3878cd75bb34bcc · report
Embedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 219f742447bb98ef · report
HorizontalFlip facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 195434aa62fd8554 · report
Hue facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 6f71f109c486291d · report
JPEG facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 01ba359cc74e2aaa · report
Perspective facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 9b9166a37f2ebce0 · report
Wam facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · e27c0cf92043cd20 · report
get_mask_embedder facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 0769e3294c73148e · report
make_random_irregular_mask facebookresearch/watermark-anything/watermark_anything/models/wam.py official repository unverified MIT (permissive) · 49e8f05f9263440b · report
DepthWiseSeperableConv advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 5802352d3cfc6757 · report
FFC advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 883a16a7d30049e6 · report
FFC_BN_ACT advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 9654be1ceb1764d3 · report
FourierUnit advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 9a681920adecc1a9 · report
MultidilatedConv advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3460d3a7d1d7d183 · report
MultidilatedResnetBlock advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 66f5d3721ebaec97 · report
SELayer advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 6786197ec4189fdc · report
SpectralTransform advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 51002caac8ee78d2 · report
deconv_factory advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 7413418e45686eef · report
get_activation advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · b67152b806ff0b3b · report
get_conv_block_ctor advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · fdc644eb68bfe341 · report
get_norm_layer advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 56ce4c3dada95575 · report
FFCResnetBlock advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b2ce99e0ce1fe547 · report
LearnableSpatialTransformWrapper advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 916d54931038c869 · report
MultiDilatedGlobalGenerator advimman/lama/saicinpainting/training/modules/pix2pixhd.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3f1b2dec311a2e80 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Inpainting

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections