TL;DR
Estimating the marginal likelihood (ML) of a model is crucial for model selection but notoriously difficult. This paper introduces "bidirectional Monte Carlo" (BDMC), a method that provides highly accurate ML estimates for simulated data by "sandwiching" the true value between provably accurate upper and lower bounds. This technique allows for the rigorous evaluation of existing ML estimators, revealing their strengths and weaknesses.
What Problem Does This Paper Address?
The marginal likelihood, $p(D|M)$, is a fundamental quantity in Bayesian model comparison. It represents the probability of observing the data $D$ given a model $M$, after integrating out all model parameters and latent variables. This integration is often a high-dimensional and intractable problem, making accurate ML estimation a significant challenge. Furthermore, it's difficult to know if an ML estimate is even close to the true value, as most estimators provide a single number without a clear measure of uncertainty or accuracy. This lack of reliable ground truth hinders the development and comparison of new ML estimation techniques.
Methods
The core contribution is the bidirectional Monte Carlo (BDMC) method. It leverages two key ideas:
- Stochastic Lower Bounds: These are obtained using standard, well-established techniques like Annealed Importance Sampling (AIS) and Sequential Monte Carlo (SMC). These methods are "consistent," meaning they converge to the true ML with infinite computation, and provide bounds that are unlikely to overestimate the true ML.
- Stochastic Upper Bounds: This is the novel part. BDMC obtains upper bounds by running AIS or SMC in reverse, starting from an exact posterior sample. For simulated data, an exact posterior sample is readily available (it's the sample used to generate the data). By running these algorithms backward, they provide bounds that are unlikely to underestimate the true ML.
By combining these forward (lower bound) and reverse (upper bound) runs, BDMC effectively "sandwiches" the true ML. When the bounds converge closely, the sandwiched value is a highly accurate estimate of the true ML, serving as a "ground truth" for evaluating other ML estimators.
Datasets
The authors evaluate ML estimators on simulated data generated from three specific latent variable models:
- Clustering: A Bayesian analogue of K-means.
- Low-rank approximation: Approximating a matrix as a product of two lower-rank matrices plus Gaussian noise.
- Binary attributes: Modeling data points based on a set of binary latent attributes.
These are not new benchmark datasets but rather synthetic data generated from these well-defined models to allow for precise ground truth calculation.
Key Insights and Ideas
- The "Sandwich" Principle: The core idea of using both forward and reverse sampling to bound the true ML is powerful. It transforms a difficult estimation problem into a verification problem, allowing for rigorous evaluation.
- Exact Posterior Samples are Key: The ability to obtain exact posterior samples (possible with simulated data) is crucial for deriving the accurate upper bounds. This highlights a limitation for real-world data where exact posterior samples are usually unavailable.
- Ground Truth for ML: BDMC provides a much-needed "ground truth" for evaluating ML estimators, enabling quantitative comparisons and driving progress in the field.
- No Single Best Estimator: Experiments reveal that no single ML estimator consistently outperforms others across all models and computational budgets. Performance is highly model-dependent.
- Importance of Bridging Distributions: Algorithms that effectively bridge between tractable and intractable distributions (like AIS and SMC) tend to perform better, especially when run in reverse for upper bounds.
Key Results
- BDMC successfully provided highly accurate "ground truth" ML estimates for simulated data, with upper and lower bounds agreeing to within 1 nat.
- AIS, SMC, and Nested Sampling (NS) emerged as the most accurate estimators among those tested, often achieving RMSEs below 10 nats.
- Likelihood Weighting, Harmonic Mean Estimator (HME), and BIC performed poorly, with HME and LW showing large errors and BIC being particularly inaccurate.
- Variational Bayes (VB) provided reasonable lower bounds but struggled to reach the accuracy of sampling-based methods, likely due to approximation limitations.
- The CMS estimator showed significant bias on the low-rank model due to symmetry issues in its MCMC transitions.
- For many estimators, combining multiple samples did not significantly improve accuracy if the individual estimator was fundamentally flawed or had high variance. This suggests that focusing on improving the core algorithm is more critical than simply increasing sample size.
Limitations and Future Work
- Simulated Data Dependency: The primary limitation is that BDMC relies on exact posterior samples, which are only available for simulated data. Extending this to real-world data remains an open challenge.
- Computational Cost: While BDMC provides accurate estimates, it can be computationally intensive, requiring both forward and reverse runs of complex sampling algorithms.
- Model Sensitivity: The performance of ML estimators is highly sensitive to the model structure and hyperparameters. Further research is needed to understand these dependencies.
- Future Work: The authors suggest that BDMC can be used to guide the development of new sampling algorithms and optimize their hyperparameters. They also highlight the potential for BDMC to quantitatively evaluate the quality of approximate posterior samplers. The framework is general and can benefit from new algorithms that improve upon AIS and SMC.
Summary updated