面向神经网络鲁棒性认证的线性与半定松弛最优分支研究
Towards Optimal Branching of Linear and Semidefinite Relaxations for Neural Network Robustness Certification
AI总结:
针对 ReLU 网络 LP/SDP 鲁棒性认证的松弛误差,提出输入集分支划分方法及闭式最坏情况误差最小化方案,并通过实验验证其认证率与深度网络可扩展性。
摘要:
本文研究如何认证 ReLU 神经网络对对抗性输入扰动的鲁棒性。为减小常用的线性规划(LP)和半定规划(SDP)认证方法所产生的松弛误差,我们采用分支定界方法,提出对输入不确定性集合进行划分,并分别在每个部分上求解相应松弛。我们证明该方法能够降低松弛误差;而且,当通过智能设计划分以利用 ReLU 激活函数的性质并执行 LP 松弛时,误差可被完全消除。为将该方法扩展到大型网络,我们考虑使用更粗的划分,即减少划分中的部分数量。我们证明,计算这种直接最小化 LP 松弛误差的粗划分是 NP 难的。通过转而最小化最坏情况下的 LP 松弛误差,我们在单隐藏层情形中开发了一种闭式分支方案。我们还将分析扩展到 SDP,利用可行集的几何结构设计了一种分支方案,以最小化最坏情况下的 SDP 松弛误差。在 MNIST、CIFAR-10 和 Wisconsin 乳腺癌诊断分类器上的实验表明,被认证测试样本的百分比显著提高。通过分别增加输入规模和层数,我们从经验上说明了分支 LP 和分支 SDP 最适合应用于哪些情形。最后,我们将 LP 分支方法扩展为多层分支启发式方法,在大规模深度神经网络认证基准上取得了与此前最先进启发式方法相当的性能。
英文摘要:
In this paper, we study certifying the robustness of ReLU neural networks against adversarial input perturbations. To diminish the relaxation error suffered by the popular linear programming (LP) and semidefinite programming (SDP) certification methods, we take a branch-and-bound approach to propose partitioning the input uncertainty set and solving the relaxations on each part separately. We show that this approach reduces relaxation error, and that the error is eliminated entirely upon performing an LP relaxation with a partition intelligently designed to exploit the nature of the ReLU activations. To scale this approach to large networks, we consider using a coarser partition whereby the number of parts in the partition is reduced. We prove that computing such a coarse partition that directly minimizes the LP relaxation error is NP-hard. By instead minimizing the worst-case LP relaxation error, we develop a closed-form branching scheme in the single-hidden layer case. We extend the analysis to the SDP, where the feasible set geometry is exploited to design a branching scheme that minimizes the worst-case SDP relaxation error. Experiments on MNIST, CIFAR-10, and Wisconsin breast cancer diagnosis classifiers demonstrate significant increases in the percentages of test samples certified. By independently increasing the input size and the number of layers, we empirically illustrate under which regimes the branched LP and branched SDP are best applied. Finally, we extend our LP branching method into a multi-layer branching heuristic, which attains comparable performance to prior state-of-the-art heuristics on large-scale, deep neural network certification benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。