[Paper Review] GenAttack: Practical Black-box Attacks with Gradient-Free Optimization
GenAttack introduces a gradient-free black-box adversarial attack using genetic algorithms to generate imperceptible perturbations against deep neural networks with drastically reduced query complexity. It achieves state-of-the-art query efficiency—2,126× fewer queries than ZOO on MNIST, 2,568× on CIFAR-10, and 237× on ImageNet—while successfully bypassing advanced defenses like ensemble adversarial training and non-differentiable input transformations.
Deep neural networks are vulnerable to adversarial examples, even in the black-box setting, where the attacker is restricted solely to query access. Existing black-box approaches to generating adversarial examples typically require a significant number of queries, either for training a substitute network or performing gradient estimation. We introduce GenAttack, a gradient-free optimization technique that uses genetic algorithms for synthesizing adversarial examples in the black-box setting. Our experiments on different datasets (MNIST, CIFAR-10, and ImageNet) show that GenAttack can successfully generate visually imperceptible adversarial examples against state-of-the-art image recognition models with orders of magnitude fewer queries than previous approaches. Against MNIST and CIFAR-10 models, GenAttack required roughly 2,126 and 2,568 times fewer queries respectively, than ZOO, the prior state-of-the-art black-box attack. In order to scale up the attack to large-scale high-dimensional ImageNet models, we perform a series of optimizations that further improve the query efficiency of our attack leading to 237 times fewer queries against the Inception-v3 model than ZOO. Furthermore, we show that GenAttack can successfully attack some state-of-the-art ImageNet defenses, including ensemble adversarial training and non-differentiable or randomized input transformations. Our results suggest that evolutionary algorithms open up a promising area of research into effective black-box attacks.
Motivation & Objective
- To develop a practical black-box attack that does not rely on gradient computation, enabling attacks when only query access to the model is available.
- To improve query efficiency in generating adversarial examples for high-dimensional, large-scale models such as those trained on ImageNet.
- To overcome the limitations of gradient-based attacks in the presence of gradient obfuscation defenses, such as non-differentiable or randomized input transformations.
- To demonstrate the effectiveness of population-based evolutionary optimization in generating high-success-rate targeted adversarial examples in real-world black-box scenarios.
Proposed method
- GenAttack employs a genetic algorithm to perform gradient-free optimization, evolving a population of perturbations to maximize misclassification while minimizing perceptibility.
- It uses a fitness function based on the model’s confidence score for the target class, guiding evolution toward successful adversarial examples.
- Adaptive mutation rate is applied, starting high for exploration and decaying over time to favor exploitation as convergence nears.
- Dimensionality reduction techniques are used to improve scalability and query efficiency on high-dimensional datasets like ImageNet.
- The attack generalizes to randomized defenses by computing the fitness function as an expectation over random transformations, ensuring robustness to stochasticity.
- Population size is carefully tuned to balance exploration and query cost, with a small population size (e.g., 6) shown to optimize query efficiency.
Experimental results
Research questions
- RQ1Can a gradient-free optimization method based on genetic algorithms achieve significantly higher query efficiency than existing black-box attacks?
- RQ2Can such an approach scale effectively to large-scale, high-dimensional models like those trained on ImageNet?
- RQ3Can a genetic algorithm-based attack successfully bypass state-of-the-art defenses that rely on gradient obfuscation or input randomization?
- RQ4How do adaptive mutation rates and dimensionality reduction impact the query efficiency and convergence speed of the attack?
Key findings
- GenAttack reduced the number of queries by approximately 2,126 times compared to ZOO when attacking MNIST models.
- On CIFAR-10, GenAttack required 2,568 times fewer queries than ZOO, demonstrating superior efficiency on a more complex dataset.
- For the Inception-v3 model on ImageNet, GenAttack used 237 times fewer queries than ZOO, proving scalability to large-scale models.
- GenAttack successfully attacked ensemble adversarial training defenses on ImageNet, achieving high success rates with only a modest increase in query count.
- The attack succeeded against non-differentiable input transformations such as bit-depth reduction and JPEG compression, even when ZOO failed entirely.
- GenAttack demonstrated robustness to randomized defenses by generalizing the fitness function to compute an expectation over random transformations, enabling consistent success.
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.