SVRG and Beyond via Posterior Correction
Nico Daheim, Thomas Möllenhoff, Ming Liang Ang, Mohammad Emtiyaz Khan
TL;DR
The paper investigates why SVRG, despite limited success in deep learning, can be connected to Bayesian posterior correction. By reframing SVRG as a PoCo update over exponential-family posteriors, SVRG is recovered as a special case under isotropic-Gaussians, while richer Gaussian families yield new variants such as a Newton-like SVRG (SVRH) and an Adam-like IVON-PoCo for Transformer-scale pretraining and finetuning. Empirical results across logistic regression, ResNet-50/ImageNet, and GPT-2 pretraining show faster convergence and improved perplexity, with ablations clarifying the roles of correction strength and inner/outer-loop dynamics. The work frames variance reduction as a form of knowledge transfer, broadening SVRG-style ideas to variational training and non-traditional DL settings, and suggesting broad applicability to continual learning, federated learning, and model merging.
Abstract
Stochastic Variance Reduced Gradient (SVRG) and its variants aim to speed-up training by using gradient corrections, but have seen limited success in deep learning. Here, we show surprising new foundational connections of SVRG to a recently proposed Bayesian method called posterior correction. Specifically, we show that SVRG is recovered as a special case of posterior correction over the isotropic-Gaussian family, while novel extensions are automatically obtained by using more flexible exponential families. We derive two new SVRG variants by using Gaussian families: First, a Newton-like variant that employs novel Hessian corrections, and second, an Adam-like extension that improves pretraining and finetuning of Transformer language models. This is the first work to connect SVRG to Bayes and use it to boost variational training for deep networks.
