Skip to main content
QUICK REVIEW

[Paper Review] A Black-box Attack on Neural Networks Based on Swarm Evolutionary Algorithm

Xiaolei Liu, Yuheng Luo|arXiv (Cornell University)|Jan 26, 2019
Adversarial Robustness in Machine LearningComputer Science37 references5 citations
TL;DR

This paper proposes BANA, a black-box adversarial attack on neural networks using a swarm evolutionary algorithm that generates perturbations without requiring gradient or model architecture knowledge. The method achieves 100% attack success on MNIST and CIFAR-10 with minimal L2 perturbations (under 2 on average), successfully bypasses defensive distillation, and produces diverse, non-repeating adversarial samples due to inherent randomness.

ABSTRACT

Neural networks play an increasingly important role in the field of machine learning and are included in many applications in society. Unfortunately, neural networks suffer from adversarial samples generated to attack them. However, most of the generation approaches either assume that the attacker has full knowledge of the neural network model or are limited by the type of attacked model. In this paper, we propose a new approach that generates a black-box attack to neural networks based on the swarm evolutionary algorithm. Benefiting from the improvements in the technology and theoretical characteristics of evolutionary algorithms, our approach has the advantages of effectiveness, black-box attack, generality, and randomness. Our experimental results show that both the MNIST images and the CIFAR-10 images can be perturbed to successful generate a black-box attack with 100\% probability on average. In addition, the proposed attack, which is successful on distilled neural networks with almost 100\% probability, is resistant to defensive distillation. The experimental results also indicate that the robustness of the artificial intelligence algorithm is related to the complexity of the model and the data set. In addition, we find that the adversarial samples to some extent reproduce the characteristics of the sample data learned by the neural network model.

Motivation & Objective

  • To develop a black-box adversarial attack that does not require access to model gradients, weights, or architecture.
  • To generate high-quality, imperceptible adversarial samples effective across diverse deep learning models, including DNNs and CNNs.
  • To overcome limitations of existing attacks that rely on gradient information or transferability assumptions.
  • To evaluate robustness against defensive distillation, a prominent defense mechanism.
  • To investigate the relationship between model complexity, dataset complexity, and adversarial robustness.

Proposed method

  • The attack uses a swarm evolutionary algorithm (SEA) to optimize perturbations by treating each perturbation as an individual in a population, with fitness defined by misclassification success.
  • Fitness evaluation is performed via black-box queries to the target model, eliminating the need for gradient computation or model structure knowledge.
  • The algorithm employs mechanisms like global and local search, adaptive mutation, and crowding selection to enhance convergence and diversity.
  • Perturbations are evolved iteratively to minimize L2 distance while maximizing misclassification probability for targeted or non-targeted attacks.
  • The method is generalizable across multiple architectures, including ResNet, DenseNet, and distilled models.
  • Randomness in the evolutionary process ensures different adversarial samples are generated per run, even for the same input, enhancing resistance to defenses.

Experimental results

Research questions

  • RQ1Can a black-box adversarial attack be constructed without relying on gradient information or model architecture?
  • RQ2Can a swarm-based evolutionary algorithm generate adversarial samples with high success rates and low perceptibility across diverse models?
  • RQ3How effective is the proposed attack against defensive distillation, a known robustness mechanism?
  • RQ4What is the relationship between model complexity, dataset complexity, and adversarial robustness?
  • RQ5Do adversarial perturbations reflect learned features of the model’s decision boundaries?

Key findings

  • The proposed BANA attack achieves 100% success rate on both non-targeted and targeted attacks for MNIST and CIFAR-10 datasets.
  • Average L2 perturbation size is less than 1.26 on MNIST and under 2 on CIFAR-10, indicating minimal, imperceptible changes.
  • The attack remains effective on distilled models with 99.89% success rate, demonstrating resistance to defensive distillation.
  • Adversarial samples generated by BANA are diverse across runs due to the stochastic nature of the swarm algorithm, enhancing evasion capability.
  • The robustness of a model is influenced by both model complexity and dataset complexity, with more complex models showing higher resistance to adversarial attacks.
  • Perturbation patterns in targeted attacks visually align with the features of both source and target digits, suggesting that adversarial examples reflect learned data characteristics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.