TLDR: A new method called Parameter Interpolation Adversarial Training (PIAT) is proposed to improve the robustness of deep neural networks against adversarial attacks. PIAT stabilizes model training by interpolating parameters between epochs, reducing oscillations and overfitting. Coupled with Normalized Mean Square Error (NMSE) regularization, which aligns relative output magnitudes, the framework significantly boosts the adversarial robustness of both CNNs and Vision Transformers while maintaining clean accuracy.
Deep Neural Networks (DNNs) have become incredibly powerful in tasks like image classification, but they face a significant challenge: adversarial examples. These are subtly altered inputs that are imperceptible to humans but can trick a sophisticated AI model into making incorrect predictions with high confidence. This vulnerability is a major concern, especially as AI is increasingly used in safety-critical systems.
Adversarial training is considered the most effective defense against these attacks. It involves dynamically generating adversarial examples during the training process and incorporating them to make the model more robust. However, existing adversarial training methods often suffer from two key issues: the model’s robustness can fluctuate significantly during training (oscillations), and it can become too specialized to the training data, performing poorly on new, unseen adversarial examples (overfitting). These problems ultimately reduce the effectiveness of the defense.
Introducing Parameter Interpolation Adversarial Training (PIAT)
To address these challenges, researchers have proposed a novel framework called Parameter Interpolation Adversarial Training (PIAT). PIAT works by intelligently adjusting the model’s internal settings, known as parameters, between each training cycle, or epoch. Instead of simply updating the parameters with the latest training results, PIAT interpolates, or blends, the parameters from the previous epoch with those from the current epoch. This process ensures that the model’s ‘decision boundary’ – the way it distinguishes between different categories – changes more moderately. This moderation helps the model converge more stably and significantly alleviates the overfitting issue, leading to higher overall robustness.
A clever aspect of PIAT is its dynamic adjustment of the interpolation weight. In the early stages of training, when the model is still learning fundamental patterns, PIAT gives more weight to the current epoch’s parameters to ensure faster convergence. As training progresses and the model accumulates more valuable knowledge, PIAT gradually increases the weight of the previously accumulated parameters. This strategy prevents the decision boundary from becoming overly complex and helps mitigate overfitting in the later stages of training.
Enhancing Robustness with Normalized Mean Square Error (NMSE)
In addition to PIAT, the researchers also introduce a new regularization term called Normalized Mean Square Error (NMSE). Previous methods often tried to make the absolute output scores (logits) of clean and adversarial examples very similar. However, clean and adversarial examples often have different underlying data distributions, making this direct alignment too restrictive and potentially harming the model’s accuracy on normal inputs.
NMSE takes a different approach. Instead of focusing on absolute magnitudes, it aims to align the *relative* magnitudes of the output logits between clean and adversarial examples. This more nuanced alignment helps to improve robustness without sacrificing the model’s accuracy on clean data. By minimizing the mean square error between the *normalized* output logits, NMSE ensures that the model pays more attention to the relative relationships in its predictions, making it more resilient to adversarial perturbations.
Also Read:
- Proactive Training: Making Neural Networks Inherently Robust for Low-Bit Quantization
- Boosting CLIP Model Performance with Kalman Filter Fine-Tuning for Enhanced Generalization
Experimental Validation and Impact
Extensive experiments were conducted on several benchmark datasets, including CIFAR10, CIFAR100, and SVHN, using both Convolutional Neural Networks (CNNs) like ResNet18 and Wide-ResNet, and Vision Transformers (ViTs) such as ViT, DeiT, and ConViT. The results consistently demonstrated that the PIAT framework, especially when combined with NMSE, significantly improves the adversarial robustness of these models. It outperformed existing advanced adversarial training methods across various attack scenarios, including PGD, CW, and AutoAttack.
A key finding was PIAT’s ability to maintain stable robust accuracy throughout training, with a minimal gap between the best and final checkpoints. This indicates that the method effectively mitigates the overfitting problem, leading to more reliable and generalizable robust models. Furthermore, PIAT proved to be a flexible framework, easily integrating with other adversarial training methods to further boost their performance without additional computational cost.
The research highlights that PIAT not only enhances robustness but also contributes to better generalization and resilience of AI models. By providing a more stable training process and a refined approach to aligning model outputs, this work offers a promising direction for developing more secure and dependable deep learning systems. For more details, you can read the full paper here.


