[Paper Review] Good Initializations of Variational Bayes for Deep Models
This paper proposes Iterative Bayesian Linear Modeling (i-BLM), a layer-wise initialization strategy for Stochastic Variational Inference (SVI) in deep models, using Bayesian linear models to initialize variational posteriors. It enables faster and more stable convergence in Bayesian deep neural networks and ConvNets, achieving state-of-the-art performance comparable to Monte Carlo Dropout and noisy-KFAC with a simple Gaussian posterior.
Stochastic variational inference is an established way to carry out approximate Bayesian inference for deep models. While there have been effective proposals for good initializations for loss minimization in deep learning, far less attention has been devoted to the issue of initialization of stochastic variational inference. We address this by proposing a novel layer-wise initialization strategy based on Bayesian linear models. The proposed method is extensively validated on regression and classification tasks, including Bayesian DeepNets and ConvNets, showing faster and better convergence compared to alternatives inspired by the literature on initializations for loss minimization.
Motivation & Objective
- To address the lack of systematic initialization strategies for Stochastic Variational Inference (SVI) in Bayesian deep learning.
- To improve convergence speed and solution quality of SVI in deep models by leveraging Bayesian linear models for initialization.
- To enable effective use of simple Gaussian posterior approximations in SVI for complex architectures like CNNs, where poor initialization leads to trivial solutions.
- To empirically validate that i-BLM outperforms loss-minimization-inspired initialization methods in SVI for both regression and classification tasks.
- To demonstrate that SVI with i-BLM can achieve performance competitive with state-of-the-art methods like Monte Carlo Dropout and noisy-KFAC on image classification benchmarks.
Proposed method
- i-BLM performs layer-wise initialization by training a Bayesian linear model to regress from the activations of each layer to the target labels.
- For each layer l, the method learns a posterior distribution over weights using a Bayesian linear regression model trained on the activations from the previous layer.
- The learned posterior mean and variance from the Bayesian linear model are used to initialize the variational parameters (mean and log-variance) of the Gaussian posterior in SVI.
- The initialization is applied iteratively from the first to the final hidden layer, enabling scalable and efficient initialization without significant computational overhead.
- The method is compatible with both feedforward networks and convolutional architectures, including LeNet-5, AlexNet, and VGG16.
- To handle overparameterization, the method includes a gradual warm-up of the KL divergence term in the ELBO during training, reducing prior dominance in early optimization stages.
Experimental results
Research questions
- RQ1Can a Bayesian linear model-based initialization improve the convergence and performance of Stochastic Variational Inference in deep neural networks?
- RQ2Does i-BLM enable effective training of SVI with a factorized Gaussian posterior in deep ConvNets, where standard initialization fails?
- RQ3How does i-BLM compare to initialization strategies derived from loss minimization in terms of convergence speed and final performance?
- RQ4Can SVI with a simple Gaussian posterior and i-BLM initialization achieve performance competitive with advanced methods like Monte Carlo Dropout and noisy-KFAC?
- RQ5What impact does prior specification have on the optimization dynamics of SVI in deep models?
Key findings
- i-BLM enables SVI to converge significantly faster than alternative initialization methods inspired by loss minimization, with faster convergence observed in both regression and classification tasks.
- On MNIST and CIFAR-10, SVI with i-BLM achieves a test negative log-likelihood (NLL) of 0.6443 on VGG16, outperforming Monte Carlo Dropout (0.8213) and noisy-KFAC (0.7327).
- The error rate of SVI with i-BLM on CIFAR-10 with VGG16 is 0.1682, which is competitive with Monte Carlo Dropout (0.2147) and slightly better than noisy-KFAC (0.1506).
- With i-BLM, SVI successfully avoids converging to trivial solutions (posterior equal to prior) in deep ConvNets, which commonly occurs with poor initialization.
- The method allows a simple factorized Gaussian posterior in SVI to achieve state-of-the-art performance on CIFAR-10 with VGG16, demonstrating its effectiveness even in highly overparameterized models.
- The ablation study confirms that i-BLM leads to better uncertainty calibration and more reliable out-of-sample uncertainty estimates compared to alternative initialization strategies.
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.