What Do Deep Nets Learn? Class-wise Patterns Revealed in the Input Space
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 48 of its 66 references that are in the map. First posted on arXiv 18 Jan 2021.
Builds on
48 of 66 references.
References · 48
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2013Intriguing properties of neural networkscited by 5,114
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
36 more
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2016Universal adversarial perturbationscited by 774
- 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2018Spectral Signatures in Backdoor Attackscited by 457
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2019High Frequency Component Helps Explain the Generalization of Convolutional Neural Networkscited by 310
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2019Intrinsic dimension of data representations in deep neural networkscited by 276
- 2016Benefits of depth in neural networkscited by 248
- 2018Dimensionality-Driven Learning with Noisy Labelscited by 173
- 2020Skip Connections Matter: On the Transferability of Adversarial Examples Generated with ResNetscited by 165
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2019Understanding Adversarial Attacks on Deep Learning Based Medical Image Analysis Systemscited by 151
- 2019Enhancing Adversarial Example Transferability with an Intermediate Level Attackcited by 139
- 2020Adversarial Camouflage: Hiding Physical-World Attacks with Natural Stylescited by 126
- 2017Universal Adversarial Perturbations Against Semantic Image Segmentationcited by 92
- 2019Defending Neural Backdoors via Generative Distribution Modelingcited by 82
- 2020A Unified Approach to Interpreting and Boosting Adversarial Transferabilitycited by 71
- 2016Depth-Width Tradeoffs in Approximating Natural Functions with Neural Networkscited by 58
- 2019Black-box Adversarial Attacks on Video Recognition Modelscited by 58
- 2015Adversarial Manipulation of Deep Representationscited by 56
- 2018Understanding and Enhancing the Transferability of Adversarial Examplescited by 41
- 2020Improving Query Efficiency of Black-box Adversarial Attackcited by 34
- 2019Batch Normalization is a Cause of Adversarial Vulnerabilitycited by 28
- 2017Residual Convolutional CTC Networks for Automatic Speech Recognitioncited by 21
- 2019Interpreting Adversarial Examples by Activation Promotion and Suppressioncited by 17
- 2018First-order Adversarial Vulnerability of Neural Networks and Input Dimensioncited by 5
- 2018What do Deep Networks Like to See?cited by 4
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 3; 2024: 1.
8 papers.
- 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
- 2021Better Safe Than Sorry: Preventing Delusive Adversaries with Adversarial Trainingcited by 58
- 2022Training with More Confidence: Mitigating Injected and Natural Backdoors During Trainingcited by 38
- 2023Distilling Cognitive Backdoor Patterns within an Imagecited by 20
- 2022A Survey of Neural Trojan Attacks and Defenses in Deep Learningcited by 17
- 2023Beating Backdoor Attack at Its Own Gamecited by 11
- 2023BaDExpert: Extracting Backdoor Functionality for Accurate Backdoor Input Detectioncited by 11
- 2024Towards Modeling Uncertainties of Self-explaining Neural Networks via Conformal Predictioncited by 10
- 2024Towards Modeling Uncertainties of Self-explaining Neural Networks via Conformal Prediction3 Jan 2024
- 2023BaDExpert: Extracting Backdoor Functionality for Accurate Backdoor Input Detection23 Aug 2023
- 2023Beating Backdoor Attack at Its Own Game28 Jul 2023
- 2023Distilling Cognitive Backdoor Patterns within an Image26 Jan 2023
- 2022A Survey of Neural Trojan Attacks and Defenses in Deep Learning15 Feb 2022
- 2022Training with More Confidence: Mitigating Injected and Natural Backdoors During Training13 Feb 2022
- 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Data22 Oct 2021
- 2021Better Safe Than Sorry: Preventing Delusive Adversaries with Adversarial Training9 Feb 2021