Sequential Monte Carlo for Inclusive KL Minimization in Amortized Variational Inference
Declan McNamara, Jackson Loper, Jeffrey Regier
TL;DR
The paper tackles amortized variational inference by minimizing the forward KL divergence, which yields mass-covering posteriors but suffers from biased gradients in traditional wake-sleep methods. It introduces SMC-Wake, a framework that uses likelihood-tempered sequential Monte Carlo (LT-SMC) to estimate forward KL gradients and presents three gradient estimators with asymptotic guarantees, including extensions to particle MCMC. By decoupling proposal generation from the encoder and averaging normalization constant estimates, SMC-Wake avoids the circular pathology that plagues RWS and achieves more accurate posterior approximations in both synthetic and real data. Empirical results across tasks such as two moons, MNIST, Gaussian hierarchies, and galaxy spectra demonstrate substantial improvements in posterior fidelity and stability over wake-phase training, highlighting the practical impact for robust uncertainty quantification in amortized VI.
Abstract
For training an encoder network to perform amortized variational inference, the Kullback-Leibler (KL) divergence from the exact posterior to its approximation, known as the inclusive or forward KL, is an increasingly popular choice of variational objective due to the mass-covering property of its minimizer. However, minimizing this objective is challenging. A popular existing approach, Reweighted Wake-Sleep (RWS), suffers from heavily biased gradients and a circular pathology that results in highly concentrated variational distributions. As an alternative, we propose SMC-Wake, a procedure for fitting an amortized variational approximation that uses likelihood-tempered sequential Monte Carlo samplers to estimate the gradient of the inclusive KL divergence. We propose three gradient estimators, all of which are asymptotically unbiased in the number of iterations and two of which are strongly consistent. Our method interleaves stochastic gradient updates, SMC samplers, and iterative improvement to an estimate of the normalizing constant to reduce bias from self-normalization. In experiments with both simulated and real datasets, SMC-Wake fits variational distributions that approximate the posterior more accurately than existing methods.
