[Paper Review] Art of singular vectors and universal adversarial perturbations
This paper proposes SingularFool, a novel method for generating universal adversarial perturbations by computing (p,q)-singular vectors of the Jacobian matrices of deep neural network feature maps. Using only 64 images, the method achieves a 60% fooling rate on ImageNet, significantly outperforming prior approaches that require thousands of images, and demonstrates strong generalization across models and visual pattern consistency.
Vulnerability of Deep Neural Networks (DNNs) to adversarial attacks has been attracting a lot of attention in recent studies. It has been shown that for many state of the art DNNs performing image classification there exist universal adversarial perturbations --- image-agnostic perturbations mere addition of which to natural images with high probability leads to their misclassification. In this work we propose a new algorithm for constructing such universal perturbations. Our approach is based on computing the so-called $(p, q)$-singular vectors of the Jacobian matrices of hidden layers of a network. Resulting perturbations present interesting visual patterns, and by using only 64 images we were able to construct universal perturbations with more than 60 \% fooling rate on the dataset consisting of 50000 images. We also investigate a correlation between the maximal singular value of the Jacobian matrix and the fooling rate of the corresponding singular vector, and show that the constructed perturbations generalize across networks.
Motivation & Objective
- To develop a more efficient method for generating universal adversarial perturbations that require fewer training images compared to existing approaches.
- To investigate the relationship between the largest (p,q)-singular value of the Jacobian and the resulting fooling rate of the perturbation.
- To evaluate the generalization capability of the generated perturbations across different deep neural network architectures.
- To analyze the visual patterns and structural properties of the singular vector-based perturbations.
- To explore the potential of (p,q)-singular values as a quantitative measure of model robustness and a candidate regularizer in training.
Proposed method
- The method computes (p,q)-singular vectors of the Jacobian matrices of hidden layer feature maps via a generalized power method adapted to arbitrary p-norms.
- It formulates the adversarial perturbation generation as an optimization problem: maximize ||J_i(x)ε||_q subject to ||ε||_p = 1, where J_i(x) is the Jacobian of the i-th layer.
- The solution to this problem yields the (p,q)-singular vector, which is rescaled to achieve the desired perturbation norm L.
- The algorithm uses a small batch size (e.g., 32) and iteratively updates the perturbation using the power method on the Jacobian of a single layer (e.g., block2_pool in VGG-19).
- The method leverages the homogeneity of the optimization problem, allowing the perturbation to be scaled to any norm without re-computation.
- The approach is implemented using TensorFlow and NumPy, with symbolic Jacobian matrix-vector products computed once per layer.
Experimental results
Research questions
- RQ1Can (p,q)-singular vectors of the Jacobian matrix be used to efficiently generate universal adversarial perturbations with high fooling rates using minimal data?
- RQ2What is the correlation between the largest (p,q)-singular value of the Jacobian and the resulting fooling rate of the generated perturbation?
- RQ3How well do the perturbations generated by this method generalize across different deep neural network architectures?
- RQ4How does the number of images used during training affect the convergence and performance of the universal perturbation?
- RQ5Do the resulting perturbations exhibit consistent visual patterns, and can they be considered universal across datasets and models?
Key findings
- The proposed SingularFool method achieves a fooling rate of over 60% on ImageNet using only 64 images, significantly outperforming the UAP method which requires several thousand images to reach similar performance.
- The fooling rate of the perturbation stabilizes quickly with increasing number of training images, reaching ~63% with just 64 images, while the UAP method requires ~3000 images to reach 60%.
- The method runs in approximately 1 minute on a single GPU (Tesla K80) with 32-batch size and 30 iterations, compared to ~10 minutes for UAP with a larger batch size.
- The largest (p,q)-singular value of the Jacobian shows a strong positive correlation with the fooling rate, suggesting it can serve as a quantitative robustness metric.
- The generated perturbations exhibit consistent visual patterns and generalize effectively across different DNN architectures, including VGG-19, ResNet, and Inception.
- The method demonstrates strong generalization: a perturbation trained on one network achieves high fooling rates on other pre-trained models, confirming universality.
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.