[Paper Review] Defending Against Adversarial Attacks by Suppressing the Largest Eigenvalue of Fisher Information Matrix
This paper proposes a novel defense against adversarial attacks by suppressing the largest eigenvalue of the Fisher Information Matrix (FIM) through a regularization term added to the loss function. By bounding the FIM's largest eigenvalue, the method reduces model sensitivity to small input perturbations, significantly improving robustness without retraining beyond a single fine-tuning step, while maintaining high clean accuracy across multiple networks and datasets.
We propose a scheme for defending against adversarial attacks by suppressing the largest eigenvalue of the Fisher information matrix (FIM). Our starting point is one explanation on the rationale of adversarial examples. Based on the idea of the difference between a benign sample and its adversarial example is measured by the Euclidean norm, while the difference between their classification probability densities at the last (softmax) layer of the network could be measured by the Kullback-Leibler (KL) divergence, the explanation shows that the output difference is a quadratic form of the input difference. If the eigenvalue of this quadratic form (a.k.a. FIM) is large, the output difference becomes large even when the input difference is small, which explains the adversarial phenomenon. This makes the adversarial defense possible by controlling the eigenvalues of the FIM. Our solution is adding one term representing the trace of the FIM to the loss function of the original network, as the largest eigenvalue is bounded by the trace. Our defensive scheme is verified by experiments using a variety of common attacking methods on typical deep neural networks, e.g. LeNet, VGG and ResNet, with datasets MNIST, CIFAR-10, and German Traffic Sign Recognition Benchmark (GTSRB). Our new network, after adopting the novel loss function and retraining, has an effective and robust defensive capability, as it decreases the fooling ratio of the generated adversarial examples, and remains the classification accuracy of the original network.
Motivation & Objective
- To address the vulnerability of deep neural networks to adversarial examples, which arise due to high curvature in decision boundaries.
- To investigate whether controlling the largest eigenvalue of the Fisher Information Matrix (FIM) can improve robustness against adversarial attacks.
- To develop a simple, explainable, and effective defense mechanism that requires only a single retraining step.
- To demonstrate that suppressing the FIM's largest eigenvalue reduces the fooling ratio of adversarial examples across diverse attack types and architectures.
- To provide a theoretically grounded alternative to existing defenses like label smoothing, with a clear mathematical basis in information geometry.
Proposed method
- Introduce a regularization term based on the trace of the Fisher Information Matrix (FIM) into the original network's loss function, which bounds the largest eigenvalue.
- Use the mathematical relationship that the largest eigenvalue of the FIM is upper-bounded by the trace of the FIM, enabling indirect control.
- Modify the standard cross-entropy loss by adding a term proportional to the trace of the FIM, derived from the KL divergence between output probability distributions.
- Retrain the network once with the modified loss function to incorporate adversarial robustness without architectural changes.
- Leverage the fact that the output difference between benign and adversarial examples is a quadratic form involving the FIM, with the largest eigenvalue determining sensitivity to input perturbations.
- Apply the One Step Spectral Attack (OSSA) as a benchmark attack to validate the defense, using the FIM's dominant eigenvector to generate adversarial examples.
Experimental results
Research questions
- RQ1Can suppressing the largest eigenvalue of the FIM reduce the model's sensitivity to small input perturbations, thereby improving robustness against adversarial attacks?
- RQ2How does the proposed defense compare to existing methods like label smoothing in terms of robustness and explainability?
- RQ3Does the defense maintain high clean accuracy while significantly reducing the fooling ratio across multiple attack types and datasets?
- RQ4Can the defense generalize to black-box attacks, where adversarial examples are transferred from a source model to a target model?
- RQ5Is the defense effective against both white-box and black-box attacks, including iterative and one-step methods?
Key findings
- The proposed defense reduces the fooling ratio of adversarial examples across all tested attack methods, including FGSM, BIM, DeepFool, CW, and JSMA, on MNIST, CIFAR-10, and GTSRB.
- On MNIST with LeNet, the mean $l_{ackslash infty}$ distance to adversarial examples increased from 0.107 to 0.170 under the original model, indicating stronger robustness.
- For the One Step Spectral Attack (OSSA), no adversarial examples could be generated for $\varepsilon=1.0$ in the defended model, demonstrating strong resistance.
- In cross-model black-box testing, the defended model achieved 97.47% accuracy when tested on adversarial examples generated from the original model, compared to 0% for the original network.
- The method outperformed the original model in all distance metrics, with distance ratios between 1:1.3 and 1:1.8, showing increased robustness.
- The defense maintained high clean accuracy (e.g., 97.47% on MNIST with FGSM) while significantly improving robustness, indicating no trade-off between accuracy and defense.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.