Quantifying Epistemic Uncertainty in Diffusion Models

Aditi Gupta, Raphael A Meyer, Yotam Yaniv, Elynn Chen, N. Benjamin Erichson

TL;DR

This paper introduces FLARE, a novel method for quantifying epistemic uncertainty in diffusion models by isolating parameter uncertainty from noise. FLARE uses a scalable Fisher-Laplace approximation, significantly improving the reliability of generated data and enabling better filtering of low-confidence samples compared to existing methods.

What Problem Does This Paper Address?

Diffusion models are powerful generative tools, but ensuring the quality and reliability of their outputs requires understanding their uncertainty. This uncertainty can be broadly categorized into two types: aleatoric (inherent randomness in the data or sampling process) and epistemic (uncertainty due to limitations in the model's learned parameters). Existing methods often struggle to disentangle these two, leading to unreliable measures of model confidence. This is particularly problematic in diffusion models, where uncertainty accumulates across many denoising steps, making it difficult to pinpoint when and where the model is truly uncertain due to a lack of knowledge rather than just random sampling. The paper aims to address this by developing a method that specifically quantifies and isolates epistemic uncertainty in diffusion models.

Methods

The core of the paper's contribution lies in its novel approach to quantifying epistemic uncertainty. They propose a Fisher-Laplace formulation that projects parameter uncertainty into data space via the Jacobian of the denoiser. This projection is then propagated and accumulated along the reverse diffusion trajectory.

To make this computationally feasible for large diffusion models, they introduce FLARE (Fisher-Laplace Randomized Estimator). FLARE approximates the Fisher-Laplace projection by randomly subsampling a subset of model parameters. This "randomized subnetwork approximation" preserves the global sensitivity structure of the network while drastically reducing computational cost. Theoretically, they provide guarantees on the convergence rate of this approximation and show that it outperforms simpler approximations like last-layer Laplace (LLLA), which are shown to be insufficient.

Datasets

The authors evaluate their method on several synthetic datasets designed to probe specific epistemic uncertainty challenges:

  • 2D Grid: A 3x3 Gaussian mixture designed to test uncertainty between modes.
  • Bimodal Sinusoidal: A time-series dataset with two distinct modes, creating ambiguous regions.
  • Chirp Time Series: A time-varying frequency signal to test extrapolation capabilities.
  • Damped Sinusoidal Time Series: A smoothly decaying amplitude signal to assess tracking of vanishing energy and extrapolation.

Key Insights and Ideas

  • Epistemic vs. Aleatoric is Crucial: The paper strongly argues that conflating epistemic and aleatoric uncertainty hinders reliable UQ in diffusion models. Isolating epistemic uncertainty is key to understanding model limitations.
  • Fisher-Laplace as a Foundation: The Fisher-Laplace formulation provides a theoretically grounded way to project parameter uncertainty into data space, offering a more principled approach than sample variance.
  • Scalability through Randomization: FLARE's randomized subnetwork approximation is a critical innovation, enabling the application of sophisticated Fisher-Laplace methods to large-scale diffusion models without prohibitive computational cost.
  • Last-Layer Limitations: The paper provides both theoretical and empirical evidence that restricting uncertainty estimation to the last layer (as in LLLA) is insufficient and can lead to significant underestimation of epistemic uncertainty.
  • Trajectory-Level Uncertainty: FLARE provides uncertainty estimates that evolve along the entire reverse diffusion trajectory, offering a richer understanding of where the model is uncertain during generation.

Key Results

  • Improved Filtering: FLARE significantly improves the quality of generated samples by enabling more accurate filtering of low-confidence outputs. On synthetic datasets, they achieved gap-closure rates of up to 93.0% (sine dataset) and 74.3% (chirp dataset), substantially outperforming BayesDiff and LLLA.
  • Reliable Uncertainty Signals: FLARE produces structured epistemic uncertainty signals that align with intuitive notions of confidence, particularly in challenging regions like extrapolation and low-density areas.
  • Computational Efficiency: FLARE offers a scalable alternative to full-parameter methods, providing a tunable trade-off between accuracy and runtime.
  • Theoretical Guarantees: The paper provides theoretical bounds on the convergence rate of FLARE's randomized approximation, demonstrating its principled nature.

Limitations and Future Work

  • Synthetic Datasets: The current evaluation is primarily on synthetic time-series datasets. Extending FLARE to higher-dimensional domains like image generation is an important next step.
  • Computational Demands: While FLARE is scalable, approximating curvature information for very large diffusion models remains computationally demanding.
  • Future Directions: The authors suggest exploring structured or adaptive subsampling strategies, low-rank curvature approximations, and tighter integration with efficient second-order optimization methods to further scale FLARE.

Summary updated

BibTeX
@inproceedings{gupta2026quantifying,
  author = {Aditi Gupta and Raphael A Meyer and Yotam Yaniv and Elynn Chen and N. Benjamin Erichson},
  title = {{Quantifying Epistemic Uncertainty in Diffusion Models}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=2mAIPSwn1C},
}
Figure