Papers › ROBIN: Robust and Invisible Watermarks for Diffusion Models with Adversarial Optimization

ROBIN: Robust and Invisible Watermarks for Diffusion Models with Adversarial Optimization

6 Nov 2024arXiv:2411.03862archive 2025-07-28

Huayang Huang, Yu Wu, Qian Wang

Watermarking generative content serves as a vital tool for authentication, ownership protection, and mitigation of potential misuse. Existing watermarking methods face the challenge of balancing robustness and concealment. They empirically inject a watermark that is both invisible and robust and passively achieve concealment by limiting the strength of the watermark, thus reducing the robustness. In this paper, we propose to explicitly introduce a watermark hiding process to actively achieve concealment, thus allowing the embedding of stronger watermarks. To be specific, we implant a robust watermark in an intermediate diffusion state and then guide the model to hide the watermark in the final generated image. We employ an adversarial optimization algorithm to produce the optimal hiding prompt guiding signal for each watermark. The prompt embedding is optimized to minimize artifacts in the generated image, while the watermark is optimized to achieve maximum strength. The watermark can be verified by reversing the generation process. Experiments on various diffusion models demonstrate the watermark remains verifiable even under significant image tampering and shows superior invisibility compared to other state-of-the-art robust watermarking methods. Code is available at https://github.com/Hannah1102/ROBIN.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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.03862")

Code

Syntology Ran 5 of 16 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong.

By repository: official repository: 16 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hannah1102/robin officialmentioned in papermentioned 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

16 samples harvested; 5 ran; 1 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
11unverified

Licence: 16 of the 16 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 Hannah1102/ROBIN. “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.

approx_standard_normal_cdf Hannah1102/ROBIN/guided_diffusion/losses.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · cfd76fd0d89574a4 · report
convert_to_custom_text_state_dict Hannah1102/ROBIN/open_clip/model.py official repository ran · violated contract no licence file found · pointer only · f19962ebb134b3d7 · report
discretized_gaussian_log_likelihood Hannah1102/ROBIN/guided_diffusion/losses.py official repository ran · our draft was wrong no licence file found · pointer only · cd33283d615fb3d7 · report
get_cast_dtype Hannah1102/ROBIN/open_clip/model.py official repository ran · our draft was wrong no licence file found · pointer only · dcd422d66b0581d8 · report
normal_kl Hannah1102/ROBIN/guided_diffusion/losses.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · cf2798b666b231ca · report
backward_ddim Hannah1102/ROBIN/inverse_stable_diffusion.py official repository unverified no licence file found · pointer only · b9d521d7021e46bb · report
build_model_from_openai_state_dict Hannah1102/ROBIN/open_clip/model.py official repository unverified no licence file found · pointer only · 57f1602ed20a9c21 · report
create_dataloader Hannah1102/ROBIN/gen_watermark.py official repository unverified no licence file found · pointer only · c00a1b3a3bfccabb · report
forward_ddim Hannah1102/ROBIN/inverse_stable_diffusion.py official repository unverified no licence file found · pointer only · 3b89ab9f937dccdd · report
gather_features Hannah1102/ROBIN/open_clip/loss.py official repository unverified no licence file found · pointer only · ddcbd45e940484ee · report
get_pred_ori Hannah1102/ROBIN/stable_diffusion_robin.py official repository unverified no licence file found · pointer only · 8c930cf169a119b1 · report
hf_read_jsonlines Hannah1102/ROBIN/io_utils.py official repository unverified no licence file found · pointer only · 075fbc6126eeefe6 · report
load_jsonlines Hannah1102/ROBIN/io_utils.py official repository unverified no licence file found · pointer only · 81cef8be4a138b63 · report
prepare_inputs_for_generation Hannah1102/ROBIN/open_clip/coca_model.py official repository unverified no licence file found · pointer only · fb651d0a97fd4d3f · report
register_pooler Hannah1102/ROBIN/open_clip/hf_model.py official repository unverified no licence file found · pointer only · 2a377da4a76a2d44 · report
resolve_globs Hannah1102/ROBIN/io_utils.py official repository unverified no licence file found · pointer only · afbb28c04b32db08 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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