[Paper Review] AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networks
AutoZOOM proposes a query-efficient black-box attack framework for deep neural networks using adaptive random gradient estimation and dimensionality reduction via an autoencoder or bilinear resizing. It reduces model queries by at least 93% compared to ZOO while maintaining high attack success rates and visual quality on MNIST, CIFAR-10, and ImageNet.
Recent studies have shown that adversarial examples in state-of-the-art image classifiers trained by deep neural networks (DNN) can be easily generated when the target model is transparent to an attacker, known as the white-box setting. However, when attacking a deployed machine learning service, one can only acquire the input-output correspondences of the target model; this is the so-called black-box attack setting. The major drawback of existing black-box attacks is the need for excessive model queries, which may give a false sense of model robustness due to inefficient query designs. To bridge this gap, we propose a generic framework for query-efficient black-box attacks. Our framework, AutoZOOM, which is short for Autoencoder-based Zeroth Order Optimization Method, has two novel building blocks towards efficient black-box attacks: (i) an adaptive random gradient estimation strategy to balance query counts and distortion, and (ii) an autoencoder that is either trained offline with unlabeled data or a bilinear resizing operation for attack acceleration. Experimental results suggest that, by applying AutoZOOM to a state-of-the-art black-box attack (ZOO), a significant reduction in model queries can be achieved without sacrificing the attack success rate and the visual quality of the resulting adversarial examples. In particular, when compared to the standard ZOO method, AutoZOOM can consistently reduce the mean query counts in finding successful adversarial examples (or reaching the same distortion level) by at least 93% on MNIST, CIFAR-10 and ImageNet datasets, leading to novel insights on adversarial robustness.
Motivation & Objective
- Address the high query cost of existing black-box attacks that rely on inefficient coordinate-wise gradient estimation.
- Improve query efficiency in zeroth-order optimization for attacking deployed machine learning models with only input-output access.
- Maintain high attack success rates and low distortion in adversarial examples while minimizing model queries.
- Enable practical robustness evaluation of deployed DNNs by reducing the number of queries required to generate effective adversarial examples.
- Provide a generic, plug-and-play framework compatible with existing gradient-estimation-based black-box attacks.
Proposed method
- Introduce an adaptive random gradient estimation strategy that dynamically balances query count and perturbation distortion by adjusting the number of random directions used for gradient approximation.
- Employ a decoder module—either a pre-trained autoencoder on unlabeled data or a bilinear resizing operation (BiLIN)—to project low-dimensional latent perturbations back to the original image space.
- Reduce the attack dimensionality by operating in a learned low-dimensional latent space, which improves convergence speed and query efficiency in zeroth-order optimization.
- Leverage the $O(\sqrt{d/T})$ convergence rate of zeroth-order optimization to theoretically justify the benefits of dimensionality reduction in reducing query complexity.
- Integrate a two-stage attack process: first, achieve rapid success using coarse gradient estimation; second, refine distortion using higher-accuracy gradient averaging with increased query budget.
- Use a bilinear resizing operation (BiLIN) as a lightweight, training-free alternative to the autoencoder for real-time deployment and reduced computational overhead.
Experimental results
Research questions
- RQ1Can adaptive random gradient estimation reduce query counts in black-box attacks without degrading attack success or visual quality?
- RQ2To what extent does dimensionality reduction via an autoencoder or bilinear resizing improve query efficiency in zeroth-order optimization for black-box attacks?
- RQ3How does the convergence rate of zeroth-order optimization scale with reduced attack dimensionality, and can this be leveraged to reduce query requirements?
- RQ4Can the trade-off between distortion and query count be effectively managed through dynamic adjustment of gradient estimation parameters?
- RQ5Is a training-free, bilinear-based dimension reduction method sufficient to achieve significant query reduction compared to full-dimensional attacks?
Key findings
- AutoZOOM reduces the mean query count by at least 93% compared to the standard ZOO method when finding successful adversarial examples on MNIST, CIFAR-10, and ImageNet.
- On ImageNet, AutoZOOM reduces query counts by up to 99.39% to achieve initial success and 99.35% to reach the same $L_2$ distortion level, significantly outperforming baseline methods.
- Dimension reduction via the autoencoder (AutoZOOM-AE) reduces query counts by at least 95% on ImageNet, while reducing 35–40% on MNIST and CIFAR-10, demonstrating strong scalability with input dimension.
- The bilinear resizing-based variant (AutoZOOM-BiLIN) achieves comparable performance to AutoZOOM-AE with no additional training cost, making it ideal for practical deployment.
- Post-success distortion refinement using higher-averaging gradient estimation (e.g., $q=4$) reduces perturbation magnitude with marginal gains beyond $q=4$, indicating saturation of refinement benefits.
- Theoretical analysis confirms that dimensionality reduction improves convergence in zeroth-order optimization, justifying the observed query efficiency gains through the $O(\sqrt{d/T})$ convergence rate.
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.