arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.05764cs.LGcs.CRcs.CV
收藏

在深度网络中检查对抗性示例与类流形的接近度

Examining the Proximity of Adversarial Examples to Class Manifolds in Deep Networks

Faculty of Mathematics, Physics and Informatics(数学、物理与信息学院);Comenius University in Bratislava(布拉迪斯拉发夸美纽斯大学)

Štefan Pócoš, Iveta Bečková, Igor Farkaš

摘要:

深度神经网络在多个领域取得了卓越的性能。然而,经过适当的训练,它们在对抗性示例(AE)方面存在固有的脆弱性。在这项工作中,我们揭示了内部表示的AE通过分析其激活的隐藏层。我们测试了各种类型的AE,每种AE都使用特定的规范约束,这会影响它们的视觉外观,并最终影响它们在训练网络中的行为。我们的结果在图像分类任务(MNIST和CIFAR-10)揭示了定性差异的个别类型的AE,比较其接近类特定的流形上的内部表示。我们提出了两种方法,可用于比较到类特定流形的距离,而不管整个网络的维度如何变化。使用这些方法,我们一致确认,一些对手不一定离开正确类的流形附近,甚至在神经网络的最后一个隐藏层。接下来,使用UMAP可视化技术,我们将类激活投影到2D空间。结果表明,个体AE的激活与测试集的激活纠缠在一起。然而,这并不适用于一组称为垃圾类的精心制作的输入。我们还证实了纠缠的adversarals与测试集数值使用软近邻损失。

英文摘要:

Deep neural networks achieve remarkable performance in multiple fields. However, after proper training they suffer from an inherent vulnerability against adversarial examples (AEs). In this work we shed light on inner representations of the AEs by analysing their activations on the hidden layers. We test various types of AEs, each crafted using a specific norm constraint, which affects their visual appearance and eventually their behavior in the trained networks. Our results in image classification tasks (MNIST and CIFAR-10) reveal qualitative differences between the individual types of AEs, when comparing their proximity to the class-specific manifolds on the inner representations. We propose two methods that can be used to compare the distances to class-specific manifolds, regardless of the changing dimensions throughout the network. Using these methods, we consistently confirm that some of the adversarials do not necessarily leave the proximity of the manifold of the correct class, not even in the last hidden layer of the neural network. Next, using UMAP visualisation technique, we project the class activations to 2D space. The results indicate that the activations of the individual AEs are entangled with the activations of the test set. This, however, does not hold for a group of crafted inputs called the rubbish class. We also confirm the entanglement of adversarials with the test set numerically using the soft nearest neighbour loss.

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

↑