TL;DR
Diffusion-based AI image editors easily erase traditional invisible watermarks because they partially redraw images from scratch, leaving creators unable to prove ownership of altered work. PrivateSeal solves this by hiding watermark signals inside the "blind spots" of diffusion models—directions in latent space that iterative denoising naturally ignores. Better yet, verifying a watermark takes milliseconds using lightweight, user-specific keys, avoiding the slow reverse-diffusion loops or costly neural network retraining required by previous methods.
What Problem Does This Paper Address?
Suppose you’re a photographer or platform trying to protect already-created images with invisible watermarks. Historically, watermarks needed to survive compression, cropping, or color tweaks. Today, someone can pass your photo through a text-guided diffusion editor (like Instruct-Pix2Pix) to swap outfits or regenerate textures. Because diffusion models destroy and iteratively re-synthesize local pixel details, conventional watermarks get wiped out.
While newer watermarking techniques try to resist generative AI, they force a painful trade-off among three practical requirements:
- Diffusion resilience for pre-existing images (unlike "in-generation" watermarks that only work if you control the AI creating the image from scratch).
- Fast, non-iterative verification (avoiding slow, multi-step reverse diffusion just to check an image).
- Scalable user-specific keys (allowing millions of users to have private verification keys without training a separate neural network decoder for each person, or exposing a single public decoder that attackers can query as an oracle until they break the watermark).
Prior to PrivateSeal, no existing method satisfied all three conditions simultaneously.
Methods
PrivateSeal shifts the heavy lifting to the embedding phase so that verification becomes effortless, decoupling user keys from neural network weights.
- Lightweight Projection Keys: Each user’s private key is simply a random row-orthonormal matrix ($P$). To verify a suspicious image, you pass it once through a standard, public Variational Autoencoder (VAE) encoder to get its latent vector, multiply by $P$, and check the positive/negative signs of the output to read a 30-bit message. No reverse diffusion, no custom neural detector.
- Key-Conditioned Latent Optimization: Because PrivateSeal doesn't train a custom encoder-decoder network, it optimizes a custom perturbation ($\delta$) directly in the VAE latent space for each image under a fixed energy budget. This optimization balances three loss terms:
- Message Objective: Aligns the perturbed latent vector with the user's projection key $P$ so the target bits read out cleanly.
- Robustness Objective: Uses a frozen proxy diffusion model (the U-Net of Stable Diffusion 1.5) to push the perturbation into low-sensitivity latent directions—mathematically, directions where the local Jacobian of the denoising network has small singular values, meaning the perturbation barely alters the U-Net's noise predictions. It also adds a VAE decode/re-encode consistency check under pixel augmentations (blur, noise, color jitter).
- Fidelity Objective: Penalizes visible pixel differences between the original and watermarked images.
Datasets
PrivateSeal requires no training dataset—it optimizes perturbations per image at test time. For evaluation, the authors use:
- W-Bench: An existing benchmark designed to test watermark robustness against generative image-to-image attacks, including stochastic/deterministic regeneration, global text-guided editing (Instruct-Pix2Pix, UltraEdit, MagicBrush), and local inpainting (ControlNet, UltraEdit) across 1,000 images at $512 \times 512$ resolution.
- MS COCO: A held-out subset used to test cross-dataset generalization under regeneration attacks.
No new benchmarks are introduced.
Key Insights and Ideas
- Diffusion models have transferable "blind spots": Diffusion U-Nets do not treat all latent directions equally. Perturbations placed along low-sensitivity directions survive iterative denoising. Remarkably, optimizing against Stable Diffusion 1.5 transfers to newer, structurally different flow-matching models like SD3.5 and FLUX—proving these stable latent directions reflect fundamental generative priors rather than model-specific quirks.
- Asymmetric compute unlocks multi-tenant scale: Spending ~1 minute optimizing an image at creation time is an acceptable one-time cost if it makes verification nearly instantaneous. Once an image is encoded by the shared VAE (~15–18 ms), checking an additional user's key is just a tiny matrix multiplication taking ~0.12 ms.
- Spatial alignment matters more than pixel destruction: PrivateSeal easily survives having 50% of the image blacked out, yet fails under a minor $5^\circ$ rotation. Because the projection key expects features at fixed latent coordinates, spatial desynchronization—not visual degradation—is the true Achilles' heel of keyed latent projections.
Key Results
- Generative Attack Resilience: On W-Bench, PrivateSeal achieves 99.95% bit accuracy and 100.00% True Positive Rate (TPR) at 0.1% False Positive Rate (FPR) on stochastic regeneration, outperforming strong baselines like VINE-Robust (88.59% / 99.66%). It also leads in local editing (99.14% bit accuracy on ControlNet inpainting) and Pix2Pix global editing (97.29%), though attack-trained VINE-Robust retains an edge on UltraEdit global editing.
- Cross-Model Generalization: Despite optimizing only with an SD1.5 proxy, watermarks remain highly detectable after regeneration by SD3.0 (97.80% TPR), SD3.5 (96.80% TPR), and FLUX (100.00% TPR), with a moderate dip on SDXL (85.60% TPR, attributed to SDXL's specific VAE weakening the signal).
- Speed & Key Specificity: On an RTX 4090, embedding takes 97.72s, while end-to-end verification takes just 18.02 ms (~55.5 images/sec), plus 0.172 ms per extra key. Wrong keys yield 50.06% bit accuracy—pure random guessing.
- Visual Quality: Watermarks achieve 36.57 dB PSNR and remain visually imperceptible to humans.
Limitations and Future Work
- Vulnerability to Geometric Shifts: Cropping (even retaining 90% of the image) or rotating ($5^\circ$) drops bit accuracy to ~50% and TPR near 0%, because shifting pixels scrambles the alignment between latent coordinates and the fixed projection matrix.
- Slow Embedding: Optimizing each image takes 67–98 seconds on modern GPUs, making real-time, on-device camera watermarking impractical without future speedups.
- Non-Uniform Cross-VAE Transfer: Different generative architectures use different VAEs (e.g., SDXL vs. FLUX), which preserve latent watermark margins unevenly. Fully characterizing how foreign VAEs and denoising dynamics interact remains an open question for future research.
Summary updated