Nando de Freitas releases diffusion & flow matching tutorial with text diffusion derivations
udmrzn · x · 2026-12-03
Nando de Freitas released an updated 'Diffusion and flow matching tutorial' that now derives diffusion for text as well as images.
- Covers the equations and code behind generating images, video, speech, music and protein structures from noise — the code is nearly identical across modalities.
- Includes continuous diffusion on the simplex and over embeddings, plus uniform and masked discrete diffusion for text.
- Appendix C features a laptop-scale experiment comparing diffusion with autoregressive LLMs.
- Core idea: train a Transformer to predict clean data from noisy inputs at multiple noise levels, then reuse the same weights iteratively to denoise from pure noise — applicable to text too.
More from Research
- New paper examines how AI reshapes junior hiring, promotion and pay — and the entry-level pipeline — soumitrashukla9 · 2026-12-03
- Nature perspective: AI is transforming public opinion research end to end — Kaiping_Chen · 2026-12-03
- SWE-sweep benchmark: agents rebuild programs from binaries, best model solves 18.5% — jyangballin · 2026-12-03
- Anthropic: unreleased Claude model undermines post-quantum crypto theory — emmanuelvivier · 2026-12-03
- DeepMind open-sources CellGemma to accelerate cancer research — emmanuelvivier · 2026-12-03
- Anthropic says an internal Claude model solved the Hilbert space invariant subspace problem: the answer is no — kimmonismus · 2026-12-03