English

Efficient Black-box Adversarial Attacks via Bayesian Optimization Guided by a Function Prior

Machine Learning 2024-05-30 v1 Artificial Intelligence Cryptography and Security Computer Vision and Pattern Recognition Machine Learning

Abstract

This paper studies the challenging black-box adversarial attack that aims to generate adversarial examples against a black-box model by only using output feedback of the model to input queries. Some previous methods improve the query efficiency by incorporating the gradient of a surrogate white-box model into query-based attacks due to the adversarial transferability. However, the localized gradient is not informative enough, making these methods still query-intensive. In this paper, we propose a Prior-guided Bayesian Optimization (P-BO) algorithm that leverages the surrogate model as a global function prior in black-box adversarial attacks. As the surrogate model contains rich prior information of the black-box one, P-BO models the attack objective with a Gaussian process whose mean function is initialized as the surrogate model's loss. Our theoretical analysis on the regret bound indicates that the performance of P-BO may be affected by a bad prior. Therefore, we further propose an adaptive integration strategy to automatically adjust a coefficient on the function prior by minimizing the regret bound. Extensive experiments on image classifiers and large vision-language models demonstrate the superiority of the proposed algorithm in reducing queries and improving attack success rates compared with the state-of-the-art black-box attacks. Code is available at https://github.com/yibo-miao/PBO-Attack.

Keywords

Cite

@article{arxiv.2405.19098,
  title  = {Efficient Black-box Adversarial Attacks via Bayesian Optimization Guided by a Function Prior},
  author = {Shuyu Cheng and Yibo Miao and Yinpeng Dong and Xiao Yang and Xiao-Shan Gao and Jun Zhu},
  journal= {arXiv preprint arXiv:2405.19098},
  year   = {2024}
}

Comments

ICML 2024

R2 v1 2026-06-28T16:45:38.190Z