Abstract
Adversarial training methods are state-of-the-art (SOTA) empirical defense methods against adversarial examples. Many regularization methods have been proven to be effective with the combination of adversarial training. Nevertheless, such regularization methods are implemented in the time domain. Since adversarial vulnerability can be regarded as a high-frequency phenomenon, it is essential to regulate the adversarially-trained neural network models in the frequency domain. Faced with these challenges, we make a theoretical analysis on the regularization property of wavelets which can enhance adversarial training. We propose a wavelet regularization method based on the Haar wavelet decomposition which is named Wavelet Average Pooling. This wavelet regularization module is integrated into the wide residual neural network so that a new WideWaveletResNet model is formed. On the datasets of CIFAR-10 and CIFAR-100, our proposed Adversarial Wavelet Training method realizes considerable robustness under different types of attacks. It verifies the assumption that our wavelet regularization method can enhance adversarial robustness especially in the deep wide neural networks. The visualization experiments of the Frequency Principle (F-Principle) and interpretability are implemented to show the effectiveness of our method.
Introduction
Deep neural networks (DNNs) are notoriously fragile; tiny, imperceptible perturbations, known as adversarial examples, can trick a world-class classifier into making egregious errors. While Adversarial Training (AT)—training on these perturbations—is the current gold standard for defense, it often struggles with a trade-off between robustness and clean accuracy.
This research argues that adversarial vulnerability is essentially a high-frequency phenomenon. Most existing regularization techniques (like weight decay or dropout) operate in the "time domain" (pixel space), potentially ignoring the underlying frequency characteristics of the attack. To build truly trustworthy models, we need a way to regulate how the network perceives different frequency components, ensuring that high-frequency "jitter" doesn't lead to wild swings in the model's output.
Methodology: Adversarial Wavelet Training
The core contribution of this work is the Adversarial Wavelet Training framework. By leveraging the mathematical properties of wavelets, the authors enforce a Lipschitz constraint—a guarantee that the model's output won't change excessively for a given change in input.
Key Components:
- Haar Wavelet Decomposition: The model uses the Discrete Wavelet Transform (DWT) to split image features into four sub-bands: one approximation (low-frequency) and three detail (high-frequency horizontal, vertical, and diagonal) components.
- Wavelet Average Pooling (WAP): Instead of simply discarding high-frequency noise, which can degrade accuracy, the authors propose averaging the four sub-bands. This "condenses" the feature map while retaining a balanced representation of both low and high frequencies.
- WideWaveletResNet: This WAP module is integrated into a Wide Residual Network architecture. The increased width and depth of the network provide the capacity needed to learn these robust features effectively.
Key Insights and Ideas
- The Frequency Principle (F-Principle): Neural networks naturally learn low-frequency components first. By biasing the network toward the low-frequency domain through wavelet regularization, the training process aligns with this natural progression, making it harder for high-frequency adversarial noise to take hold.
- Haar as the Optimal Wavelet: After testing various wavelet bases (Daubechies, Symlets, Coiflets), the Haar wavelet emerged as the most effective due to its symmetry, orthogonality, and short support length, which extract robust patterns without unnecessary computational redundancy.
- Averaging vs. Filtering: Simply using a Low-Pass Filter (LPF) to eliminate high frequencies degrades performance. The "Averaging" in WAP realizes a crucial trade-off: it smooths the signal without blinding the model to the fine-grained details necessary for high clean accuracy.
Experimental Results
The proposed Adversarial Wavelet Training outperformed several state-of-the-art defenses across multiple attack types on the CIFAR-10 and CIFAR-100 datasets:
- White-Box Attacks: On CIFAR-10, the model achieved a robust accuracy of 54.76% against PGD-20 attacks, surpassing standard adversarial training (~50%) and TRADES (~46.9%).
- AutoAttack: Against the rigorous AutoAttack benchmark, the model maintained a robust accuracy of 54.10% (APGD-CE) on CIFAR-10, significantly higher than the baselines.
- Interpretability: Grad-CAM visualizations demonstrate that the model focuses on meaningful object parts (e.g., the body of an animal) rather than background noise or random patterns.
Conclusion
By integrating frequency-domain regularization through Wavelet Average Pooling, the WideWaveletResNet achieves superior robustness against adversarial attacks while maintaining competitive clean accuracy. This approach bridges the gap between time-domain training and the high-frequency nature of adversarial vulnerability, providing a theoretically grounded and empirically strong defense mechanism.
Summary updated