Variational Linearized Laplace Approximation for Bayesian Deep Learning
Luis A. Ortega, Simón Rodríguez Santana, Daniel Hernández-Lobato
TL;DR
The paper tackles the challenge of reliable uncertainty estimation for large deep networks, where traditional Laplace-based approaches incur prohibitive cost. It introduces Variational LLA (VaLLA), a decoupled sparse Gaussian Process in an RKHS that keeps the neural network’s MAP predictions intact while learning a scalable posterior over functions via inducing points. VaLLA leverages variational sparse GP theory, dual RKHS representations, and an alpha-divergence objective to enable mini-batch optimization, achieving sub-linear training in dataset size and competitive predictive distributions compared to ELLA and other LLA variants. Empirical results across synthetic data, large-scale regression, and image classification demonstrate VaLLA’s strong uncertainty quantification (NLL, CQM, OOD-AUC) and favorable computation, highlighting its potential for scalable Bayesian deep learning and robust decision-making under uncertainty.
Abstract
The Linearized Laplace Approximation (LLA) has been recently used to perform uncertainty estimation on the predictions of pre-trained deep neural networks (DNNs). However, its widespread application is hindered by significant computational costs, particularly in scenarios with a large number of training points or DNN parameters. Consequently, additional approximations of LLA, such as Kronecker-factored or diagonal approximate GGN matrices, are utilized, potentially compromising the model's performance. To address these challenges, we propose a new method for approximating LLA using a variational sparse Gaussian Process (GP). Our method is based on the dual RKHS formulation of GPs and retains, as the predictive mean, the output of the original DNN. Furthermore, it allows for efficient stochastic optimization, which results in sub-linear training time in the size of the training dataset. Specifically, its training cost is independent of the number of training points. We compare our proposed method against accelerated LLA (ELLA), which relies on the Nyström approximation, as well as other LLA variants employing the sample-then-optimize principle. Experimental results, both on regression and classification datasets, show that our method outperforms these already existing efficient variants of LLA, both in terms of the quality of the predictive distribution and in terms of total computational time.
