Skip to content

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

DDPM and DDIM

KAIST CS492(C): Diffusion and Flow Models (Fall 2025)
Programming Assignment 1

Instructor: Minhyuk Sung (mhsung [at] kaist.ac.kr)
TA: Yunhong Min (dbsghd363 [at] kaist.ac.kr)
Credit: Juil Koo (63days [at] kaist.ac.kr) & Nguyen Minh Hieu (hieu1052k3 [at] gmail.com)

Abstract

Denoising Diffusion Probabilistic Models (DDPM) are a generative modeling framework that learns to reverse a predefined diffusion process. By gradually corrupting data with Gaussian noise in the forward process and training a neural network to denoise step by step, DDPM is able to synthesize high-quality samples from pure noise. The objective in DDPM is to predict the injected noise at each timestep, and the reverse process is modeled as a stochastic Markov chain.

Denoising Diffusion Implicit Models (DDIM) build on the same noise-prediction model but introduce more generalized non-Markovian forward process. This modification provides an alternative trajectory for sample generation, often reducing the number of inference steps required while maintaining competitive sample quality. In this way, DDIM highlights the flexibility of diffusion models in trading off efficiency and fidelity.

In this first assignment, we will implement DDPM and DDIM step by step on a 2D toy dataset, compare their sampling behaviors, and gain practical experience with the core components of diffusion-based generative modeling.

Setup

Clone this repository and upload the notebook file DDPM_DDIM.ipynb to Google Colab.
All instructions—including task descriptions and submission guidelines—are provided in the notebook file. Please follow them carefully to complete the tasks.

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages