The Variational Inference Book - Mastering Generative AI
The Variational Book
  • About
  • Topics
  • Endorsements
  • News
  • Access
  • Author

Master Generative AI from First Principles

The comprehensive guide to variational inference, diffusion models & modern generative AI

For students, researchers, and professionals across STEM fields


Get Your Free Chapter Follow @TheVariational

What You'll Gain

Deep Understanding, Not Just Implementation

Rigorous derivations paired with intuitive explanations and rich visualizations

From Theory to Cutting-Edge Applications

Master the foundations behind Stable diffusion, and modern image/text generation

Your Complete Reference

Develop world-class foundational machine learning expertise through a unified probabilistic modeling framework. The book is written for students, researchers, and professionals across STEM fields, including machine learning and data engineering.

Become the Expert

Everything from parameter estimation methods to transformers in one unified framework

The Variational Book Cover

Topics Covered (To Name A Few)

GANs Normalizing Flows Flow Matching Score Matching Diffusion Models Transformers Text To Image DDPM & DDIM Guided Diffusion Distillation Diffusion Latent Diffusion Parameter Estimation Bayesian Inference KL Divergence Variational Inference Monte Carlo Exponential Families Optimization Latent Variable Models Variance Reduction Amortized Inference Langevin Dynamics Reinforcement Learning

Endorsements

"This book provides an exceptional foundation for understanding today's large-scale image, video, and text generation systems. Starting from first principles, Yuri builds up to normalizing flows, score matching, and diffusion models. The visualizations bring clarity to concepts that are notoriously difficult to grasp, and the step-by-step derivations serve as an excellent reference."

— Brandon Amos
Technical Staff at Reflection AI

"Few books try to connect the mathematical foundations of variational methods with the full landscape of modern generative AI at this level of breadth. The Variational Book does so with clear pedagogical intent, combining step-by-step derivations, conceptual discussion, and illustrations that help make difficult ideas more approachable. For STEM students and technically minded practitioners, this ambitious and unusually wide-ranging treatment offers a substantial guided tour through a fast-moving field."

— Vincent Fortuin
Professor of Probabilistic Machine Learning, University of Technology Nuremberg

"This book has been in the making for years, and that level of care is evident on every page. There are very few resources available today that properly navigate the mathematical foundations of Deep Learning, and Yuri’s work is the first to do so emphasizing the variational aspects. By providing a structured path from foundational concepts to advanced algorithms, it offers a distinct point of view that is both rigorous and highly readable."

— Marcus Hutter
Senior Researcher, DeepMind and Professor in the Research School of Computer Science

News & Updates

APRIL 2026
Book Release Coming Soon
The >460 page with >160 illustration complete book will be available Spring 2026. Covering everything from foundational concepts to cutting-edge techniques in diffusion models, transformers, and modern generative AI.
DECEMBER 2024
Free Chapter Available for Download
Get early access to a complete chapter from The Variational Inference Book. Sign up below to receive your free chapter and stay updated on the Spring 2026 release.
OCTOBER 2021
Pen Meets Page
Back in the ancient times. The book writing journey has spanned many years now.

Access the Book

Get Free Chapter

Subscribe for updates and receive a free chapter

Print Edition

Coming Spring 2026

High-quality print version with premium paper and binding

Get Notified

About the Author

Author Photo

Yuri Plotkin

Yuri Plotkin is an machine learning scientist/engineer specializing in generative AI, currently based in Los Angeles. With a background in biomedical engineering and years of research experience, and practical (applied) skillsets, Yuri brings a unique interdisciplinary perspective to the field.

His passion for making complex mathematical concepts accessible has driven him to create this comprehensive guide that bridges rigorous theory with intuitive understanding. Through years of experience, Yuri has developed a teaching approach that helps readers develop deep, foundational expertise in generative AI.

Twitter/X Email

Generative AI Showcase

Explore examples of cutting-edge generative AI in action - the same techniques covered in detail throughout the book.

Prompt: A cat with a red sombrero learning to surf and reading a generative AI book!

Your browser does not support the video tag.

Prompt: A video of a cat learning generative AI!

© 2026 Yuri Plotkin. All rights reserved.

Contact: author@thevariationalbook.com | @TheVariational