arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12565stat.MLcs.LG
收藏

变分线性化拉普拉斯近似用于贝叶斯深度学习

Variational Linearized Laplace Approximation for Bayesian Deep Learning

Universidad Autónoma de Madrid(马德里自治大学)

Luis A. Ortega, Simón Rodríguez Santana, Daniel Hernández-Lobato

AI总结:

提出一种基于变分稀疏高斯过程的新方法近似线性化拉普拉斯近似,实现与训练点数量无关的训练成本,并在预测质量和计算时间上优于现有高效变体。

摘要:

线性化拉普拉斯近似(LLA)近年来被用于对预训练深度神经网络(DNN)的预测进行不确定性估计。然而,其广泛应用受到显著计算成本的阻碍,尤其是在训练点数或DNN参数数量庞大的场景中。因此,人们采用了LLA的额外近似,如Kronecker因子或对角近似GGN矩阵,这可能会损害模型的性能。为了解决这些挑战,我们提出了一种使用变分稀疏高斯过程(GP)来近似LLA的新方法。我们的方法基于GP的对偶RKHS公式,并保留原始DNN的输出作为预测均值。此外,它允许高效的随机优化,从而在训练数据集规模上实现次线性训练时间。具体来说,其训练成本与训练点的数量无关。我们将我们提出的方法与依赖于Nyström近似的加速LLA(ELLA)以及其他采用样本-然后-优化原则的LLA变体进行了比较。在回归和分类数据集上的实验结果表明,我们的方法在预测分布质量和总计算时间方面均优于这些现有的高效LLA变体。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑