atlas

Research map / Image generation / Autoregressive and latent generation

Gaussian Shading: Provable Performance-Lossless Image Watermarking for Diffusion Models

CVPR 2024 · Image generation › Autoregressive and latent generation · approach: Robust diffusion watermarking · 85 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Gaussian Shading embeds a 256-bit watermark into diffusion initial latents by sampling them from a distribution-preserving, key-encrypted sequence, giving provably performance-lossless, training-free watermarking of Stable Diffusion outputs.

Problem

Watermarking images generated by diffusion models usually degrades generation quality or requires fine-tuning/extra training; the paper asks whether watermarks can be embedded without compromising model performance.

Approach

Encrypt a diffused watermark with a stream cipher (ChaCha20) to get a uniform bit stream, map each l-bit chunk to a quantile interval of N(0,I) so the initial latent stays exactly Gaussian, and extract via DDIM inversion; a proof shows indistinguishability from non-watermarked sampling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Gaussian Shading instead of Tree-RingStable Diffusion V1.4/V2.0/V2.1 · Stable Diffusion V1.4/V2.0/V2.1, adversarial noiseTPR: 0.894/0.898/0.906 -> 0.997/0.998/0.996Helped
Use Gaussian Shading instead of RivaGANStable Diffusion V1.4/V2.0/V2.1 · Stable Diffusion V1.4/V2.0/V2.1, adversarial noisebit accuracy: 0.8986/0.9124/0.9019 -> 0.9753/0.9749/0.9724Helped
Use Gaussian Shading instead of Stable SignatureStable Diffusion V2.1 · Stable Diffusion V2.1FID t-value: 2.477 -> 0.3567Helped
Increase watermark capacity from 256 bits to 4096 bits (ablation)Gaussian Shading · Stable Diffusion V2.1, adversarial noisebit accuracy: 0.9724 -> 0.7302Hurt
Increase watermark capacity from 256 bits to 1024 bits (ablation)Gaussian Shading · Stable Diffusion V2.1, adversarial noisebit accuracy: 0.9724 -> 0.8769Hurt
Reduce watermark capacity from 256 bits to 64 bits (ablation)Gaussian Shading · Stable Diffusion V2.1, adversarial noisebit accuracy: 0.9724 -> 0.9959Helped
Use other continuous-time ODE samplers instead of DPMSolver (ablation)Gaussian Shading · Stable Diffusion V2.1, adversarial noisebit accuracy: DPMSolver 0.9724; DDIM 0.9706; UniPC 0.9628; PNDM 0.9721; DEIS 0.9715Mixed
Vary inference and inversion steps (ablation)Gaussian Shading · Stable Diffusion V2.1bit accuracy: 0.9994 to 1.0000No clear effect
Vary guidance scale from 2 to 18 (ablation)Gaussian Shading · Stable Diffusion V2.1bit accuracyNo clear effect
Increase noise intensity (ablation)Gaussian Shading · Stable Diffusion V2.1, Random Crop and Gaussian Noise attacksbit accuracyHurt
Increase noise intensity (ablation)Gaussian Shading · Stable Diffusion V2.1, seven other noise attacksbit accuracyNo clear effect
Compress watermarked images with neural auto-encoders (ablation)Gaussian Shading · Stable Diffusion V2.1, compression attackTPR and bit accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: Stable-Diffusion-Prompts

Benchmarks: Stable-Diffusion-Prompts (1,000 generated images)

Metrics: TPR at FPR 1e-6 bit accuracy FID CLIP-Score t-test value

Baselines: DwtDct DwtDctSvd RivaGAN Tree-Ring Stable Signature

Builds on: DDIM DPM-Solver Tree-Ring watermark ChaCha20

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy