Diffusion Scores
From the book
Chapter 17: Score Function and Energy-Based Models. In the chapter mind map this icon labels Denoising Score Matching: Tweedie, Denoiser = Score. The discussion below is excerpted and lightly edited from § Denoising Score Matching (DSM) in Mathematics for AI and Machine Learning. Related material also appears in Chapter 18 (Annealed Langevin & Predictor–Corrector).
- Manifold structure: Real data (e.g., natural images) lies on a low-dimensional manifold embedded in high-dimensional space. The true data distribution $p_{\text{data}}(\mathbf{x})$ has zero probability mass almost everywhere, making $\nabla \log p_{\text{data}}(\mathbf{x})$ undefined or unstable at most points.
- Sparse data: In high dimensions, data samples are sparse. The score function $\nabla \log p_{\text{data}}(\mathbf{x})$ is only well-defined near the data manifold, but sampling needs it everywhere.
- Numerical instability: Computing $\frac{\partial s_{\theta,i}(\mathbf{x})}{\partial x_i}$ (second derivatives) can be numerically unstable, especially when the learned distribution is sharp or multi-modal.
What this drawing shows
What you see. Shows score fields $s_t(\mathbf{x})$ at increasing noise levels $t{=}0, t{=}1, \ldots, T$ in a diffusion process.
In the mind map. Chapter 17 — Denoising Score Matching: Tweedie, Denoiser = Score. See From the book above for definitions, figures, and worked examples.
Also appears in Ch. 18 (Annealed Langevin & Predictor–Corrector).
Where to read next
Read the full definitions, figures, and worked examples in Chapter 17: Score Function and Energy-Based Models — see the mind-map node Denoising Score Matching: Tweedie, Denoiser = Score.
This concept is also referenced in Chapter 18 (Annealed Langevin & Predictor–Corrector).