[Paper Review] Random Directional Attack for Fooling Deep Neural Networks
This paper proposes Random Directional Attack (RDA), a one-step adversarial attack that uses first-choice hill climbing to search for effective attack directions beyond the gradient direction, achieving competitive performance in both white-box and black-box settings. RDA outperforms gradient-based methods by finding non-gradient directions that successfully fool deep neural networks, even when the gradient direction fails, and maintains high success rates in black-box attacks without requiring model internals.
Deep neural networks (DNNs) have been widely used in many fields such as images processing, speech recognition; however, they are vulnerable to adversarial examples, and this is a security issue worthy of attention. Because the training process of DNNs converge the loss by updating the weights along the gradient descent direction, many gradient-based methods attempt to destroy the DNN model by adding perturbations in the gradient direction. Unfortunately, as the model is nonlinear in most cases, the addition of perturbations in the gradient direction does not necessarily increase loss. Thus, we propose a random directed attack (RDA) for generating adversarial examples in this paper. Rather than limiting the gradient direction to generate an attack, RDA searches the attack direction based on hill climbing and uses multiple strategies to avoid local optima that cause attack failure. Compared with state-of-the-art gradient-based methods, the attack performance of RDA is very competitive. Moreover, RDA can attack without any internal knowledge of the model, and its performance under black-box attack is similar to that of the white-box attack in most cases, which is difficult to achieve using existing gradient-based attack methods.
Motivation & Objective
- To address the limitation of gradient-based attacks that fail when perturbations along the gradient direction do not increase loss due to model nonlinearity.
- To develop a one-step attack method that can successfully generate adversarial examples without relying on the gradient direction.
- To enable effective black-box attacks by using only model outputs, avoiding the need for internal model parameters.
- To improve transferability and robustness of adversarial attacks in scenarios where model architecture and weights are unknown.
Proposed method
- RDA employs first-choice hill climbing to iteratively search for an attack direction that increases misclassification probability under a small perturbation.
- At each iteration, only a random subset of input dimensions is perturbed, reducing computational cost while maintaining search efficiency.
- The attack direction is updated only if it leads to a successful misclassification, avoiding local optima through stochastic exploration.
- RDA uses the model's output probabilities (class scores) as feedback, enabling black-box operation without access to gradients or internal weights.
- The method is designed as a one-step attack, meaning the final perturbation is applied in a single step after direction search.
- RDA can be applied in both white-box and black-box settings, with the latter using a substitute model to initialize the search direction.
Experimental results
Research questions
- RQ1Can a one-step adversarial attack be designed to outperform gradient-based methods by searching directions beyond the gradient direction?
- RQ2Does a hill climbing-based search strategy effectively find non-gradient directions that successfully fool deep neural networks?
- RQ3Can RDA achieve high attack success rates in black-box settings without requiring model internals?
- RQ4How does the performance of RDA compare to state-of-the-art gradient-based attacks in terms of success rate and perturbation size?
- RQ5What is the relationship between the effective attack direction and the gradient direction in non-linear DNNs?
Key findings
- On MNIST, RDA achieved a 96.21% attack success rate at ϵ = 0.1, significantly outperforming FGSM (44.63%) and L.L.Class (53.47%).
- On SVHN, RDA reached 100% success rate at ϵ = 0.2, outperforming MI-FGSM (98.34%) and BIM (98.28%) under the same conditions.
- On CIFAR-10, RDA achieved 100% success rate across all ε values tested, matching or exceeding all compared methods.
- On ImageNet-10, RDA maintained strong performance in black-box attacks, achieving 97.17% success at ϵ = 0.1, compared to 54.90% for FGSM.
- In black-box settings, RDA’s performance degraded only slightly compared to white-box performance, while other methods like FGSM and BIM saw significant drops.
- The angle between the effective attack direction and the gradient direction was found to be large (e.g., 36.1° in one example), confirming that non-gradient directions are often more effective.
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.