[Paper Review] There are No Bit Parts for Sign Bits in Black-Box Attacks
This paper introduces SignHunter, a novel black-box adversarial attack that estimates only the sign of the gradient rather than its magnitude, achieving state-of-the-art query efficiency. By reformulating adversarial attack as a binary optimization problem via Hamming distance minimization, SignHunter reduces query complexity and achieves a 3.8× lower failure rate and 2.5× fewer queries than prior methods on MNIST, CIFAR10, and ImageNet with 10,000 queries per attack.
We present a black-box adversarial attack algorithm which sets new state-of-the-art model evasion rates for query efficiency in the $\ell_\infty$ and $\ell_2$ metrics, where only loss-oracle access to the model is available. On two public black-box attack challenges, the algorithm achieves the highest evasion rate, surpassing all of the submitted attacks. Similar performance is observed on a model that is secure against substitute-model attacks. For standard models trained on the MNIST, CIFAR10, and IMAGENET datasets, averaged over the datasets and metrics, the algorithm is 3.8x less failure-prone, and spends in total 2.5x fewer queries than the current state-of-the-art attacks combined given a budget of 10, 000 queries per attack attempt. Notably, it requires no hyperparameter tuning or any data/time-dependent prior. The algorithm exploits a new approach, namely sign-based rather than magnitude-based gradient estimation. This shifts the estimation from continuous to binary black-box optimization. With three properties of the directional derivative, we examine three approaches to adversarial attacks. This yields a superior algorithm breaking a standard MNIST model using just 12 queries on average!
Motivation & Objective
- To address the high query complexity of existing black-box adversarial attacks that rely on continuous gradient estimation.
- To investigate whether estimating only the sign of the gradient can achieve comparable or better adversarial success with significantly fewer queries.
- To develop a query-efficient, hyperparameter-free black-box attack that does not require data-dependent priors or gradient access.
- To establish a new paradigm in zeroth-order optimization by treating adversarial attack as a binary (sign-based) search problem.
Proposed method
- Reformulates black-box adversarial attack as minimizing Hamming distance to the true gradient sign vector, shifting from continuous to binary optimization.
- Leverages three properties of the directional derivative—separability, symmetry, and monotonicity—to design efficient sign estimation.
- Employs a divide-and-conquer strategy based on separability, reducing search space from 2^n to O(n) sign vectors.
- Uses finite difference approximation of loss queries to estimate directional derivatives and infer gradient sign bits.
- Introduces a Hamming distance oracle to guide search toward the correct sign pattern with minimal queries.
- Employs a query budget-aware adaptive strategy that prioritizes coordinates with high impact on loss change.
Experimental results
Research questions
- RQ1Can gradient sign estimation alone achieve high adversarial success with significantly fewer queries than magnitude-based gradient estimation?
- RQ2Does a sign-based black-box attack outperform existing state-of-the-art methods in both query efficiency and evasion rate?
- RQ3Can a method that avoids hyperparameter tuning and data-dependent priors still achieve superior performance in black-box attacks?
- RQ4What is the theoretical query complexity lower bound for sign-based gradient estimation in adversarial attacks?
- RQ5How does the performance of sign-based attacks compare to full gradient-based methods like FGSM under black-box constraints?
Key findings
- SignHunter achieves the highest evasion rate on two public black-box attack challenges, surpassing all submitted attacks.
- On standard models trained on MNIST, CIFAR10, and ImageNet, SignHunter reduces failure rate by 3.8× and total query count by 2.5× compared to state-of-the-art methods under a 10,000-query budget.
- The algorithm successfully fools a standard MNIST model in just 12 queries on average, outperforming FGSM which requires full gradient access.
- SignHunter requires no hyperparameter tuning or data/time-dependent priors, making it robust and easy to deploy.
- The method maintains high performance even on models secured against substitute-model attacks, demonstrating strong generalization.
- Hamming similarity between estimated and true gradient signs increases rapidly with query count, confirming effective sign recovery.
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.