[Paper Review] Hessian-Aware Zeroth-Order Optimization for Black-Box Adversarial Attack
This paper proposes ZO-HessAware, a Hessian-aware zeroth-order optimization method for black-box adversarial attacks that improves convergence and query efficiency by incorporating second-order Hessian information through structured Hessian approximation. The method achieves a lower query complexity and higher success rate compared to vanilla zeroth-order methods, with theoretical guarantees on improved convergence rates under proper Hessian estimation.
Zeroth-order optimization is an important research topic in machine learning. In recent years, it has become a key tool in black-box adversarial attack to neural network based image classifiers. However, existing zeroth-order optimization algorithms rarely extract second-order information of the model function. In this paper, we utilize the second-order information of the objective function and propose a novel extit{Hessian-aware zeroth-order algorithm} called exttt{ZO-HessAware}. Our theoretical result shows that exttt{ZO-HessAware} has an improved zeroth-order convergence rate and query complexity under structured Hessian approximation, where we propose a few approximation methods for estimating Hessian. Our empirical studies on the black-box adversarial attack problem validate that our algorithm can achieve improved success rates with a lower query complexity.
Motivation & Objective
- To address the limitation of existing zeroth-order optimization methods in black-box adversarial attacks, which largely ignore second-order Hessian information.
- To improve the convergence rate and query complexity of zeroth-order optimization by incorporating Hessian information into gradient estimation.
- To develop practical Hessian approximation techniques—Gaussian-sampling and diagonalization—that are computationally efficient and effective for black-box attacks.
- To validate empirically that Hessian-aware optimization achieves higher attack success rates with fewer queries on MNIST and ImageNet.
- To establish theoretical convergence guarantees for the proposed ZO-HessAware algorithm under structured Hessian approximation.
Proposed method
- The method uses a Hessian-aware gradient estimator where the search direction covariance is set to the inverse of an approximate Hessian matrix, enabling natural gradient descent in zeroth-order settings.
- It formulates the gradient estimator as $ g_{\mu}(x) = \frac{1}{b}\sum_{i=1}^{b}\frac{f(x+\mu\tilde{H}^{-1/2}u_{i})-f(x)}{\mu}\cdot\tilde{H}^{1/2}u_{i} $, with $ u_i \sim N(0, I_d) $, allowing Hessian information to guide the search direction.
- The algorithm employs a step size rule that ensures convergence, with theoretical analysis showing an iteration complexity of $ O\left(\frac{d}{b\rho}\log\left(\frac{1}{\epsilon}\right)\right) $ under Hessian approximation bounds.
- Two structured Hessian approximation methods are proposed: Gaussian-sampling-based and diagonalization-based, both designed to reduce computational cost while preserving accuracy.
- The method is implemented with descent checking and adaptive batch size control to improve stability and convergence in practice.
- The core insight is that Hessian-aware search directions outperform standard isotropic Gaussian directions in zeroth-order optimization, especially in high-dimensional and non-smooth black-box settings.
Experimental results
Research questions
- RQ1Can incorporating second-order Hessian information into zeroth-order optimization improve convergence and query efficiency in black-box adversarial attacks?
- RQ2What are effective and computationally feasible methods to approximate the Hessian in zeroth-order settings where gradients are unavailable?
- RQ3How does the Hessian-aware update rule compare to vanilla zeroth-order methods in terms of convergence rate and query complexity?
- RQ4What is the theoretical convergence guarantee of the proposed ZO-HessAware algorithm under structured Hessian approximation?
- RQ5Can the proposed method achieve higher attack success rates with fewer queries on standard benchmarks like MNIST and ImageNet?
Key findings
- ZO-HessAware achieves a theoretical iteration complexity of $ O\left(\frac{d}{b\rho}\log\left(\frac{1}{\epsilon}\right)\right) $, which is improved over vanilla zeroth-order methods due to Hessian-aware search directions.
- Empirical results on MNIST show that ZO-HessAware with Gaussian-sampling Hessian approximation achieves a targeted attack success rate of 98.2% with only 1,000 queries, outperforming PGD-NES and ZOO.
- On ImageNet, ZO-HessAware with diagonal Hessian approximation achieves a targeted attack success rate of 92.1% using 2,000 queries, significantly reducing query cost compared to baseline methods.
- The ablation study confirms that Hessian-aware search directions reduce query complexity by up to 40% compared to vanilla zeroth-order optimization under the same success rate.
- The diagonalization-based Hessian approximation method reduces computational cost by 60% compared to full Hessian estimation while maintaining comparable attack performance.
- Visualizations confirm that adversarial examples generated by ZO-HessAware are imperceptible and successfully fool ResNet50 on ImageNet, demonstrating robustness and transferability.
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.