Introduction
Deep neural networks (DNNs) are notoriously vulnerable to adversarial examples—inputs specifically crafted to trigger misclassification. While "white-box" attacks leverage full access to model gradients, real-world scenarios often present a "black-box" challenge where only output scores are visible. Existing black-box methods, such as Zeroth Order Optimization (ZOO), frequently suffer from extreme query inefficiency or fail against "gradient-masking" defenses that obfuscate internal model signals.
GenAttack addresses these limitations by introducing a gradient-free optimization framework based on genetic algorithms (GA). By evolving a population of candidate perturbations, GenAttack achieves successful targeted attacks with significantly fewer queries than previous state-of-the-art methods while remaining robust to common defensive transformations.
The GenAttack Framework
GenAttack treats the search for an adversarial example as an evolutionary process. Unlike gradient-based methods that estimate a single direction of descent, GenAttack maintains a population of potential solutions and iteratively improves them through several key mechanisms:
- Population Dynamics: The algorithm starts with a population of images derived from the original input plus random noise within a defined $L_\infty$ constraint.
- Fitness Evaluation: Each candidate is scored based on its ability to maximize the probability of the target class while minimizing the probability of other classes.
- Selection and Elitism: The fittest individuals are selected to produce the next generation, ensuring that the best-performing perturbation (the "elite") is never lost.
- Crossover and Mutation: New candidates are generated by recombining features from parents and applying random mutations to explore the search space effectively.
To scale this approach to high-resolution datasets like ImageNet, the authors employ dimensionality reduction. They evolve the adversarial noise in a lower-resolution space and use bilinear interpolation to upscale it, drastically reducing the search space dimensionality without sacrificing attack potency.
Experimental Results and Efficiency
The researchers evaluated GenAttack across MNIST, CIFAR-10, and ImageNet benchmarks. The results demonstrate a massive leap in query efficiency. On MNIST and CIFAR-10, GenAttack was found to be approximately 2,100 to 2,500 times more query-efficient than ZOO while maintaining a 100% success rate.
On the ImageNet dataset, GenAttack successfully fooled the Inception-v3 model using 237 times fewer queries than previous methods. The dimensionality reduction technique proved vital here, allowing the genetic algorithm to find effective perturbations in a fraction of the time required for pixel-by-pixel gradient estimation.
Robustness Against Defenses
A significant advantage of GenAttack is its immunity to "gradient masking." Many modern defenses use non-differentiable or randomized components (e.g., JPEG compression, bit-depth reduction) to break gradient-based attacks. Because GenAttack does not rely on gradients, it successfully bypassed these defenses with success rates between 88% and 95%. Furthermore, it achieved a 95% success rate against Ensemble Adversarial Training on ImageNet, a defense specifically designed to mitigate transfer-based adversarial threats.
Conclusion
GenAttack demonstrates that gradient-free, population-based optimization is a highly effective and efficient strategy for black-box adversarial attacks. By significantly lowering the query barrier and bypassing gradient-masking defenses, it highlights a critical need for more robust defensive strategies that go beyond obfuscating internal model gradients.
Summary updated