Introduction
Diffusion models have revolutionized generative modeling in finite-dimensional spaces, such as image grids. However, many real-world phenomena—particularly in physics and engineering—are best described as continuous functions rather than discrete vectors. Modeling fluid dynamics, heat transfer, or electromagnetic fields requires infinite-dimensional diffusion models.
While standard diffusion models rely on a stochastic differential equation (SDE) for sampling, deterministic sampling via a Probability-Flow ODE (PF-ODE) is often preferred for its speed and compatibility with advanced numerical solvers. This paper presents the first rigorous derivation of a PF-ODE for infinite-dimensional function spaces, bridging a critical gap in functional generative modeling.
The Mathematical Challenge: Beyond Densities
In finite dimensions, the PF-ODE is derived using the Fokker-Planck equation, which tracks the evolution of a probability density function $p_t$. The deterministic path is defined by the "score" function, $\nabla \log p_t$.
In infinite-dimensional function spaces, this approach breaks down. Due to the lack of a standard "volume" (Lebesgue measure) in these spaces, probability density functions do not exist. Consequently, the standard score function is mathematically undefined. To overcome this, the authors shift the perspective from probability densities to probability measures.
Methodology: Measures and Fomin Derivatives
To derive a valid PF-ODE without densities, the authors employ tools from functional analysis and measure theory:
- Measure-Valued Equations: Instead of the standard Fokker-Planck equation, they utilize a weak formulation of the Fokker-Planck-Kolmogorov equation to track how probability measures evolve over time.
- Fomin Differentiability: The authors replace the traditional score function with the logarithmic gradient of a probability measure. This is defined along a specific mathematical structure called a Cameron-Martin space using the Fomin derivative.
- Deterministic Mapping: Theorem 3.1 in the paper proves that an ODE constructed using this logarithmic gradient evolves with the exact same distribution as the original infinite-dimensional SDE.
Practically, the model is implemented by training a Fourier Neural Operator (FNO) to learn this logarithmic gradient, allowing for deterministic sampling using standard ODE solvers like Euler's method.
Empirical Evaluation and Results
The authors evaluated the PF-ODE against traditional SDE sampling across 1D and 2D functional datasets, including synthetic quadratic functions and solutions to the diffusion-reaction and heat equations.
Key Findings
- Efficiency Gains: On the 1D Quadratic dataset, the ODE solver required only 20 steps to outperform an SDE solver using 100 steps.
- Discretization Error: The authors hypothesize that the ODE's superiority at low step counts stems from how error accumulates. While the SDE injects new noise—and thus new discretization error—at every step, the ODE only suffers from discretization error once during the initial approximation.
- Quantitative Superiority: In 2D tasks like the diffusion-reaction equation, the ODE consistently achieved lower Sliced Wasserstein (SW) distances than the SDE across all tested budgets.
Conclusion and Future Work
By establishing the theoretical foundation for PF-ODEs in infinite dimensions, this work unlocks a suite of acceleration techniques previously reserved for image generation, such as DPM-Solvers and Consistency Models. Future research will focus on applying these methods to achieve single-step function generation and conducting a more rigorous theoretical analysis of discretization error bounds in functional spaces.
Summary updated