[Paper Review] CorrAttack: Black-box Adversarial Attack with Structured Search
CorrAttack proposes a score-based black-box adversarial attack using structured search via time-varying contextual bandits, modeling image blocks with features to guide Bayesian optimization for efficient, high-success-rate attacks. It achieves state-of-the-art query efficiency and success rates on ImageNet and Google Cloud Vision API, outperforming prior methods including BayesOpt and Bayes-Attack.
We present a new method for score-based adversarial attack, where the attacker queries the loss-oracle of the target model. Our method employs a parameterized search space with a structure that captures the relationship of the gradient of the loss function. We show that searching over the structured space can be approximated by a time-varying contextual bandits problem, where the attacker takes feature of the associated arm to make modifications of the input, and receives an immediate reward as the reduction of the loss function. The time-varying contextual bandits problem can then be solved by a Bayesian optimization procedure, which can take advantage of the features of the structured action space. The experiments on ImageNet and the Google Cloud Vision API demonstrate that the proposed method achieves the state of the art success rates and query efficiencies for both undefended and defended models.
Motivation & Objective
- Address the challenge of efficient black-box adversarial attacks when only model scores are accessible, without full model access.
- Overcome the limitations of transfer-based attacks that rely on model similarity and suffer from low transferability across dissimilar networks.
- Improve query efficiency and success rates in score-based attacks by leveraging local correlation and slow-varying properties of image blocks.
- Develop a scalable method that avoids high-dimensional gradient estimation by focusing on low-dimensional block features, enabling faster optimization than existing Bayesian optimization approaches.
Proposed method
- Formulate score-based adversarial attack as a time-varying contextual bandits problem, where each image block is an arm with associated features.
- Model the reward (loss reduction) using Gaussian process regression over block features, enabling efficient Bayesian optimization over a structured action space.
- Incorporate a forgetting strategy in the Gaussian process to adapt to time-varying reward functions during iterative attack steps.
- Use block-level features—such as spatial location and local gradient patterns—to estimate future rewards and guide action selection.
- Limit the action space to image blocks to exploit local correlation and slow-varying reward dynamics, improving learning efficiency.
- Apply Bayesian optimization with structured features to prioritize blocks with the highest expected reward reduction, minimizing queries.
Experimental results
Research questions
- RQ1Can structured search over image blocks improve query efficiency in black-box adversarial attacks compared to random or coordinate-wise search?
- RQ2How does modeling the reward function using features of image blocks enhance the performance of Bayesian optimization in adversarial attacks?
- RQ3To what extent does the time-varying nature of the bandits problem affect the effectiveness of standard Bayesian optimization, and how can it be mitigated?
- RQ4How does CorrAttack compare in performance and efficiency to state-of-the-art methods like BayesOpt, Bayes-Attack, and ZOO on both standard and defended models?
- RQ5Can the proposed method achieve high success rates on real-world black-box APIs like Google Cloud Vision, where query costs are high and model behavior is unknown?
Key findings
- CorrAttack ${}_{\text{Flip}}$ achieves a 79.15% success rate on untargeted attacks against ResNet50 on ImageNet with only 1,036 average queries, outperforming all baselines.
- On the Google Cloud Vision API, CorrAttack ${}_{\text{Flip}}$ achieves 80.00% success rate with 155 average queries, significantly outperforming NAttack (70.00%) and BayesOpt (30.00%).
- For defended models (ResNeXt DenoiseAll), CorrAttack ${}_{\text{Flip}}$ achieves 60.00% success rate on 10 images with 206 average queries, surpassing BayesOpt and Bayes-Attack.
- The ablation study confirms that using PCA to reduce block feature dimensionality improves attack efficiency, demonstrating the importance of feature representation.
- CorrAttack maintains superior performance across different perturbation budgets ($\varepsilon = 0.04$, $0.05$, $0.06$), showing robustness to varying attack strength.
- The method is significantly faster than BayesOpt and Bayes-Attack, which require tens of thousands of hours to attack 1,000 images, due to its low-dimensional feature-based optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.