TL;DR
Dual-Rate Diffusion accelerates diffusion model inference by decoupling the generation process into a heavy "context encoder" run sparsely and a light "denoising model" run at every step. This approach cuts computational costs (FLOPs) by a factor of 2 to 4 on ImageNet benchmarks without sacrificing sample quality, and it seamlessly integrates with few-step distillation methods.
What Problem Does This Paper Address?
While diffusion models excel at generating high-quality images, videos, and audio, their inference speed remains a major bottleneck. Standard sampling requires passing a noisy sample through a massive neural network dozens or hundreds of times.
Existing acceleration techniques typically focus on reducing the number of sampling steps (e.g., through distillation or advanced ODE solvers). However, each remaining step still evaluates the same heavy network architecture. Dual-Rate Diffusion addresses the orthogonal challenge of reducing the computational cost per step. It exploits the insight that global image structures change slowly across denoising steps, making full, heavy network evaluations at every single step redundant.
Methods
The authors introduce a dual-network architecture consisting of a computationally heavy context encoder ($E_\theta$) and a lightweight denoising model ($g_\theta$).
During inference, the heavy context encoder is evaluated only at sparse, fixed intervals (e.g., every 16th step) to extract high-dimensional features capturing global structure. The light denoising model runs at every single step, efficiently reusing the most recent features from the context encoder to perform local refinements.
To pass information between the networks, the authors extract features from multiple spatial resolution levels of the context encoder's U-ViT architecture and concatenate them with the corresponding levels of the denoising U-ViT.
To ensure robust training, the authors introduce three key techniques:
- Hierarchical Conditioning: Providing features from every level of the context encoder rather than just the final layer.
- Data Augmentation: Utilizing random translation during training.
- Feature Dropout: Randomly replacing the context features ($e_\tau$) with a zero vector with a probability of $p=0.5$ during training, forcing the denoising model to learn to operate independently when needed.
Additionally, the authors extend this framework to Moment Matching Distillation (MMD). To prevent distribution shifts during few-step training, they generate intermediate states using a "rollout" of the student model itself rather than relying on the teacher's forward process.
Datasets
The method was trained and evaluated on standard class-conditional image generation benchmarks:
- ImageNet $64 \times 64$
- ImageNet $128 \times 128$
No new datasets or benchmarks were introduced in this work.
Key Insights and Ideas
- Frequency-Domain Delegation: Global structure (low frequencies) stabilizes early in the denoising process, while local details (high frequencies) emerge later. Repeatedly running a heavy model to process stable global structures wastes capacity; delegating it to a sparse context encoder allows the light model to focus purely on local details.
- The Power of Feature Dropout: Randomly zeroing out context features during training was the single most impactful trick for improving the Fréchet Inception Distance (FID) score. It forces the context encoder to learn robust, additive features that the denoising model can easily exploit.
- Strict Markovian Trajectories: Unlike standard diffusion models where non-Markovian sampling (like DDIM) is popular, Dual-Rate Diffusion requires strict Markovian processes during both training and inference. Because the denoising model depends on two states ($z_t$ and $z_\tau$), non-Markovian sampling introduces severe distribution mismatches.
Key Results
- Significant Compute Savings: On ImageNet $64 \times 64$, Dual-Rate Diffusion achieved a better sample quality score than the baseline (FID of 1.12 vs 1.25) while slashing the computational budget by a factor of 4 (13.14 TFLOPs vs 55.5 TFLOPs).
- High-Resolution Efficiency: On ImageNet $128 \times 128$, it matched the baseline performance while reducing the computational cost from 70.37 TFLOPs to 28.23 TFLOPs.
- Compatibility with Distillation: When integrated with MMD (Dual-Rate MMD), the model achieved an FID of 1.17 on ImageNet $64 \times 64$ in just 8 steps, outperforming standard 8-step MMD (FID 1.24) with lower overall compute.
Limitations and Future Work
- Increased Training Overhead: While inference is significantly faster, the training cost per iteration increases. This is because both the heavy context encoder and the light denoising network must be evaluated for each training step. The authors suggest that an alternating training scheme could mitigate this in the future.
- Sensitivity to Distribution Shifts: The dual-network dependency makes the model sensitive to out-of-distribution inputs, necessitating stochastic Markovian processes and student rollouts during distillation training, which complicates the training pipeline.
- Future Modalities: A natural next step is exploring optimal schedules for the context encoder and extending Dual-Rate Diffusion to video or audio generation, where temporal redundancy is even higher than in static images.
Summary updated