The interactive film is in the book's Companion

Play it, pause it, turn it and drag it with Mathematics for AI and Machine Learning.

Get the book

Tweedie's Formula: The Denoiser Is the Score

Chapter 17 · Mathematics for AI and Machine Learning · Advanced · 1:39

An interactive live film: noisy observations off a clean circle manifold; the optimal denoiser steps along the score scaled by sigma squared, projecting corrupted samples straight back onto the data manifold.

Narration

In denoising score matching, a network learns to remove noise from corrupted data. Tweedie's formula reveals why this simple task recovers the exact score of the noisy distribution.

Look at the clean data circle in blue. Adding Gaussian noise disperses samples off the manifold into the surrounding plane. The orange dot is our noisy observation x tilde.

The rest of the narration is in the book's Companion.

More from Chapter 17

Interactive1:13Score Function: Arrows That Point Uphill on the Log DensityChapter 17Preview1:50Energy-Based Models: Lower Energy, Higher ProbabilityChapter 17Preview1:34Multi-Scale Denoising Score MatchingChapter 17