[Paper Review] Reducing Adversarial Example Transferability Using Gradient Regularization
This paper proposes gradient regularization to reduce adversarial example transferability between deep learning models by minimizing the cosine similarity between their input-output Jacobians. By training models to have orthogonal gradients, transferability drops by up to 56% for IGS attacks and 47% for CW attacks, significantly improving robustness in ensemble settings without architectural changes.
Deep learning algorithms have increasingly been shown to lack robustness to simple adversarial examples (AdvX). An equally troubling observation is that these adversarial examples transfer between different architectures trained on different datasets. We investigate the transferability of adversarial examples between models using the angle between the input-output Jacobians of different models. To demonstrate the relevance of this approach, we perform case studies that involve jointly training pairs of models. These case studies empirically justify the theoretical intuitions for why the angle between gradients is a fundamental quantity in AdvX transferability. Furthermore, we consider the asymmetry of AdvX transferability between two models of the same architecture and explain it in terms of differences in gradient norms between the models. Lastly, we provide a simple modification to existing training setups that reduces transferability of adversarial examples between pairs of models.
Motivation & Objective
- To investigate the root cause of adversarial example transferability between deep neural networks.
- To identify the cosine similarity of input-output Jacobians as a key predictor of transferability.
- To develop a simple, architecture-agnostic regularization method that reduces transferability between models.
- To explain the asymmetry in transferability using gradient norm differences between models.
- To enable more robust model ensembles by minimizing transferable adversarial examples through gradient alignment control.
Proposed method
- The paper introduces a gradient regularization loss that minimizes the cosine similarity between input-output Jacobians of paired models.
- It uses iterative gradient-based attacks (IGS and CW) to evaluate transferability across model pairs under different regularization scenarios.
- The regularization is applied during training, encouraging models to have orthogonal, parallel, or antiparallel gradients.
- The method is evaluated on MNIST using LeNet architectures with identical hyperparameters and random weight initializations.
- Transferability is measured as the attack success rate of adversarial examples generated on one model when applied to another.
- The approach is validated across multiple attack settings and regularization directions, including perpendicular and antiparallel gradient configurations.
Experimental results
Research questions
- RQ1Why do adversarial examples transfer so effectively between models with different architectures and training data?
- RQ2How does the cosine similarity between input-output Jacobians relate to adversarial transferability?
- RQ3What causes the asymmetry in transferability between two models of the same architecture?
- RQ4Can gradient regularization reduce transferability without modifying model architecture or hyperparameters?
- RQ5Does enforcing orthogonal gradients between models significantly decrease the success rate of transfer attacks?
Key findings
- The cosine similarity between input-output Jacobians is a strong predictor of adversarial example transferability.
- Training models with perpendicular gradients reduces transferability by 56% on average for IGS-1.0 attacks compared to baseline.
- The antiparallel gradient scenario unexpectedly increases transferability, likely due to non-ideal gradient alignment and loss landscape complexity.
- Transferability asymmetry is largely explained by differences in gradient magnitudes between models, not just cosine similarity.
- The proposed regularization method achieves a 47% reduction in transferability for CW-40 attacks, demonstrating robustness across diverse attack types.
- Even with identical architectures and hyperparameters, the method cuts baseline transfer rates in half, suggesting strong potential for ensemble defenses.
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.