Lune

ICLR2024Top-tier venue

InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generation

Xingchao Liu, Xiwen Zhang, Jianzhu Ma, Jian Peng, Qiang Liu

Abstract

Diffusion models have revolutionized text-to-image generation with its exceptional quality and creativity. However, its multi-step sampling process is known to be slow, often requiring tens of inference steps to obtain satisfactory results. Previous attempts to improve its sampling speed and reduce computational costs through distillation have been unsuccessful in achieving a functional one-step model. In this paper, we explore a recent method called Rectified Flow [45; 43], which, thus far, has only been applied to small datasets. The core of Rectified Flow lies in its reflow procedure, which straightens the trajectories of probability flows, refines the coupling between noises and images, and facilitates the distillation process with student models. We propose a novel text-conditioned pipeline to turn Stable Diffusion (SD) into an ultra-fast one-step model, in which we find reflow plays a critical role in improving the assignment between noises and images. Leveraging our new pipeline, we create, to the best of our knowledge, the first one-step diffusion-based text-to-image generator with SD-level image quality, achieving an FID (Fréchet Inception Distance) of 23.3 on MS COCO 2017-5k, surpassing the previous state-of-the-art technique, progressive distillation [58] , by a significant margin (37.2 → 23.3 in FID). By utilizing an expanded network with 1.7B parameters, we further improve the FID to 22.4. We call our onestep models InstaFlow. On MS COCO 2014-30k, InstaFlow yields an FID of 13.1 in just 0.09 second, the best in ≤ 0.1 second regime, outperforming the recent StyleGAN-T [73] (13.9 in 0.1 second). Notably, the training of InstaFlow only costs 199 A100 GPU days. Codes and pre-trained models are available at github.com/gnobitab/InstaFlow. Figure 1: InstaFlow is a high-quality one-step text-to-image model derived from Stable Diffusion [70]. Within 0.1 second, it generates images with similar FID as StyleGAN-T [73] on MS COCO 2014. The whole finetuning process to yield InstaFlow is pure supervised learning and costs only 199 A100 GPU days.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

218 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator cites High-Resolution Image Synthesis with Latent Diffusion Models
  • PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator cites Denoising Diffusion Probabilistic Models
  • PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator cites Denoising Diffusion Implicit Models
  • DiTFastAttn: Attention Compression for Diffusion Transformer Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • DiTFastAttn: Attention Compression for Diffusion Transformer Models cites Denoising Diffusion Probabilistic Models
  • DiTFastAttn: Attention Compression for Diffusion Transformer Models cites Denoising Diffusion Implicit Models
  • Diffusion Models Beat GANs on Image Synthesis cites Language Models are Few-Shot Learners
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Diffusion Models Beat GANs on Image Synthesis
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Diffusion Models Beat GANs on Image Synthesis
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Denoising Diffusion Implicit Models
  • Improving the Training of Rectified Flows cites Diffusion Models Beat GANs on Image Synthesis
  • Improving the Training of Rectified Flows cites Denoising Diffusion Probabilistic Models
  • Improving the Training of Rectified Flows cites Denoising Diffusion Implicit Models
  • Improving the Training of Rectified Flows cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers218

  1. Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
  2. Improved Distribution Matching Distillation for Fast Image SynthesisTianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang et al.NeurIPS 2024 · 728 citations
  3. DiTFastAttn: Attention Compression for Diffusion Transformer ModelsZhihang Yuan, Hanling Zhang, Lu Pu, Xuefei Ning et al.NeurIPS 2024 · 134 citations
  4. Improving the Training of Rectified FlowsSangyun Lee, Zinan Lin, Giulia FantiNeurIPS 2024 · 119 citations
  5. PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play AcceleratorHanshu Yan, Xingchao Liu, Jiachun Pan, Jun Hao Liew et al.NeurIPS 2024 · 108 citations

Builds on67

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. ProReflow: Progressive Reflow with Decomposed VelocityLei Ke, Haohang Xu, Xuefei Ning, Yu Li et al.CVPR 2025
  2. Rectified Diffusion: Straightness Is Not Your Need in Rectified FlowFu-Yun Wang, Ling Yang, Zhaoyang Huang, Mengdi Wang et al.ICLR 2025
  3. One-Step Diffusion with Distribution Matching DistillationTianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman et al.CVPR 2024 · 75 citations
  4. UFOGen: You Forward Once Large Scale Text-to-Image Generation via Diffusion GANsYanwu Xu, Yang Zhao, Zhisheng Xiao, Tingbo HouCVPR 2024
  5. SCott: Accelerating Diffusion Models with Stochastic Consistency DistillationHongjian Liu, Qingsong Xie, Tianxiang Ye, Zhijie Deng et al.AAAI 2025 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines