Diffusion Scores

Chapter 17 Dynamics & diffusion

Chapter 17: Score Function and Energy-Based Models — Denoising Score Matching (also appears in Ch. 18)

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

Open Chapter 17 companion →

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).

PNG Icons

Textless (256×256 px)
PNG 256×256 px Copy PNG URL
Textless (64×64 px)
PNG 64×64 px Copy PNG URL
Textless (32×32 px)
PNG 32×32 px Copy PNG URL

Animated GIFs

Animated GIF (256×256 px)
GIF 256×256 px Copy GIF URL
Animated GIF (128×128 px)
GIF 128×128 px Copy GIF URL
Animated GIF (64×64 px)
GIF 64×64 px Copy GIF URL