NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Maximum Likelihood Training of Implicit Nonlinear Diffusion Model

Dongjun Kim, Byeonghu Na, Se Jung Kwon, Dongsoo Lee, Wanmo Kang, Il-Chul Moon

Introduction

Standard diffusion models, such as Denoising Diffusion Probabilistic Models (DDPMs) or Score-based SDEs, rely on a fixed "forward" process that gradually transforms data into Gaussian noise. This process is almost universally linear—typically achieved by simply adding noise or scaling the image.

The authors of this paper argue that this rigid, hand-crafted inference process is a missed opportunity. In Variational Auto-Encoders (VAEs), for instance, the encoder (the inference component) is actively trained to map data to a useful latent space. Because the inference part of a standard diffusion model is fixed, it can lead to inefficient paths from data to noise. This inefficiency requires many discretization steps during sampling and makes it harder for the model to learn the underlying data distribution effectively.

Comparison of linear and nonlinear diffusion processes on a 2D spiral dataset.

To address this, the authors introduce Implicit Nonlinear Diffusion Models (INDM), which break the tradition of using fixed, linear noise processes by making the forward inference process trainable and nonlinear.

Methodology: The INDM Architecture

Defining a nonlinear diffusion process directly in a high-dimensional data space is computationally prohibitive. Instead, INDM employs a clever "sandwich" approach that implicitly constructs a nonlinear diffusion process:

  1. Normalizing Flow ($h_\phi$): A trainable, invertible neural network maps the complex data space ($x$) to a more tractable latent space ($z$).
  2. Latent Linear Diffusion: A standard, well-understood linear Stochastic Differential Equation (like VP-SDE) is applied exclusively to the latent variable $z$.
  3. Implicit Nonlinearity: Because the flow $h_\phi$ is nonlinear, the resulting diffusion process—when viewed from the original data space $x$—becomes a complex, data-adaptive nonlinear SDE.
The INDM architecture, illustrating the nonlinear forward/generative paths in data space and the linear paths in latent space connected by a normalizing flow.

Training: INDM is trained using a Maximum Likelihood Estimation (MLE) objective. The loss function elegantly combines the change-of-variables formula from the normalizing flow (the Jacobian determinant) with the standard denoising score matching loss used in traditional diffusion models.

Sampling: To generate new data, the model solves the reverse SDE entirely in the latent space. Once the latent trajectory is complete, the result is passed through the inverse flow network just once. This "red path" sampling strategy is significantly faster than alternative methods that require expensive flow evaluations at every single diffusion step.

Key Insights

  • Bidirectional Attraction: Unlike standard models where the score network chases a fixed target, INDM features a "moving target." The flow and the score network are trained jointly. The flow effectively "straightens" the data manifold to make the score network's job easier, leading to faster convergence.
  • Discretization Robustness: INDM is remarkably stable when reducing the number of sampling steps. The learned flow maximizes the "smoothness" of the latent distribution, making the reverse SDE much easier to solve with large step sizes.
  • Geometry of the Path: In linear diffusion, the path from data to noise can be highly curved and "repulsive." INDM learns a flow that pushes the latent manifold into a configuration where the diffusion trajectory is more linear and efficient.
  • Dataset Interpolation: Because the forward process is trainable, INDM can learn to bridge two entirely different distributions (e.g., mapping the letter 'a' to the digit '1') through a nonlinear diffusion bridge—a feat linear models struggle to achieve.

Key Results

INDM was evaluated on standard generative modeling benchmarks, including CIFAR-10, CelebA ($64 \times 64$), and MNIST/EMNIST, yielding impressive results:

  • State-of-the-Art Generation: On CelebA, INDM achieved an FID of 1.75, outperforming existing models like LSGM and standard DDPM++.
  • Maximum Likelihood: On CIFAR-10, INDM reached a lower Negative Log-Likelihood (NLL) faster than DDPM++, effectively closing the "variational gap" between the model and the true data distribution.
  • Sampling Efficiency: In tests with varying ODE solver tolerances, INDM maintained high image quality (low FID) even when the number of function evaluations (NFE) was drastically reduced. Baseline models saw their performance degrade rapidly under the same conditions.

Limitations and Future Work

While INDM is highly efficient during sampling, the inclusion of a normalizing flow adds computational complexity and memory overhead during the training phase compared to "pure" diffusion models. Furthermore, the method inherently relies on the invertibility of the flow network. While the authors successfully utilized ResNet-based flows, exploring more flexible or efficient invertible architectures could yield even better performance.

Ultimately, by making the diffusion process implicit and trainable, INDM successfully combines the strong likelihood-based training of normalizing flows with the powerful generative capabilities of diffusion models.

Summary updated

BibTeX
@inproceedings{kim2022maximum,
  author = {Dongjun Kim and Byeonghu Na and Se Jung Kwon and Dongsoo Lee and Wanmo Kang and Il-Chul Moon},
  title = {{Maximum Likelihood Training of Implicit Nonlinear Diffusion Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=uEu9ylkGryc},
}
Figure