arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.05363cs.LGcs.AIcs.CRstat.ML
收藏

用含L-inf-dist神经元的神经网络证明L-infinity鲁棒性

Towards Certifying L-infinity Robustness using Neural Networks with L-inf-dist Neurons

Peking University(北京大学);Princeton University(普林斯顿大学);Zhongguancun Haihua Institute for Frontier Information Technology(中关村海华前沿信息技术研究院);Microsoft Research(微软研究院)

Bohang Zhang, Tianle Cai, Zhou Lu, Di He, Liwei Wang

摘要:

众所周知,标准神经网络即使具有高分类精度,也容易受到小的$\ell_\infty$ -范数有界对抗扰动的影响。虽然已经进行了许多尝试,但大多数以前的工作只能提供对特定攻击方法的防御的经验验证,或者只能在有限的场景中开发模型鲁棒性的认证保证。在本文中,我们寻求一种新的方法来开发一个理论上有原则的神经网络,内在地抵抗$\ell_\infty$扰动。特别是,我们设计了一种新的神经元,使用$\ell_\infty$ -距离作为其基本操作(我们称之为$\ell_\infty$ -dist神经元),并表明,任何神经网络构造的$\ell_\infty$ -dist神经元(称为$\ell_{\infty}$ -dist网络)自然是一个1-Lipschitz函数关于$\ell_\infty$ -norm。这直接提供了基于预测输出裕度的认证鲁棒性的严格保证。然后,我们证明了这样的网络有足够的表达能力,以近似任何1-Lipschitz函数具有强大的泛化保证。我们还提供了一个整体的训练策略,可以大大减轻优化的困难。实验结果表明,使用$\ell_{\infty}$ -dist网作为基本构建块,我们在常用数据集上始终达到最先进的性能:MNIST($ε=0.3$)上的认证准确率为93.09%,CIFAR-10($ε=8/255$)为35.42%,TinyImageNet($ε=1/255$)为16.31%。

英文摘要:

It is well-known that standard neural networks, even with a high classification accuracy, are vulnerable to small $\ell_\infty$-norm bounded adversarial perturbations. Although many attempts have been made, most previous works either can only provide empirical verification of the defense to a particular attack method, or can only develop a certified guarantee of the model robustness in limited scenarios. In this paper, we seek for a new approach to develop a theoretically principled neural network that inherently resists $\ell_\infty$ perturbations. In particular, we design a novel neuron that uses $\ell_\infty$-distance as its basic operation (which we call $\ell_\infty$-dist neuron), and show that any neural network constructed with $\ell_\infty$-dist neurons (called $\ell_{\infty}$-dist net) is naturally a 1-Lipschitz function with respect to $\ell_\infty$-norm. This directly provides a rigorous guarantee of the certified robustness based on the margin of prediction outputs. We then prove that such networks have enough expressive power to approximate any 1-Lipschitz function with robust generalization guarantee. We further provide a holistic training strategy that can greatly alleviate optimization difficulties. Experimental results show that using $\ell_{\infty}$-dist nets as basic building blocks, we consistently achieve state-of-the-art performance on commonly used datasets: 93.09% certified accuracy on MNIST ($ε=0.3$), 35.42% on CIFAR-10 ($ε=8/255$) and 16.31% on TinyImageNet ($ε=1/255$).

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

↑