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

理想化模型无对抗样本的充分条件:贝叶斯神经网络的理论与实证研究

Sufficient Conditions for Idealised Models to Have No Adversarial Examples: a Theoretical and Empirical Study with Bayesian Neural Networks

University of Oxford(牛津大学)

Yarin Gal, Lewis Smith

摘要:

我们证明,在两个充分条件下,理想化的模型可以没有对抗的例子。我们讨论了理想化模型满足我们的条件,并表明,理想化贝叶斯神经网络(BNN)满足这些。我们继续研究近理想化的BNN使用HMC推理,在实践中展示的理论思想。我们用HMC对来自MNIST的合成数据进行了实验,我们知道地面真实图像密度,这表明近乎完美的认知不确定性与图像流形下的密度相关,并且对抗图像在我们的设置中偏离了流形。这表明了为什么MC dropout可以被视为执行近似推理,在实践中被观察到是对抗性示例的有效防御;我们强调了依赖于dropout的非理想化BNN的失败案例,这表明了对dropout模型的新攻击和新防御。最后,我们展示了使用VGG 13变体的猫对狗图像分类任务的防御。

英文摘要:

We prove, under two sufficient conditions, that idealised models can have no adversarial examples. We discuss which idealised models satisfy our conditions, and show that idealised Bayesian neural networks (BNNs) satisfy these. We continue by studying near-idealised BNNs using HMC inference, demonstrating the theoretical ideas in practice. We experiment with HMC on synthetic data derived from MNIST for which we know the ground-truth image density, showing that near-perfect epistemic uncertainty correlates to density under image manifold, and that adversarial images lie off the manifold in our setting. This suggests why MC dropout, which can be seen as performing approximate inference, has been observed to be an effective defence against adversarial examples in practice; We highlight failure-cases of non-idealised BNNs relying on dropout, suggesting a new attack for dropout models and a new defence as well. Lastly, we demonstrate the defence on a cats-vs-dogs image classification task with a VGG13 variant.

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

↑