arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.08360cs.LGstat.ML
收藏

交叉熵损失和低秩特征对对抗性样本负责

Cross-Entropy Loss and Low-Rank Features Have Responsibility for Adversarial Examples

University of California, Berkeley(加利福尼亚大学伯克利分校)

Kamil Nar, Orhan Ocal, S. Shankar Sastry, Kannan Ramchandran

摘要:

最先进的神经网络容易受到对抗性示例的影响;它们很容易对与训练和测试数据有细微差异的输入进行错误分类。在这项工作中,我们建立了交叉熵损失函数的使用和低秩的训练数据的功能有责任这些输入的存在。基于这一观察,我们建议解决对抗性示例需要重新考虑交叉熵损失函数的使用,并寻找一种更适合低秩特征最小化的替代方案。在这个方向上,我们提出了一个训练方案,称为差分训练,它使用的损失函数定义的点的特征之间的差异,从相反的类。我们表明,差分训练可以确保神经网络的决策边界和训练数据集中的点之间有很大的余量。这种较大的裕量增加了翻转分类器预测所需的扰动量,并且使得更难找到具有小扰动的对抗性示例。我们使用CIFAR-10数据集在二进制分类任务上测试了差分训练,并证明它从根本上降低了可以找到对抗性示例的图像比例-不仅在训练数据集中,而且在测试数据集中。

英文摘要:

State-of-the-art neural networks are vulnerable to adversarial examples; they can easily misclassify inputs that are imperceptibly different than their training and test data. In this work, we establish that the use of cross-entropy loss function and the low-rank features of the training data have responsibility for the existence of these inputs. Based on this observation, we suggest that addressing adversarial examples requires rethinking the use of cross-entropy loss function and looking for an alternative that is more suited for minimization with low-rank features. In this direction, we present a training scheme called differential training, which uses a loss function defined on the differences between the features of points from opposite classes. We show that differential training can ensure a large margin between the decision boundary of the neural network and the points in the training dataset. This larger margin increases the amount of perturbation needed to flip the prediction of the classifier and makes it harder to find an adversarial example with small perturbations. We test differential training on a binary classification task with CIFAR-10 dataset and demonstrate that it radically reduces the ratio of images for which an adversarial example could be found -- not only in the training dataset, but in the test dataset as well.

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

↑