Fast and Accurate Variational Inference for Models with Many Latent Variables
Preprint
Abstract
Models with a large number of latent variables are often used to fully utilize the information in big or complex data. However, they can be difficult to estimate using standard approaches, and variational inference methods are a popular alternative. Key to the success of these is the selection of an approximation to the target density that is accurate, tractable and fast to calibrate using optimization methods. Most existing choices can be inaccurate or slow to calibrate when there are many latent variables. Instead, we propose a family of tractable variational approximations that are more accurate and faster to calibrate for this case. It combines a parsimonious parametric approximation for the parameter posterior, with the exact conditional posterior of the latent variables. We derive a simplified expression for the re-parameterization gradient of the variational lower bound, which is the main ingredient of efficient optimization algorithms used to implement variational estimation. To do so only requires the ability to generate exactly or approximately from the conditional posterior of the latent variables, rather than to compute its density. We illustrate using two complex contemporary econometric examples. The first is a nonlinear multivariate state space model for U.S. macroeconomic variables. The second is a random coefficients tobit model applied to two million sales by 20,000 individuals from a large marketing panel. In both cases, we show that our approximating family is considerably more accurate than mean field or structured Gaussian approximations, and faster than Markov chain Monte Carlo. Last, we show how to implement data sub-sampling in variational inference for our approximation, which can lead to a further reduction in computation time.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Updating Variational Bayes: fast sequential posterior inferenceStatistics and Computing, 2021
- Monte Carlo co-ordinate ascent variational inferenceStatistics and Computing, 2020
- Large Bayesian vector autoregressions with stochastic volatility and non-conjugate priorsJournal of Econometrics, 2019
- Variational Bayes with synthetic likelihoodStatistics and Computing, 2017
- Variational Inference: A Review for StatisticiansJournal of the American Statistical Association, 2017
- Macroeconomic Forecasting Performance under Alternative Specifications of Time-Varying VolatilityJournal of Applied Econometrics, 2014
- Variational Bayesian identification and prediction of stochastic nonlinear dynamic causal modelsPhysica D: Nonlinear Phenomena, 2009
- Data Analysis Using Regression and Multilevel/Hierarchical Models2006
- Lack of Consistency of Mean Field and Variational break Bayes Approximations for State Space ModelsNeural Processing Letters, 2004
- Marketing models of consumer heterogeneityJournal of Econometrics, 1998