[Paper Review] Recursive Inference for Variational Autoencoders
This paper proposes a recursive amortized inference method for Variational Autoencoders (VAEs) that iteratively improves posterior approximation by adding diverse, divergence-maximizing components to a mixture inference network. Unlike semi-amortized methods requiring iterative optimization at test time, the approach enables fast single-feedforward test-time inference and achieves state-of-the-art test data likelihood on multiple benchmarks by combining functional gradient optimization with bounded KL regularization.
Inference networks of traditional Variational Autoencoders (VAEs) are typically amortized, resulting in relatively inaccurate posterior approximation compared to instance-wise variational optimization. Recent semi-amortized approaches were proposed to address this drawback; however, their iterative gradient update procedures can be computationally demanding. To address these issues, in this paper we introduce an accurate amortized inference algorithm. We propose a novel recursive mixture estimation algorithm for VAEs that iteratively augments the current mixture with new components so as to maximally reduce the divergence between the variational and the true posteriors. Using the functional gradient approach, we devise an intuitive learning criteria for selecting a new mixture component: the new component has to improve the data likelihood (lower bound) and, at the same time, be as divergent from the current mixture distribution as possible, thus increasing representational diversity. Compared to recently proposed boosted variational inference (BVI), our method relies on amortized inference in contrast to BVI's non-amortized single optimization instance. A crucial benefit of our approach is that the inference at test time requires a single feed-forward pass through the mixture inference network, making it significantly faster than the semi-amortized approaches. We show that our approach yields higher test data likelihood than the state-of-the-art on several benchmark datasets.
Motivation & Objective
- To address the inaccuracy of standard amortized inference in VAEs, which often underestimates posterior complexity due to fixed encoder capacity.
- To overcome the computational cost of semi-amortized methods that require iterative gradient updates at test time.
- To develop a scalable, amortized inference framework that maintains high representational diversity and avoids mode collapse in mixture models.
- To improve data likelihood while preserving fast inference through a recursive component addition strategy guided by functional gradient descent.
Proposed method
- Proposes a recursive mixture estimation algorithm that incrementally adds new components to the inference network to minimize divergence between the variational and true posterior.
- Uses a functional gradient approach to derive a learning criterion: each new component must improve the variational lower bound and maximize divergence from the current mixture.
- Employs bounded KL loss regularization during component learning to prevent degenerate solutions and improve numerical stability compared to entropy regularization used in BVI.
- Constructs an amortized inference network where test-time inference requires only a single feed-forward pass, unlike iterative fine-tuning in semi-amortized approaches.
- Introduces a recursive update rule that selects new components based on their ability to reduce posterior divergence while enhancing representational diversity.
- Leverages the structure of the VAE objective to enable end-to-end training of the mixture encoder with stable, scalable optimization.
Experimental results
Research questions
- RQ1Can we achieve higher posterior approximation accuracy in VAEs without sacrificing inference speed?
- RQ2How can we recursively improve a mixture inference network while maintaining diversity and avoiding mode collapse?
- RQ3What learning criterion enables effective, stable component addition in amortized VAE inference?
- RQ4How does bounded KL regularization compare to entropy regularization in the context of amortized mixture inference?
- RQ5Can a recursive, amortized inference method outperform both standard VAEs and semi-amortized baselines in data likelihood while maintaining fast test-time inference?
Key findings
- The proposed method achieves the highest test data likelihood on MNIST, Omniglot, and CIFAR-10, outperforming standard VAEs, semi-amortized methods, and flow-based models.
- On CelebA with 100 latent dimensions, the method achieves a test log-likelihood of 17,875.1 nats, surpassing the next best method (BVI-ER1) by over 100 nats.
- The RME (Recursive Mixture Estimation) model with 5 components achieves a test log-likelihood of 17,875.1 nats on CelebA (100-dim z), significantly outperforming the VAE baseline of 17,395.5 nats.
- The method maintains fast inference: test-time inference requires only a single feed-forward pass through the mixture network, unlike iterative gradient-based methods.
- The bounded KL regularization strategy leads to more stable and effective training than entropy regularization, especially in high-capacity amortized settings.
- Empirical results show that recursive component addition with divergence maximization consistently improves likelihood and avoids the performance degradation seen in collapsed mixture models.
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.