Diffusion Models with Deterministic Normalizing Flow Priors

Mohsen Zand, Ali Etemad, Michael A. Greenspan · DOI

Introduction

Diffusion models have emerged as a dominant force in generative AI, capable of producing high-fidelity images that often surpass GANs in diversity and quality. However, they are hindered by two significant drawbacks: slow sampling speeds and fixed, uninformative priors. Standard models typically require thousands of sequential denoising steps starting from pure Gaussian noise, which is computationally expensive and ignores the inherent structure of the data distribution during the initial phases of generation.

The DiNof Approach: Hybridizing Diffusion and Flows

The authors of DiNof propose a novel hybrid architecture that "nonlinearizes" the diffusion process. By integrating Normalizing Flows (NF)—specifically the Glow architecture—into the diffusion pipeline, they replace the standard Gaussian prior with a data-dependent, deterministic prior.

Hybrid Forward and Backward Processes

The core innovation lies in splitting the generative process at a tunable threshold, $T_m$:

  • Forward Process: Data is partially noised using a standard linear Stochastic Differential Equation (SDE) until time $T_m$. From $T_m$ to the final latent state, the model uses a deterministic, invertible Normalizing Flow to map the noisy data to a Gaussian distribution.
  • Backward (Generative) Process: Generation begins by sampling from a Gaussian and passing it through the inverse NF. This produces a "data-informed" noisy prior at step $T_m$, which already contains structural information about the target data. The model then performs standard stochastic denoising for the remaining steps to produce the final image.
Comparison of generative architectures: Diffusion Models, Normalizing Flows, DiffFlow, and the proposed DiNof.

By using the NF to handle the most "random" part of the process, DiNof allows the model to jump directly to a partially denoised state, significantly reducing the number of required diffusion steps without sacrificing quality.

Key Results and Performance

DiNof was evaluated on the CIFAR-10 and CelebA-HQ-256 benchmarks, demonstrating state-of-the-art results in both efficiency and synthesis quality.

  • Superior Image Quality: On CIFAR-10, DiNof achieved a Frechet Inception Distance (FID) of 2.01, outperforming many existing diffusion and GAN-based models. On high-resolution CelebA-HQ-256, it reached an FID of 7.11.
  • Enhanced Efficiency: The model is approximately 1.7x faster than the standard DDPM++ architecture. As shown in the performance analysis, DiNof reaches a lower FID with 600 steps than many competing models achieve with 1,000 steps.
FID vs. Sampling Steps: DiNof (red diamond) achieves superior quality with fewer steps compared to baselines like DDPM and DDIM.

Discussion and Future Directions

While DiNof introduces a small parameter overhead (approximately 7 million additional parameters due to the Glow architecture), the trade-off is a significant gain in inference speed and representational power. The $T_m$ threshold provides a flexible hyperparameter to balance speed and quality, with $T_m = 0.6$ often serving as the optimal "sweet spot."

Future work may involve extending this hybrid approach to conditional generation tasks, such as text-to-image synthesis, and exploring its utility in video generation where sampling speed is even more critical.

Summary updated

BibTeX
@article{zand2024diffusion,
  author = {Mohsen Zand and Ali Etemad and Michael A. Greenspan},
  title = {{Diffusion Models with Deterministic Normalizing Flow Priors}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=ACMNVwcR6v},
}
Figure