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

Score-based Diffusion Models in Function Space

Jae Hyun Lim, Nikola B. Kovachki, Ricardo Baptista, Christopher Beckham, Kamyar Azizzadenesheli, Jean Kossaifi, Vikram Voleti, Jiaming Song, Karsten Kreis, Jan Kautz, Christopher Pal, Arash Vahdat, Anima Anandkumar

TL;DR

This paper introduces Denoising Diffusion Operators (DDOs), a mathematically rigorous framework for training score-based diffusion models directly in infinite-dimensional function spaces. By replacing standard white noise with structured Gaussian process noise and utilizing Neural Operators, DDOs achieve true discretization-invariant generative modeling, enabling zero-shot super-resolution for complex scientific and geometric data.

What Problem Does This Paper Address?

Standard diffusion models (DMs) have revolutionized generative AI, but they are typically formulated on finite-dimensional Euclidean spaces (like $\mathbb{R}^n$). This means they are inherently tied to a specific discretization, such as a fixed $256 \times 256$ pixel grid. If you want to generate data at a higher resolution, you usually have to retrain the model or use separate upsampling networks.

However, many critical data types—such as weather patterns, fluid dynamics (Navier-Stokes), and 3D shapes (Signed Distance Functions)—are naturally continuous functions. Applying standard DMs to these "functional" datasets leads to two major issues:

  1. Resolution Dependence: Models don't scale well to higher resolutions and fail to transfer across different grids.
  2. Mathematical Inconsistency: In the limit of infinite resolution, standard "white noise" becomes mathematically ill-defined (it doesn't live in the same space as the data), causing training losses to explode.

Methods

The authors propose Denoising Diffusion Operators (DDOs) to bridge this gap. The core innovation lies in lifting the entire diffusion process into a separable Hilbert space $H$.

  • Structured Forward Process: Instead of adding pixel-wise white noise, DDOs perturb input functions using a Gaussian Process (GP) with a trace-class covariance operator. This ensures the noise is "smooth" enough to remain within the function space $H$.
  • Score Operators: The authors generalize the concept of a "score function" (the gradient of the log-density) to a score operator. Since infinite-dimensional spaces don't have standard probability densities, they define the score as the Fréchet derivative of the log-density relative to a reference Gaussian measure.
  • Neural Operators: To learn this score operator, they use architectures like Fourier Neural Operators (FNO) and U-shaped Neural Operators (UNO). Unlike standard CNNs, these are designed to be discretization-invariant, meaning they learn a mapping between function spaces that can be evaluated at any coordinate.
  • Sampling: Generation is performed via function-valued annealed Langevin dynamics, discretized using schemes like Euler-Maruyama or Crank-Nicolson.
Overview of the DDO approach vs. finite-dimensional DMs

Datasets

The authors evaluated DDOs on a diverse set of functional problems:

  • Gaussian Mixture: 1D functions sampled from a GP with two distinct means, used to verify resolution independence.
  • Navier-Stokes: 2D vorticity fields representing fluid flow. This is a non-Gaussian distribution generated by pushing random forcings through a non-linear PDE.
  • Volcano InSAR: Real-world satellite interferometry data (4096 samples at $128 \times 128$ resolution) representing ground deformation.
  • MNIST-SDF: 2D Signed Distance Functions (SDFs) derived from the MNIST digit dataset.
  • Darcy Flow: A Bayesian inverse problem focused on recovering subsurface permeability from surface pressure observations.

Key Insights and Ideas

  • Trace-Class Noise is Non-Negotiable: The "aha moment" is that white noise is the enemy of resolution invariance. As shown in Figure 2, models trained with white noise see their error grow as resolution increases, whereas DDOs using trace-class noise maintain a constant, low error.
  • Zero-Shot Super-Resolution: Because the model learns the underlying continuous operator, it can perform "super-resolution" natively. You can train on $128 \times 128$ data and generate high-fidelity samples at $1024 \times 1024$ without any retraining.
  • Mathematical Precision: The framework provides a rigorous way to handle the "manifold hypothesis" in infinite dimensions by assuming data lies in the Cameron-Martin space of the noise.

Key Results

  • Resolution Invariance: In the Gaussian Mixture experiment, DDO achieved consistent error across resolutions from 64 to 2048, while standard white-noise models failed completely at high resolutions.
  • Scientific Accuracy: For Navier-Stokes, DDO accurately captured complex turbulence statistics, including the energy spectrum and pointwise value densities, even when generating at $1024 \times 1024$ (8x the training resolution).
  • State-of-the-Art Performance: On the MNIST-SDF benchmark, DDO outperformed existing function-space baselines like GANO and MultilevelDiff in terms of FID and precision-recall across all tested resolutions.
Navier-Stokes results showing high-resolution generation and statistical alignment

Limitations and Future Work

  • Spectral Artifacts: The use of spectral convolutions (in FNOs) can sometimes introduce "ringing" artifacts or slightly curved boundaries in generated images (e.g., in MNIST-SDF) because they truncate high-frequency components.
  • Noise Hyperparameters: The performance is sensitive to the choice of the noise covariance kernel (e.g., RBF length scale), which currently requires manual tuning.
  • Continuous-Time Formulation: While this work uses discrete-time steps, the authors suggest that extending DDOs to continuous-time SDEs (similar to Score-SDE) is a promising next step for even more flexible sampling.

Summary updated

BibTeX
@misc{lim2023score,
  author = {Jae Hyun Lim and Nikola B. Kovachki and Ricardo Baptista and Christopher Beckham and Kamyar Azizzadenesheli and Jean Kossaifi and Vikram Voleti and Jiaming Song and Karsten Kreis and Jan Kautz and Christopher Pal and Arash Vahdat and Anima Anandkumar},
  title = {{Score-based Diffusion Models in Function Space}},
  year = {2023},
  eprint = {2302.07400},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.07400},
}
Figure