[Paper Review] A randomized gradient-free attack on ReLU networks
This paper proposes a novel randomized gradient-free attack, rLR-QP, for ReLU neural networks that exploits the piecewise affine geometry of ReLU networks by optimizing within linear regions. It outperforms the state-of-the-art Carlini-Wagner attack on 17 out of 18 experiments, achieving up to 9% relative improvement in adversarial perturbation efficiency.
It has recently been shown that neural networks but also other classifiers are vulnerable to so called adversarial attacks e.g. in object recognition an almost non-perceivable change of the image changes the decision of the classifier. Relatively fast heuristics have been proposed to produce these adversarial inputs but the problem of finding the optimal adversarial input, that is with the minimal change of the input, is NP-hard. While methods based on mixed-integer optimization which find the optimal adversarial input have been developed, they do not scale to large networks. Currently, the attack scheme proposed by Carlini and Wagner is considered to produce the best adversarial inputs. In this paper we propose a new attack scheme for the class of ReLU networks based on a direct optimization on the resulting linear regions. In our experimental validation we improve in all except one experiment out of 18 over the Carlini-Wagner attack with a relative improvement of up to 9\%. As our approach is based on the geometrical structure of ReLU networks, it is less susceptible to defences targeting their functional properties.
Motivation & Objective
- To develop a more effective and robust adversarial attack method for ReLU neural networks that is less susceptible to gradient-based defenses.
- To address the scalability limitations of exact mixed-integer optimization methods while improving upon heuristic attacks like Carlini-Wagner.
- To leverage the geometric structure of ReLU networks—specifically their piecewise affine nature—to find minimal adversarial perturbations.
- To demonstrate that geometry-aware attacks can achieve superior adversarial examples compared to state-of-the-art gradient-based methods.
Proposed method
- The method formulates the adversarial attack as a quadratic program within each linear region of the ReLU network, where the classifier is affine.
- It uses a randomized local search strategy to explore linear regions, avoiding reliance on gradients and reducing vulnerability to gradient-based defenses.
- The algorithm performs iterative refinement by using previous adversarial examples as warm starts, progressively improving perturbation quality.
- It employs a binary search to initialize the search space and uses the Gurobi solver for solving the quadratic programs within each linear region.
- The approach is designed to be compatible with fully connected, residual, and convolutional networks that use ReLU and pooling layers.
- The method is implemented in MATLAB with CPU-based optimization, with future plans to port to GPU for improved scalability.
Experimental results
Research questions
- RQ1Can a gradient-free attack that exploits the geometric structure of ReLU networks outperform state-of-the-art gradient-based attacks like Carlini-Wagner?
- RQ2How does the performance of the rLR-QP method compare to Carlini-Wagner and DeepFool across different network architectures and datasets?
- RQ3To what extent can iterative refinement of the search process improve the quality of adversarial examples?
- RQ4Is the proposed method more robust to defenses that target functional properties such as gradients?
- RQ5Can the method be extended to deeper and more complex architectures like convolutional neural networks?
Key findings
- The rLR-QP attack outperforms the Carlini-Wagner attack in 17 out of 18 experiments, with a relative improvement in perturbation size of up to 9%.
- On average, the rLR-QP method reduces the $l_2$-norm of adversarial perturbations by 110% compared to DeepFool, indicating a substantial performance gain.
- Even after the initial run, further iterations of the algorithm yield consistent improvements, with a 45.7% maximum gain observed in the fifth iteration.
- The method is robust to gradient-based defenses due to its lack of gradient dependence, making it a stronger tool for evaluating model robustness.
- The progressive improvement across iterations suggests that increasing the number of explored linear regions can further enhance performance.
- The method is effective on MNIST, CIFAR-10, and SVHN, and can be extended to convolutional networks using max/avg-pooling and ReLU activations.
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.