Tags

Mean-Field

Feb 2, 2026 ML Math Derivations 28 min read

ML Math Derivations (14): Variational Inference and Variational EM

A first-principles derivation of variational inference. From the ELBO identity and the mean-field assumption to the CAVI updates, variational EM, and the reparameterization trick that powers VAEs.

May 31, 2024 PDE and Machine Learning 54 min read

PDE and ML (3): Variational Principles and Optimization

Calculus of variations to Wasserstein gradient flow and the mean-field limit of neural networks.