Image generators can hide an ownership mark in the random noise they start from. Tree-Ring watermarking, for example, writes a key pattern into the frequency content of that starting noise and later recovers it by running the generator backwards. These marks survive single edits well. They fail when an attacker stacks several ordinary edits together: blur plus JPEG plus color jitter plus crop plus rotation. Under that combined attack, the best reported detector scores barely above a coin flip. Quantum physics faced a structurally identical problem. A qubit is buffeted by several noise processes at once. Physicists found that information survives only in special "decoherence-free subspaces", directions of the state space that every noise process leaves untouched. When no such subspace exists, information can still survive if the noise acts on it in a way a decoder can undo.
We propose to measure, for a real diffusion model and a real family of attacks, how much each direction of the starting noise survives the round trip from generation, through the attack, back through inversion. We then place the watermark in the subspace that survives the worst attack in the family best, rather than in hand-picked frequency rings. The two-sentence version is this. Treat each image edit like a quantum noise channel, measure its "survival spectrum" over noise directions, and hide the watermark where all the channels jointly leave it intact or recoverable. This either beats Tree-Ring and ROBIN under combined attacks at equal image quality, or it shows quantitatively that no such shared subspace exists, which would be an empirical limit on the invisibility–robustness trade-off.
Core Claim
The watermarks that come closest to working, Tree-Ring and ROBIN, choose their embedding subspace by intuition: concentric Fourier rings of the initial noise. Tree-Ring Watermarks embeds a ring-shaped key in the Fourier transform of the initial Gaussian noise and detects it by deterministic DDIM inversion, the procedure that runs the sampler backwards to recover the starting noise. It reaches AUC 1.0 on clean images. ROBIN injects a stronger frequency-domain mark mid-sampling and uses an adversarially optimized "hiding prompt" to repaint the visible artifacts. Under the combined attack, ROBIN reports AUC 0.556 and Tree-Ring 0.509. Our claim is that this collapse is a subspace-selection failure that can be diagnosed and partly repaired.
The quantum analogy explains why. Each attack is a separate noise process. Their composition is non-commuting, so a ring pattern that is invariant under rotation alone is not invariant under rotation followed by crop and JPEG. In open quantum systems, information protected against several non-commuting noise operators must live in their common approximately-invariant subspace. Otherwise it must sit in a code on which the combined noise acts invertibly, which is the error-correction condition. QMaxCal supplies the method we borrow. It shows that penalizing the variance of trajectories across noise realizations steers controlled quantum systems into such decoherence-free subspaces, without specifying the subspace by hand. It reports up to 50% fidelity gains and robustness to noise 2.5 times stronger than seen in training. We transfer that recipe from control pulses to watermark subspaces. Decoherence Cancellation through Noise Interference motivates the "correctable rather than invariant" variant. It cancels dephasing by pairing a system with a reference that experiences the same correlated noise. In our setting, this means a detector that reads the watermark relative to how the attack distorted a known reference component.
Research Program
Let $x_T \in \mathbb{R}^d$ be the initial noise of a latent diffusion model. For Stable Diffusion this is $d = 4 \times 64 \times 64$. For each attack $a$ in a family $\mathcal{A}$, let $\Phi_a$ be the full round trip: generate an image from $x_T$, apply attack $a$, then invert back to an estimate $\hat{x}_T$.
The first deliverable is attack spectroscopy, an estimate of the linear response of $\Phi_a$ restricted to a candidate basis of $m \approx 1024$ low- and mid-frequency Fourier modes. We embed random keys $s$ along a basis $B$ and regress the recovered projection on the embedded one over a few thousand generations per attack. This yields a response matrix $J_a$ and a residual covariance $\Sigma_a$. The diagonal of $J_a$ is a per-mode survival spectrum, the analogue of a coherence time per frequency. It answers a question no cited watermarking paper answers: which frequencies of the initial noise each edit destroys. The analogy is the frequency crossover that Characterization of loss mechanisms in a fluxonium qubit found between dielectric loss above 400 MHz and flux noise below it. We expect a similar banding, with regeneration destroying high frequencies and crop and rotation scrambling low ones. The location of the crossover is what determines whether any shared band exists.
The second deliverable is the subspace choice. In the strict, decoherence-free variant, we pick an orthonormal $B \in \mathbb{R}^{d \times k}$ with $k$ code dimensions to maximize the worst-case signal-to-noise ratio over the family:
$$ B^\star = \arg\max_{B^\top B = I} \; \min_{a \in \mathcal{A}} \; \frac{\mathrm{tr}\!\left(B^\top J_a B\right)^2}{\mathrm{tr}\!\left(B^\top \Sigma_a B\right)}. $$
Here the numerator rewards modes that each attack maps back onto themselves, and the denominator penalizes modes the attack fills with noise. This allows a single matched-filter detector that does not need to know which attack was applied.
In the correctable variant, we relax invariance to recoverability. We require only that $J_a B$ be well-conditioned for each $a$. The detector then takes the largest matched-filter score over the attack family, a generalized likelihood ratio test, or estimates the distortion from a fixed reference component of the key, in the spirit of noise interference. We include compositions of attacks, such as the full five-way combined attack, as members of $\mathcal{A}$. This lets the optimization see their non-commutativity directly. Because direct maximin over the Stiefel manifold, the set of orthonormal matrices, is awkward, we optimize a smoothed minimum with Riemannian gradient ascent. As a cheaper alternative, we add a QMaxCal-style variance penalty on recovered keys across attack draws.
Invisibility enters through a distribution constraint, not a pixel-distance budget. Invisible Image Watermarks Are Provably Removable Using Generative AI and its companion Generative Autoencoders as Watermark Attackers prove that any watermark within a small perturbation distance of the clean image is removable by noising and regenerating. They report over 99% removal for DwtDctSvd, RivaGAN and SSL. That result constrains us: our watermark cannot be a small additive perturbation. We instead keep the watermarked $x_T$ marginally Gaussian. Within the chosen subspace we only fix the signs or phases of the coefficients to the key, which preserves their magnitude distribution. Outside it, the noise is untouched. Tree-Ring's quality loss (about 15 dB PSNR versus ROBIN's about 24 dB, per Huang et al.) comes from overwriting coefficients with a fixed pattern, so this constraint should give better fidelity at equal subspace size.
The only existing bridge between the two directions, Multi-Stage Watermarking for Quantum Circuits, watermarks quantum circuits by hiding signatures in compilation choices so they add little decoherence. It uses decoherence as a cost to avoid. We use the mathematics of decoherence protection as a design principle for classical generative watermarks, a different question entirely. Neither the static compilation heuristics nor the MQTBench setting carry over.
Baselines
The naive reference point has two parts: an unwatermarked Stable Diffusion v2 generation scored by the same detector, which defines chance AUC, and a random $k$-dimensional subspace of the same Fourier candidate set under the identical sign-embedding scheme. Beating the random subspace shows that spectroscopy finds structure. Failing to beat it means the survival spectrum is flat and the whole premise is wrong.
The first strong baseline is Tree-Ring with its Rings key, run from the released code on SD v2 with the Stable Diffusion Prompt set, 1,000 watermarked and 1,000 clean images, and DDIM inversion with the same step count we use. Its reported combined-attack AUC is 0.509 (ROBIN). We also tune Tree-Ring's ring radius and key size on the same validation prompts and attack family we use, so that any gain is not merely from tuning budget.
The strongest existing method is ROBIN, with reported combined-attack AUC 0.556 and PSNR about 24 dB on Stable Diffusion (ROBIN). We run it from the same prompts, model, sampler and attack parameters. Beating it means a higher combined-attack AUC and true-positive rate at 1% false-positive rate at PSNR no worse than ROBIN's, or equal AUC at clearly better PSNR and FID. We also run the combination of our subspace with ROBIN's hiding prompt. The two are orthogonal: one picks where to embed, the other masks artifacts.
Two ablations isolate the key ingredient. The first uses the same embedding with a subspace optimized for single attacks only, which tests whether including compositions in the family matters. The second compares the strict invariant detector against the correctable maximum-over-attacks detector, which tests whether recoverability buys more than invariance. For a learned competitor, we train an encoder–decoder in the latent space following Latent Watermark, which reports about 95% bit accuracy on MS-COCO, with the full attack family as training augmentation. It gets the same number of generator calls our spectroscopy consumes. The file contains no reported result for any method trained against the five-way combined attack, so that number is produced here.
Why not just…?
Why not just train an encoder–decoder with combined attacks as augmentation? This is the real threat. Learned latent watermarks like Latent Watermark can in principle discover a robust subspace implicitly. They also have documented weaknesses, such as a sharp drop under large rotations. Nothing in the file shows such a model surviving the combined attack. We do not argue around this. The augmented learned baseline is run at matched compute. If it matches our method, the contribution shrinks to the diagnostic: the survival spectrum, which explains what the learned model found and predicts its failures on held-out attacks. That is still useful but much smaller.
Why not just use lower-frequency or more Tree-Ring rings? Low frequencies are the obvious hand-picked guess. Crop and rotation, however, are exactly the edits that scramble low frequencies of the inverted noise, and Tree-Ring's combined-attack collapse to 0.509 already reflects a ring-shaped, mostly low-frequency key. Tuning the ring radius is included as a baseline at equal tuning budget. If the optimized subspace turns out to be a low-frequency ring, the spectroscopy has confirmed rather than improved the heuristic, and we report that.
Why not just add an error-correcting code over the watermark bits? Error correction helps when individual bits are noisy but informative. A detector at AUC near 0.5 is carrying almost no information through the channel, and no code recovers information that is not there. Our method attacks the capacity itself by moving the mark to modes with nonzero survival. Classical error correction can then be layered on top.
Why not just accept the impossibility result? Invisible Image Watermarks Are Provably Removable covers small-perturbation watermarks, and Zhao et al. themselves find Tree-Ring retains nearly 100% detection under regeneration. Noise-space marks are outside the theorem's scope. Whether a shared surviving subspace exists for combined attacks is an open empirical question, and this proposal measures it.
Proposed Experiments
All image experiments use Stable Diffusion v2 with the Stable Diffusion Prompt set, matching ROBIN's protocol. They use the combined attack (blur, JPEG, color jitter, crop, rotation) at ROBIN's parameters, plus single attacks. Regeneration attacks come from WatermarkAttacker, with both the diffusion and VAE attackers swept over noise strength. Inversion and alternative samplers come from diff-sampler. Quality is measured by PSNR against the unwatermarked generation from the same seed, FID on MS-COCO 2017 captions, and CLIP score. Detection is measured by AUC and true-positive rate at 1% false-positive rate.
The first decisive check is predictive. Using spectra estimated on held-out prompts, the predicted worst-case signal-to-noise ratio of each candidate subspace should rank-correlate with its measured combined-attack AUC across random, Tree-Ring, single-attack-optimized and jointly-optimized subspaces. If it does not, the linearization is invalid and the design step is unfounded.
The second check is the headline comparison against ROBIN and the augmented learned baseline at matched PSNR.
The third check is generalization, mirroring QMaxCal's out-of-distribution test. We optimize the subspace on the family with one attack type removed, then test on the full combined attack and on 1.5 to 2.5 times stronger attack parameters.
The fourth check is a capacity curve: worst-case signal-to-noise ratio as a function of code dimension $k$ for the joint family. If it falls to zero at small $k$, no shared decoherence-free subspace exists for this attack family. That would be a clean negative result locating the invisibility–robustness limit for noise-space watermarks, and it would redirect effort toward the correctable variant.
As a secondary probe of the known sampler dependence, we treat a stochastic sampler as one more channel in the family. This tests whether the same subspace survives it.
References
- Tree-Ring Watermarks: Fingerprints for Diffusion Images that are Invisible and Robust
- ROBIN: Robust and Invisible Watermarks for Diffusion Models with Adversarial Optimization
- QMaxCal: Path-Space Regularization for Open Quantum Control via Girsanov's Theorem
- Decoherence Cancellation through Noise Interference
- Characterization of Loss Mechanisms in a Fluxonium Qubit
- Invisible Image Watermarks Are Provably Removable Using Generative AI
- Generative Autoencoders as Watermark Attackers: Analyses of Vulnerabilities and Threats
- Multi-Stage Watermarking for Quantum Circuits
- Latent Watermark: Inject and Detect Watermarks in Latent Diffusion Space