Abstract
Decision-based attacks (DBA), wherein attackers perturb inputs to spoof learning algorithms by observing solely the output labels, are a type of severe adversarial attacks against Deep Neural Networks (DNNs) requiring minimal knowledge of attackers. State-of-the-art DBA attacks relying on zeroth-order gradient estimation require an excessive number of queries. We propose an efficient DBA attack, namely BO-DBA, which formulates the problem as a Bayesian optimization (BO) task that minimizes the real-valued distortion of perturbations. Experimental results on pre-trained ImageNet classifiers show that BO-DBA converges within 200 queries while state-of-the-art DBA techniques need over 15,000 queries to achieve the same level of perturbation distortion.
Introduction
Adversarial attacks involve making tiny, invisible changes to an image to trick a Deep Neural Network (DNN) into misclassifying it. These attacks are categorized by the attacker's level of access: White-box (full access), Score-based (access to probability scores), and Decision-based (access only to final labels).
Decision-based attacks are the most realistic scenario for attacking real-world APIs, but they are also the most challenging. Because the attacker only receives a discrete label (e.g., "cat" vs. "dog"), existing methods must estimate gradients through tens of thousands of queries. This high query budget makes such attacks easy to detect and block in practice. BO-DBA addresses this by bridging the gap between Bayesian Optimization and decision-based settings.
Methodology
The core challenge in applying BO to decision-based attacks is that BO requires a real-valued objective function, whereas DBA only provides discrete labels. BO-DBA solves this by reformulating the objective: instead of maximizing "wrongness," it optimizes for the minimum distance from the original image to the nearest adversarial example along a specific direction.
As shown in the iterative loop above, the process involves:
- Dimensionality Reduction: A perturbation generator maps low-dimensional inputs to high-dimensional image perturbations, reducing the search space.
- Distance Evaluation: For every query direction, the system uses a fine-grained search followed by a binary search to find exactly where the model's decision flips.
- Gaussian Process (GP): A GP models the distribution of these distances across the search space, using an "Expected Improvement" acquisition function to decide which direction to test next.
Experimental Evaluation
The researchers evaluated BO-DBA using the ImageNet benchmark against pre-trained ResNet-50 and Inception V3 architectures. They also tested the attack against models equipped with "Feature Squeezing," a common defense mechanism designed to detect adversarial inputs.
Key Results
BO-DBA demonstrates a massive improvement in query efficiency. While state-of-the-art DBA techniques like HSJA or Opt-Attack require over 15,000 queries to reach a low level of distortion, BO-DBA converges within just 200 queries.
Key findings from the experimental results include:
- Superior Convergence: As illustrated in the distance-over-query plots, BO-DBA (red line) reaches lower distortion levels significantly faster than competing methods.
- Better Quality: Even compared to score-based attacks, BO-DBA often finds adversarial examples with less distortion because it directly optimizes for distance to the decision boundary.
- Defense Bypassing: The attack remained effective against runtime defenses like feature squeezing, although the defense forced the attack to use slightly more noticeable perturbations.
- Generator Impact: Human-designed "procedural" noises (like Perlin noise) were found to be significantly more effective than simple upsampling techniques.
Conclusion and Future Work
BO-DBA makes highly restrictive decision-based attacks a practical threat for the first time by reducing the required query budget by orders of magnitude. While the method is extremely query-efficient, it is computationally intensive for the attacker's local machine due to the complexity of Gaussian Processes. Future research may explore hybrid approaches—using BO-DBA to quickly find a rough adversarial example before switching to gradient-based methods for fine-tuning—and the development of even more effective perturbation generators.
Summary updated