Introduction
Variational Bayes (VB) is a cornerstone of modern probabilistic machine learning, yet its optimization remains challenging. Practitioners typically rely on Stochastic Gradient Descent (SGD) using Monte Carlo (MC) samples to estimate gradients. However, VB objectives often suffer from two primary issues: ill-conditioning of the optimization landscape and high sampling noise. While second-order methods like L-BFGS can address ill-conditioning, they are notoriously sensitive to the $O(n^{-1/2})$ noise inherent in standard MC sampling.
The RQMC-SQN Approach
To overcome these limitations, this research introduces RQMC-SQN (Randomized Quasi-Monte Carlo Stochastic Quasi-Newton). The method replaces standard MC sampling with Randomized Quasi-Monte Carlo (RQMC) to provide cleaner gradient and Hessian estimates for the L-BFGS optimizer.
Unlike standard MC, which often results in "clumps" and "voids" in the sample space, RQMC uses scrambled sequences to cover the unit square more uniformly. This reduces the error rate from $O(n^{-1/2})$ to nearly $O(n^{-3/2})$ in favorable settings, effectively clearing the "noise fog" that typically destabilizes second-order optimizers.
By integrating Scrambled Net Sampling with the Stochastic Quasi-Newton framework, the authors maintain the unbiased nature of Monte Carlo while achieving the high accuracy of QMC. This allows for stable curvature estimation even with small sample sizes.
Experimental Evaluation
The authors evaluated RQMC-SQN across several benchmarks:
- Bayesian Linear and Logistic Regression: Verified theoretical convergence rates and handled high-dimensional classification ($d=100$).
- Crossed Random Effects: Demonstrated that RQMC with as few as 8 samples could outperform standard MC by avoiding massive fluctuations.
- MNIST Variational Autoencoder (VAE): Showed that the method achieves a higher Evidence Lower Bound (ELBO) and converges faster in wall-clock time compared to Adam or AdaGrad.
Key Insights and Results
The core finding is that optimization performance is directly tied to the "noise floor" of the sampling method. By lowering this floor with RQMC, second-order methods become viable for stochastic problems. In complex models like Crossed Random Effects, the second-order RQMC approach found superior solutions where first-order methods frequently stalled.
While currently tested on modest-scale problems, the integration of RQMC into libraries like BoTorch and SciPy suggests a promising path forward for scaling these techniques to larger deep learning models. Future work may extend this framework to Bayesian Optimization and Optimal Transport.
Summary updated