[Paper Review] Posterior inference unchained with EL_2O
This paper introduces EL₂O, a novel optimization-based approximate Bayesian inference method that minimizes a novel $t(\ln t)^2$ f-divergence to directly minimize the L² distance between the approximate log-posterior $q$ and the unnormalized log-posterior $p$ at sampled points. Unlike stochastic KL divergence methods, EL₂O is free of sampling noise, enabling faster convergence and higher accuracy—achieving MCMC-level results in 3 orders of magnitude fewer likelihood evaluations, even for non-Gaussian, high-dimensional posteriors.
Statistical inference of analytically non-tractable posteriors is a difficult problem because of marginalization of correlated variables and stochastic methods such as MCMC and VI are commonly used. We argue that stochastic KL divergence minimization used by MCMC and VI is noisy, and we propose instead EL_2O, expectation optimization of L_2 distance squared between the approximate log posterior q and the un-normalized log posterior of p. When sampling from q the solutions agree with stochastic KL divergence minimization based VI in the large sample limit, however EL_2O method is free of sampling noise, has better optimization properties, and requires only as many sample evaluations as the number of parameters we are optimizing if q covers p. As a consequence, increasing the expressivity of q improves both the quality of results and the convergence rate, allowing EL_2O to approach exact inference. Use of automatic differentiation methods enables us to develop Hessian, gradient and gradient free versions of the method, which can determine M(M+2)/2+1, M+1 and 1 parameter(s) of q with a single sample, respectively. EL_2O provides a reliable estimate of the quality of the approximating posterior, and converges rapidly on full rank gaussian approximation for q and extensions beyond it, such as nonlinear transformations and gaussian mixtures. These can handle general posteriors, while still allowing fast analytic marginalizations. We test it on several examples, including a realistic 13 dimensional galaxy clustering analysis, showing that it is several orders of magnitude faster than MCMC, while giving smooth and accurate non-gaussian posteriors, often requiring a few to a few dozen of iterations only.
Motivation & Objective
- To develop a scalable, noise-free alternative to stochastic variational inference and MCMC for high-dimensional, non-tractable posteriors.
- To overcome the sampling noise inherent in KL divergence minimization used in MCMC and VI.
- To enable accurate posterior approximation with minimal likelihood evaluations, especially in costly scientific applications.
- To provide a reliable, analytic estimate of posterior quality via the EL₂O value.
- To support both gradient-based and Hessian-based optimization for rapid convergence with expressive models like Gaussian mixtures and nonlinear transforms.
Proposed method
- Proposes a new f-divergence, $t(\ln t)^2$, which evaluates the squared L² distance between $q$ and $p$ at the same sampling point, eliminating sampling noise in optimization.
- Optimizes the approximate posterior $q$ by minimizing the expected L² distance between $\ln q$ and $\ln p$ at sampled points, using a single sample to update $q$ parameters.
- Introduces gradient-free, gradient-based, and Hessian-based versions of EL₂O, with the Hessian version providing $M(M+3)/2+1$ constraints per sample for full-rank Gaussian fitting.
- Employs point-wise nonlinear transformations and Gaussian mixtures to increase expressivity of $q$, enabling accurate non-Gaussian posterior approximation.
- Uses analytic marginalization over any subset of parameters, preserving computational efficiency.
- Leverages available analytic gradients and Hessians (e.g., via backpropagation) to accelerate convergence, especially in high-dimensional problems.
Experimental results
Research questions
- RQ1Can a divergence based on L² distance between log-posteriors outperform KL divergence in terms of optimization stability and convergence speed?
- RQ2Does eliminating sampling noise in posterior approximation lead to faster and more accurate inference, especially in high-dimensional or non-Gaussian settings?
- RQ3Can EL₂O achieve MCMC-level accuracy with orders of magnitude fewer likelihood evaluations in realistic scientific applications?
- RQ4How effective is EL₂O when combined with expressive models like Gaussian mixtures and nonlinear transforms in capturing complex posterior structures?
- RQ5Can EL₂O reliably estimate the model evidence $p(x)$, enabling model comparison without full MCMC sampling?
Key findings
- EL₂O achieved accurate, non-Gaussian posterior approximations in a 13-dimensional galaxy clustering analysis with only 25 iterations and ~125 likelihood evaluations, compared to $10^5$ MCMC iterations.
- The method was 3 orders of magnitude faster than MCMC and 2 orders of magnitude faster than ADVI, while producing smoother and more accurate posteriors.
- In the same cosmological example, ADVI required 200 times more computational cost ($2\times10^4$ calls) but produced worse results due to noise in KL divergence minimization.
- EL₂O's Hessian-based version converged rapidly, using $M(M+3)/2+1$ constraints per sample to fit full-rank Gaussian components without iterative optimization.
- The EL₂O value itself provided a reliable, noise-free estimate of the quality of the posterior approximation, enabling confidence monitoring during optimization.
- For non-Gaussian posteriors, combining full-rank Gaussian mixtures with one-dimensional nonlinear transforms yielded excellent agreement with MCMC results, even in challenging high-dimensional settings.
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.