NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Non-Singular Adversarial Robustness of Neural Networks

Yu-Lin Tsai, Chia-Yi Hsu, Chia-Mu Yu, Pin-Yu Chen

Abstract

Traditional adversarial robustness research focuses primarily on protecting neural networks against input perturbations. However, real-world deployments often involve non-static model weights due to hardware faults or quantization. This paper introduces "non-singular adversarial robustness," a framework for evaluating and improving model stability against simultaneous attacks on both data inputs and model weights. We demonstrate that standard adversarial training can inadvertently increase weight sensitivity and propose a theory-driven loss function to achieve comprehensive protection.

Introduction

Most adversarial machine learning research addresses singular robustness: the defense against small, malicious perturbations to input data. In practice, model weights are also susceptible to noise from hardware faults (e.g., bit-flipping), aggressive quantization for mobile deployment, or environmental factors.

The authors identify a "singular trap": focusing solely on input robustness can be myopic. Their findings suggest that standard adversarial training (AT) may actually increase a model's sensitivity to weight changes, creating a false sense of security. This paper formalizes non-singular adversarial robustness to bridge this gap by considering the joint stability of inputs and weights.

Methodology

The researchers developed a novel margin bound analysis for multi-layer feed-forward networks using ReLU activations. They derived theorems quantifying how the "pairwise class margin"—the gap between the correct class and the runner-up—shrinks under joint input and weight perturbations.

Theory-Inspired Loss Function

Based on these bounds, a new regularization function was proposed. The training objective incorporates three components:

  1. Standard Classification Loss: For task performance.
  2. $α$-term: Regularizes sensitivity to weight perturbations.
  3. $β$-term: Regularizes sensitivity to joint input-weight perturbations.

The models were evaluated using a Joint PGD Attack, a generalization of Projected Gradient Descent designed to simultaneously craft adversarial inputs and weight shifts.

Key Results

Experiments on the MNIST dataset using a 4-layer dense neural network validated the theoretical bounds. The performance was measured using the Area Under the Curve (AUC) for test accuracy across varying levels of joint noise ($ε_x$ for inputs and $ε_w$ for weights).

Comparison of robustness landscapes for different training methods across input (ε_x) and weight (ε_w) perturbations.

As shown in the figure above, the proposed methods significantly outperform standard approaches:

  • Standard Model: AUC = 12.18 (Vulnerable to both noise types).
  • Adversarial Training (AT): AUC = 20.37 (Robust to inputs, but fragile to weight shifts).
  • Weight Perturbation Training: AUC = 15.07 (Robust to weight shifts, but weak against inputs).
  • Proposed Method (AT+β-2): AUC = 25.23.

The proposed non-singular training improved the robustness score by approximately 24% over standard AT. This confirms that accounting for the interaction between input and weight noise is more effective than treating them as isolated problems.

Discussion and Conclusion

The study reveals that error induced by weight perturbations propagates through the network at a rate determined by the $\ell_\infty$ norm of the weight matrices. While singular robustness training might "overfit" stability to the input space, non-singular training achieves a holistic balance.

Future work should address the scalability of these methods to larger architectures like ResNets or Transformers and more complex datasets like ImageNet. Additionally, exploring more realistic hardware fault patterns beyond $\ell_\infty$ bounds could further refine the practical utility of non-singular robustness.

Summary updated

BibTeX
@inproceedings{tsai2021non,
  author = {Yu-Lin Tsai and Chia-Yi Hsu and Chia-Mu Yu and Pin-Yu Chen},
  title = {{Non-Singular Adversarial Robustness of Neural Networks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp39728.2021.9414325},
}
Figure