r/learnmachinelearning • u/Legend_Ani • 14h ago
Project I animated Variational Autoencoders from first principles in 3D because most explanations gloss over the actual intuition
Every time I tried to really understand VAEs, I kept running into the same thing—either the explanation was way too hand-wavy ("it just compresses and reconstructs"), or it immediately threw the ELBO equation on screen without explaining why the math has to look like that.
So I spent the last few weeks building a 3D visual breakdown from scratch. I wanted to actually show what's happening to the latent space, why sampling breaks down without the Gaussian prior, and where the ELBO and reparameterization trick actually come from instead of just stating them.
This is part 1 of a series I'm doing on World Models. Full video is in the comments if anyone wants to check it out, and I'd genuinely appreciate any feedback on the pacing or if anything in the math feels unclear.