Introduction
Diffusion Probabilistic Models (DPMs) and Consistency Models (CMs) have revolutionized generative modeling, enabling high-fidelity image synthesis across various domains. However, these models often suffer from a phenomenon known as "exposure bias" or "distribution mismatch." This occurs because there is a fundamental discrepancy between how the model is trained and how it is used during inference. This paper identifies this gap and proposes a theoretically grounded solution using Adversarial Training (AT) to bridge it, resulting in significantly improved image quality and sampling stability.
The Problem: Exposure Bias in Diffusion
During the training phase, a diffusion model learns to denoise images by observing ground-truth data corrupted by precise Gaussian noise. However, during the inference (sampling) phase, the model does not have access to ground-truth data. Instead, it must denoise its own previous outputs. These outputs contain small estimation errors and discretization artifacts from the numerical solvers used.
As the model progresses through multiple denoising steps, these tiny errors accumulate—a problem often referred to as "drift." This accumulation leads to a distribution mismatch where the inputs the model sees at test time are "out-of-distribution" compared to what it saw during training. The result is often lower-quality images, characterized by fuzzy details or cloudy artifacts, especially when attempting to generate images with very few sampling steps.
Methodology: Bridging the Gap with DRO
The authors approach this problem through the lens of Distributionally Robust Optimization (DRO). Their methodology is built on three primary pillars:
1. Theoretical Linkage
The researchers mathematically demonstrate that the standard training objective for DPMs is equivalent to minimizing an upper bound on the likelihood of generated data. By applying DRO—a framework where a model is trained to perform well even under slight perturbations of the input distribution—they prove that this approach is mathematically equivalent to Adversarial Training (AT). In this context, the "adversary" is not a malicious actor, but rather the model's own sampling error.
2. Extension to Consistency Models (CM)
Consistency Models are designed for rapid, few-step generation by distilling pre-trained DPMs. The authors extend their DRO theory to CMs, proving that the numerical ODE solvers used during the distillation process introduce their own specific flavor of distribution mismatch. They show that AT is just as vital for these high-speed models as it is for traditional DPMs.
3. Efficient Implementation via Free-AT
One major hurdle for Adversarial Training is its computational cost; standard methods like Projected Gradient Descent (PGD) require multiple backpropagation steps. To maintain practical training times, the authors utilize "Free-AT." This technique updates model weights and adversarial perturbations simultaneously. This approach achieves a 2.6x speedup over standard AT methods, making the robust training process nearly as fast as standard training.
Experimental Results
The proposed method, AT-Diff, was validated across several benchmarks, including CIFAR-10 (32×32), ImageNet (64×64), and MS-COCO (512×512).
- Enhanced Fidelity: On ImageNet 64×64, using a DPM-Solver with only 5 sampling steps, AT-Diff improved the Frechet Inception Distance (FID) from 27.72 to 17.36. This represents a massive leap in image quality for few-step generation.
- Efficiency in Sampling: The improvements were most pronounced at low Number of Function Evaluations (NFEs). AT-Diff allows models to reach high-quality results with fewer iterations, making them more computationally efficient during deployment.
- Text-to-Image Scaling: In zero-shot Text-to-Image tasks on MS-COCO, the AT-enhanced Latent Consistency Model (LCM) showed improvements in both FID and CLIP scores, demonstrating that the method scales effectively to high-resolution, complex conditional tasks.
- Qualitative Sharpness: Visual analysis confirms that AT-Diff produces images with sharper details and significantly fewer artifacts compared to standard pretrained baselines and existing noise-injection methods.
Conclusion and Future Directions
This research reframes Adversarial Training not just as a defense mechanism, but as a tool for improving generative quality. By mathematically linking exposure bias to DRO, the authors provide a rigorous justification for using adversarial perturbations to simulate and mitigate sampling drift.
While the results are promising, future work remains. The effectiveness of AT-Diff currently requires careful hyperparameter tuning for different image scales. Additionally, while this study focused on images, the underlying theory of distribution mismatch suggests that AT could provide similar benefits for other modalities, such as video, audio, and 3D generation.
Summary updated