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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 49 code samples harvested from 2 repositories linked to this paper: 35 ran (of which 24 constructed an object rather than computing a result; 29 with no instrument failure: 0 honoured, 0 violated, 29 with no contract checked; 6 where Syntology's instrument failed) · 14 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 34 samples from 1 repository, 23 ran (21 with no instrument failure; 2 where Syntology's instrument failed); found in paper text by Syntology: 15 samples from 1 repository, 12 ran (8 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 1 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

facebookresearch/watermark-anything officialmentioned on GitHubpytorchSyntology: 34 samples, 23 ran (2 instrument-failed) · 11 unverified 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

49 samples harvested: 35 ran (of which 24 constructed an object rather than computing a result; 29 with no instrument failure: 0 honoured, 0 violated, 29 with no contract checked; 6 where Syntology's instrument failed) · 14 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · our draft was wrong
2ran; the contract check could not run
29ran
14unverified

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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 8 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

facebookresearch/watermark-anything official repository 34 samples, 23 ran (2 instrument-failed) · 11 unverified
CocoSegmentationMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 80c21d2438a32b0e · report fixture: returned CocoSegmentationMaskEmbedder · level recorded 2026-09-22
Contrast in 5 papers watermark_anything/models/wam.py ran MIT (permissive) · e9eafb1566e6b410 · report fixture: returned Contrast · level recorded 2026-09-22
Crop watermark_anything/models/wam.py ran MIT (permissive) · 01cf303cd45363e0 · report fixture: returned Crop · level recorded 2026-09-22
CustomMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 06b45d2bcb7006fd · report fixture: signature num_masks:int/0/int, num_rectangles:int/0/int, image_size:int/0/int, min:float/0/float, max:float/0/float · returned list · level recorded 2026-09-24
DumbAreaMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 0586a3f60f44d1f6 · report fixture: returned DumbAreaMaskEmbedder · level recorded 2026-09-22
Embedder in 18 papers watermark_anything/models/wam.py ran MIT (permissive) · 219f742447bb98ef · report fixture: signature imgs:Tensor/4/float, msgs:Tensor/2/int · returned ellipsis · level recorded 2026-09-24
Extractor in 5 papers watermark_anything/models/wam.py ran MIT (permissive) · e3ec9af8c9ef9bee · report fixture: returned Extractor · level recorded 2026-09-22
FullMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 843dfd652b76d05e · report fixture: signature img:ndarray/3/float, iter_i:int/0/int, raw_image:ndarray/3/float · returned ndarray · level recorded 2026-09-24
GaussianBlur in 9 papers watermark_anything/models/wam.py ran MIT (permissive) · 45df3aed2dab3bf2 · report fixture: returned GaussianBlur · level recorded 2026-09-22
Identity in 49 papers
census: 10 implementations from 13 papers, 4 distinct outputs across 4 buckets, one shared input per bucket
watermark_anything/models/wam.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · bcb4b3ed6a29fdd0 · report fixture: signature image:Tensor/4/float, mask:Tensor/4/float · returned tuple · level recorded 2026-09-22
JND watermark_anything/models/wam.py ran fingerprinted MIT (permissive) · 9bf49095b19f1774 · report fixture: signature imgs:Tensor/4/float, imgs_w:Tensor/4/float, alpha:float/0/float · returned Tensor · level recorded 2026-09-24
LinearRamp watermark_anything/models/wam.py ran MIT (permissive) · 8b41e1fbee5d7c00 · report fixture: returned LinearRamp · level recorded 2026-09-22
MedianFilter watermark_anything/models/wam.py ran MIT (permissive) · 22b2c33174652dc9 · report fixture: returned MedianFilter · level recorded 2026-09-22
MixedMaskEmbedder watermark_anything/models/wam.py ran fingerprinted MIT (permissive) · 8122ac142e3190b1 · report fixture: returned MixedMaskEmbedder · level recorded 2026-09-22
OutpaintingMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 78f1137a7dc7ad7f · report fixture: returned OutpaintingMaskEmbedder · level recorded 2026-09-22
RandomIrregularMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 3d789e9b974a7cdf · report fixture: returned RandomIrregularMaskEmbedder · level recorded 2026-09-22
RandomRectangleMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 1f79e4607cb770db · report fixture: returned RandomRectangleMaskEmbedder · level recorded 2026-09-22
RandomSuperresMaskEmbedder watermark_anything/models/wam.py ran MIT (permissive) · 07b001f953998cdf · report fixture: returned RandomSuperresMaskEmbedder · level recorded 2026-09-22
Resize watermark_anything/models/wam.py ran MIT (permissive) · b3a188c9eac7c269 · report fixture: returned Resize · level recorded 2026-09-22
Rotate in 6 papers watermark_anything/models/wam.py ran MIT (permissive) · d6cd467d5838c3d0 · report fixture: returned Rotate · level recorded 2026-09-22
Saturation watermark_anything/models/wam.py ran MIT (permissive) · 3fb53df7c3ecd86c · report fixture: returned Saturation · level recorded 2026-09-22
make_random_rectangle_mask watermark_anything/models/wam.py ran; the contract check could not run (RAISES) MIT (permissive) · f174810f10e50f60 · report fixture: signature shape:tuple/1/int, margin:int/0/int, bbox_min_size:int/0/int, bbox_max_size:int/0/int, min_times:int/0/int, max_times:int/0/int, no_overlap:bool/0/bool · returned ndarray · level recorded 2026-09-22
make_random_superres_mask watermark_anything/models/wam.py ran; the contract check could not run (RAISES) MIT (permissive) · d7e21a6d2678b40a · report fixture: signature shape:tuple/1/int, min_step:int/0/int, max_step:int/0/int, min_width:int/0/int, max_width:int/0/int · returned ndarray · level recorded 2026-09-22
Augmenter watermark_anything/models/wam.py unverified MIT (permissive) · 7862f045dd0fd872 · report
Brightness in 31 papers watermark_anything/models/wam.py unverified MIT (permissive) · 615d578f9886ba11 · report
CropResizePad watermark_anything/models/wam.py unverified MIT (permissive) · 529c6fe4a443b596 · report
DrawMethod watermark_anything/models/wam.py unverified MIT (permissive) · d3878cd75bb34bcc · report
HorizontalFlip watermark_anything/models/wam.py unverified MIT (permissive) · 195434aa62fd8554 · report
Hue watermark_anything/models/wam.py unverified MIT (permissive) · 6f71f109c486291d · report
JPEG watermark_anything/models/wam.py unverified MIT (permissive) · 01ba359cc74e2aaa · report
Perspective watermark_anything/models/wam.py unverified MIT (permissive) · 9b9166a37f2ebce0 · report
Wam watermark_anything/models/wam.py unverified MIT (permissive) · e27c0cf92043cd20 · report
get_mask_embedder watermark_anything/models/wam.py unverified MIT (permissive) · 0769e3294c73148e · report
make_random_irregular_mask watermark_anything/models/wam.py unverified MIT (permissive) · 49e8f05f9263440b · report
advimman/lama found in paper text by Syntology 15 samples, 12 ran (4 instrument-failed) · 3 unverified
DepthWiseSeperableConv saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 5802352d3cfc6757 · report fixture: returned DepthWiseSeperableConv · level recorded 2026-09-22
FFC in 7 papers saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 883a16a7d30049e6 · report fixture: returned FFC · level recorded 2026-09-22
FFC_BN_ACT in 5 papers saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 9654be1ceb1764d3 · report fixture: returned FFC_BN_ACT · level recorded 2026-09-22
FourierUnit in 7 papers saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 9a681920adecc1a9 · report fixture: returned FourierUnit · level recorded 2026-09-22
MultidilatedConv saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3460d3a7d1d7d183 · report fixture: returned MultidilatedConv · level recorded 2026-09-22
MultidilatedResnetBlock saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 66f5d3721ebaec97 · report fixture: returned MultidilatedResnetBlock · level recorded 2026-09-22
SELayer in 12 papers saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 6786197ec4189fdc · report fixture: returned SELayer · level recorded 2026-09-22
SpectralTransform in 7 papers saicinpainting/training/modules/pix2pixhd.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 51002caac8ee78d2 · report fixture: returned SpectralTransform · level recorded 2026-09-22
deconv_factory saicinpainting/training/modules/pix2pixhd.py ran · our draft was wrong Apache-2.0 (permissive) · 7413418e45686eef · report fixture: signature kind:str/0/str, ngf:int/0/int, mult:int/0/int, norm_layer:callable/0/?, activation:callable/0/?, max_features:int/0/int · returned list · level recorded 2026-09-22
get_activation in 218 papers saicinpainting/training/modules/pix2pixhd.py ran · our draft was wrong Apache-2.0 (permissive) · b67152b806ff0b3b · report fixture: signature kind:str/0/str · returned Tanh · level recorded 2026-09-22
get_conv_block_ctor saicinpainting/training/modules/pix2pixhd.py ran · our draft was wrong Apache-2.0 (permissive) · fdc644eb68bfe341 · report fixture: signature kind:str/0/str · returned type · level recorded 2026-09-22
get_norm_layer in 111 papers saicinpainting/training/modules/pix2pixhd.py ran · our draft was wrong Apache-2.0 (permissive) · 56ce4c3dada95575 · report fixture: signature kind:str/0/str · returned type · level recorded 2026-09-22
FFCResnetBlock in 5 papers saicinpainting/training/modules/pix2pixhd.py unverified Apache-2.0 (permissive) · b2ce99e0ce1fe547 · report
LearnableSpatialTransformWrapper saicinpainting/training/modules/pix2pixhd.py unverified Apache-2.0 (permissive) · 916d54931038c869 · report
MultiDilatedGlobalGenerator saicinpainting/training/modules/pix2pixhd.py unverified Apache-2.0 (permissive) · 3f1b2dec311a2e80 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.

2 assemblies on this paper: 2 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).

2 sibling assemblies for Watermark Anything Model (WAM) (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.

harvested Assembly for Watermark Anything Model (WAM) (graph method: Watermark Anything Model (WAM)). 16 bricks; individually on a fixture: 13 ran (of which 9 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 4 where Syntology's instrument failed) · 3 unverified. The assembly has not been run end-to-end.

one of 2 siblings

  1. MultiDilatedGlobalGenerator entry · level 0 · unverified · 3f1b2dec311a2e80
  2. FFCResnetBlock helper · level 0 · unverified · b2ce99e0ce1fe547
  3. Identity helper · level 1 · ran · 1c55c49da31bc6fa
  4. MultidilatedResnetBlock helper · level 1 · ran · 66f5d3721ebaec97
  5. deconv_factory helper · level 1 · ran · our draft was wrong · 7413418e45686eef
  6. get_activation helper · level 1 · ran · our draft was wrong · b67152b806ff0b3b
  7. get_conv_block_ctor helper · level 1 · ran · our draft was wrong · fdc644eb68bfe341
  8. get_norm_layer helper · level 1 · ran · our draft was wrong · 56ce4c3dada95575
  9. FFC_BN_ACT helper · level 1 · ran · 9654be1ceb1764d3
  10. LearnableSpatialTransformWrapper helper · level 0 · unverified · 916d54931038c869
  11. DepthWiseSeperableConv helper · level 1 · ran · 5802352d3cfc6757
  12. MultidilatedConv helper · level 1 · ran · 3460d3a7d1d7d183
  13. FFC helper · level 1 · ran · 883a16a7d30049e6
  14. SpectralTransform helper · level 1 · ran · 51002caac8ee78d2
  15. FourierUnit helper · level 1 · ran · 9a681920adecc1a9
  16. SELayer helper · level 1 · ran · 6786197ec4189fdc

harvested Assembly for Watermark Anything Model (WAM) (graph method: Watermark Anything Model (WAM)). 34 bricks; individually on a fixture: 23 ran (of which 16 constructed an object rather than computing a result; 21 with no instrument failure: 0 honoured, 0 violated, 21 with no contract checked; 2 where Syntology's instrument failed) · 11 unverified. The assembly has not been run end-to-end.

one of 2 siblings

  1. Wam entry · level 0 · unverified · e27c0cf92043cd20
  2. Augmenter helper · level 0 · unverified · 7862f045dd0fd872
  3. Embedder model · level 1 · ran · 219f742447bb98ef
  4. Extractor model · level 1 · ran · e3ec9af8c9ef9bee
  5. JND helper · level 1 · ran · 9bf49095b19f1774
  6. get_mask_embedder helper · level 0 · unverified · 0769e3294c73148e
  7. DumbAreaMaskEmbedder helper · level 1 · ran · 0586a3f60f44d1f6
  8. FullMaskEmbedder helper · level 1 · ran · 843dfd652b76d05e
  9. MixedMaskEmbedder helper · level 1 · ran · 8122ac142e3190b1
  10. OutpaintingMaskEmbedder helper · level 1 · ran · 78f1137a7dc7ad7f
  11. CocoSegmentationMaskEmbedder helper · level 1 · ran · 80c21d2438a32b0e
  12. CustomMaskEmbedder helper · level 1 · ran · 06b45d2bcb7006fd
  13. DrawMethod helper · level 0 · unverified · d3878cd75bb34bcc
  14. RandomIrregularMaskEmbedder helper · level 1 · ran · 3d789e9b974a7cdf
  15. RandomRectangleMaskEmbedder helper · level 1 · ran · 1f79e4607cb770db
  16. RandomSuperresMaskEmbedder helper · level 1 · ran · 07b001f953998cdf
  17. LinearRamp helper · level 1 · ran · 8b41e1fbee5d7c00
  18. make_random_irregular_mask helper · level 0 · unverified · 49e8f05f9263440b
  19. make_random_rectangle_mask helper · level 1 · ran; the contract check could not run (RAISES) · f174810f10e50f60
  20. make_random_superres_mask helper · level 1 · ran; the contract check could not run (RAISES) · d7e21a6d2678b40a
  21. Brightness helper · level 0 · unverified · 615d578f9886ba11
  22. Contrast helper · level 1 · ran · e9eafb1566e6b410
  23. Crop helper · level 1 · ran · 01cf303cd45363e0
  24. CropResizePad helper · level 0 · unverified · 529c6fe4a443b596
  25. GaussianBlur helper · level 1 · ran · 45df3aed2dab3bf2
  26. HorizontalFlip helper · level 0 · unverified · 195434aa62fd8554
  27. Hue helper · level 0 · unverified · 6f71f109c486291d
  28. Identity helper · level 1 · ran · bcb4b3ed6a29fdd0
  29. JPEG helper · level 0 · unverified · 01ba359cc74e2aaa
  30. MedianFilter helper · level 1 · ran · 22b2c33174652dc9
  31. Perspective helper · level 0 · unverified · 9b9166a37f2ebce0
  32. Resize helper · level 1 · ran · b3a188c9eac7c269
  33. Rotate helper · level 1 · ran · d6cd467d5838c3d0
  34. Saturation helper · level 1 · ran · 3fb53df7c3ecd86c

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2411.07231") returns these assemblies with each brick's role and wiring (how to connect).

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