arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.06154cs.LGcs.AIcs.CR
收藏

论贝叶斯神经网络对对抗攻击的鲁棒性

On the Robustness of Bayesian Neural Networks to Adversarial Attacks

University of Trieste(的里雅斯特大学);TU Delft University(代尔夫特理工大学);SISSA, International School of Advanced Studies(国际高等研究学院(SISSA));University of Edinburgh(爱丁堡大学);University of Oxford(牛津大学)

Luca Bortolussi, Ginevra Carbone, Luca Laurenti, Andrea Patane, Guido Sanguinetti, Matthew Wicker

AI总结:

本文从过参数化极限下的攻击几何出发,证明BNN后验的损失期望梯度消失,从而对基于梯度的对抗攻击具有鲁棒性,并经多数据集实验验证其兼具高准确率与攻击鲁棒性。

摘要:

易受对抗攻击是深度学习在安全关键应用中得到采用的主要障碍之一。尽管在实践和理论方面都付出了巨大努力,训练对对抗攻击具有鲁棒性的深度学习模型仍是一个开放问题。本文在大数据、过参数化极限下分析贝叶斯神经网络(BNN)对抗攻击的几何结构。我们证明,在该极限下,对基于梯度攻击的脆弱性源于数据分布的退化,即数据位于环境空间的一个低维子流形上。作为直接结果,我们证明在此极限下,BNN后验对基于梯度的对抗攻击具有鲁棒性。关键在于,我们证明了关于BNN后验分布的损失期望梯度趋于消失,即使从后验中采样得到的每个神经网络都易受基于梯度的攻击。在代表有限数据情形的MNIST、Fashion MNIST和half moons数据集上,使用Hamiltonian Monte Carlo和Variational Inference训练的BNN所得实验结果支持这一论证思路,表明BNN能够同时在干净数据上表现出高准确率,并对基于梯度和无梯度的对抗攻击均具有鲁棒性。

英文摘要:

Vulnerability to adversarial attacks is one of the principal hurdles to the adoption of deep learning in safety-critical applications. Despite significant efforts, both practical and theoretical, training deep learning models robust to adversarial attacks is still an open problem. In this paper, we analyse the geometry of adversarial attacks in the large-data, overparameterized limit for Bayesian Neural Networks (BNNs). We show that, in the limit, vulnerability to gradient-based attacks arises as a result of degeneracy in the data distribution, i.e., when the data lies on a lower-dimensional submanifold of the ambient space. As a direct consequence, we demonstrate that in this limit BNN posteriors are robust to gradient-based adversarial attacks. Crucially, we prove that the expected gradient of the loss with respect to the BNN posterior distribution is vanishing, even when each neural network sampled from the posterior is vulnerable to gradient-based attacks. Experimental results on the MNIST, Fashion MNIST, and half moons datasets, representing the finite data regime, with BNNs trained with Hamiltonian Monte Carlo and Variational Inference, support this line of arguments, showing that BNNs can display both high accuracy on clean data and robustness to both gradient-based and gradient-free based adversarial attacks.

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

↑