[Paper Review] SUMO: Unbiased Estimation of Log Marginal Probability for Latent Variable Models
This paper introduces SUMO, a novel unbiased estimator for the log marginal likelihood in latent variable models using randomized truncation of infinite series. It enables more accurate training than variational lower bounds, achieving higher test-set log-likelihoods at the same computational cost and supporting tasks requiring unbiased gradients, such as entropy regularization and reverse KL minimization.
Standard variational lower bounds used to train latent variable models produce biased estimates of most quantities of interest. We introduce an unbiased estimator of the log marginal likelihood and its gradients for latent variable models based on randomized truncation of infinite series. If parameterized by an encoder-decoder architecture, the parameters of the encoder can be optimized to minimize its variance of this estimator. We show that models trained using our estimator give better test-set likelihoods than a standard importance-sampling based approach for the same average computational cost. This estimator also allows use of latent variable models for tasks where unbiased estimators, rather than marginal likelihood lower bounds, are preferred, such as minimizing reverse KL divergences and estimating score functions.
Motivation & Objective
- To address the bias in standard variational lower bounds used for training latent variable models.
- To develop an unbiased estimator of the log marginal likelihood that supports gradient-based optimization.
- To enable effective training of latent variable models in settings where unbiased estimators are essential, such as entropy regularization and reverse KL minimization.
- To demonstrate that unbiased estimation can outperform variational lower bounds in terms of test-set likelihood at equivalent computational cost.
Proposed method
- The method uses randomized truncation of an infinite series representation of the log marginal likelihood to construct an unbiased estimator.
- The estimator is based on a series expansion of the logarithm of the marginal likelihood, where truncation is randomized to ensure unbiasedness.
- The variance of the estimator can be minimized by optimizing the encoder parameters in an encoder-decoder architecture.
- Gradients of the estimator are used to train the model via stochastic optimization, enabling end-to-end learning.
- The approach supports both REINFORCE and other gradient estimators, making it suitable for reinforcement learning and posterior inference.
- The method is applicable to models with flexible nonlinear likelihoods, such as variational autoencoders with deep neural networks.
Experimental results
Research questions
- RQ1Can an unbiased estimator of the log marginal likelihood be constructed for latent variable models using series truncation?
- RQ2Does the proposed unbiased estimator lead to better test-set log-likelihood than standard variational lower bounds at the same computational cost?
- RQ3Can the estimator be effectively used in tasks requiring unbiased gradients, such as entropy-regularized reinforcement learning?
- RQ4How does the variance of the estimator behave, and can it be reduced through model architecture optimization?
- RQ5Is the estimator stable and effective in high-dimensional combinatorial optimization tasks?
Key findings
- Models trained with SUMO achieve significantly higher test-set log-likelihood than those trained with importance-weighted autoencoders (IWAE) at the same average computational cost.
- The SUMO estimator enables stable training in entropy-regularized reinforcement learning, where IWAE fails due to bias and instability.
- In quadratic pseudo-Boolean optimization with 500 variables, SUMO-based latent variable policies outperform both independent and autoregressive policies in exploration and convergence to high-reward regions.
- The SUMO-based model is 19.2× faster to train than the autoregressive policy due to parallelizable sampling, while maintaining superior performance.
- With entropy regularization, SUMO-based models significantly outperform IWAE, which converges to performance similar to a non-latent independent model.
- The method allows the use of highly expressive, efficient-to-sample latent variable models in tasks where variational lower bounds are ill-suited due to bias.
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.