Variational Calculus in VAE
Given a probability distribution
And
$$
Use the Euler-Lagrange Equation w.r.t.
Reduce to
Therefore
We can solve the above equations and get
And the next step is to decompose
which is equivalent to maximizing the ELBO:
And ELBO can be expressed as:
Variational Calculus in VAE
https://notdesigned.github.io/2025/08/25/Variational-Calculus-in-VAE/