arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.08453cs.LG
收藏

确定性l2鲁棒性的改进技术

Improved techniques for deterministic l2 robustness

University of Maryland(马里兰大学)

Sahil Singla, Soheil Feizi

摘要:

在$l_{2}$范数下用严格的1-Lipschitz约束训练卷积神经网络(CNN)对于对抗鲁棒性、可解释梯度和稳定训练是有用的。1-Lipschitz CNN通常通过强制每一层具有正交雅可比矩阵(对于所有输入)来设计,以防止梯度在反向传播期间消失。然而,它们的性能通常显著落后于探试法,以强制执行Lipschitz约束,其中所得到的CNN不是\textit{provably} 1-Lipschitz。在这项工作中,我们通过引入(a)通过用1-隐藏层MLP替换最后一个线性层来证明1-Lipschitz CNN的鲁棒性的过程来减少这一差距,该过程显着提高了它们在标准和可证明的鲁棒精度方面的性能,(b)显著减少斜正交卷积(SOC)层的每个时期的训练时间的方法(对于更深的网络减少>30\%)和(c)使用输入到流形的$l_{2}$距离是1-Lipschitz的数学性质的一类池化层。使用这些方法,我们显着提高了CIFAR-10(增益为+1.79\%和+3.82\%)和CIFAR-100(增益为+3.78\%和+4.75\%)在所有网络中的标准和可证明的鲁棒精度。代码可在\url{https://github.com/singlasahil14/improved_l2_robustness}获得。

英文摘要:

Training convolutional neural networks (CNNs) with a strict 1-Lipschitz constraint under the $l_{2}$ norm is useful for adversarial robustness, interpretable gradients and stable training. 1-Lipschitz CNNs are usually designed by enforcing each layer to have an orthogonal Jacobian matrix (for all inputs) to prevent the gradients from vanishing during backpropagation. However, their performance often significantly lags behind that of heuristic methods to enforce Lipschitz constraints where the resulting CNN is not \textit{provably} 1-Lipschitz. In this work, we reduce this gap by introducing (a) a procedure to certify robustness of 1-Lipschitz CNNs by replacing the last linear layer with a 1-hidden layer MLP that significantly improves their performance for both standard and provably robust accuracy, (b) a method to significantly reduce the training time per epoch for Skew Orthogonal Convolution (SOC) layers (>30\% reduction for deeper networks) and (c) a class of pooling layers using the mathematical property that the $l_{2}$ distance of an input to a manifold is 1-Lipschitz. Using these methods, we significantly advance the state-of-the-art for standard and provable robust accuracies on CIFAR-10 (gains of +1.79\% and +3.82\%) and similarly on CIFAR-100 (+3.78\% and +4.75\%) across all networks. Code is available at \url{https://github.com/singlasahil14/improved_l2_robustness}.

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

↑