TL;DR
Diffusion models can accidentally memorize and spit out sensitive training images, and fixing this during training with DP-SGD is computationally brutal. This paper asks: what if we leave the model alone and instead add carefully calibrated noise at inference time to certify the generated samples? Using an "optimal linear denoiser" as a mathematical proxy, the authors derive a custom noise schedule that beats standard baselines and reveals a sharp phase transition where memorization becomes unavoidable if you have fewer data points than dimensions.
What Problem Does This Paper Address?
Diffusion models are great at generating realistic images, but they have a privacy problem: they can memorize training examples and reproduce them verbatim at inference time. When the training data includes sensitive records like medical scans, that's a serious leak.
The standard fix is DP-SGD (Differentially Private Stochastic Gradient Descent), which clips gradients and injects noise during training. It works, but it's expensive and often degrades image quality unless you pretrain on massive public datasets or fine-tune in a latent space.
So the authors ask a different question: if you already have a diffusion model trained without privacy guarantees, can you still get formal differential privacy (DP) guarantees for the synthetic samples you release, just by randomizing the sampling process at inference time?
Methods
To analyze this, the authors study the optimal linear denoiser (the classical Wiener filter). Why? Because it's the exact optimal denoiser when data is Gaussian, and well-trained neural denoisers naturally approach it in the generalization regime. Crucially, its dependence on any single training point—through the empirical mean and covariance—can be computed in closed form.
Here is how their privatized sampler works:
- Contractive steps: Each reverse-diffusion step of the linear denoiser is an affine map that strictly contracts toward the empirical mean.
- Bounded inputs & noise injection: To ensure finite sensitivity, each step first projects the current iterate onto a ball of radius $R_t$, then adds Gaussian noise of standard deviation $\zeta_t$.
- Privacy amplification by iteration: Because only the final sample $X_0$ is released, any difference created by a single training point at step $t$ (and any noise added there) gets shrunk by the subsequent contractive steps before reaching the output.
- Optimal noise schedule: Using Gaussian Differential Privacy (GDP), the authors derive the exact noise allocation $\zeta_t \propto \sqrt{\Delta_t}$ (where $\Delta_t$ is the per-step sensitivity). This minimizes the total privacy noise variance that survives to the final sample.
To model real-world image latents—which are high-dimensional ($d = 16384$ for EDM2) but concentrate near a low-dimensional subspace—they also analyze a spiked covariance model, where a few "signal" directions have large variance and the remaining "noise" directions have small variance $\eta$.
Datasets
- Synthetic Gaussian and spiked-covariance data: Used to validate the theoretical sensitivity bounds, privacy–utility trade-offs (measured via Bures–Wasserstein distance $W_2$), and the $n \approx d$ phase transition.
- Fetal Planes dataset: A medical imaging dataset used to fine-tune an EDM2 diffusion model, evaluating the proposed noise schedule on real-world image generation (via FID and downstream classifier accuracy).
Key Insights and Ideas
- Sensitivity peaks in the middle: Under standard EDM noise schedules, the per-step sensitivity $\Delta_t$ isn't highest at the start or end—it peaks at intermediate noise levels. That means only a small portion of the sampling trajectory is actually expensive for privacy.
- A phase transition at $n \approx d$: In the spiked covariance model, if the number of training points $n$ drops below the data dimension $d$, some directions carry zero variance from the rest of the dataset. A single removed point then completely dictates the denoiser in those directions, causing sensitivity to max out at low noise. Above $n \approx d$, sensitivity decays cleanly as $1/n$.
- Cleaner data is harder to protect: In the low-variance "noise" directions, sensitivity grows as the background variance $\eta$ shrinks. Intuitively, the cleaner the data, the easier it is to identify an individual point from its fine-grained details.
Key Results
- Gaussian & spiked experiments: The optimal schedule ($\zeta_t \propto \sqrt{\Delta_t}$) achieves a strictly lower privacy cost ($\varepsilon$) at every $W_2$ quality level compared to isotropic output perturbation and constant noise, with the gap widening as dimension $d$ grows. At low noise, empirical sensitivity is flat for $n < d$ and drops by two orders of magnitude between $n = d$ and $n = 2d$.
- EDM2 on Fetal Planes: Adding noise in the top $k = 350$ latent directions at matched noise level $\mu = 10.0$, their schedule achieves an FID of 41.32 and 95.5% downstream accuracy—staying close to the noiseless baseline (FID 37.8, 96.5% accuracy), whereas constant noise collapses (FID 265.5, 93.8% accuracy).
Limitations and Future Work
The authors are upfront about a major caveat: their formal DP guarantees apply strictly to the optimal linear denoiser. For the fine-tuned EDM2 neural network, $\mu$ is only used to calibrate the noise schedule—they make no formal DP claim for the trained network itself. Bridging this gap to certify general non-linear neural denoisers at inference time remains the key open challenge.
Summary updated