Score Accuracy Along the Forward Diffusion Does Not Certify Numerical Stability in Diffusion Sampling

· Source: Machine Learning · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences · Depth: Expert, quick

Summary

The paper "Score Accuracy Along the Forward Diffusion Does Not Certify Numerical Stability in Diffusion Sampling" demonstrates that small forward-marginal L^2 error in score matching does not guarantee numerical stability for discretized reverse-time samplers in diffusion models. Researchers constructed a smooth score field with arbitrarily small forward-marginal error, where the learned reverse-time process is nonexplosive and path-space close to the exact process. However, its Euler--Maruyama discretizations converge in probability but exhibit diverging positive moments, leading to diverging Wasserstein distances W_p for p ≥ 1. This issue can persist even within a fixed finite neural architecture. The study also presents a family of bounded, globally Lipschitz denoisers where both forward-marginal error and path-space total variation tend to zero, yet Euler--Maruyama endpoints diverge in every W_p. For compactly supported data, projecting the learned denoiser onto a known bounded closed convex set preserves pointwise accuracy, provides grid-uniform moment bounds, and ensures Wasserstein convergence under mild local regularity. Experiments with a small fixed DiT-style network confirmed large growth along rare numerical trajectories, which was suppressed by denoiser projection.

Key takeaway

For Machine Learning Engineers developing diffusion models, relying solely on forward-marginal score accuracy metrics is insufficient for ensuring numerical stability. You should implement denoiser projection, especially when working with compactly supported data, to prevent diverging moments and ensure robust Wasserstein convergence in your Euler--Maruyama discretizations. This approach helps suppress large growth along rare numerical trajectories, improving overall model reliability.

Key insights

Small forward-marginal score error does not guarantee numerical stability or Wasserstein convergence in diffusion model sampling.

Principles

Method

Projecting the learned denoiser onto a known bounded closed convex set containing data support preserves accuracy and yields Wasserstein convergence.

In practice

Topics

Best for: Research Scientist, Computer Vision Engineer, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.