NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Vprop: Variational Inference using RMSprop

Mohammad Emtiyaz Khan, Zuozhu Liu, Voot Tangkaratt, Yarin GalarXiv 2017

Introduction

In deep learning, finding a single set of optimal weights via Maximum Likelihood Estimation is standard practice. However, safety-critical applications require Bayesian Deep Learning to quantify model uncertainty. While Black-Box Variational Inference (BBVI) is a common approach, it introduces significant code complexity, doubles memory overhead, and presents tuning challenges due to differing scales of means and variances.

The Vprop Method

Vprop addresses these issues by modifying the popular RMSprop optimizer to perform Gaussian Variational Inference. Derived from Conjugate-Computation Variational Inference (CVI) using a Gauss-Newton approximation, Vprop collapses complex natural gradient math into a form nearly identical to RMSprop.

To implement Vprop, only two changes are required:

  1. Local Exploration: Parameters are sampled from the variational distribution (adding noise) before gradient calculation.
  2. Precision-based Update: The mean update is scaled by precision (inverse variance) and includes a regularization term from the prior.

This approach is highly memory-efficient, using half the memory of standard BBVI by tying weight variance directly to the optimizer's scaling vector.

Experimental Evaluation

The authors evaluated Vprop on Logistic Regression and Multi-Layer Perceptrons (MLP) using the 'a1a' and 'australian_scale' datasets.

Comparison of Vprop against standard optimizers and BBVI on Logistic Regression (a1a dataset).

As shown in the Logistic Regression experiments (Figure 3), Vprop converges significantly faster than BBVI. It leverages the adaptive step-sizing of RMSprop while achieving a test log loss comparable to exact Variational Inference (VI-exact). Notably, Vprop-2 (using sampling) outperforms the deterministic Vprop-0 and standard RMSprop, which tend to overfit.

Results and Discussion

The effectiveness of Vprop extends to non-convex objectives in MLPs. The method maintains performance parity with CVI without requiring expensive exact Hessian computations.

Performance of Vprop on Multi-Layer Perceptrons across two datasets.

Figure 4 illustrates that Vprop-2 consistently achieves lower negative lower bounds and better generalization (lower test log loss) than its deterministic counterpart. The noise introduced by sampling acts as a form of exploration, preventing the model from settling in poor local minima. This unified theory bridges Variational Inference, Newton’s Method, and Extended Kalman Filters into a simple, four-line algorithm.

Conclusion

Vprop transforms RMSprop into a principled Bayesian solver with minimal code changes and improved memory efficiency. While currently demonstrated on smaller datasets and shallow networks, its simplicity and performance suggest it is a promising candidate for scaling Bayesian methods to larger deep learning architectures. Future work includes extending Vprop to incorporate momentum, similar to the Adam optimizer.

Summary updated

BibTeX
@misc{khan2017vprop,
  author = {Mohammad Emtiyaz Khan and Zuozhu Liu and Voot Tangkaratt and Yarin Gal},
  title = {{Vprop: Variational Inference using RMSprop}},
  year = {2017},
  eprint = {1712.01038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.01038},
}
Figure