Investigating and unmasking feature-level vulnerabilities of CNNs to adversarial perturbations
Davide Coppola, Hwee Kuan Lee
TL;DR
This paper tackles why CNNs are vulnerable to adversarial perturbations by shifting focus to feature-map representations in shallow layers. It introduces the Adversarial Intervention framework to causally test how perturbing selected channels affects predictions, quantified through metrics like $AEL_{\Phi}$ and $AEA_{\Phi}$. Across MNIST-37, CIFAR-10, and Imagenette with Auto-PGD and other attacks, it shows a small set of first-layer channels can dominate vulnerability and that channel rankings are largely consistent across attacks, with vulnerability correlating to kernel $||\cdot||_2$ norms. The work provides a diagnostic, causality-based basis for future, targeted defenses and a deeper understanding of adversarial perturbations at the feature-map level.
Abstract
This study explores the impact of adversarial perturbations on Convolutional Neural Networks (CNNs) with the aim of enhancing the understanding of their underlying mechanisms. Despite numerous defense methods proposed in the literature, there is still an incomplete understanding of this phenomenon. Instead of treating the entire model as vulnerable, we propose that specific feature maps learned during training contribute to the overall vulnerability. To investigate how the hidden representations learned by a CNN affect its vulnerability, we introduce the Adversarial Intervention framework. Experiments were conducted on models trained on three well-known computer vision datasets, subjecting them to attacks of different nature. Our focus centers on the effects that adversarial perturbations to a model's initial layer have on the overall behavior of the model. Empirical results revealed compelling insights: a) perturbing selected channel combinations in shallow layers causes significant disruptions; b) the channel combinations most responsible for the disruptions are common among different types of attacks; c) despite shared vulnerable combinations of channels, different attacks affect hidden representations with varying magnitudes; d) there exists a positive correlation between a kernel's magnitude and its vulnerability. In conclusion, this work introduces a novel framework to study the vulnerability of a CNN model to adversarial perturbations, revealing insights that contribute to a deeper understanding of the phenomenon. The identified properties pave the way for the development of efficient ad-hoc defense mechanisms in future applications.
