The Geometry of Noise: Diffusion Models as Markov Chains
A MATH 437 final project report deriving Denoising Diffusion Probabilistic Models from first principles, then scaling the same Markov chain from a 1D pixel to CIFAR-100 image synthesis.
This is the final project report for MATH 437 / STAT 437 (Stochastic Processes) at Case Western Reserve University (May 2026).
Title: The Geometry of Noise: From 1D Markov Chains to High-Dimensional Image Synthesis using DDPMs
Coauthors: Ali Nawaf and Leo Chou (group of two)
Summary
Denoising Diffusion Probabilistic Models (DDPMs) power systems like DALL·E and Midjourney, but their engine is classical probability: a forward Markov chain that adds Gaussian noise, and a learned reverse chain that removes it.
In this report we demystify that engine by scaling the same math across three regimes:
- 1D — a single “pixel” (a sharp Gaussian spike). We verify that reverse sampling recovers the target mean and variance under both linear and cosine noise schedules.
- 2D — an S-curve manifold. We show the reverse process reconstructs the topology, again with statistical checks on mean and covariance.
- High dimension — class-conditioned CIFAR-100 generation with a U-Net and classifier-free guidance, using the same Markovian objective.
The through-line is that the Markov transitions that govern a simulated scalar are mathematically the same ones driving state-of-the-art generative models.
Download
Download the full PDF report (16 pages)
Also available as a GitHub companion: DDPM_Markov_Chains.
Contribution
From the report’s statement of contributions:
- Ali Nawaf: mathematical derivation of the forward and reverse Markov chains (including the ELBO and reparameterization trick); CIFAR-100 U-Net training and inference pipeline; Theory, Background, and Conclusion sections.
- Leo Chou: 1D and 2D Python simulations and visualizations; Introduction and Application sections; presentation slides.
Looking back
Why I wrote it / who it was for. Course project for MATH 437, aimed at an audience that knows stochastic processes but may not have seen modern generative models. I wanted to communicate that “diffusion” is not a black box: it is a Markov chain with a tractable ELBO, and the same object scales from 1D to images.
What works well. The progressive scaling (1D → 2D → CIFAR) makes the theory concrete. Tracking mean and variance as “statistical proofs” of reconstruction is more honest than pretty samples alone. Writing the Theory section forced a clean derivation rather than citing Ho et al. as magic.
What I would change. I would expand the CIFAR section with quantitative metrics (FID / class accuracy) next to qualitative samples, and tighten the Background into a shorter related-work map. Some notation in the early drafts was inconsistent across dimensions; I would enforce a single notation table up front. The project used standard libraries and course materials; AI tools were not used for writing the report or generating results.