Abstract
The vulnerability of Deep Neural Networks (DNNs) to adversarial perturbations presents significant security concerns, as imperceptible noise can contaminate the feature space and lead to incorrect predictions. Recent studies have attempted to calibrate contaminated features by either suppressing or over-activating particular channels. Despite these efforts, we claim that adversarial attacks exhibit varying disruption levels across individual channels. Furthermore, we argue that harmonizing feature maps via graph structures and employing graph convolution can effectively calibrate these contaminated features. To this end, we introduce an innovative plug-and-play module called Feature Map-based Reconstructed Graph Convolution (FMR-GC). FMR-GC harmonizes feature maps in the channel dimension to reconstruct a graph, then employs graph convolution to capture neighborhood information. Extensive experiments demonstrate the superior performance and scalability of FMR-GC. Our model can be combined with advanced adversarial training methods to considerably enhance robustness without compromising clean accuracy.
Introduction
Deep Neural Networks (DNNs) are notoriously fragile. A tiny, imperceptible "adversarial perturbation" added to an image can completely derail a model's prediction. While Adversarial Training (AT)—training the model on these malicious examples—is the standard defense, it often leads to a "robustness-accuracy trade-off" where the model's performance on normal, clean images degrades.
Existing defenses often fail because they tend to either over-suppress or over-activate feature channels. For instance, some methods use low-pass filters that inadvertently remove useful information, while others spread activation to semantically irrelevant areas. The core challenge lies in the fact that adversarial attacks disrupt different channels to varying degrees. We propose a method to "calibrate" these disrupted features by leveraging the inherent relationships between channels, treating them as nodes in a social network where reliable neighbors can help correct a "confused" channel.
Methodology
The FMR-GC module is designed as a "plug-and-play" component that can be integrated into existing CNN architectures like ResNet or WideResNet. Its workflow consists of three main stages:
- Graph Reconstruction: The module treats each feature map (channel) as a node in a graph. To determine channel relationships, it employs Global Average Pooling (GAP) to create a simplified representation of each channel and calculates the Euclidean distance between them.
- Top-k Connectivity: To maintain efficiency and focus, each node is only connected to its top-k most similar neighbors. This captures critical inter-feature map correlations while avoiding noise from unrelated channels.
- Graph Convolutional Processing: The module applies a graph convolution, allowing "cleaner" or less-affected channels to share contextual information with contaminated ones. This harmonizes the feature space and redirects the model's attention to semantically relevant regions.
This approach is orthogonal to standard adversarial training, meaning it can be combined with existing methods like TRADES or AWP to achieve synergistic improvements in robustness.
Experiments and Results
We evaluated FMR-GC on three standard benchmarks: CIFAR-10, CIFAR-100, and Tiny-ImageNet. The module demonstrated significant improvements across all datasets and against various attack types.
Quantitative Performance
On CIFAR-10, combining FMR-GC with the AWP training method achieved a state-of-the-art 56.37% accuracy under AutoAttack (AA), a notable improvement over the baseline AWP (53.90%). On the more complex Tiny-ImageNet, the module improved PGD-10 accuracy by over 3% compared to standard PGD-AT.
Transfer Attack Defense and Efficiency
The model also showed resilience against transfer attacks—where malicious images generated for one model are used to attack another—improving defense success rates by up to 1.92%. Importantly, this robustness comes with minimal computational cost. For a WideResNet-34-10 model, the parameter count increased only slightly (from 46.16M to 48.25M), with a negligible impact on floating-point operations (FLOPs).
Discussion and Conclusion
Our analysis revealed several key insights for implementing FMR-GC:
- Sparsity is Strength: A sparse graph (connecting to only the top-5 neighbors) performs better than a dense one, as it avoids introducing incorrect connections from noisy channels.
- Early Intervention: Integrating the module into the early stages of a network is most effective, as early features have lower abstraction levels that are easier to reconstruct via graph methods.
- Accuracy Preservation: Unlike many defenses that degrade standard performance, FMR-GC often improved clean accuracy, suggesting that feature harmonization is generally beneficial for network logic.
Future work will focus on scaling these methods to the full ImageNet-1K dataset and exploring dynamic or learnable graph structures to further enhance adaptive calibration.
Summary updated