Introduction
Deep Neural Networks (DNNs) have achieved remarkable success in various domains, yet they remain vulnerable to adversarial attacks—small, often imperceptible perturbations that can drastically alter a model's output. The prevailing defense mechanism, Adversarial Training (AT), frequently suffers from a significant "robustness-accuracy trade-off," where gains in adversarial resilience come at the cost of clean data accuracy. This research explores the hypothesis that this trade-off is driven by "non-robust features"—patterns that provide high clean accuracy but are easily manipulated. By identifying and selecting only consistent features at the penultimate layer, the authors propose a method to bridge the gap between clean and robust performance.
Methodology: Latent Masking and Compressive Attacks
The core of the proposed approach lies in feature selection at the penultimate layer of the network. The authors introduce two primary strategies:
1. Latent Masking (LM)
Latent Masking operates on the principle of consistency. If a feature's activation value changes significantly when the input is slightly perturbed within an $\epsilon$-ball, that feature is deemed unreliable. The model is trained to "mask" or zero out these inconsistent features, forcing the classifier to rely solely on stable, robust representations.
2. Compressive Counter-Adversarial Attack (CCA)
Since the "clean" version of an image is unknown at test time, the authors developed CCA. This self-supervised method performs a "counter-attack" on the input to find a sparse, representative version of the features. By exploring the mathematical neighborhood of the input, CCA identifies a reference point that highlights consistent features without requiring an external oracle.
These strategies are implemented in two frameworks: LM-CCA, which uses a binary mask to filter features, and LC-CCA (Latent Compression), which utilizes the compressed representation directly. To further stabilize training and prevent overconfidence, Label Smoothing is applied to the target probabilities.
Experimental Results
The methods were evaluated using ResNet-18 on the CIFAR-10 and CIFAR-100 benchmarks.
CIFAR-10 Performance
On CIFAR-10, LM-CCA demonstrated a substantial improvement in robustness. It achieved a robust accuracy of 63.4%, representing a 16% increase over the 47.33% achieved by Standard Adversarial Training (SAT). Notably, this gain was achieved with only a minor 2.5% reduction in clean accuracy.
CIFAR-100 Performance
The benefits extended to the more complex CIFAR-100 dataset. LC-CCA improved robust accuracy by 5.43% compared to SAT. The results highlight that even in high-dimensional feature spaces, selecting for consistency effectively mitigates adversarial vulnerability.
Discussion and Key Insights
The primary insight of this work is that consistency is the hallmark of robustness. Robust features are not necessarily the "strongest" in terms of activation magnitude, but rather those that remain stable under perturbation. By shifting the focus of defense from input purification to high-level feature selection at the penultimate layer, the authors demonstrate a more effective path toward reliable DNNs.
Furthermore, "Oracle" experiments—where the model is provided with perfect information regarding feature robustness—showed potential robust accuracy as high as 89%. This suggests that feature selection has the theoretical capacity to nearly eliminate the performance gap between clean and robust performance.
Limitations and Future Work
While promising, the authors identify several areas for improvement:
- Training Instability: The binary nature of LM-CCA can lead to instability. Future work may explore "soft" compression strategies to smooth the transition.
- Hyperparameter Sensitivity: Performance is sensitive to the number of selected features ($k$) and the label smoothing parameter ($\gamma$), necessitating careful tuning.
- Constraint Violations: The CCA process may occasionally generate reference samples slightly outside the valid perturbation range, potentially impacting theoretical guarantees.
In conclusion, "Less is More" provides a compelling framework for enhancing adversarial robustness by trimming non-robust features, paving the way for more resilient machine learning systems.
Summary updated