Papers › Hidden in the Noise: Two-Stage Robust Watermarking for Images

Hidden in the Noise: Two-Stage Robust Watermarking for Images

5 Dec 2024arXiv:2412.04653archive 2025-07-28

Kasra Arabi, Benjamin Feuer, R. Teal Witter, Chinmay Hegde, Niv Cohen

As the quality of image generators continues to improve, deepfakes become a topic of considerable societal debate. Image watermarking allows responsible model owners to detect and label their AI-generated content, which can mitigate the harm. Yet, current state-of-the-art methods in image watermarking remain vulnerable to forgery and removal attacks. This vulnerability occurs in part because watermarks distort the distribution of generated images, unintentionally revealing information about the watermarking techniques. In this work, we first demonstrate a distortion-free watermarking method for images, based on a diffusion model's initial noise. However, detecting the watermark requires comparing the initial noise reconstructed for an image to all previously used initial noises. To mitigate these issues, we propose a two-stage watermarking framework for efficient detection. During generation, we augment the initial noise with generated Fourier patterns to embed information about the group of initial noises we used. For detection, we (i) retrieve the relevant group of noises, and (ii) search within the given group for an initial noise that might match our image. This watermarking approach achieves state-of-the-art robustness to forgery and removal against a large battery of attacks.

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="2412.04653")

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.

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-24; 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 Kasraarabi/Hidden-in-the-Noise. “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 Kasraarabi/Hidden-in-the-Noise/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 Kasraarabi/Hidden-in-the-Noise/open_clip/model.py official repository ran · violated contract no licence file found · pointer only · f19962ebb134b3d7 · report
discretized_gaussian_log_likelihood Kasraarabi/Hidden-in-the-Noise/guided_diffusion/losses.py official repository ran · our draft was wrong no licence file found · pointer only · cd33283d615fb3d7 · report
get_cast_dtype Kasraarabi/Hidden-in-the-Noise/open_clip/model.py official repository ran · our draft was wrong no licence file found · pointer only · dcd422d66b0581d8 · report
normal_kl Kasraarabi/Hidden-in-the-Noise/guided_diffusion/losses.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · cf2798b666b231ca · report
backward_ddim Kasraarabi/Hidden-in-the-Noise/inverse_stable_diffusion.py official repository unverified no licence file found · pointer only · b9d521d7021e46bb · report
build_model_from_openai_state_dict Kasraarabi/Hidden-in-the-Noise/open_clip/model.py official repository unverified no licence file found · pointer only · 57f1602ed20a9c21 · report
calculate_fid Kasraarabi/Hidden-in-the-Noise/inpainting.py official repository unverified no licence file found · pointer only · 77b4519fb573daf7 · report
calculate_inception_score Kasraarabi/Hidden-in-the-Noise/inpainting.py official repository unverified no licence file found · pointer only · 44b81851089251c6 · report
forward_ddim Kasraarabi/Hidden-in-the-Noise/inverse_stable_diffusion.py official repository unverified no licence file found · pointer only · 3b89ab9f937dccdd · report
gather_features Kasraarabi/Hidden-in-the-Noise/open_clip/loss.py official repository unverified no licence file found · pointer only · ddcbd45e940484ee · report
hf_read_jsonlines Kasraarabi/Hidden-in-the-Noise/io_utils.py official repository unverified no licence file found · pointer only · 075fbc6126eeefe6 · report
load_jsonlines Kasraarabi/Hidden-in-the-Noise/io_utils.py official repository unverified no licence file found · pointer only · 81cef8be4a138b63 · report
prepare_inputs_for_generation Kasraarabi/Hidden-in-the-Noise/open_clip/coca_model.py official repository unverified no licence file found · pointer only · fb651d0a97fd4d3f · report
register_pooler Kasraarabi/Hidden-in-the-Noise/open_clip/hf_model.py official repository unverified no licence file found · pointer only · 2a377da4a76a2d44 · report
resolve_globs Kasraarabi/Hidden-in-the-Noise/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