深度网络能学到什么?输入空间中的类模式
What Do Deep Nets Learn? Class-wise Patterns Revealed in the Input Space
摘要:
深度神经网络(DNN)越来越多地部署在不同的应用中,以实现最先进的性能。然而,它们通常被用作黑盒,对模型从数据中学习到的知识的理解有限。在本文中,我们专注于图像分类,并提出了一种方法来可视化和理解DNN在自然,后门和对抗三种不同设置下学习的类知识(模式)。与现有的可视化方法不同,我们的方法在像素空间中搜索单个预测模式来表示模型为每个类学习的知识。基于所提出的方法,我们证明了在自然(干净)数据上训练的DNN学习抽象形状和一些纹理,后门模型学习后门类的可疑模式。有趣的是,DNN可以为每个类学习单个预测模式的现象表明,DNN甚至可以从干净的数据中学习后门,而模式本身就是后门触发器。在对抗环境中,我们表明,对抗训练的模型倾向于学习更简化的形状模式。我们的方法可以作为一个有用的工具,以更好地理解DNN在不同设置下的不同数据集上学习到的知识。
英文摘要:
Deep neural networks (DNNs) are increasingly deployed in different applications to achieve state-of-the-art performance. However, they are often applied as a black box with limited understanding of what knowledge the model has learned from the data. In this paper, we focus on image classification and propose a method to visualize and understand the class-wise knowledge (patterns) learned by DNNs under three different settings including natural, backdoor and adversarial. Different to existing visualization methods, our method searches for a single predictive pattern in the pixel space to represent the knowledge learned by the model for each class. Based on the proposed method, we show that DNNs trained on natural (clean) data learn abstract shapes along with some texture, and backdoored models learn a suspicious pattern for the backdoored class. Interestingly, the phenomenon that DNNs can learn a single predictive pattern for each class indicates that DNNs can learn a backdoor even from clean data, and the pattern itself is a backdoor trigger. In the adversarial setting, we show that adversarially trained models tend to learn more simplified shape patterns. Our method can serve as a useful tool to better understand the knowledge learned by DNNs on different datasets under different settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。