Introduction
In deep learning, quantifying uncertainty—knowing when a model is likely to be wrong—is as critical as the prediction itself. While Bayesian inference provides a rigorous framework for uncertainty quantification, its implementation via Markov Chain Monte Carlo (MCMC) is often computationally prohibitive. Conversely, Variational Inference (VI) frequently relies on restrictive parametric assumptions, such as Gaussian posteriors, which may not capture the true complexity of neural network distributions.
Practitioners often turn to ensembles—training multiple models with varying initializations or data subsets—as a heuristic for uncertainty. This paper bridges the gap between these frequentist "tricks" and Bayesian theory, proving that specific ensemble methods are actually valid approximations of the Bayesian posterior.
The Ensemble as Variational Inference
The authors introduce the Ensemble of Perturbed Regression Models, a scheme that treats ensemble members as "particles" in a variational framework. The method involves three key steps:
- Parametric Bootstrap: Training labels for each model are perturbed with noise sampled from the likelihood.
- Prior Perturbation: Each model is "anchored" to a unique random sample from the prior distribution.
- Optimization as Inference: Instead of traditional sampling, each particle is updated via gradient ascent.
The theoretical core of the paper uses information geometry to show that these optimization steps act as a directional derivative of the Kullback-Leibler (KL) divergence. Under certain geometric conditions related to the model's Hessian, the ensemble is guaranteed to move closer to the true posterior.
The ReLU Advantage and Non-Parametric Flexibility
A significant finding is that ReLU-based neural networks naturally satisfy the geometric conditions required for this Bayesian convergence. Because ReLU functions are piecewise linear, their second derivatives are zero almost everywhere, eliminating curvature terms that might otherwise impede convergence to the posterior.
Unlike standard VI, this approach is non-parametric. The ensemble can represent complex, multi-modal distributions without assuming a specific functional form for the posterior. Furthermore, the process is embarrassingly parallel; each particle can be trained independently on separate hardware.
Empirical Validation
The proposed method was evaluated against Monte Carlo Dropout (MCD) and Stochastic-gradient Hamiltonian Monte Carlo (SGHMC) across synthetic and UCI regression benchmarks.
In regression tasks, the ensemble method consistently matched or outperformed its counterparts. For instance, on the Protein dataset, the ensemble achieved a Test RMSE of 1.89, significantly better than MCD's 3.47. Visualizations on toy datasets confirm that the ensemble's predictive distribution converges to the true posterior over time, providing "honest" uncertainty estimates comparable to gold-standard MCMC samplers.
Conclusion
By reframing bootstrap ensembles as a form of variational inference, this work provides a rigorous mathematical foundation for a widely used heuristic. The result is a parallelizable, non-parametric method for Bayesian deep learning that is particularly well-suited for modern ReLU architectures. While future work remains to extend these proofs fully to classification and non-convex landscapes, this bridge offers a powerful new perspective on the intersection of frequentist and Bayesian methods.
Summary updated