[Paper Review] GENIE: Higher-Order Denoising Diffusion Solvers
GENIE introduces a second-order ODE solver for denoising diffusion models that uses higher-order gradient terms (via distilled Jacobian-vector products) to accelerate sampling and improve image generation quality with few steps.
Denoising diffusion models (DDMs) have emerged as a powerful class of generative models. A forward diffusion process slowly perturbs the data, while a deep model learns to gradually denoise. Synthesis amounts to solving a differential equation (DE) defined by the learnt model. Solving the DE requires slow iterative solvers for high-quality generation. In this work, we propose Higher-Order Denoising Diffusion Solvers (GENIE): Based on truncated Taylor methods, we derive a novel higher-order solver that significantly accelerates synthesis. Our solver relies on higher-order gradients of the perturbed data distribution, that is, higher-order score functions. In practice, only Jacobian-vector products (JVPs) are required and we propose to extract them from the first-order score network via automatic differentiation. We then distill the JVPs into a separate neural network that allows us to efficiently compute the necessary higher-order terms for our novel sampler during synthesis. We only need to train a small additional head on top of the first-order score network. We validate GENIE on multiple image generation benchmarks and demonstrate that GENIE outperforms all previous solvers. Unlike recent methods that fundamentally alter the generation process in DDMs, our GENIE solves the true generative DE and still enables applications such as encoding and guided sampling. Project page and code: https://nv-tlabs.github.io/GENIE.
Motivation & Objective
- Motivate faster and more accurate sampling for denoising diffusion models (DDMs) by leveraging higher-order information about the generative ODE.
- Develop a practical second-order ODE solver for the DDIM ODE that exceeds Euler-based methods in step efficiency.
- Eliminate the need for explicit high-dimensional higher-order scores by extracting Jacobian-vector products from the first-order score model.
- Propose a distillation-based approach to predict the required higher-order terms with a lightweight neural head.
- Demonstrate state-of-the-art performance across multiple image-generation benchmarks while preserving ability to encode and guide sampling.
Proposed method
- Derive a second-order Time Taylor Method (TTM) applied to the DDIM ODE to enable larger steps by incorporating the second derivative term.
- Compute the total derivative of the first-order score model with respect to the diffusion time, decomposed into two Jacobian-vector products (JVPs) and a time-derivative term.
- Obtain JVPs via automatic differentiation of the learned first-order score function and avoid forming high-order scores explicitly.
- Distill the required higher-order gradient information into a small neural head kψ that sits on top of the first-order score network, reusing internal representations.
- Use a mixed parameterization to model dγt εθ, expressible as a weighted combination of three prediction heads corresponding to the JVP components.
- Train the distillation head with a principled L2 loss that matches the distillation target to the true higher-order gradient, enabling fast inference.
- Apply the approach to various image datasets and demonstrate accelerated sampling with notable accuracy gains over prior solvers.
Experimental results
Research questions
- RQ1Can higher-order gradient information of the perturbed data distribution improve the efficiency and accuracy of diffusion-model samplers?
- RQ2Is it possible to extract and utilize second-order terms (JVPs) from a first-order score model without explicitly computing high-dimensional higher-order scores?
- RQ3Does distilling higher-order gradient information into a small neural head provide a practical, fast inference path that outperforms existing solvers across standard benchmarks?
- RQ4Do these higher-order solvers preserve the ability to encode data into latent spaces and support guided sampling and encoding tasks?
Key findings
- GENIE achieves improved sampling efficiency by using a second-order ODE solver based on a truncated Taylor method.
- GENIE derives and utilizes two Jacobian-vector products and a time-derivative term to capture local curvature of the score gradient, enabling larger step sizes.
- The required higher-order terms are extracted from the first-order score model via automatic differentiation and distilled into a small head on top of the score network.
- A lightweight distillation head (kψ) adds minimal overhead and delivers accurate higher-order gradient estimates during synthesis.
- GENIE outperforms prior solvers on multiple image-generation benchmarks across several datasets for a range of few-step settings (NFEs).
- The method preserves the original generative ODE formulation, enabling encoding, and classifier-guided sampling, in contrast to some competing approaches that alter the generation process.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.