[Paper Review] Variational Laplace Autoencoders
This paper proposes Variational Laplace Autoencoders (VLAE), a novel deep generative model that improves variational inference in VAEs by using iterative Laplace approximation to refine posterior estimates. By applying conjugate gradient optimization and careful weight initialization, VLAE achieves better reconstruction quality and mitigates latent variable collapse, especially on complex datasets like CIFAR10.
Variational autoencoders employ an amortized inference model to approximate the posterior of latent variables. However, such amortized variational inference faces two challenges: (1) the limited posterior expressiveness of fully-factorized Gaussian assumption and (2) the amortization error of the inference model. We present a novel approach that addresses both challenges. First, we focus on ReLU networks with Gaussian output and illustrate their connection to probabilistic PCA. Building on this observation, we derive an iterative algorithm that finds the mode of the posterior and apply full-covariance Gaussian posterior approximation centered on the mode. Subsequently, we present a general framework named Variational Laplace Autoencoders (VLAEs) for training deep generative models. Based on the Laplace approximation of the latent variable posterior, VLAEs enhance the expressiveness of the posterior while reducing the amortization error. Empirical results on MNIST, Omniglot, Fashion-MNIST, SVHN and CIFAR10 show that the proposed approach significantly outperforms other recent amortized or iterative methods on the ReLU networks.
Motivation & Objective
- Address the amortization gap and approximation gap in standard VAEs by refining posterior inference through iterative optimization.
- Reduce latent variable collapse, a common failure mode in VAE training, especially in deeper or complex architectures.
- Improve generation quality by stabilizing gradient flow through proper initialization and normalization.
- Evaluate the effectiveness of conjugate gradient methods as a scalable alternative to iterative update rules in variational inference.
- Demonstrate robustness to hyperparameter settings and improved performance across diverse datasets including MNIST, Omniglot, SVHN, and CIFAR10.
Proposed method
- Proposes an iterative optimization scheme using Laplace approximation to refine the approximate posterior $q_{\bm{\phi}}(\bm{z}|\bm{x})$ over $T$ steps.
- Employs a gradient update rule $\bm{\lambda}_{t+1} = \bm{\lambda}_t + \alpha_t \frac{\partial}{\partial \bm{\lambda}} \mathcal{L}_{\bm{\theta}}(\bm{x}; \bm{\lambda}_t)$ with $\alpha_t = 0.5/(t+1)$ to refine variational parameters.
- Replaces iterative updates with nonlinear Conjugate Gradient (Polak-Ribiére) ascent in VLAE+CG for faster convergence and comparable performance.
- Uses He’s initialization with gain $2^{1/3}$ to preserve gradient variance during backpropagation and prevent posterior collapse.
- Applies input normalization so that initial reconstruction loss is approximately 1, stabilizing early training dynamics.
- Employs ADAM optimizer with learning rate 0.0005 and batch size 128, training up to 2000 epochs with early stopping on validation loss.
Experimental results
Research questions
- RQ1Can iterative Laplace approximation improve posterior estimation in VAEs and reduce the approximation gap?
- RQ2How does conjugate gradient optimization compare to standard iterative updates in terms of speed and performance in VLAE?
- RQ3To what extent does proper weight initialization and normalization prevent latent variable collapse in deep VAEs?
- RQ4How does VLAE perform on complex datasets like CIFAR10 compared to standard VAEs and other baselines?
- RQ5What is the impact of gradient variance preservation on the stability and performance of VAE training?
Key findings
- VLAE+CG achieves approximately 25% faster training than standard VLAE with only a ~1% performance drop on MNIST.
- VLAE and VAE+IAF show greater robustness to hyperparameter settings compared to SA-VAE, which is sensitive to learning rate and initialization.
- Proper initialization (He’s with gain $2^{1/3}$) and input normalization significantly reduce latent variable collapse, especially in deeper models.
- Reconstructions from VLAE are sharp across all datasets, including MNIST, Fashion-MNIST, Omniglot, SVHN, and CIFAR10.
- Generated samples remain blurry on complex datasets like CIFAR10, suggesting that convolutional architectures may further improve generation quality.
- The reconstruction gradient, which is critical for preventing collapse, is effectively preserved through proper initialization, countering dominance by the KL divergence gradient in early training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.