maximizing
logp(x) directly requires an intractable marginal integral; VAEs turn inference into an SGD-optimizable lower bound. Unlike an autoencoder — a deterministic encoder with no prior constraint, giving an unstructured latent space that cannot be sampled for generation — the VAE pushes
q(z∣x) toward the prior
p(z) and becomes generative; the cost is blurry samples (mode averaging: one
z must explain many modes, so outputs average over them) from the Gaussian pixel likelihood — the mirror image of GANs, which are sharp but hard to train.