arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.01979cs.LGstat.ML
收藏

BayesAdapter:通过贝叶斯微调实现贝叶斯、廉价和可靠

BayesAdapter: Being Bayesian, Inexpensively and Reliably, via Bayesian Fine-tuning

Qing Yuan Research Institute, Shanghai Jiao Tong University(上海交通大学清源研究院);Tsinghua University(清华大学)

Zhijie Deng, Jun Zhu

摘要:

尽管贝叶斯神经网络(BNN)在理论上很有吸引力,但在现实世界中却被甩在了后面,这主要是因为人们一直担心它的可扩展性、可访问性和可靠性。在这项工作中,我们开发的贝叶斯适配器框架,以减轻这些问题。特别是,我们建议通过具有成本效益的贝叶斯微调将预先训练的确定性NN调整为变分BNN。从技术上讲,我们开发了一个模块化的实现变分BNN的学习,并通过样本并行化来简化普遍适用的样本重新参数化技巧,以有效地减少随机变分推理中的梯度方差。基于轻量级贝叶斯学习范式,我们在各种基准上进行了广泛的实验,并表明我们的方法可以始终如一地诱导比竞争基线质量更高的后验,同时显着降低训练开销。代码可在https://github.com/thudzj/ScalableBDL上获得。

英文摘要:

Despite their theoretical appealingness, Bayesian neural networks (BNNs) are left behind in real-world adoption, mainly due to persistent concerns on their scalability, accessibility, and reliability. In this work, we develop the BayesAdapter framework to relieve these concerns. In particular, we propose to adapt pre-trained deterministic NNs to be variational BNNs via cost-effective Bayesian fine-tuning. Technically, we develop a modularized implementation for the learning of variational BNNs, and refurbish the generally applicable exemplar reparameterization trick through exemplar parallelization to efficiently reduce the gradient variance in stochastic variational inference. Based on the lightweight Bayesian learning paradigm, we conduct extensive experiments on a variety of benchmarks, and show that our method can consistently induce posteriors with higher quality than competitive baselines, yet significantly reducing training overheads. Code is available at https://github.com/thudzj/ScalableBDL.

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

↑