Save this video free

Lecture 14: Score Matching and Diffusion Models (KAIST CS479, Fall 2026)

Minhyuk Sung · 59:28 · Watch on YouTube

Part of KAIST AIC313/CS378. See all 3 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Lecture 14: Score Matching and Diffusion Models (KAIST CS479, Fall 2026) Watch on YouTube →

Overview

Minhyuk Sung connects DDPM training to energy-based models by showing that predicting Gaussian noise is equivalent, up to scale and sign, to predicting a conditional score; Tweedie's formula also links the score to the expected clean sample. He derives score matching from Fisher divergence using integration by parts, explains why ordinary score matching fails in low-density regions, and shows how Gaussian denoising, multiple noise levels, and annealed Langevin dynamics lead to the Noise Conditional Score Network (NCSN) and clarify its relationship to DDPM.

Key takeaways

Chapters

0:00 DDPM Recap: Forward Gaussian Noise and Reverse Generation
10:00 Three DDPM Prediction Targets and Conditional-Mean Outputs
18:00 Conditional Scores, DDPM Noise Prediction, and Tweedie's Formula
20:00 Energy-Based Models Use Scores for Langevin Sampling
22:00 Fisher Divergence Learns Scores Without Ground-Truth Scores
27:00 Why Ordinary Score Matching Fails in Low-Density Regions
32:00 Denoising Score Matching Smooths the Data Distribution
36:00 DDPM Training as Gaussian Denoising Score Matching
43:00 Multiple Noise Scales Resolve the Smoothing Trade-Off
47:00 NCSN Training and Annealed Langevin Sampling
53:00 DDPM and NCSN: Different Perturbations, Shared Score Sampling

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 So, how did you like the our the discussion for the the diffusion model so far? Is the idea clear? All the things about diffusion models. So, as you can see like you know, we are getting into the slightly more kind of complicate kind of things, right? So, we discussed the basics of the diffusion model, especially the basic model which is called the DDPM and how the diffusion model the idea of the diffusion models are related to the VAE in terms of the like minimizing the elbow function. And today we are also going to see how the diffusion models are kind of related with the energy based models as well in terms of the this core matching. And we are also see the connection between diffusion model and also the flow models

0:49 in the later day lectures. So, yeah, that's kind of you know, things that we are going to discuss after midterms. So, with those kind of the diffusion models and also the flow based model as kind of the center we are going to see how this is kind of like related to the all the models that we have discussed so far before the midterm. So, yeah, this was kind of the the basic idea in terms of that we are gradually basically perturbing our some kind of the data distribution in terms of adding some sort of the Gaussian noise in a way that at the end we are going to get some kind of the standard Gaussian distribution like this and then in the generation that process we are putting into the reverse way, right? If we start from the Gaussian this sample and we gradually basically, you know, sample

1:36 the new kind of the ones in terms of like over the time for those kind of

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Minhyuk Sung.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.