Abstract
Denoising Diffusion Probabilistic Models (DDPMs) have established themselves as a premier class of generative models, yet their high-quality output is traditionally gated by a computationally expensive sampling process requiring hundreds or thousands of steps. This paper discusses Shortcut Fine-Tuning (SFT), a novel approach that reframes image generation as a reinforcement learning (RL) control task. By directly minimizing the distance between generated and real data distributions using Policy Gradient methods, SFT enables the discovery of efficient "shortcuts" in the denoising process. Experimental results demonstrate that SFT-tuned models can produce samples in just 10 steps that rival or exceed the quality of standard 1000-step diffusion models, achieving state-of-the-art performance on benchmarks like CIFAR-10 and CelebA.
Introduction
The "speed tax" of Denoising Diffusion Probabilistic Models is a well-known bottleneck in generative AI. While DDPMs produce high-fidelity images by reversing a gradual noise-adding process, the sequential nature of this denoising—often requiring 1,000 iterations—makes real-time application difficult.
Existing solutions, such as DDIM or various SDE solvers, attempt to accelerate sampling by taking larger steps along the original backward diffusion path. However, these methods rely on the assumption that each step follows a simple Gaussian distribution. When the number of steps is drastically reduced, this assumption breaks down, leading to a "generation gap" where the resulting images lose significant detail and accuracy. Shortcut Fine-Tuning (SFT) proposes a fundamental shift: instead of trying to approximate the long, winding original path more accurately, the model should learn a direct shortcut to the data distribution.
Methodology
From Imitation to Distribution Matching
Traditional diffusion training is essentially a form of imitation learning, where the model tries to match the reverse of the forward noise process. SFT moves away from this by focusing on distribution matching. The core objective is to minimize the Integral Probability Metrics (IPM)—a family of distance measures that includes Wasserstein distance—between the generated images and the real training data.
SFT-PG: Policy Gradient for Diffusion
Optimizing a multi-step sampling chain is computationally challenging due to the risk of vanishing gradients, a problem common in training Recurrent Neural Networks (RNNs). To circumvent this, the authors treat the denoising model as a "policy" within a reinforcement learning framework.
By utilizing Policy Gradient (PG) methods, the model can optimize the final output without needing to backpropagate through every intermediate sampling step. The authors mathematically demonstrate that performing gradient descent on the IPM objective is equivalent to a policy gradient update, effectively bridging generative modeling and RL.
Baseline Regularization
To address the high variance typically associated with RL training, the researchers introduced a "critic" and a "baseline" function. A key finding in this work was that reusing the baseline function to regularize the critic—rather than employing standard gradient penalties—led to superior convergence and higher image quality.
Experimental Results
The efficacy of SFT was evaluated across synthetic toy datasets and standard image benchmarks, comparing it against both standard DDPMs and other advanced fast samplers like Analytic-DPM and SN-DDPM.
Toy Datasets
On the Swiss Roll dataset, a 10-step SFT-tuned model achieved a Wasserstein distance ($W_2$) of 0.64, a massive improvement over the original 1000-step DDPM, which scored 1.78. This proof-of-concept confirmed that the model could successfully find more efficient paths to the data manifold than the original diffusion theory prescribed.
Image Benchmarks
- CIFAR-10 ($32 \times 32$): SFT-PG achieved an FID score of 2.28 in only 10 steps. For comparison, a standard 10-step DDPM scores 34.76, and even specialized fast samplers like SN-DDPM only reach 16.33.
- CelebA ($64 \times 64$): The 10-step SFT model reached an FID of 2.01, actually outperforming the full 1000-step original model's FID of 3.26.
Efficiency
The fine-tuning process is notably efficient. For CIFAR-10, SFT required approximately 6 hours on 4 RTX 2080Ti GPUs, making it faster to implement than many distillation-based acceleration methods.
Discussion and Insights
Diffusion as a Control Task
The most significant conceptual contribution of this work is the perspective of diffusion as a control task. If the 1000-step path is viewed as a demonstration, SFT allows the model to realize that the demonstration is inefficient. By breaking the constraint that every step must be Gaussian, the model is free to discover alternative trajectories that reach the target distribution in a fraction of the time.
Limitations
Despite its success, SFT still requires sequential inference passes (e.g., 10 steps), meaning it remains slower than "one-shot" generators like GANs. Additionally, the current implementation only fine-tunes the mean prediction ($\mu_\theta$) while keeping variance fixed. Future work may involve learning the variance schedule through the same RL objective to further enhance performance.
Conclusion
Shortcut Fine-Tuning represents a powerful new paradigm for accelerating diffusion models. By treating the denoising process as a policy to be optimized via reinforcement learning, SFT bypasses the mathematical hurdles that limit traditional fast samplers. The result is a model that can generate high-fidelity images with a 100x reduction in sampling steps, making diffusion models significantly more viable for real-world, time-sensitive applications.
Summary updated