Self-Corrected Flow Distillation for Consistent One-Step and Few-Step Image Generation

Quan Dao, Hao Phung, Trung Tuan Dao, Dimitris N. Metaxas, Anh Tuan Tran

Introduction

Diffusion models and the more recent Flow Matching (FM) frameworks have set new benchmarks in high-fidelity image synthesis. However, their iterative nature—requiring dozens of sampling steps (Number of Function Evaluations, or NFEs) to transform Gaussian noise into a coherent image—remains a significant bottleneck for real-time applications. Consistency Distillation (CD) has emerged as a promising solution, training "student" models to map noise directly to the final data point in a single step by mimicking a "teacher" model's trajectory.

Despite its potential, CD in latent-space models like Stable Diffusion faces two critical challenges: the "Blurriness Trap," where one-step outputs lack fine detail, and the "Oversaturation Problem," where increasing the number of sampling steps leads to unnatural contrast and distorted colors. This paper introduces Self-Corrected Flow Distillation (SCFlow), a framework designed to produce high-quality images in a single step while maintaining visual consistency and improving quality as more steps are added.

Methodology

SCFlow enhances the standard distillation pipeline through four integrated components:

  1. Truncated Consistency Loss: The authors identified that oversaturation often stems from mathematical instabilities at very small timesteps near the final image. By truncating the consistency loss and reverting to a simpler diffusion-style loss in the final generation stages, SCFlow maintains a natural color balance.
  2. Adversarial (GAN) Loss: To overcome the inherent smoothness of distilled models, a discriminator is introduced during training. This adversarial component forces the student model to synthesize sharp, high-frequency details, effectively acting as a detail restorer for one-step generation.
  3. Self-Corrected Reflow Loss: Traditional "rectified flow" methods require pre-computing straight-line trajectories from a teacher model, which is computationally expensive. SCFlow utilizes a "self-corrected" approach where the student uses its own one-step predictions to straighten its path during training, enhancing multi-step performance without massive external datasets.
  4. Bi-directional Consistency: By adding a term that enforces consistency looking "backward" toward the initial noise as well as "forward" toward the data, the model receives more stable and informative gradients throughout the training process.

Experimental Setup and Datasets

The researchers validated SCFlow across several benchmarks:

  • CelebA-HQ (256x256): Focused on unconditional face generation to assess architectural robustness and detail preservation.
  • MS COCO-2014 & 2017: Used for zero-shot text-to-image evaluation, testing the model's ability to generalize across diverse prompts.

SCFlow was benchmarked against leading fast-sampling methods, including SD Turbo, InstaFlow, and Latent Consistency Models (LCM).

Key Results and Insights

SCFlow achieves state-of-the-art performance in both quantitative metrics and qualitative visual fidelity. On the MS COCO-2014 dataset, SCFlow (0.9B parameters) reached an FID score of 11.91 in a single step, outperforming the larger InstaFlow-1.7B (11.83) and significantly surpassing SD Turbo (16.10).

A standout feature of SCFlow is its sampling consistency. While many distilled models see performance degradation when run for more than one step, SCFlow’s FID score actually improves to 11.46 at two steps. This demonstrates that the "self-correction" mechanism successfully aligns the model's trajectory with the true data distribution.

High-fidelity face generation using SCFlow on CelebA-HQ, demonstrating sharp facial features and realistic skin textures.

Qualitatively, the model excels at preserving fine textures, such as skin pores and sharp edges, which are often lost in vanilla consistency models. The authors hypothesize that the "oversaturation" seen in other models is due to a statistical discrepancy between latent space behavior and pixel-level expectations; their truncated loss serves as an effective mathematical bridge to resolve this friction.

Detailed output from SCFlow showing the effectiveness of the adversarial loss in restoring high-frequency details.

Limitations and Future Directions

Despite its successes, SCFlow introduces additional training complexity due to the GAN-based adversarial loss, which requires careful hyperparameter tuning and stabilization. Furthermore, while the model produces high-quality images, there is room to improve prompt adherence (CLIP scores) to better capture complex textual nuances. Future research will explore scaling these self-correcting losses to massive 10B+ parameter transformer architectures like SD3 or Flux.

Summary updated

BibTeX
@inproceedings{dao2025self,
  author = {Quan Dao and Hao Phung and Trung Tuan Dao and Dimitris N. Metaxas and Anh Tuan Tran},
  title = {{Self-Corrected Flow Distillation for Consistent One-Step and Few-Step Image Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i3.32269},
}
Figure