Abstract
Adversarial Training (AT) is currently the most effective defense against adversarial perturbations, yet it consistently results in a significant trade-off between robustness and natural accuracy. This study investigates the internal properties of adversarially-trained Convolutional Neural Networks (CNNs) to understand the structural and behavioral shifts induced by AT. Our analysis reveals that robust models exhibit increased activation density and higher feature map redundancy compared to naturally trained models. Furthermore, we identify a pronounced reliance on global color statistics, which, while providing stability against pixel-level noise, introduces vulnerabilities to simple non-adversarial image transformations.
Introduction
The "Accuracy-Robustness Trade-off" is a well-documented phenomenon in deep learning: as a model's resistance to adversarial attacks increases, its performance on clean, natural images typically declines. While previous research has focused on measuring this performance gap, this study explores the underlying internal mechanisms. By examining how neurons fire and how information is distributed across the network, we aim to characterize the fundamental differences between "natural" and "robust" models.
Methodology
The researchers employed four primary analytical lenses to evaluate various CNN architectures, including ResNet18, ResNet50, WideResNet, and VGG16, across standard benchmarks like CIFAR-10/100 and ImageNet:
- Activation Density ($N_k$): Measuring "Densely Active Feature Maps"—neurons that remain active across nearly the entire dataset.
- Feature Map Redundancy ($C^R_k$): Quantifying the number of channels in a layer that perform essentially redundant operations using cosine similarity and clustering.
- Latent Space Probing: Freezing a robust feature extractor and retraining only the final classification head on natural images to determine if discriminative knowledge is preserved.
- Color Bias Testing: Evaluating model sensitivity to global color statistics versus shape by testing on pixel-averaged images and images with colored contours.
Structural Changes: Activation Density and Redundancy
A defining characteristic of robust models is the proliferation of "always-on" feature maps. As shown in Figure 2, the number of densely active feature maps ($N_k$) increases significantly with the adversarial training budget ($\epsilon_{tr}$). These neurons fire regardless of the input, potentially acting as an internal gating or attention mechanism that filters out adversarial noise. However, because these neurons are constantly active, they do not contribute to the model's discriminative expressivity, effectively reducing its functional capacity.
In addition to higher activation density, robust models exhibit significantly more redundancy. Figure 6 illustrates that the count of redundant feature maps ($C^R_k$) rises sharply in robust models, particularly in the deeper layers of the network. This redundancy likely serves as a protective shield, allowing the model to ignore small perturbations, but it wastes network capacity and contributes to the observed drop in natural accuracy.
Behavioral Shifts: The Color Trap
Despite the structural inefficiencies, latent space probing reveals that robust models still capture the information necessary for high natural accuracy. On CIFAR-10, retraining only the linear head of a robust model increased natural accuracy by nearly 10% (e.g., from 46.5% to 56.4%). This suggests that the robust classifier intentionally suppresses certain features to maintain its defensive shield.
One such defensive heuristic is an over-reliance on color. Robust models are surprisingly effective at classifying images based solely on their average color, even when shape information is removed. While this provides stability against pixel-level noise, it makes the models "lazy." This color bias leads to a major failure mode: on ImageNet, adding a simple 5-pixel colored border caused an accuracy drop in robust models that was more than double the drop seen in natural models.
Conclusion
Adversarial training fundamentally alters the internal representations of CNNs, favoring redundancy and simple color-based heuristics over complex feature extraction. While these changes provide a necessary shield against adversarial attacks, they come at the cost of expressivity and introduce new vulnerabilities to global image transformations. Future research should focus on achieving robustness without these structural trade-offs, perhaps by enforcing shape-bias directly during training.
Summary updated