TL;DR
This paper introduces a novel method for improving Bayesian inference by combining variational inference (VI) and importance sampling (IS). Instead of the standard reverse KL divergence in VI, they propose using the forward KL divergence to construct a better proposal distribution for IS. This approach leads to more accurate posterior estimates, especially for complex, multimodal, or heavy-tailed distributions, and offers a principled way to balance computational cost and accuracy.
What Problem Does This Paper Address?
Bayesian inference aims to understand complex models by estimating expectations over posterior distributions. When direct sampling is intractable, approximate methods are used. Variational Inference (VI) is popular for its computational efficiency, but it typically minimizes the reverse Kullback-Leibler (RKL) divergence. This optimization often leads to approximations that underestimate the posterior's variance and have "light tails," making them poor proposal distributions for Importance Sampling (IS). IS is a powerful technique for debiasing and refining estimates, but its effectiveness hinges on a good proposal distribution. The challenge is to create a proposal distribution that is both easy to sample from (like VI approximations) and has the necessary "heavy tails" to accurately capture the target posterior, especially in challenging scenarios like multimodal or heavy-tailed distributions.
Methods
The core contribution is the use of Forward KL (FKL) divergence as the variational objective to learn a proposal distribution for Importance Sampling.
- Standard VI uses Reverse KL (RKL): Minimizing RKL (KL(q||p)) tends to "mode seek" and can lead to underestimation of variance and light tails in the approximate distribution
q. This is problematic for IS. - Proposed FKL Boosting: The authors propose minimizing FKL (KL(p||q)) to derive the proposal distribution. This objective encourages "mass covering" and is more amenable to capturing heavy tails.
- Self-Normalized Importance Sampling (SNIS): To estimate the FKL divergence without knowing the target's normalization constant, they employ SNIS.
- Variational Boosting with FKL: They extend the idea of variational boosting (iteratively adding components to a mixture distribution) to use FKL minimization. This allows for a principled construction of a mixture proposal distribution that can adapt to complex posteriors.
- Initialization with RKL: For practical reasons, the first component of the mixture is initialized using standard RKL-based VI to efficiently identify the main mode of the target distribution, and subsequent components are refined using FKL.
Datasets
The paper evaluates their method on several standard datasets for Bayesian Linear Regression (BLR) and Bayesian Neural Networks (BNNs):
- UCI datasets: Wine, Boston, Concrete, and Power.
- These datasets are used with both Gaussian and heavy-tailed priors.
Key Insights and Ideas
- FKL is better for IS proposals than RKL: The fundamental insight is that minimizing FKL, rather than RKL, directly addresses the shortcomings of RKL-based VI for generating importance sampling proposals. FKL's "mass covering" property is crucial for capturing heavy tails and multimodal structures, which RKL struggles with.
- FKL boosting offers a principled path to better IS: By iteratively refining a mixture proposal using FKL, the method can adapt to complex target distributions, leading to more accurate and lower-variance IS estimates.
- RKL initialization provides a practical starting point: Combining the efficiency of RKL for initial mode finding with the refinement power of FKL creates a robust and effective boosting strategy.
- Trade-off between sample complexity and optimization: The number of mixture components and the accuracy of the FKL optimization directly influence the required number of IS samples for a given accuracy, offering a tunable trade-off.
Key Results
- Improved predictive performance: The proposed FKL-based boosting method consistently outperforms RKL-based VI and variational boosting in terms of predictive log probabilities on test data for both BLR and BNNs, across various datasets and prior choices.
- Better handling of heavy-tailed targets: The method shows significant improvements when using heavy-tailed priors, demonstrating its ability to capture distributions that RKL-based methods struggle with.
- Asymptotic consistency and convergence: Theoretical analysis shows that the FKL-based boosting approach guarantees asymptotic consistency and converges at a rate of O(1/K), where K is the number of boosting iterations.
Limitations and Future Work
- Computational cost: While FKL boosting improves accuracy, it can be computationally more expensive than standard RKL-based VI, especially with a large number of mixture components.
- Hyperparameter tuning: The number of mixture components (K), the number of IS samples for SNIS, and the number of boosting iterations are hyperparameters that need to be tuned.
- Future work: The authors suggest exploring adaptive IS techniques that leverage FKL and further investigating the trade-offs between sample complexity and computational cost. They also mention that their framework supports mixtures of heavy-tailed distributions, which could be further explored for adaptive IS.
Summary updated