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

贝叶斯神经网络后验的对抗性提取

Adversarial Distillation of Bayesian Neural Network Posteriors

University of Toronto(多伦多大学);Vector Institute(向量研究所)

Kuan-Chieh Wang, Paul Vicol, James Lucas, Li Gu, Roger Grosse, Richard Zemel

摘要:

贝叶斯神经网络(BNN)允许我们以有原则的方式对不确定性进行推理。随机梯度朗之万动力学(SGLD)通过使用小批量从BNN后验中抽取样本来实现高效的BNN学习。然而,SGLD及其扩展需要存储模型参数的许多副本,这是一个潜在的高昂成本,特别是对于大型神经网络。我们提出了一个框架,对抗后验蒸馏,使用生成对抗网络(GAN)提取SGLD样本。在测试时,样本由GAN生成。我们表明,这种蒸馏框架在最近的BNN应用程序中,包括异常检测,主动学习和防御对抗攻击的性能没有损失。通过构造,我们的框架不仅提取了贝叶斯预测分布,而且提取了后验分布本身。这允许计算诸如近似模型方差之类的量,这在下游任务中很有用。据我们所知,这些是将基于MCMC的BNN应用于上述下游应用的第一个结果。

英文摘要:

Bayesian neural networks (BNNs) allow us to reason about uncertainty in a principled way. Stochastic Gradient Langevin Dynamics (SGLD) enables efficient BNN learning by drawing samples from the BNN posterior using mini-batches. However, SGLD and its extensions require storage of many copies of the model parameters, a potentially prohibitive cost, especially for large neural networks. We propose a framework, Adversarial Posterior Distillation, to distill the SGLD samples using a Generative Adversarial Network (GAN). At test-time, samples are generated by the GAN. We show that this distillation framework incurs no loss in performance on recent BNN applications including anomaly detection, active learning, and defense against adversarial attacks. By construction, our framework not only distills the Bayesian predictive distribution, but the posterior itself. This allows one to compute quantities such as the approximate model variance, which is useful in downstream tasks. To our knowledge, these are the first results applying MCMC-based BNNs to the aforementioned downstream applications.

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

↑