High-fidelity diffusion models have revolutionized generative AI, but they come with a steep price tag: massive computational requirements for training and slow inference speeds. While techniques like distillation have addressed the sampling speed, the "training wall"—the sheer amount of GPU hours needed to train a high-resolution model from scratch—remains a barrier for most researchers.
Enter PaGoDA (Progressive Growing of Diffusion Autoencoder), a new pipeline that promises to democratize high-resolution diffusion training. By combining low-resolution pretraining with progressive upsampling and one-step distillation, the authors demonstrate a staggering 64× reduction in training costs while achieving state-of-the-art results.
TL;DR
PaGoDA is a three-stage pipeline that trains diffusion models on low-resolution data and progressively "grows" them into high-resolution, one-step generators. It reduces training costs by up to 64× and achieves state-of-the-art image quality on ImageNet, offering lightning-fast one-step inference that outperforms existing distilled models.
What Problem Does This Paper Address?
Training state-of-the-art diffusion models (DMs) is a resource-intensive endeavor. As resolution increases, the computational cost scales quadratically (or worse), limiting large-scale training to a handful of well-funded organizations. Furthermore, even after a model is trained, the iterative denoising process required for sampling is slow.
Existing solutions like Latent Diffusion Models (LDMs) use a fixed autoencoder to compress images, but training the diffusion model in that latent space is still expensive. Distillation methods like Consistency Models can speed up inference to a single step, but they typically require a fully trained, high-resolution "teacher" model to start with. PaGoDA aims to solve both the training cost and the inference speed simultaneously.
Methods
The PaGoDA pipeline breaks the process into three distinct stages:
- Stage 1: Low-Resolution Pretraining. Instead of training on high-res images, a standard diffusion model is trained on heavily downsampled data (e.g., 8× downsampled). This is where the 64× cost saving comes from ($8 \times 8 = 64$).
- Stage 2: Diffusion Distillation. The low-res teacher is distilled into a one-step generator. The authors introduce a novel use of DDIM inversion here. By inverting real data into the latent space, they can train the generator using a combination of a reconstruction loss ($\mathcal{L}_{rec}$) and an adversarial loss ($\mathcal{L}_{adv}$).
- Stage 3: Progressive Super-Resolution. The model is then "grown." New ResNet blocks are added to the generator to increase resolution (e.g., from 64×64 to 128×128). Crucially, the earlier blocks are frozen, and the model is trained to refine high-frequency details using the same $\mathcal{L}_{rec} + \mathcal{L}_{adv}$ objective.
Datasets
The authors evaluated PaGoDA across several standard benchmarks:
- ImageNet: Tested across resolutions from 64×64 to 512×512.
- Text-to-Image (T2I): Evaluated on MSCOCO-2014 and MSCOCO-2017 validation sets.
- T2I Training: Used CC12M and a filtered version of COYO-700M, with recaptioning performed by LLaVA-7B to improve data alignment.
Key Insights and Ideas
-
The Power of Reconstruction Loss: A major challenge in progressive growing is "object shifting," where the content moves or changes as resolution increases. PaGoDA’s use of a reconstruction loss tied to DDIM-inverted latents ensures that the model maintains perfect object alignment across resolution jumps. Effect of the reconstruction loss in Stage 3. Without the reconstruction loss, the object moves at each resolution jump.
-
Solving the "Prior Hole" Problem: Standard distillation often fails to cover the entire latent manifold, leading to a drop in quality over long training runs. By adding an adversarial loss term that samples from the entire prior distribution, PaGoDA stays stable and maintains high sample quality.
- Outperforming the Teacher: Remarkably, PaGoDA's one-step generator can actually achieve better FID scores than the multi-step teacher model it was distilled from. This is attributed to the robustness of the $\mathcal{L}_{rec} + \mathcal{L}_{adv}$ objective. Comparison of Ldstl and Lrec, both combined with Ladv, using identical hyperparameters. Lrec shows the robust performance.
Key Results
- SOTA Performance: On ImageNet 512×512, PaGoDA achieved an FID of 1.80 with just a single inference step, outperforming StyleGAN-XL and other distilled diffusion models.
- Efficiency: The pipeline achieved a 64× reduction in training computation for the base diffusion model.
- Inference Speed: Because PaGoDA operates directly in pixel space (or can be applied to latents), it avoids the overhead of separate VAE decoding found in models like LCM, making it roughly 2× faster at inference time.
- Controllability: The authors demonstrated that the trained generator is highly effective for inverse problems like inpainting and super-resolution through simple latent optimization or DDIM inversion.
Limitations and Future Work
- CFG Incompatibility: The reconstruction loss is theoretically incompatible with Classifier-Free Guidance (CFG). The authors had to develop a "CFG weight estimator" workaround for text-to-image tasks, which adds some complexity.
- Theoretical Assumptions: The stability proofs rely on certain Lipschitz continuity assumptions of the score functions, which can be hard to verify in practice at the $t=0$ singularity.
- Latent Space Application: While this paper focused on pixel-space teachers, the authors note that PaGoDA could be applied directly to the latent space of models like Stable Diffusion for even further gains—an avenue left for future research.
Summary updated