VAE
Note: VAE is not a model that only cares about reconstruction; its more important ability is image generation, so VAE is not an AE model — it has generative ability. Unlike the common Autoencoder, the variational autoencoder does not map the input to a fixed vector but to a distribution $p_\theta$ (with parameters $\theta$). The relationship between the input data $\mathbf{x}$ and the latent variable $\mathbf{z}$ is as follows: $p_\theta(\mathbf{z})$: prior probability $p_\theta(\mathbf{x}\vert\mathbf{z})$: likelihood $p_\theta(\mathbf{z}\vert\mathbf{x})$: posterior probability Assuming that after obtaining the optimal model parameters $\theta^{\star}$ we can generate samples that follow the real data distribution through the following steps: ...