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

Probability-Flow ODE in Infinite-Dimensional Function Spaces

Kunwoo Na, Junghyun Lee, Se-Young Yun, Sungbin Lim · DOI

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:

  1. 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.
  2. 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.
  3. 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.

Figure 2: Visual comparison of ODE vs SDE sampling on the 1D Quadratic dataset. The ODE produces significantly cleaner, more accurate samples at low NFE (Number of Function Evaluations) compared to the noisy SDE results.

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.
Figure 6: Sliced Wasserstein (SW) distance vs. NFE for the 2D PDEBench task. The ODE solver consistently maintains a lower error profile than the SDE across the entire range of function evaluations.

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

BibTeX
@misc{na2025probability,
  author = {Kunwoo Na and Junghyun Lee and Se-Young Yun and Sungbin Lim},
  title = {{Probability-Flow ODE in Infinite-Dimensional Function Spaces}},
  year = {2025},
  eprint = {2503.10219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10219},
}
Figure