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

基于PAC模型学习的DNN实用鲁棒性分析

Towards Practical Robustness Analysis for DNNs based on PAC-Model Learning

Institute of Software, CAS(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing Institute of Software Technology, ISCAS(中国科学院软件研究所南京软件技术研究院);Pazhou Lab(琶洲实验室);Queen’s University Belfast(贝尔法斯特女王大学)

Renjue Li, Pengfei Yang, Cheng-Chao Huang, Youcheng Sun, Bai Xue, Lijun Zhang

摘要:

为了分析深度神经网络(DNN)的局部鲁棒性,我们从模型学习的角度提出了一个实用的框架。基于黑盒模型学习和场景优化,我们通过仿射模型抽象出DNN的局部行为,并保证近似正确(PAC)。从学习的模型,我们可以推断出相应的PAC模型的鲁棒性。本文的创新之处在于将模型学习方法引入到PAC鲁棒性分析中,即在模型层次上构造PAC保证,而不是在样本分布层次上构造PAC保证,从而得到更真实、更准确的鲁棒性评价。这与现有的没有模型学习的统计方法相反。我们在一个名为DeepPAC的原型工具中实现了我们的方法。作为一种黑盒方法,DeepPAC具有可扩展性和高效性,特别是当DNN具有复杂结构或高维输入时。我们广泛评估了DeepPAC,使用4个基线(使用形式化验证,统计方法,测试和对抗攻击)和3个数据集的20个DNN模型,包括MNIST,CIFAR-10和ImageNet。结果表明,DeepPAC优于最先进的统计方法PROVERO,并且比形式化验证工具ERAN实现了更实用的鲁棒性分析。此外,它的结果与DeepGini等现有DNN测试工作一致。

英文摘要:

To analyse local robustness properties of deep neural networks (DNNs), we present a practical framework from a model learning perspective. Based on black-box model learning with scenario optimisation, we abstract the local behaviour of a DNN via an affine model with the probably approximately correct (PAC) guarantee. From the learned model, we can infer the corresponding PAC-model robustness property. The innovation of our work is the integration of model learning into PAC robustness analysis: that is, we construct a PAC guarantee on the model level instead of sample distribution, which induces a more faithful and accurate robustness evaluation. This is in contrast to existing statistical methods without model learning. We implement our method in a prototypical tool named DeepPAC. As a black-box method, DeepPAC is scalable and efficient, especially when DNNs have complex structures or high-dimensional inputs. We extensively evaluate DeepPAC, with 4 baselines (using formal verification, statistical methods, testing and adversarial attack) and 20 DNN models across 3 datasets, including MNIST, CIFAR-10, and ImageNet. It is shown that DeepPAC outperforms the state-of-the-art statistical method PROVERO, and it achieves more practical robustness analysis than the formal verification tool ERAN. Also, its results are consistent with existing DNN testing work like DeepGini.

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

↑