Introduction
Diffusion models are the current standard for state-of-the-art generative AI, but they suffer from a significant "speed problem." Generating a single image typically requires solving a complex Ordinary Differential Equation (ODE) over dozens or hundreds of steps. To accelerate this, researchers use "solvers"—mathematical approximations of the path from random noise to a clean image.
While training-free solvers (like UniPC) and training-based distillation methods exist, they face a difficult trade-off. Training-free methods struggle at extremely low step counts (under 10 steps), while existing training-based methods are often computationally heavy, require complex stabilization tricks, or lose the fine-grained details that make images look realistic.
The Generalized Adversarial Solver (GAS) addresses this gap by training a highly flexible ODE solver that leverages both historical trajectory data and adversarial loss. By combining theoretical mathematical guidance with learned corrections, GAS achieves state-of-the-art image quality in as few as 4 to 6 steps.
Methodology
The authors introduce two nested concepts to improve the sampling process:
1. Generalized Solver (GS)
Instead of a standard "memoryless" solver that only looks at the current point, GS uses a linear multi-step approach. It calculates the next step based on a weighted sum of all previous points and velocity directions.
Crucially, the authors employ additive guidance. Rather than learning the physics of diffusion from scratch, the model starts with the theoretically optimal coefficients from a known high-quality solver (like DPM-Solver++) and trains to learn small "corrections" (deltas) to those weights. This makes training significantly more stable and faster to converge.
2. Generalized Adversarial Solver (GAS)
Standard regression losses (like LPIPS or L1) often result in blurry images or artifacts at very low step counts. To fix this, the researchers add an adversarial loss using the R3GAN framework. A discriminator is trained to distinguish between the "teacher" model's high-step output and the "student" solver's few-step output. This adversarial setup acts as a "detail polisher," forcing the student to produce sharper, more realistic textures (like hair or skin pores) that are typically lost during distillation.
Experimental Results
GAS was evaluated across a wide range of standard benchmarks, including pixel-space models (CIFAR10, FFHQ, AFHQv2), latent-space models (LSUN Bedroom, ImageNet), and text-to-image models (MS-COCO using Stable Diffusion v1.5).
GAS consistently outperformed previous state-of-the-art solver-training methods (like S4S and LD3) across all datasets:
- FFHQ (4 steps): GAS achieved an FID score of 7.86, compared to 10.63 for the previous best (S4S Alt).
- ImageNet (4 steps): GAS reached an FID of 5.38, significantly better than teacher-free solvers.
- Stable Diffusion (MS-COCO): At 4 steps, GAS achieved an FID of 14.71, outperforming the official LD3 implementation (17.32).
Qualitative results demonstrate that GAS images are nearly indistinguishable from "teacher" images generated with 10-20x more computation. Furthermore, the GS/GAS approach is highly efficient: it can converge in just a few hours on a single H100 GPU and requires relatively small datasets (as few as 1,400 to 5,000 images).
Limitations and Future Work
Despite its strong performance, the GAS framework has a few limitations:
- NFE Specificity: A GAS solver must be trained for a specific number of function evaluations (NFE). Training for 4 steps and running it for 5 at inference time results in a quality drop.
- Backpropagation Costs: The method requires backpropagating through the entire solver inference chain. While efficient for 4-10 steps, this could become memory-intensive for higher step counts or much larger image resolutions.
- Extreme Low-NFE: At NFE=1 or 2, the limited number of trainable parameters prevents the model from reaching high quality. For "one-step" generation, other distillation methods might still be superior.
Future work may explore lightweight modifications that allow a single trained solver to generalize across different step counts without sacrificing visual fidelity.
Summary updated