NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

BOSH: An Efficient Meta Algorithm for Decision-based Attacks

Zhenxin Xiao, Puyudi Yang, Yuchen Jiang, Kai-Wei Chang, Cho‐Jui HsieharXiv 2019 · DOI

Abstract

Adversarial example generation is a critical method for evaluating the robustness of machine learning models. This paper focuses on hard-label black-box attacks (decision-based attacks), a challenging setting where adversarial examples are generated using only final classification labels. Such attacks are essential for evaluating discrete and complex models like Gradient Boosting Decision Trees (GBDTs). Existing iterative local update methods often stall in local minima, failing to find optimal adversarial examples with minimal distortion. To address this, we propose BOSH, a meta-algorithm that enhances existing attacks using Bayesian Optimization (BO) and Successive Halving (SH). By maintaining a pool of solution paths and dynamically exploring promising regions, BOSH converges to superior solutions while reducing query counts by a factor of 10 compared to standard multi-initialization strategies.

What Problem Does This Paper Address?

To evaluate model robustness, researchers generate adversarial examples—inputs slightly modified to fool a classifier. The most realistic threat model is the hard-label black-box attack, where the attacker only knows the final predicted class, not the model architecture or internal probabilities.

Existing attacks, such as Sign-OPT or Boundary Attack, rely on iterative local updates. However, the decision boundaries of complex models—particularly discrete ones like GBDTs—are highly non-convex and non-smooth. This leads to optimization getting trapped in sub-optimal local minima, causing an overestimation of the model's robustness.

Decision boundaries of Neural Networks (NN) and GBDTs are often non-smooth and riddled with local minima, making optimization difficult.

Methodology: The BOSH Meta-Algorithm

BOSH (Bayesian Optimization and Successive Halving) is a meta-algorithm designed to wrap around any existing local-update-based attack. Instead of a single search path, BOSH manages a pool of candidate paths concurrently using two key techniques:

  1. Successive Halving (SH): The base attack runs on all active starting directions for $M$ steps. BOSH then evaluates the quality of each path based on its distance to the decision boundary and aggressively prunes the worst-performing fraction, focusing resources on the most promising directions.
  2. Bayesian Optimization (BO) via TPE: To prevent the search from narrowing down to a mediocre set of initial points, BOSH uses a Tree Parzen Estimator (TPE) to model the distribution of successful queries. It then resamples new directions in high-potential regions to replace pruned paths. TPE is used for its linear scalability, making it suitable for high-dimensional image data.

Key Results and Insights

BOSH demonstrates significant improvements across various architectures and datasets, including MNIST, CIFAR-10, and tabular data (HIGGS).

  • Neural Networks: On MNIST, applying BOSH to the Sign-OPT attack reduced average $L_2$ distortion from 1.07 to 0.91. More importantly, it achieved this with a 10x reduction in queries compared to a naive multi-initialization approach (252k vs. 2.5M queries).
  • Discrete Models (GBDTs): The impact is even greater on GBDTs, which have harsher boundaries. On the HIGGS dataset, BOSH improved $L_2$ distortion from 0.169 to 0.103 and increased the Attack Success Rate (ASR) from 52% to 81%.
  • Bypassing Defenses: BOSH successfully bypassed the Local Intrinsic Dimensionality (LID) detection model, raising the ASR from 52.6% to 71.4%.
Performance comparison showing (a, b) distortion distributions for DNNs and GBDTs, and (c) the convergence of distortion over query counts.

Conclusion

BOSH effectively addresses the local minima problem in decision-based attacks by combining efficient pruning with intelligent exploration. By dynamically managing a pool of solution paths, it provides a more accurate measure of model robustness than single-path iterative methods, while remaining computationally efficient enough for practical use in high-dimensional settings.

Summary updated

BibTeX
@misc{xiao2019bosh,
  author = {Zhenxin Xiao and Puyudi Yang and Yuchen Jiang and Kai-Wei Chang and Cho‐Jui Hsieh},
  title = {{BOSH: An Efficient Meta Algorithm for Decision-based Attacks}},
  year = {2019},
  eprint = {1909.04288},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.04288},
}
Figure