TL;DR
Diffusion models are notoriously democratic during training: they treat every training image equally, meaning a batch of corrupted or garbage data can quietly ruin generative quality. The authors show that swapping the standard MSE loss for a nonlinear alternative grounded in $f$-divergences acts as an automatic, mathematically principled bouncer—silently downweighting terrible samples. Best of all, it requires changing just one line of code and adds virtually zero compute overhead.
What Problem Does This Paper Address?
At the heart of standard diffusion models (like DDPMs) is a surprisingly simple training objective: add Gaussian noise to an image, ask a neural network to predict that noise, and penalize mistakes using weighted Mean Squared Error (MSE).
The catch? MSE gives every single data point an equal vote. In the real world, datasets scraped from the web are messy—containing corrupted files, pure static, or out-of-distribution (OOD) anomalies. While some prior work handles known corruption (like fixing blurry MRI scans where you know the exact physics of the blur), this paper tackles the classic "robust statistics" nightmare: an unknown fraction of your dataset is arbitrarily ruined, and you have no labels telling you which samples are bad. Under standard training, these high-error outliers yank the gradients around and degrade generation quality.
Methods
Standard MSE loss in diffusion isn't an arbitrary choice; it arises naturally from minimizing the Kullback–Leibler (KL) divergence between the true denoising step and the model's predicted step. The authors ask: what happens if we swap KL divergence for other members of the broader $f$-divergence family? (An $f$-divergence is simply a generalized way to measure how different two probability distributions are).
Because DDPM reverse steps are Gaussian, the authors prove that the likelihood ratio at each step follows a clean lognormal distribution parameterized entirely by the scalar denoising error $m_t$. Consequently, any conditional $f$-divergence collapses into a simple 1D nonlinear wrapper $h_G(m_t)$ around the standard MSE loss.
When you take the gradient to train the network, the derivative $h'_G(m_t)$ pops out in front as an adaptive influence weight:
- KL Divergence (Standard): $h'_G(m) = 1$. Every sample gets full weight, no matter how bizarre its error.
- Hellinger Divergence (HD): $h'_G(m) = e^{-m/4}$. Large residuals are exponentially suppressed in closed form.
- Negative Exponential Divergence (NED): Suppresses extreme outliers even more aggressively (approximated on the fly via fast numerical quadrature).
Unlike heuristic robust losses (like Huber or clipped MSE), this framework introduces no new robustness thresholds to tune—the noise schedule naturally dictates the scaling. The authors also provide a clever, label-free warmup audit: train a quick plain-MSE model for 10K steps, inspect the error histogram, and pick NED if you see a far-flung outlier tail, or HD as a fast default if errors overlap.
Datasets
No new benchmarks are introduced; instead, the authors test controlled contamination regimes on standard vision datasets:
- CIFAR-10 & CIFAR-100: Tested with clean data and up to 30% contamination under two setups: noise-replacement (swapping images with clipped Gaussian static) and structured OOD (contaminating CIFAR-10 with CIFAR-100 images).
- Class-conditional MNIST: Used in the appendix to explore regimes where both clean and corrupted samples produce very small errors.
Key Insights and Ideas
- The Lognormal Collapse: Usually, minimizing general $f$-divergences requires training clunky auxiliary critic networks to estimate density ratios. Showing that Gaussian diffusion steps yield an exact lognormal ratio bypasses extra networks entirely.
- A Universal "Speed Limit" on Outlier Suppression: You can't decay outlier weights arbitrarily fast within this mathematical family. The authors prove no admissible $f$-divergence decays faster than $\sim m^{-1/2}e^{-m/4}$. Hellinger hits the fastest pure exponential rate, while NED hits the exact theoretical speed limit.
- Huber and Clipping Don't Belong: Standard robust losses like Huber and clipped MSE have sharp kinks or flat zero-gradient zones. Because lognormal smoothing makes $h_G$ infinitely differentiable and strictly increasing, Huber and clipping can never be induced by an $f$-divergence—and empirically, they perform much worse here.
- When Data-Cleaning Backfires: If you try to filter out high-loss samples manually before training with KL, it works great on pure static—but under subtle OOD contamination (CIFAR-100 mixed into CIFAR-10), loss-filtering performs at random chance and actually hurts FID (77.9 vs. 38.9). Smoothly downweighting via HD or NED avoids this failure mode.
Key Results
Using a 35M-parameter DDPM on CIFAR-10 (evaluated via FID, where lower means better image quality):
- Heavy Noise Contamination (30%): Standard KL degrades to an FID of 93.0, whereas NED brings it down to 77.5.
- Beating Heuristic Baselines: On a controlled single-seed run at 30% noise, HD (56.2) and NED (55.1) handily beat Huber loss (94.0) and clipped MSE (90.5).
- Structured OOD Contamination (30% CIFAR-100): KL reaches 49.5 FID, while HD (41.0) and NED (37.6) stay noticeably sharper.
- Clean Data Stability: At 0% corruption, all methods achieve ~32–35 FID, confirming the theory that all smooth $f$-divergences behave identically when errors are small—though HD and NED cut cross-seed variance from 12.3 (KL) down to 1.7 and 2.4.
- Negligible Overhead: HD adds a single
exp()call per sample; NED adds <1% wall-clock time.
Limitations and Future Work
- Scale: Experiments were intentionally designed as controlled mechanism tests using small models (35M parameters, $32\times32$ images, 100K steps), explaining why baseline clean FIDs sit around ~32 rather than state-of-the-art single digits. High-resolution validation is left for future work.
- Small-Error Blindness: Because all $f$-divergences collapse to standard MSE as error approaches zero, if a dataset is so simple that even corrupted samples yield tiny residuals (observed on MNIST), bounded-influence weights won't separate clean from dirty data.
- Theoretical Loose Ends: Linking step-by-step local divergences to the overall generated image distribution relies on a finite-horizon upper bound that is mathematically loose on trained models, and formal breakdown-point proofs remain open. Future directions include extending this one-line trick to Flow Matching, discrete diffusion, and robust model distillation.
Summary updated