Boosting Decision-Based Black-Box Adversarial Attack with Gradient Priors

Han Liu, Xingshuo Huang, Xiaotong Zhang, Qimai Li, Fenglong Ma, Wei Wang, Hongyang Chen, Hong Yu, Xianchao Zhang

Introduction

Adversarial attacks—subtle, often imperceptible perturbations designed to mislead machine learning models—represent a significant security challenge in the deployment of AI. Among these, the decision-based black-box attack is the most restrictive and realistic threat model. In this scenario, an attacker has no knowledge of the target model's architecture, parameters, or internal confidence scores; they can only observe the final hard-label output (e.g., "Dog" or "Cat").

Because direct gradient information is unavailable, attackers must estimate the direction of the nearest decision boundary through repeated queries. Historically, this process has been prohibitively slow, requiring thousands of queries that make attacks easy to detect or computationally expensive. This paper introduces DBA-GP (Decision-based Black-box Attack with Gradient Priors), a framework designed to drastically improve query efficiency by leveraging spatial and temporal information.

The Challenges of Black-Box Estimation

Previous attempts to optimize decision-based attacks often utilized "priors"—assumptions about the structure of gradients—to guide the search. However, these methods frequently encountered two primary obstacles:

  1. Edge Gradient Discrepancy: Standard smoothing techniques used to reduce noise often blur the sharp edges of objects. Since adversarial perturbations are most effective when they align with the geometric features of an image, this blurring reduces the attack's precision where image details change rapidly.
  2. Successive Iteration Redundancy: Without a memory mechanism, attackers often repeat similar search directions across multiple iterations. This leads to diminishing returns, where queries are wasted exploring paths that have already been sampled, slowing down the convergence toward the decision boundary.

Methodology: The DBA-GP Framework

DBA-GP builds upon the established HopSkipJumpAttack (HSJA) framework, introducing two novel components to address the aforementioned limitations.

1. Spatial Priors via Joint Bilateral Filter (JBF)

To resolve the edge discrepancy problem, the authors incorporate a Joint Bilateral Filter (JBF). Unlike standard Gaussian blurs that smooth pixels uniformly, the JBF uses the original input image as a guide. It ensures that perturbations are smoothed only between pixels that are both spatially close and similar in color or intensity. By respecting the natural contours and edges of the original image, the JBF ensures that the estimated gradient remains high-fidelity, effectively "hiding" the noise within the image's existing geometry.

2. Temporal Priors via Dynamic Gradient Updating

To maximize the information gain of every query, DBA-GP tracks the history of estimated gradients. If a new gradient estimate is found to be too similar to previous directions, the algorithm concludes that the current search path is saturated. It then dynamically adjusts the search by subtracting the historical average from the current estimate. This "pushes" the search into unexplored regions of the feature space, preventing the algorithm from getting stuck and accelerating the path toward the optimal adversarial perturbation.

Experimental Evaluation

The researchers evaluated DBA-GP against state-of-the-art baselines, including QEBA and AHA, across several diverse datasets:

  • ImageNet: Testing on ResNet50 and VGG16 to assess large-scale performance.
  • Celeba: Evaluating face attribute classification.
  • Face++ API: A real-world test against a commercial, production-grade face recognition system.

Key Results

  • Superior Query Efficiency: On the ImageNet dataset, DBA-GP achieved a Mean Squared Error (MSE) significantly lower than its competitors. At the 3,000-query mark, the distortion level was often less than half that of other leading methods.
  • Increased Success Rates: When attacking ResNet50 on the Celeba dataset, DBA-GP improved the Attack Success Rate (ASR) by approximately 40% compared to the next best baseline within a 3,000-query limit.
  • Real-World Viability: The framework successfully fooled the commercial Face++ API. While other methods required 5,000 queries to generate viable adversarial images (often with visible artifacts), DBA-GP achieved high-quality results in just 1,000 queries.

Conclusion and Future Directions

DBA-GP demonstrates that decision-based black-box attacks can be made significantly more potent by respecting the underlying data structure and search history. By integrating Joint Bilateral Filtering and Dynamic Gradient Updating, the authors provide a blueprint for more efficient model auditing and security testing.

Future work remains in refining hyperparameter selection, as the current method relies on specific thresholds for similarity and distance that may vary between models. Additionally, the authors suggest extending these spatial and temporal priors to other domains, such as object detection and speech recognition, to further explore the universality of gradient-based priors in black-box settings.

Summary updated

BibTeX
@inproceedings{liu2023boosting,
  author = {Han Liu and Xingshuo Huang and Xiaotong Zhang and Qimai Li and Fenglong Ma and Wei Wang and Hongyang Chen and Hong Yu and Xianchao Zhang},
  title = {{Boosting Decision-Based Black-Box Adversarial Attack with Gradient Priors}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/133},
}
Figure