TL;DR
Neural Diffusion Models (NDMs) generalize standard diffusion models by replacing fixed, linear data transformations with learnable, time-dependent, non-linear ones. This flexibility allows the model to "simplify" data distributions before adding noise, leading to state-of-the-art likelihood estimation on major image benchmarks and more efficient generative trajectories.
What Problem Does This Paper Address?
Diffusion models have revolutionized generative AI, but they possess a hidden rigidity. Most existing models (like DDPM or DDIM) rely on a fixed forward process where data is scaled linearly and then drowned in Gaussian noise.
The authors argue that this linear constraint is a bottleneck. If the forward process is forced to follow a path that doesn't naturally fit the data well, the reverse process—the part that actually generates images—has to work much harder to learn the complex mapping from noise back to data. By allowing the model to learn how to transform the data distribution as it adds noise, we can close the gap between the model's approximation and the true data likelihood, potentially making the generative task much simpler.
Methods
The core innovation is the introduction of a learnable function, $F_\phi(x, t)$. In a standard diffusion model, the latent variable $z_t$ is essentially a scaled version of the data $x$ plus noise. In an NDM, $z_t$ is a scaled version of the transformed data $F_\phi(x, t)$ plus noise.
Key technical highlights include:
- Learnable Forward Process: $F_\phi$ is a neural network that can learn non-linear, time-dependent transformations.
- Simulation-Free Training: Despite the added complexity, the authors derived a variational bound that allows the model to be trained without simulating the entire diffusion chain. You can simply sample a random time $t$ and optimize, just like standard diffusion.
- Continuous-Time Formulation: The authors derived the Stochastic Differential Equations (SDE) and Ordinary Differential Equations (ODE) for NDMs. This allows the use of off-the-shelf solvers for fast sampling and exact density estimation (calculating the log-likelihood).
- Unifying Framework: The paper shows that many existing models (like Soft Diffusion or LSGM) are actually just special cases of NDMs where $F$ is pre-defined or restricted.
Datasets
The authors evaluated NDMs across a variety of standard generative benchmarks:
- Synthetic 2D Data: A checkerboard distribution used to visualize how the model simplifies data.
- MNIST: The classic handwritten digit dataset.
- CIFAR-10: A standard benchmark for small color images.
- Downsampled ImageNet: Both 32x32 and 64x64 versions.
- CelebA-HQ-256: High-resolution celebrity faces, where the NDM was applied within the latent space of a VAE (Latent NDM).
Key Insights and Ideas
- Distribution Simplification: On the checkerboard task, the NDM learned to "unfold" the interleaved squares into a simpler, non-interleaved pattern before adding noise. This suggests the model actively seeks a path of "least resistance" for the generative process.
- Better Intermediate Predictions: In standard diffusion, intermediate "denoised" predictions often look like blurry versions of the final image. In NDMs, because the model is predicting a transformed version of the data, the intermediate steps look much more like real, sharp data samples.
- Likelihood vs. Sample Quality: NDMs excel at likelihood (how well the model fits the data distribution). While they also produce high-quality samples, the primary "win" here is in density estimation, which is crucial for tasks like data compression.
- The "Collapse" Risk: Interestingly, the authors found that the "simplified" loss function used in models like DDPM doesn't work for NDMs. If you don't use the full variational objective, the learnable transformation $F_\phi$ can collapse to zero.
Key Results
- State-of-the-Art Likelihood: NDMs achieved SOTA results for diffusion models on ImageNet 32x32 (3.55 bits per dimension) and ImageNet 64x64 (3.35 BPD).
- Consistency: NDMs consistently outperformed Improved DDPM and VDM baselines in terms of negative log-likelihood (NLL) across almost all tested datasets.
- Efficiency in Few Steps: For small to medium numbers of sampling steps (e.g., $T=10$), NDMs produced significantly better image quality (lower FID) than standard DDPMs. For example, on CIFAR-10 with 10 steps, NDM achieved an FID of 31.56 compared to DDPM's 37.83.
Limitations and Future Work
- Computational Overhead: NDMs have roughly twice as many parameters as standard diffusion models (because of the $F_\phi$ network) and take about 2.3x longer to train.
- Conditional Generation: Currently, NDMs do not support standard conditional generation techniques like classifier guidance. The authors noted this as a primary area for future research.
- Parameterization: The authors used a standard epsilon-prediction parameterization, but they suspect that more specialized architectures for the non-linear transformation $F_\phi$ could yield even better results.
Summary updated