Introduction
Diffusion Models (DMs) have established themselves as the state-of-the-art for high-fidelity image generation. However, their practical utility is often hampered by the high computational cost of iterative sampling, typically requiring dozens of denoising steps. While Consistency Distillation (CD) has emerged as a promising solution to map noise directly to images in fewer steps, existing methods often rely on deterministic Ordinary Differential Equation (ODE) solvers. These ODE-based approaches frequently suffer from limited sample diversity and a "quality ceiling," where increasing sampling steps beyond a single step yields diminishing returns.
To address these challenges, we introduce SCott (Stochastic Consistency Distillation). SCott is a novel framework designed to accelerate text-to-image diffusion models, enabling the production of high-quality, diverse images in just 2–4 sampling steps. By integrating Stochastic Differential Equation (SDE) solvers into the distillation process and employing an efficient adversarial loss, SCott bridges the gap between speed and generative performance.
Methodology
SCott introduces three primary innovations to the standard distillation pipeline to enhance both stability and output quality:
- SDE-based Teacher: Unlike deterministic ODE solvers, SCott utilizes a Stochastic Differential Equation (SDE) solver for the teacher model. By injecting controlled noise during the trajectory mapping, the SDE acts as a form of stochastic data augmentation. This forces the student model to learn a more robust and diverse mapping from the latent space to the final image.
- Noise and Step Control: Training with SDEs can be inherently unstable. To mitigate this, SCott implements a noise scaling factor ((\eta)) and a multi-step teacher strategy. Instead of a single large jump, the teacher performs several smaller SDE steps, providing a more accurate and stable target for the student model to emulate.
- LoRA-based Adversarial Loss: To refine the sharpness and detail of the generated images, SCott incorporates an adversarial training objective. The authors utilize a "LoRA Discriminator"—a pre-trained U-Net with a frozen encoder where only Low-Rank Adaptation (LoRA) layers in the decoder are trained. This approach makes GAN-based refinement computationally efficient and stable for high-resolution synthesis.
Key Results and Insights
SCott demonstrates significant improvements over existing fast-sampling methods like Latent Consistency Models (LCM) and InstaFlow in several key metrics:
- State-of-the-Art Fidelity: On the MSCOCO-2017 benchmark, SCott achieved an FID of 21.9 with only 2 sampling steps, outperforming 1-step InstaFlow (23.4) and 2-step LCM (30.4).
- Enhanced Diversity: One of the most significant findings is that the stochasticity of the SDE solver directly translates to higher sample diversity. SCott showed a 16% improvement in the Coverage metric compared to LCM, indicating a broader variety of outputs for identical prompts.
- Scalability and Speed: Unlike models that over-optimize for a single step, SCott maintains a "multi-step capacity." Its performance continues to improve as sampling steps increase from 1 to 4. In terms of raw speed, SCott generates 512x512 images in approximately 0.12 seconds on an NVIDIA A100 GPU.
Qualitatively, SCott produces sharper textures and finer details, such as hair and skin pores, which are often lost or blurred in other distilled models at low step counts.
Conclusion and Future Work
SCott represents a significant step forward in the acceleration of diffusion models, proving that stochasticity is a vital component for maintaining diversity in distilled models. While SCott is currently limited by the inherent capabilities of its teacher model (e.g., Stable Diffusion V1.5), its framework is highly adaptable. Future research may apply these stochastic distillation techniques to larger architectures like SDXL or extend the methodology to the domain of video generation to achieve similar efficiency gains.
Summary updated